<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/char, branch v2.6.23</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.23</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.23'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2007-10-08T23:06:51Z</updated>
<entry>
<title>Correct Makefile rule for generating custom keymap</title>
<updated>2007-10-08T23:06:51Z</updated>
<author>
<name>Maarten Bressers</name>
<email>mbres@gentoo.org</email>
</author>
<published>2007-10-08T22:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e2a57a815933b2d2e375f9de6be223098024ab90'/>
<id>urn:sha1:e2a57a815933b2d2e375f9de6be223098024ab90</id>
<content type='text'>
When building a custom keymap, after setting GENERATE_KEYMAP := 1 in
drivers/char/Makefile, the kernel build fails like this:

    CC      drivers/char/vt.o
  make[2]: *** No rule to make target `drivers/char/%.map', needed by `drivers/char/defkeymap.c'.  Stop.
  make[1]: *** [drivers/char] Error 2
  make: *** [drivers] Error 2

This was caused by commit af8b128719f5248e542036ea994610a29d0642a6, which
deleted a necessary colon from the Makefile rule that generates the keymap,
since that rule contains both a target and a target-pattern.  The following
patch puts the colon back:

Signed-off-by: Maarten Bressers &lt;mbres@gentoo.org&gt;
Cc: Yoichi Yuasa &lt;yoichi_yuasa@tripeaks.co.jp&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>VT_WAITACTIVE: Avoid returning EINTR when not necessary</title>
<updated>2007-10-07T23:02:55Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-10-07T23:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=70cb97935b8859f27296772885104b599f560576'/>
<id>urn:sha1:70cb97935b8859f27296772885104b599f560576</id>
<content type='text'>
We should generally prefer to return ERESTARTNOHAND rather than EINTR,
so that processes with unhandled signals that get ignored don't return
EINTR.

This can help with X startup issues:

    Fatal server error:
    xf86OpenConsole: VT_WAITACTIVE failed: Interrupted system call

although the real fix is having the X server always retry EINTR
regardless (since EINTR does happen for signals that have handlers
installed). Keithp has a patch for that.

Regardless, ERESTARTNOHAND is the correct thing to use.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "intel_agp: fix stolen mem range on G33"</title>
<updated>2007-10-06T19:49:43Z</updated>
<author>
<name>Kyle McMartin</name>
<email>kyle@mcmartin.ca</email>
</author>
<published>2007-10-06T05:42:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3a4986955c0d9806e96a9d738ef7c40cb0cdaba3'/>
<id>urn:sha1:3a4986955c0d9806e96a9d738ef7c40cb0cdaba3</id>
<content type='text'>
This reverts commit f443675affe3f16dd428e46f0f7fd3f4d703eeab, which
breaks horribly if you aren't running an unreleased xf86-video-intel
driver out of git.

Signed-off-by: Kyle McMartin &lt;kyle@mcmartin.ca&gt;
Cc: Dave Airlie &lt;airlied@linux.ie&gt;
Cc: Zhenyu Wang &lt;zhenyu.z.wang@intel.com&gt;
Acked-by: Keith Packard &lt;keithp@keithp.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[TCP]: secure_tcp_sequence_number() should not use a too fast clock</title>
<updated>2007-10-02T04:01:24Z</updated>
<author>
<name>Eric Dumazet</name>
<email>dada1@cosmosbay.com</email>
</author>
<published>2007-10-01T20:58:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9b42c336d06411e6463949d2dac63949f66ff70b'/>
<id>urn:sha1:9b42c336d06411e6463949d2dac63949f66ff70b</id>
<content type='text'>
TCP V4 sequence numbers are 32bits, and RFC 793 assumed a 250 KHz clock.
In order to follow network speed increase, we can use a faster clock, but
we should limit this clock so that the delay between two rollovers is
greater than MSL (TCP Maximum Segment Lifetime : 2 minutes)

Choosing a 64 nsec clock should be OK, since the rollovers occur every
274 seconds.

Problem spotted by Denys Fedoryshchenko

[ This bug was introduced by f85958151900f9d30fa5ff941b0ce71eaa45a7de ]

Signed-off-by: Eric Dumazet &lt;dada1@cosmosbay.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>VT ioctl race fix</title>
<updated>2007-10-01T14:52:23Z</updated>
<author>
<name>Samuel Ortiz</name>
<email>sameo@openedhand.com</email>
</author>
<published>2007-10-01T08:20:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8792f961ba8057d9f27987def3600253a3ba060f'/>
<id>urn:sha1:8792f961ba8057d9f27987def3600253a3ba060f</id>
<content type='text'>
When calling the RELDISP VT ioctl, we are reading vt_newvt while the
console workqueue could be messing with it (through change_console()).  We
fix this race by taking the console semaphore before reading vt_newvt.

