linux-kernel mailing list

FromSubjectsort iconDate
Linus Torvalds
Linux 2.6.27-rc5
Another week (my weeks do seem to be eight days, don't they? Very odd), another -rc. The dirstat pretty much says it all: 43.0% arch/arm/configs/ 43.9% arch/arm/ 25.5% arch/powerpc/configs/ 26.8% arch/powerpc/ 73.9% arch/ 4.4% drivers/usb/musb/ 5.4% drivers/usb/ 4.0% drivers/watchdog/ 16.0% drivers/ 3.5% fs/ yeah, the bulk of it is all config updates, and with arm and powerpc leading the pack. But seriously, while the config updates amount to about three qu...
Aug 28, 7:26 pm 2008
greg
[patch 00/03] USB-IP patches
Here's 3 patches that adds USB-IP functionality code to the kernel tree. It is against 2.6.27-rc4, and has been added to the -staging tree. If there are no major objections, I'll also queue it up in the usb tree for submission into 2.6.28. The code is based on Takahiro's great work that has been sitting outside of the kernel for many many years now. Brian Merrell took the most recent version of the code, cleaned it up and sent it to me. I did more cleanup and split the patch into 3 pieces, mak...
Aug 28, 7:00 pm 2008
Arnaldo Carvalho de Melo
Re: [patch 00/03] USB-IP patches
Great stuff, I almost worked on udp_hcd or something along these lines, will definetely take a look! :-) - Arnaldo --
Aug 28, 7:06 pm 2008
greg
[patch 03/03] USB: USB/IP: add host driver
From: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> This adds the USB IP client driver Brian Merrell cleaned up a lot of this code and submitted it for inclusion. Greg also did a lot of cleanup. Signed-off-by: Brian G. Merrell <bgmerrell@novell.com> Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/usb/ip/Kconfig | 10 drivers/usb/ip/Makefile | 3 drivers/usb/ip/stub.h ...
Aug 28, 7:00 pm 2008
greg
[patch 02/03] USB: USB/IP: add client driver
From: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> This adds the USB IP client driver Brian Merrell cleaned up a lot of this code and submitted it for inclusion. Greg also did a lot of cleanup. Signed-off-by: Brian G. Merrell <bgmerrell@novell.com> Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/usb/ip/Kconfig | 10 drivers/usb/ip/Makefile | 3 drivers/usb/ip/vhci.h ...
Aug 28, 7:00 pm 2008
greg
[patch 01/03] USB: USB/IP: add common functions needed
From: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> This adds the common functions needed by both the host and client side of the USB/IP code. Brian Merrell cleaned up a lot of this code and submitted it for inclusion. Greg also did a lot of cleanup. Signed-off-by: Brian G. Merrell <bgmerrell@novell.com> Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/usb/Kconfig | 2 driv...
Aug 28, 7:00 pm 2008
Balbir Singh
Fw: Re: Still seeing decreasing stime/utime
Forgot to cc lkml (the original email did not either, but I need comments on the patch). -- Balbir
Aug 28, 6:51 pm 2008
Seth Heasley
[PATCH 2.6.27-rc4][RESEND] i2c-i801: SMBus patch for Intel I...
This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs. Changes are reflected in i2c-i801.c in response to updates to pci_ids.h. The SMBus Controller is now referred to as PCI_DEVICE_ID_INTEL_PCH_SMBUS, a change to the old naming convention of PCI_DEVICE_ID_INTEL_PCH_x. Signed-off-by: Seth Heasley <seth.heasley@intel.com> --- linux-2.6/Documentation/i2c/busses/i2c-i801.orig 2008-08-28 10:11:27.000000000 -0700 +++ linux-2.6/Documentation/i2c/busses/i2c-i801 2008-08-28 10:25:24....
Aug 28, 6:43 pm 2008
Seth Heasley
[PATCH 2.6.27-rc4][RESEND] irq: irq and pci_ids patch for In...
This patch updates the Intel Ibex Peak (PCH) LPC and SMBus Controller DeviceIDs. The LPC Controller ID is set by Firmware within the range of 0x3b00-3b1f. This range is included in pci_ids.h using min and max values, and irq.c now has code to handle the range (in lieu of 32 additions to a SWITCH statement). The SMBus Controller ID is a fixed-value and will not change. Signed-off-by: Seth Heasley <seth.heasley@intel.com> --- linux-2.6/include/linux/pci_ids.h.orig 2008-08-27 11:54:07.000000...
Aug 28, 6:40 pm 2008
David Daney
[Patch 0/6] MIPS: Hardware watch register support for gdb (v...
Esteemed kernel hackers, To follow is my third pass at MIPS watch register support. This version has been tested on: * MIPS 4KEc (mips32) with a single set of watch registers watchhi not reporting I, R, and W conditions. * MIPS 4KEc (mips32r2) with four sets of watch registers. * R5000 SGI O2 (mips4 64bit) with no watch register support. The patches are against 2.6.27-rc4 Changes from the previous version: * Agreement from gdb maintainers that the ptrace interface is workable...
Aug 28, 5:38 pm 2008
David Daney
[Patch 6/6] MIPS: Ptrace support for HARDWARE_WATCHPOINTS
This is the final part of the watch register patch. Here we hook up ptrace so that the user space debugger (gdb), can set and read the registers. Signed-off-by: David Daney <ddaney@avtrex.com> --- arch/mips/kernel/ptrace.c | 97 ++++++++++++++++++++++++++++++++++++++++++- arch/mips/kernel/ptrace32.c | 15 +++++++ include/asm-mips/ptrace.h | 31 ++++++++++++++ 3 files changed, 142 insertions(+), 1 deletions(-) diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c...
Aug 28, 6:25 pm 2008
David Daney
[Patch 5/6] MIPS: Scheduler support for HARDWARE_WATCHPOINTS.
Here we hook up the scheduler. Whenever we switch to a new process, we check to see if the watch registers should be installed, and do it if needed. Signed-off-by: David Daney <ddaney@avtrex.com> --- include/asm-mips/system.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h index a944eda..cd30f83 100644 --- a/include/asm-mips/system.h +++ b/include/asm-mips/system.h @@ -20,6 +20,7 @@ #include <asm/cmp...
Aug 28, 6:11 pm 2008
David Daney
[Patch 4/6] MIPS: Watch exception handling for HARDWARE_WATC...
Here we hook up the watch exception handler so that it sends SIGTRAP when the hardware watch registers are triggered. Signed-off-by: David Daney <ddaney@avtrex.com> --- arch/mips/kernel/genex.S | 4 ++++ arch/mips/kernel/traps.c | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index c6ada98..15a9bde 100644 --- a/arch/mips/kernel/genex.S +++ b/arch/mips/kernel/genex.S @@ -416,7 +416,11 @@ NESTE...
Aug 28, 6:07 pm 2008
David Daney
[Patch 3/6] MIPS: Probe watch registers and report configura...
Probe for watch register characteristics, and report them in /proc/cpuinfo. Signed-off-by: David Daney <ddaney@avtrex.com> --- arch/mips/kernel/cpu-probe.c | 2 ++ arch/mips/kernel/proc.c | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 335a6ae..d0d07b8 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -21,6 +21,7 @@ #include <asm/fpu.h> #...
Aug 28, 6:02 pm 2008
David Daney
[Patch 2/6] MIPS: Add HARDWARE_WATCHPOINTS definitions and s...
This is the support code for watch register support. It is not hooked up to anything yet, that comes next. There are two new files (watch.c, watch.h) the rest is additions. Signed-off-by: David Daney <ddaney@avtrex.com> --- arch/mips/kernel/Makefile | 2 +- arch/mips/kernel/watch.c | 163 ++++++++++++++++++++++++++++++++++++++++ include/asm-mips/cpu-info.h | 4 + include/asm-mips/processor.h | 21 +++++ include/asm-mips/thread_info.h | 2 + include/asm-mip...
Aug 28, 5:55 pm 2008
David Daney
Patch [1/6] MIPS: Add HARDWARE_WATCHPOINTS configure option.
This is automatically set for all MIPS32 and MIPS64 processors. Signed-off-by: David Daney <ddaney@avtrex.com> --- arch/mips/Kconfig | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 4da736e..f5b3fca 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1272,6 +1272,13 @@ config CPU_SUPPORTS_32BIT_KERNEL config CPU_SUPPORTS_64BIT_KERNEL bool +# +# Set to y for ptrace access to watch registers. +# +...
Aug 28, 5:45 pm 2008
Rafael J. Wysocki
Regression: SATA disk double spin-off during hibernation on ...
Hi, It appears that the "double spin-off" problem described in http://bugzilla.kernel.org/show_bug.cgi?id=8855 has recently started to appear during hibernation as well as during shutdown. It didn't appear during hibernation on my hp nx6325 with 2.6.26, so this is a recent regression. I have prepared the appended patch that fixes the problem for me, based on the earlier Tejun's patch at http://bugzilla.kernel.org/attachment.cgi?id=15441&action=view but I'm not really sure if this i...
Aug 28, 6:02 pm 2008
Jeremy Fitzhardinge
[PATCH] x86: make sure the CPA test code's use of _PAGE_UNUS...
The CPA test code uses _PAGE_UNUSED1, so make sure its obvious. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> --- arch/x86/mm/pageattr-test.c | 6 +++--- include/asm-x86/pgtable.h | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) =================================================================== --- a/arch/x86/mm/pageattr-test.c +++ b/arch/x86/mm/pageattr-test.c @@ -32,7 +32,7 @@ GPS = (1<<30) }; -#define PAGE_TESTBIT __pgprot(_PAGE_...
Aug 28, 4:58 pm 2008
Brice Goglin
[RFC] export irq_set/get_affinity() for multiqueue network d...
Hello, Is there any way to setup IRQ masks from within a driver? myri10ge currently relies on an external script (writing in /proc/irq/*/smp_affinity) to bind each queue/MSI-X to a different processor. By default, Linux will either: * round-robin the interrupts (killing the benefit of DCA for instance) * put all IRQs on the same CPU (killing much of the benefit of multislices) With more and more drivers using multiqueues, I think we need a nice way to bind MSI-X from within the drivers. I am not...
Aug 28, 4:21 pm 2008
David Miller
Re: [RFC] export irq_set/get_affinity() for multiqueue netwo...
From: Brice Goglin <Brice.Goglin@inria.fr> I think we should rather have some kind of generic thing in the IRQ layer that allows specifying the usage model of the device's interrupts, so that the IRQ layer can choose a default affinities. I never notice any of this complete insanity on sparc64 because we flat spread out all of the interrupts across the machine. What we don't want it drivers choosing IRQ affinity settings, they have no idea about NUMA topology, what NUMA node the PCI cont...
Aug 28, 4:56 pm 2008
Jari Aalto
Re: 2.6.25 DMA: Out of SW-IOMMU space - Asus M2N32 AMD 8GB m...
REF: http://article.gmane.org/gmane.linux.kernel/725293 (thread start) I regret to report that: - Upgraded to kernel 2.6.26-1-amd64 (Debian/unstable 2.6.26-3) $ grep -Ei 'iommu|agp' /boot/config-2.6.26-1-amd64 CONFIG_GART_IOMMU=y CONFIG_CALGARY_IOMMU=y CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y CONFIG_IOMMU_HELPER=y CONFIG_AGP=y CONFIG_AGP_AMD64=y CONFIG_AGP_INTEL=m CONFIG_AGP_SIS=m CONFIG_AGP_VIA=m # CONFIG_IOMMU_DEBUG is not set - Rebooted without 'iommu' parameter. dmesg: [ 0...
Aug 28, 4:49 pm 2008
Yinghai Lu Aug 28, 4:59 pm 2008
Roni Feldman
Too many stupid questions about the block layer
Hello list, This is pretty long -- I sure hope this is the right place to ask these :) First of all, I have a board with a NAND flash device, to which I have a 8k-wide PCI interface. I've been wondering about these: 1. I would prefer if the block layer always passed me 8k long segments, even though the hard sector size is 2k. I tried using blk_queue_hardsect_size() and set it to 8k, but for some reason I get a panic. Is it possible that hardsect cannot be larger than PAGE_SIZE (makes some sen...
Aug 28, 4:38 pm 2008
Yinghai Lu
[PATCH] x86: split e820 reserved entries record to late v2
so could let BAR res register at first, or even pnp? v2: insert e820 reserve resources before pnp_system_init Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/e820.c | 20 ++++++++++++++++++-- arch/x86/pci/i386.c | 3 +++ include/asm-x86/e820.h | 1 + 3 files changed, 22 insertions(+), 2 deletions(-) Index: linux-2.6/arch/x86/kernel/e820.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/e820.c ++...
Aug 28, 4:34 pm 2008
Linus Torvalds
Re: [PATCH] x86: split e820 reserved entries record to late v2
Looks ok by me. Now it just needs testing ;) Does it actually fix the HPET regression on that odd machine (without the special hacks to recognize HPET explicitly)? Linus --
Aug 28, 4:40 pm 2008
Yinghai Lu
Re: [PATCH] x86: split e820 reserved entries record to late v2
On Thu, Aug 28, 2008 at 1:40 PM, Linus Torvalds David, can you test attached patch? also you may try to revert the old patch. YH
Aug 28, 4:52 pm 2008
Ingo Molnar
Re: [PATCH] x86: split e820 reserved entries record to late v2
Here we have the problem of overlap i outlined earlier: if there's a partial overlap at this stage (as i think it can happen in the hpet case on David's box), we wont insert the E820_RESERVED resource. The hpet hang will be solved, because we dont reprogram the BAR, but we now keep the formerly e820-reserved area as 'free' - which the PCI code could allocate new resources into - which could cause other problems (hangs, non-working devices, etc.) down the line. Which most likely wont happ...
Aug 28, 5:16 pm 2008
Ingo Molnar
Re: [PATCH] x86: split e820 reserved entries record to late v2
great - i've done the revert of a2bd7274b471 and have applied your patch and pushed it out into -tip. David, could you please test whether tip/master works for you out of box? Ingo --
Aug 28, 4:58 pm 2008
Serge Hallyn
[PATCH 1/2] file capabilities: add no_file_caps switch (v2)
Add a no_file_caps boot option when file capabilities are compiled into the kernel (CONFIG_SECURITY_FILE_CAPABILITIES=y). This allows distributions to ship a kernel with file capabilities compiled in, without forcing users to use (and understand and trust) them. When no_file_caps is specified at boot, then when a process executes a file, any file capabilities stored with that file will not be used in the calculation of the process' new capability sets. This means that booting with the no_file_...
Aug 28, 3:54 pm 2008
Serge Hallyn
[PATCH 2/2] file capabilities: turn on by default
Now that file capabilities can be turned off at boot, go ahead and compile them into the kernel by default by making CONFIG_SECURITY_FILE_CAPABILITIES=y the default. Note that the boot flag no_file_caps must be specified to turn file capabilities off, as by default they are on. So the default behavior is in fact changed. Signed-off-by: Serge Hallyn <serue@us.ibm.com> --- security/Kconfig | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/security/Kconfig b/...
Aug 28, 3:54 pm 2008
Jeremy Fitzhardinge
[PATCH RFC] x86: check for and defend against BIOS memory co...
Some BIOSes have been observed to corrupt memory in the low 64k. This patch does two things: - Reserves all memory which does not have to be in that area, to prevent it from being used as general memory by the kernel. Things like the SMP trampoline are still in the memory, however. - Clears the reserved memory so we can observe changes to it. - Adds a function check_for_bios_corruption() which checks and reports on memory becoming unexpectedly non-zero. Currently it's called in the ...
Aug 28, 3:52 pm 2008
Yinghai Lu
[PATCH] x86: split e820 reserved entries record to late
so could let BAR res register at first, or even pnp? Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> --- arch/x86/kernel/e820.c | 20 ++++++++++++++++++-- arch/x86/pci/i386.c | 3 +++ include/asm-x86/e820.h | 1 + 3 files changed, 22 insertions(+), 2 deletions(-) Index: linux-2.6/arch/x86/kernel/e820.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/e820.c +++ linux-2.6/arch/x86/kernel/e820.c @@ -1271,13 +1271,15 @@ ...
Aug 28, 3:39 pm 2008
Linus Torvalds
Re: [PATCH] x86: split e820 reserved entries record to late
Well, I'm not sure whether PnP or e820 should be first, as long as any "real hardware" probing takes precedence over either. I _suspect_ that e820 is more trustworthy, which implies that PnP should probably be added last. It would be good to have some idea what Windows does, since usually all the firmware bugs are essentially hidden by whatever that other OS happens to do. The basic rule really should be: "What do we trust most?" and probe things in that order. So e820 is fairly tru...
Aug 28, 4:05 pm 2008
H. Peter Anvin
Re: [PATCH] x86: split e820 reserved entries record to late
My thinking is that if we run into a region which is reserved in e820 but points to a real BAR, we would want to keep that BAR pinned, since a legitimate BIOS might use this mechanism to indicate that the device implemented by that BAR is used by SMM or ACPI. If not, in most cases we will only have wasted some address space. The sucky case, of course, would be an uninitialized BAR pointing into unusable address space which happens to be reserved in e820. This seems very difficult to I s...
Aug 28, 4:29 pm 2008
Linus Torvalds
Re: [PATCH] x86: split e820 reserved entries record to late
Yeah, well, the good news is that it should be fairly rare. Any sane PCI device will come out of reset with IO and MEM disabled, and even if some crazy BIOS enables IO/MEM on it and activates the BAR's with some random content, I'm not seeing how that would work well with Windows either if it really was overlapping with some critical real other piece of hardware. So I'd _assume_ that something like that would break Windows too, and thus not actually make it into a real product. Maybe. ...
Aug 28, 4:38 pm 2008
H. Peter Anvin
Re: [PATCH] x86: split e820 reserved entries record to late
I believe you are right. I think the key bit here is that if the IO or MEM bit is enabled, it's likely to be initialized. The PCI specs say that BARs should come out of reset initialized to zero, but I know for a fact that at least several Broadcom chips don't -- however, the combination of BAR and enable bits should be enough of a sentry. -hpa --
Aug 28, 4:45 pm 2008
Yinghai Lu
Re: [PATCH] x86: split e820 reserved entries record to late
On Thu, Aug 28, 2008 at 1:05 PM, Linus Torvalds ok, will move e820_reserve_resource_late to pcibios_resource_survey(), so it is called vi pci_subsys_init before pnp_system_init YH --
Aug 28, 4:19 pm 2008
Andrew Morton
Re: [Bugme-new] [Bug 11446] New: Automate "to compile as mod...
On Thu, 28 Aug 2008 09:24:42 -0700 (PDT) Good point :) The Kconfig system doesn't presently know the name of the module, but that could be added. eg: config BMAC tristate "BMAC (G3 ethernet) support" depends on PPC_PMAC && PPC32 + modulename bmac select CRC32 help Say Y for support of BMAC Ethernet interfaces. These are used on G3 computers. - To compile this driver as a module, choose M here: the module - will be called bmac. Any sane organisation would ...
Aug 28, 3:38 pm 2008
Tejun Heo
[ANNOUNCE] OSS Proxy using CUSE
Hello again, So, after all the fuss, here's the state-of-the-art standard-compliant cloud-computing web-3.0-beta web page for OSS emulation using CUSE. http://userweb.kernel.org/~tj/ossp/ It works pretty well here. :-) Thanks. -- tejun --
Aug 28, 3:05 pm 2008
Adrian Bunk
Re: [ANNOUNCE] OSS Proxy using CUSE
Sorry for being destructive, but 6 years after ALSA went into the kernel we are slightly approaching the point where all applications support ALSA. The application you list on your webpage is UML host sound support, and I'm wondering why you don't fix that instead of working on a cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. ...
Aug 28, 4:01 pm 2008
Greg KH
Re: [ANNOUNCE] OSS Proxy using CUSE
Independant of that, I can see a number of uses for the CUSE code. One would be emulating /dev/pilot for old palm pilot software that things it wants to talk to a serial port, yet really a libusb userspace program can handle all of the data to the USB device instead. So don't think that just because this userspace-OSS implementation is "not what should be done" that CUSE shouldn't be viable. thanks, greg k-h --
Aug 28, 6:18 pm 2008
H. Peter Anvin
Re: [ANNOUNCE] OSS Proxy using CUSE
I think that's probably another bad example... I would think serial port emulation would be better handled by ptys, and/or a specific serial port emulation module. The big problem with using ptys for serial port emulation is that they currently don't handle BREAK at all. -hpa --
Aug 28, 7:05 pm 2008
Greg KH
Re: [ANNOUNCE] OSS Proxy using CUSE
Hm, why? It's a "fake" serial port as it is just a pass-through to the USB device. No flow control or line settings work on the device, so the kernel driver just silently eats them. But there is old, closed source software that wants to talk to a serial port, so the kernel driver remains. With this code, we could then use the more modern libusb code instead. I guess you could hook it up through a pty, and somehow create For this type of USB device, that's not an issue :) thanks, greg ...
Aug 28, 7:14 pm 2008
H. Peter Anvin
Re: [ANNOUNCE] OSS Proxy using CUSE
Why? Because there is a lot of complexity in the tty layer, and there is no point in replicating the entire tty layer with all its ioctls through a fragile user-space emulator. For cases like this, a pty is easier (your daemon opens /dev/ptmx, and then symlinks the appropriate Indeed. It would be nice to fix, because it would make implementing serial ports as ptys+userspace a much more capable replacement. It's not trivial, though, because the interpretation of the BREAK has to be done...
Aug 28, 7:38 pm 2008
Alan Cox
Re: [ANNOUNCE] OSS Proxy using CUSE
That bit of the problem is trivial. Its the rest of the behavioural differences that are more of a nightmare - parity, flow control differences, modem line emulation, being able to hook into things like ldisc change/termios change. Break is about a half hour job. Alan --
Aug 28, 7:32 pm 2008
Alistair John Strachan
md (regression): reboot/shutdown hangs
Hi Neil, Commit 2b25000bf5157c28d8591f03f0575248a8cbd900 ("Restore force switch of md array to readonly at reboot time.") causes a reboot/shutdown to hang indefinitely on my box. Reverting this single commit makes the problem go away. It was first released with 2.6.27-rc3, I believe, and so this is a regression vs 2.6.26 (Rafael CCed). I think the problem might be because my rootfs is on a RAID5 and my distro fails to stop it completely before halt/reboot. Please let me know if there's an...
Aug 28, 3:05 pm 2008
David Brownell
[patch 2.6.27-rc4] rtc-cmos: wakes again from S5
From : Rafael J. Wysocki <rjw@sisk.pl> Update rtc-cmos shutdown handling to leave RTC alarms active, resolving http://bugzilla.kernel.org/show_bug.cgi?id=11411 on several boards. There are still some systems where the ACPI event handling doesn't cooperate. (Possibly related to bugid 11312, reporting the spontaneous disabling of RTC events.) Bug 11411 reported that changes to work around some ACPI event issues broke wake-from-S5 handling, as used for DVR applications. (They like to power ...
Aug 28, 2:29 pm 2008
Vegard Nossum
[RFC][PATCH] bitfields API
Hi, kmemcheck is the kernel patch that detects use of uninitialized memory. kmemcheck reports eagerly, that is, any load of uninitialized memory will be reported, even though the bits in question will be thrown away later (before they are used in making a decision). One problem that we have encountered (which generates a false positive report) is that of bitfield accesses. In particular, whenever a bit of a bitfield is set (or cleared), the whole byte may be loaded before the specific bit is t...
Aug 28, 2:32 pm 2008
Alexey Dobriyan Aug 28, 2:40 pm 2008
Vegard Nossum
Re: [RFC][PATCH] bitfields API
Ok, that's constructive :-P Can we skip the type and always assume that it should be __u8/uint8_t? I read somewhere that bitfields should anyway always be 1 byte wide if the bitfield should be "portable". Would it help (to make this less horrible) to omit the type declaration and have just the bitfield members as arguments to the macro? Thanks, Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as i...
Aug 28, 2:46 pm 2008
previous daytodaynext day
August 27, 2008August 28, 2008August 29, 2008