linux-kernel mailing list

FromSubjectsort iconDate
Mikulas Patocka
[PATCH] plip: replace spin_lock_irq with spin_lock_irqsave i...
Hi Plip uses spin_lock_irq/spin_unlock_irq in its IRQ handler (called from parport IRQ handler), the latter enables interrupts without parport subsystem IRQ handler expecting it. The bug can be seen if you compile kernel with lock dependency checking and use plip --- it produces a warning. This patch changes it to spin_lock_irqsave/spin_lock_irqrestore, so that it doesn't enable interrupts when already disabled. Mikulas --- linux-2.6.24.4/drivers/net/plip.c_ 2008-03-31 23:47:27.000000...
Mar 31, 7:22 pm 2008
Richard Purdie
[GIT PULL] LED bugfixes
Linus, Could you please pull from: git://git.o-hand.com/linux-rpurdie-leds for-linus for a couple of bugfixes to the led gpio driver for 2.6.25. One fixes a potential oops, the other removes a use of preempt_count() which could potentially deadlock. Thanks, Richard drivers/leds/leds-gpio.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) David Brownell (1): leds: Remove incorrect use of preempt_count() from leds-gpio Uwe Kleine-König (1): ...
Mar 31, 6:41 pm 2008
Dmitri Vorobiev
[PATCH 0/6] [MIPS] make some functions and variables static
Hi Ralf, I noticed that a few functions and variables in the MIPS-specific code can become static, and this series of patches cleans up the kernel global name space a little bit. Please consider. Thanks, Dmitri Vorobiev --
Mar 31, 6:03 pm 2008
Ralf Baechle
Re: [PATCH 0/6] [MIPS] make some functions and variables sta...
I've queued the whole series for 2.6.26. Thanks, Ralf --
Mar 31, 6:41 pm 2008
Dmitri Vorobiev
[PATCH 5/6] [MIPS] make standard_io_resources[] static
The array standard_io_resources[] needs not to be exposed in the kernel global namespace. This patch makes it static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> --- arch/mips/mips-boards/malta/malta_setup.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/mips-b...
Mar 31, 6:03 pm 2008
Dmitri Vorobiev
[PATCH 4/6] [MIPS] make plat_perf_setup() static
There is no need for the plat_perf_setup() function to be global, so make it static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> --- arch/mips/mips-boards/generic/time.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-bo...
Mar 31, 6:03 pm 2008
Dmitri Vorobiev
[PATCH 3/6] [MIPS] make mdesc and prom_getmdesc() static
Neither the mdesc[] array nor the prom_getmdesc() function need to be global. This patch makes them static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> --- arch/mips/mips-boards/generic/memory.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/mips-boards/generic...
Mar 31, 6:03 pm 2008
Dmitri Vorobiev
[PATCH 6/6] [MIPS] malta_int.c: make 4 variables static
The following variables defined in arch/mips/mips-boards/malta/malta_int.c can become static: msc_irqmap[], msc_nr_irqs, msc_eicirqmap[], and msc_nr_eicirqs. This patch makes them static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> --- arch/mips/mips-boards/malta/malta_int.c | 8 ++++---- 1 files ...
Mar 31, 6:03 pm 2008
Dmitri Vorobiev
[PATCH 2/6] [MIPS] make mips_ejtag_setup() static
This change makes the needlessly global function mips_ejtag_setup() static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> --- arch/mips/mips-boards/generic/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/gener...
Mar 31, 6:03 pm 2008
Dmitri Vorobiev
[PATCH 1/6] [MIPS] make mips_nmi_setup() static
This change makes the needlessly global function mips_nmi_setup() static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> --- arch/mips/mips-boards/generic/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic...
Mar 31, 6:03 pm 2008
Al Viro
Re: Sparse Question
1 ? 0 : x is not valid in contexts where C requires integer constant expressions. Index in static array initializer is one of those. gcc allows it, but its extensions in that area are inconsistent, to say the least - basically, it goes with "if optimizer can fold that into constant with this set of options, it will be accepted". With very weird boundary between accepted and not accepted (as in "reorder arguments of +, and what had been recognized as constant is not recognized anymore"). spa...
Mar 31, 5:58 pm 2008
Harvey Harrison
[PATCH] asm-generic: suppress sparse warning in ioctl.h
1 ? 0 : x is not valid in contexts where C requires integer constant expressions. Index in static array initializer is one of those. Instead of using a non-existant extern function, use 1/0 as the guard expression to avoid using a gcc-ism. IOC_TYPECHECK gets pulled into some static array initializations where this is not valid. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> --- I've confirmed this patch 'fixes' the large blocks of sparse warnings in static array initializer...
Mar 31, 6:26 pm 2008
Harvey Harrison
Re: Sparse Question
Sorry, maybe I'm thick, but how does _IOC_TYPECHECK get pulled into the _IOC_NR use? Harvey --
Mar 31, 6:07 pm 2008
Harvey Harrison
Re: Sparse Question
Nevermind, I see it now, I was just hung up on the IOC_NR part. Harvey --
Mar 31, 6:16 pm 2008
Roman Zippel
Re: [PATCH 5/5] falconide/q40ide: add ->atapi_*put_bytes ...
Hi, That would require an additional data copy and a double byteswap on machines which are not that fast in first place... bye, Roman --
Mar 31, 5:41 pm 2008
Alan Cox
Re: [PATCH 5/5] falconide/q40ide: add ->atapi_*put_bytes ...
So use the blitter ;) At this point the future is not Commode Amiga or Atari TT and we risk mess in core code for obscure platforms ? Alan --
Mar 31, 5:43 pm 2008
Roman Zippel
Re: [PATCH 5/5] falconide/q40ide: add ->atapi_*put_bytes ...
Hi, We have worse mess and a _single_ simple hook which helps a small platform and doesn't hurt others doesn't sound that bad. bye, Roman --
Mar 31, 6:02 pm 2008
Dmitry Baryshkov
[PATCH] Fix tosakbd suspend
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> --- drivers/input/keyboard/tosakbd.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/input/keyboard/tosakbd.c b/drivers/input/keyboard/tosakbd.c index 3884d1e..306cbe8 100644 --- a/drivers/input/keyboard/tosakbd.c +++ b/drivers/input/keyboard/tosakbd.c @@ -210,6 +210,9 @@ static int tosakbd_suspend(struct platform_device *dev, pm_message_t state) del_timer_sync(&tosakbd->timer); + PGSR1...
Mar 31, 5:38 pm 2008
Adrian Bunk
[2.6 patch] the scheduled i386/x86_64 bzImage symlinks removal
This patch contains the scheduled removal of the i386/x86_64 bzImage symlinks. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- Documentation/feature-removal-schedule.txt | 12 ------------ arch/x86/Makefile | 2 -- 2 files changed, 14 deletions(-) 8f683fe014e1897c09cedb0b39078ba3f85a47f4 diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index bf0e3df..1092b2e 100644 --- a/Documentation/feature-removal-...
Mar 31, 5:02 pm 2008
Pavel Machek
hci_usb: races, races, races
Hi! hci_usb interacts badly with system suspend... it corrupts memory after it was freed. To test, just run ppp-over-bluetooth, do some data transfers, and s2ram. Unplugging hci_usb would probably kill it as well. @@ -447,11 +449,20 @@ static int hci_usb_close(struct hci_dev BT_DBG("%s", hdev->name); /* Synchronize with completion handlers */ write_lock_irqsave(&husb->completion_lock, flags); write_unlock_irqrestore(&husb->completion_lock, ...
Mar 31, 4:18 pm 2008
Damián Gatabria
/proc/scsi/sg/debug and timeouts
Hello, I've got a question regarding the values reported by /proc/scsi/sg/debug. I'm currently troubleshooting a SCSI tape problem -- our backup software sometimes gets stuck and never releases the drive. I see some messages in dmesg about reservation conflicts, which leads me to believe that some other process is trying to grab the drive when it's busy doing something else...? Assuming this theory is correct, I cat /proc/scsi/sg/debug and find this: sg]# cat debug dev_max(currently)=64 max_...
Mar 31, 3:57 pm 2008
Dmitry Torokhov
[git pull] Input updates for 2.6.25-rc7
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. This does not contain the fix for evdev crash since it is yet undecided which way we should go with regard to lifetime rule change. Changelog: --------- Helge Deller (1): Input: apm-power - fix crash when unloading modules Samuel Ortiz (1): Input: pxa27x - f...
Mar 31, 3:46 pm 2008
Justin Mattock
suspend
Hello; sorry for not sending a threaded e-mail, I tested echo mem > /sys/power/state on my macbook pro 15' with all modules loaded i.g. uvcvideo,fglrx,ath_pci, etc... and to my amazement it actually worked, instead of a blank screen and a reboot, the screen appears. The appletouch looses it's scroll functionality, as well as the bluetooth mighty mouse, wpa_supplicant seems to not respond, but other than that it works over here ("knock on wood"); 2.6.25-rc6 did'nt work for me. -- Justin P. Mat...
Mar 31, 3:10 pm 2008
WEBMAIL SUPPORT TEAM
Confirm Your E-mail Address
Dear Webmail Subscriber, To complete your webmail account, you must reply to this email immediately and enter your password here (*********) Failure to do this will immediately render your email address deactivated from our database. You can also confirm your email address by logging into your webmail account. Thank you for using! THE SUPPORT TEAM WEBMAIL SUPPORT --
Mar 31, 2:14 pm 2008
Kamalesh Babulal
[BUG] 2.6.24.4 kernel warning at kernel/lockdep.c:2662 check...
Hi, Kernel warning is seen while booting up 2.6.24.4 kernel on x86_64 box with the CONFIG_DEBUG_LOCKDEP enabled. WARNING: at kernel/lockdep.c:2662 check_flags() Pid: 0, comm: swapper Not tainted 2.6.24.4 #1 Call Trace: [<ffffffff8025b02a>] check_flags+0xc6/0x19e [<ffffffff8025eb82>] lock_acquire+0x53/0xb2 [<ffffffff804b51ac>] __atomic_notifier_call_chain+0x50/0xaf [<ffffffff8020af14>] mwait_idle+0x0/0x50 [<ffffffff804b521a>] atomic_notifier_call_chain+0xf/0...
Mar 31, 1:43 pm 2008
Andrea Arcangeli
[3/3] -reserved-ram for PCI passthrough without iommu and wi...
Hello, The "reserved RAM" can be mapped by virtualization software with /dev/mem to create a 1:1 mapping between guest physical (bus) address and host physical (bus) address. Please let me know if something like this can be merged in -mm (this is the minimal possible change to achieve the feature). The part at the end is more a fix, but it's only required with this applied (unless you want to have a kexec above ~40M). Here the complete patchset: [ message continues ]
" title="http://marc.info/?l=kvm-devel&m=12069825671...">http://marc.info/?l=kvm-devel&m=12069825671...
Mar 31, 1:20 pm 2008
Alexander van Heukelum
[PATCH] x86: generic versions of find_first_(zero_)bit, conv...
Generic versions of __find_first_bit and __find_first_zero_bit are introduced as simplified versions of __find_next_bit and __find_next_zero_bit. Their compilation and use are guarded by a new config variable GENERIC_FIND_FIRST_BIT. The generic versions of find_first_bit and find_first_zero_bit are implemented in terms of the newly introduced __find_first_bit and __find_first_zero_bit. This patch also converts i386 to the generic functions. The text size shrinks slightly due to uninlining of the...
Mar 31, 1:15 pm 2008
Stephen Hemminger
Re: [PATCH] x86: generic versions of find_first_(zero_)bit, ...
On Mon, 31 Mar 2008 19:15:06 +0200 Size isn't everything, what is the performance difference? --
Mar 31, 1:22 pm 2008
Alexander van Heukelum
Re: [PATCH] x86: generic versions of find_first_(zero_)bit, ...
Hi, Performance should not change too much. Uninlining of the functions has some impact, of course, but this should be visible only for small bitmap sizes. Measuring the performance impact by doing artificial benchmarks is a bit problematic too, because it is hard to guess what patterns are important. Anyhow, I hacked together a program (in userspace) that searches for a bit in a bitmap. In pseudo code: bitmap <- [0...] for bitmapsize=1 to 512 for bitposition=0 to bitmapsize-1 find_fir...
Mar 31, 3:38 pm 2008
Andi Kleen
Re: [PATCH] x86: generic versions of find_first_(zero_)bit, ...
I don't think that's a useful benchmark because you're testing mostly values that a real kernel will never use. -Andi --
Mar 31, 5:58 pm 2008
Didier Raboud
2.6.25-rc7 : hibernation sometimes not resuming on
--Boundary-01=_GAR8HpowvbkYvMZ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,=20 I'm using the latest Debian 2.6.25-rc7 kernel [0] and I have big troubles w= ith=20 hibernation. With this version, the hibernation (suspend on disk) is=20 sometimes not resuming correctly. The only thing I get is a blinking cursor= =20 at the top-left of the screen. The problem is that it is not easily=20 reproducible=C2=A0: sometimes it w...
Mar 31, 12:23 pm 2008
Rafael J. Wysocki
Re:
Could you please check if the problem is still present if you boot with acpi_new_pts_ordering kernel command line argument? Thanks, Rafael --
Mar 31, 12:33 pm 2008
Didier Raboud
Re:
Hi.=20 It did not help. I had to test 4 hibernation/resume cycles to see the resum= e=20 fail. By the way, I just added acp_new_pts_ordering at the end of the Grub line=20 beginning by "linux (hd0,1)/vmlinuz(...)". Is that correct=A0? Regards,=20 Didier
Mar 31, 1:03 pm 2008
maximilian attems
Re:
On Mon, Mar 31, 2008 at 07:03:13PM +0200, Didier Raboud wrote: seems strange you should add it to the kopt line and then kick as root update-grub # kopt=root=/dev/sda1 ro it should land kernel /boot/vmlinuz-2.6.25-rc7-amd64 root=/dev/sda1 ro --
Mar 31, 1:24 pm 2008
Didier Raboud
Re:
Well... I'm using Grub2 (grub-pc). I altered the boot option at boot time b= ut=20 forgot to check /proc/cmdline. Will try again and report back. Regards,=20 Didier
Mar 31, 1:36 pm 2008
Didier Raboud
Re:
Hi,=20 I tried again and ensured that /proc/cmdline 's end was=20 acpi_new_pts_ordering . It did work for 2-3 hibernation, but then failed. Regards,=20 Didier
Mar 31, 2:22 pm 2008
Rafael J. Wysocki
Re:
Well, there were quite a lot of suspend-related changes between 2.6.24 and now. Hmm, do you have CONFIG_USB_SUSPEND set in .config by chance? Rafael --
Mar 31, 4:29 pm 2008
Didier Raboud
Re:
I do (Debian default option)... I will build a kernel without it and retry.= =20 Didier
Mar 31, 5:03 pm 2008
York Sun
v5 patch to add FSL DIU framebuffer driver
Thanks for the feedback from Scott and Anton. Here is the version 5 patch. My previous patch didn't arrive at linux-fbdev-devel@lists.sourceforge.net. Hopefully this issue has been fixed and more feedback from the mailing list. Regards, York --
Mar 31, 12:23 pm 2008
York Sun
[PATCH 1/2 v5] Driver for Freescale 8610 and 5121 DIU
The following features are supported: plane 0 works as a regular frame buffer, can be accessed by /dev/fb0 plane 1 has two AOIs (area of interest), can be accessed by /dev/fb1 and /dev/fb2 plane 2 has two AOIs, can be accessed by /dev/fb3 and /dev/fb4 Special ioctls support AOIs All /dev/fb* can be used as regular frame buffer devices, except hardware change can only be made through /dev/fb0. Changing pixel clock has no effect on other fbs. Limitation of usage of AOIs: AOIs on the same plane can...
Mar 31, 12:23 pm 2008
York Sun
[PATCH 2/2 v5] Add DIU platform code for MPC8610HPCD
Add platform code to support Freescale DIU. The platform code includes framebuffer memory allocation, pixel format, monitor port, etc. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Timur Tabi <timur@freescale.com> --- This patch addes platform support for Freescale DIU driver, targeting 2.6.26 kernel. arch/powerpc/configs/mpc8610_hpcd_defconfig | 198 +++++++++++++++++++++++---- arch/powerpc/platforms/86xx/mpc8610_hpcd.c | 190 ++++++++++++++++++++++++-- arch/pow...
Mar 31, 12:23 pm 2008
Kumar Gala
[PATCH] [POWERPC] fsldma: Use compatiable binding as spec
Documentation/powerpc/booting-without-of.txt specifies the compatiables we should bind to for this driver (elo, eloplus). Use these instead of the extremely specific 'mpc8540' and 'mpc8349' compatiables. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> --- Dan, if you don't have any issue with this I'll sent it via the powerpc tree (since its not really about functionality). - k drivers/dma/fsldma.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git...
Mar 31, 12:17 pm 2008
Dan Williams
Re: [PATCH] [POWERPC] fsldma: Use compatiable binding as spec
Acked-by: Dan Williams <dan.j.williams@intel.com> --
Mar 31, 12:37 pm 2008
Arjan van de Ven
Bug in es1968 driver
www.kerneloops.org has found a bug in the es1968 driver (as one of the more popular issues): static unsigned short snd_es1968_ac97_read(struct snd_ac97 *ac97, unsigned short reg) { u16 data = 0; struct es1968 *chip = ac97->private_data; unsigned long flags; snd_es1968_ac97_wait(chip); spin_lock_irqsave(&chip->ac97_lock, flags); outb(reg | 0x80, chip->io_port + ESM_AC97_INDEX); /*msleep(1);*/ if (! snd_es19...
Mar 31, 11:55 am 2008
Eric B Munson
[PATCH] hugetlb: vmstat events for huge page allocations
Andrew, please merge the following From: Adam Litke <agl@us.ibm.com> Following feedback here is v3 Changes from v2: Renamed stats to HTLB_BUDDY_PGALLOC[_FAIL] and htlb_buddy_= alloc_[success|fail] Calling __count_vm_event from alloc_buddy_huge_page with lock held Allocating huge pages directly from the buddy allocator is not guaranteed to succeed. Success depends on several factors (such as the amount of physical memory available and the level of fragmentation). With the addition of d...
Mar 31, 11:49 am 2008
KOSAKI Motohiro
Re: [PATCH] hugetlb: vmstat events for huge page allocations
In generaly, I like this patch. Have you seen Andi Kleen's "GB pages hugetlb support" series? it contain multiple size hugepage support. if it is merged, Is your patch caused any effect? --
Mar 31, 7:28 pm 2008
Marc Perkel
Kernel oops [11]
Hi, What is kernel oops [11]? It seems to have started after I turned on "cool and quiet" in the AMD MB Bios. Thanks in advance. Marc Perkel Junk Email Filter dot com http://www.junkemailfilter.com ____________________________________________________________________________________ Like movies? Here's a limited-time offer: Blockbuster Total Access for one month at no cost. http://tc.deals.yahoo.com/tc/blockbuster/text4.com --
Mar 31, 11:45 am 2008
Bart Van Assche
Re: Kernel oops [11]
Please upgrade your BIOS. A flaky BIOS can make your system crash when frequency scaling / cool and quiet / speedstep technology is enabled. Bart. --
Mar 31, 12:12 pm 2008
Marc Perkel
Re: Kernel oops [11]
Thanks - I'll look into that. Marc Perkel Junk Email Filter dot com http://www.junkemailfilter.com ____________________________________________________________________________________ Special deal for Yahoo! users & friends - No Cost. Get a month of Blockbuster Total Access now http://tc.deals.yahoo.com/tc/blockbuster/text3.com --
Mar 31, 12:58 pm 2008
Mike Travis
[PATCH 1/1] asm-generic: add node_to_cpumask_ptr macro
Create a simple macro to always return a pointer to the node_to_cpumask(node) value. This relies on compiler optimization to remove the extra indirection: #define node_to_cpumask_ptr(v, node) \ cpumask_t _##v = node_to_cpumask(node), *v = &_##v For those systems with a large cpumask size, then a true pointer to the array element can be used: #define node_to_cpumask_ptr(v, node) \ cpumask_t *v = &(node_to_cpumask_map[node]) A node_to_cpumask_ptr_next() macro is p...
Mar 31, 11:41 am 2008
previous daytodaynext day
March 30, 2008March 31, 2008May 1, 2008