Signed-off-by: Samuel Ortiz &lt;sameo@openedhand.com&gt;
Acked-by: Antonino Daplas &lt;adaplas@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>fix console change race exposed by CFS</title>
<updated>2007-09-29T17:00:15Z</updated>
<author>
<name>Jan Lübbe</name>
<email>jluebbe@lasnet.de</email>
</author>
<published>2007-09-29T16:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a64314e62d89562b6fc77593648bec3acc35bf61'/>
<id>urn:sha1:a64314e62d89562b6fc77593648bec3acc35bf61</id>
<content type='text'>
The new behaviour of CFS exposes a race which occurs if a switch is
requested when vt_mode.mode is VT_PROCESS.

The process with vc-&gt;vt_pid is signaled before vc-&gt;vt_newvt is set.
This causes the switch to fail when triggered by the monitoing process
because the target is still -1.

[ If the signal sending fails, the subsequent "reset_vc(vc)" will then
  reset vt_newvt to -1, so this works for that case too.   - Linus ]

Signed-off-by: Jan Lübbe &lt;jluebbe@lasnet.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>i915: make vbl interrupts work properly on i965g/gm hw.</title>
<updated>2007-09-28T02:47:28Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@linux.ie</email>
</author>
<published>2007-09-28T01:46:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e4a7b1d1d90d202a030688ab5b177c3c0f15ee3e'/>
<id>urn:sha1:e4a7b1d1d90d202a030688ab5b177c3c0f15ee3e</id>
<content type='text'>
This code is ported from the DRM git tree and allows the vblank interrupts
to function on the i965 hw. It also requires a change in Mesa's 965 driver
to actually use them.

[ Without this patch, my 965GM drops vblank interrupts  - Jesse ]

Signed-off-by: Dave Airlie &lt;airlied@linux.ie&gt;
Acked-by: Jesse Barnes &lt;jesse.barnes@intel.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Silent drivers/char/hpet.c build warnings on i386</title>
<updated>2007-09-26T16:22:04Z</updated>
<author>
<name>S.Çağlar Onur</name>
<email>caglar@pardus.org.tr</email>
</author>
<published>2007-09-26T09:15:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3dffec45c2742961dd27f55aba426cb9cf3f0dcd'/>
<id>urn:sha1:3dffec45c2742961dd27f55aba426cb9cf3f0dcd</id>
<content type='text'>
Following patch silents;

...
drivers/char/hpet.c:72: warning: 'clocksource_hpet' defined but not used
drivers/char/hpet.c:81: warning: 'hpet_clocksource' defined but not used
...

build warnings on i386, they appeared after commit 3b2b64fd311c92f2137eb7cee7025794cd854057

Signed-off-by: S.Çağlar Onur &lt;caglar@pardus.org.tr&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
--
 drivers/char/hpet.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
</content>
</entry>
<entry>
<title>Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6</title>
<updated>2007-09-26T15:56:28Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@woody.linux-foundation.org</email>
</author>
<published>2007-09-26T15:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1f23f4209f2b99fdddf09821eead6364a6dd9654'/>
<id>urn:sha1:1f23f4209f2b99fdddf09821eead6364a6dd9654</id>
<content type='text'>
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
  ACPI: hpet: ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFF0
  ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7)
  ACPI: suspend: build-fix for CONFIG_SUSPEND=n and CONFIG_HIBERNATION=y
</content>
</entry>
<entry>
<title>ACPI: hpet: ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFF0</title>
<updated>2007-09-25T21:59:00Z</updated>
<author>
<name>Zhao Yakui</name>
<email>yakui.zhao@intel.com</email>
</author>
<published>2007-09-21T01:23:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=78e1ca49c7ead5cd00882ed0c776260857613122'/>
<id>urn:sha1:78e1ca49c7ead5cd00882ed0c776260857613122</id>
<content type='text'>
If hpet has been initialized before registering hpet driver, the callback
function of hpet_resources will return the status code of -EBUSY, which is
not defined in the ACPI exception table.  So when ACPI checks the status
code of callback function, it will report the unknown exception code.

So the status code in ACPI is used instead of the generic error code in the
ACPI callback function of hpet_resources.
For example: -EBUSY is replaced by AE_ALREADY_EXISTS
	     -EINVAL is replaced by AE_NO_MEMORY

http://bugzilla.kernel.org/show_bug.cgi?id=8630

Signed-off-by: Zhao Yakui  &lt;yakui.zhao@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
