| From | Subject | Date |
|---|---|---|
| nokia30online | Nokia Connecting People.....
You have just been granted the sum of
| Aug 3, 4:12 pm 2008 |
| Andrea Righi | [PATCH -mm 3/3] i/o controller instrumentation: accounti ...
Apply the io-throttle controller to the opportune kernel functions. Both
accounting and throttling functionalities are performed by
cgroup_io_throttle().
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
block/blk-core.c | 9 +++++++++
fs/aio.c | 31 ++++++++++++++++++++++++++++++-
fs/buffer.c | 20 +++++++++++++++++---
fs/direct-io.c | 4 ++++
include/linux/sched.h | 3 +++
kernel/fork.c | 4 +++-
mm/filemap.c | ...
| Aug 3, 3:14 pm 2008 |
| Andrea Righi | [PATCH -mm 2/3] i/o controller infrastructure
This is the core io-throttle kernel infrastructure. It creates the basic
interfaces to cgroups and implements the I/O measurement and throttling
functions.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
block/Makefile | 2 ++
include/linux/cgroup_subsys.h | 6 ++++++
init/Kconfig | 10 ++++++++++
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/block/Makefile b/block/Makefile
index 208000b..b3afc86 100644
--- ...
| Aug 3, 3:14 pm 2008 |
| Andrea Righi | [PATCH -mm 1/3] i/o controller documentation
Documentation of the block device I/O controller: description, usage,
advantages and design.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
Documentation/controllers/io-throttle.txt | 312 +++++++++++++
block/blk-io-throttle.c | 719 +++++++++++++++++++++++++++++
include/linux/blk-io-throttle.h | 41 ++
3 files changed, 1072 insertions(+), 0 deletions(-)
create mode 100644 Documentation/controllers/io-throttle.txt
create mode 100644 ...
| Aug 3, 3:14 pm 2008 |
| Andrea Righi | [PATCH -mm 0/3] cgroup: block device i/o controller (v8)
The objective of the i/o controller is to improve i/o performance
predictability of different cgroups sharing the same block devices.
Respect to other priority/weight-based solutions the approach used by this
controller is to explicitly choke applications' requests that directly (or
indirectly) generate i/o activity in the system.
The direct bandwidth and/or iops limiting method has the advantage of improving
the performance predictability at the cost of reducing, in general, the ...
| Aug 3, 3:14 pm 2008 |
| James Bottomley | [GIT PATCH] SCSI fixes for 2.6.27-rc1
This is just a small selection of four fixes, one expanding driver
bindings and the other three fixing actual bugs (all of which need
backporting to 2.6.26 I'm afraid).
The patch is available here:
master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6.git
The short changelog is:
HighPoint Linux Team (1):
hptiop: add more PCI device IDs
James Bottomley (2):
scsi_transport_spi: fix oops in revalidate
ses: fix VPD inquiry overrun
Tim Wright (1):
...
| Aug 3, 3:03 pm 2008 |
| Robert P. J. Day | full list of unused CONFIGs under drivers/
amazingly, the full list of unused CONFIG variables under drivers/
now fits on a single page. whoo hoo. apparently, incessant nagging
gets results. :-)
===== FB_N411
drivers/video/Kconfig:708:config FB_N411
===== MTD_NAND_ATMEL_ECC_SOFT
drivers/mtd/nand/Kconfig:313:config MTD_NAND_ATMEL_ECC_SOFT
===== SCSI_QLOGIC_FC_FIRMWARE
drivers/scsi/Kconfig:1328:config SCSI_QLOGIC_FC_FIRMWARE
===== SERIAL_CPM_SCC1
drivers/serial/Kconfig:1138:config SERIAL_CPM_SCC1
===== ...
| Aug 3, 2:38 pm 2008 |
| Erkki Lintunen | bugfix for scripts/patch-kernel in 2.6 sublevel stepping
Hi,
scripts/patch-kernel script can't patch a tree, say, from 2.6.25 to
2.6.26.1, because of a wrong comparison in context of patching 2.6.x
base. Following patch has a fix for it.
Erkki
--- linux-2.6.26/scripts/patch-kernel 2008-04-27 19:49:14.000000000 +0300
+++ linux-2.6.26.1/scripts/patch-kernel 2008-08-03 23:34:00.000000000 +0300
@@ -213,6 +213,7 @@
if [ $stopvers != "default" ]; then
STOPSUBLEVEL=`echo $stopvers | cut -d. -f3`
STOPEXTRA=`echo $stopvers | ...
| Aug 3, 2:00 pm 2008 |
| Randy.Dunlap | Re: bugfix for scripts/patch-kernel in 2.6 sublevel stepping
Hi,
This does work better than the current script in the kernel tree.
The larger question: is does anyone still use this script?
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
--
~Randy
--
| Aug 3, 3:00 pm 2008 |
| Adrian Bunk | Re: Kernel Installer
Replacing the normal build output with something different doesn't make
anything easier.
Especially considering that your "once the .config file is set" seems to
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.
Pearl S. Buck - Dragon Seed
--
| Aug 3, 2:00 pm 2008 |
| Satish Eerpini | Kernel Installer
Hello everyone , :
i have been writing a kernel installer which may make the kernel
installation process a lot more easier for noobs , (don ask me why
noobs would like to compile a kernel) , but atleast till they learn
to do it the good way !
i have written some code which is below , well i am stuck at one thing , ...
once the .config file is set , is there any method to compute the
exact no of files that are going to be compiled ??
lack of this knowledge is clearly visible in the use of a ...
| Aug 3, 1:50 pm 2008 |
| Randy.Dunlap | [PATCH] kernel-doc: skip nested struct/union cleanly
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix handling of nested structs or unions. The regex to strip (eliminate)
nested structs or unions was limited to only 0 or 1 matches.
This can cause an uneven number of left/right braces to be stripped,
which causes this:
Warning(linux-2.6.27-rc1-git2//include/net/mac80211.h:336): No description found for parameter '}'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
scripts/kernel-doc | 2 +-
1 file changed, 1 insertion(+), 1 ...
| Aug 3, 1:38 pm 2008 |
| Robert Hancock | Re: SW-IOMMU / ata_piix errors with 2.6.27-rc1
You can try increasing the swiotlb size by booting with swiotlb=65536
(for 128MB) or swiotlb=131072 (for 256MB), and see if that makes the
problem go away.. It's unclear why you'd be running out of SWIOTLB space
now, though, if 2.6.26 worked fine..
I wonder why Apple hasn't set up the SATA controller in AHCI mode on
these machines. If they had, you wouldn't have this problem as it would
support 64-bit DMA and not need the SWIOTLB.
--
| Aug 3, 1:30 pm 2008 |
| Felipe Balbi | Re: [regression?] usb: new errors during device detection
Hi,
what is this device attached to this port ?
Do you have the device attached before turning on the machine ?
Does it happen if you boot without that device attached and attach
it afterwards ?
Can you please enable CONFIG_USB_DEBUG and resend dmesg output ?
thanks,
--
balbi
--
| Aug 3, 1:35 pm 2008 |
| Frans Pop | [regression?] usb: new errors during device detection
Not sure how I should interpret this difference between dmesg output for
2.6.26 and 2.6.27-rc1 (after 'grep -i usb'):
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
uhci_hcd 0000:00:1d.1: new USB bus ...
| Aug 3, 1:11 pm 2008 |
| Geert Uytterhoeven | [PATCH] m68k: some asm-sparc include files moved
From: Stephen Rothwell <sfr@canb.auug.org.au>
So copy their contents into the asm-m68k files.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
include/asm-m68k/contregs.h | 51 ++++++
include/asm-m68k/fbio.h | 331 +++++++++++++++++++++++++++++++++++++++++++-
include/asm-m68k/idprom.h | 21 ++
3 files changed, 400 insertions(+), 3 deletions(-)
--- a/include/asm-m68k/contregs.h
+++ ...
| Aug 3, 1:02 pm 2008 |
| Frans Pop | [regression?] Memory zone info seems incomplete in boott ...
With 2.6.26 I get:
<snip>
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[4] active PFN ranges
0: 0 -> 159
0: 256 -> 521844
0: 521961 -> 521964
0: 521983 -> 521984
On node 0 totalpages: 521751
DMA zone: 56 pages used for memmap
DMA zone: 1271 pages reserved
DMA zone: 2672 pages, LIFO batch:0
DMA32 zone: 7081 pages used for ...
| Aug 3, 12:25 pm 2008 |
| Команда Коннекта | Коннект | Зміни за останн
Вітаємо, Владимир Кирилов!
Пропонуємо до вашої уваги перелік найбільш цікавих подій на Коннекті за останній час:
Близько тижня тому змінився зовнішній вигляд Коннекту. Судячи по відгуках, багатьом він припав до душі. Крім того, ми істотно переробили розділ "Фото". Найближчим часом на Коннекті з`явиться дуже бажана для багатьох функція - завантаження аудіо. Ви зможете додавати свою улюблену музику собі в анкету, до групи і т. д. Не за горами також поява новин, ігор, істотне поліпшення пошуку людей, ...
| Aug 3, 11:49 am 2008 |
| Adrian Bunk | [2.6 patch] FS_MBCACHE: don't needlessly make it built-in
Assume you have:
- one or more of ext2/3/4 statically built into your kernel
- none of these with extended attributes enabled and
- want to add onother one of ext2/3/4 modular and with
extended attributes enabled
then you currently have to reboot to use it since this results in
CONFIG_FS_MBCACHE=y.
That's not a common issue, but I just ran into it and since there's no
reason to get a built-in mbcache in this case this patch fixes it.
Signed-off-by: Adrian Bunk ...
| Aug 3, 11:43 am 2008 |
| David Miller | Re: Circular locking (rtnl_mutex & _xmit_IEEE80211) duri ...
From: Max Krasnyansky <maxk@qualcomm.com>
Fixed in current GIT.
--
| Aug 3, 2:01 pm 2008 |
| Max Krasnyansky | Circular locking (rtnl_mutex & _xmit_IEEE80211) during suspend
Got this lockdep complaint yesterday
--
wlan0: disassociating by local choice (reason=3)
=============================================
[ INFO: possible recursive locking detected ]
2.6.27-rc1 #29
---------------------------------------------
NetworkManager/1744 is trying to acquire lock:
(_xmit_IEEE80211#2){-+..}, at: [<ffffffff804b18ea>] dev_deactivate+0x9a/0x150
but task is already holding lock:
(_xmit_IEEE80211#2){-+..}, at: [<ffffffff804b18ea>] dev_deactivate+0x9a/0x150
other ...
| Aug 3, 11:35 am 2008 |
| Marcin Slusarz | acpi error on 2.6.27-rc1+ (ACPI Error (dsobject-0501))
Hi
I noticed that 2.6.27-rc1+ (2b12a4c524812fb3f6ee590a02e65b95c8c32229) prints this:
Completing Region/Field/Buffer/Package initialization:.ACPI Error (dsobject-0501): Package List length (EA) larger than NumElements count (3), truncated
Is it something to worry about?
I've put full log, config and acpidump on http://www.kadu.net/~joi/kernel/2008.08.03/
Marcin
--
| Aug 3, 11:29 am 2008 |
| Rafael J. Wysocki | Re: acpi error on 2.6.27-rc1+ (ACPI Error (dsobject-0501))
[Probably CC this to linux-acpi as well.]
--
| Aug 3, 2:55 pm 2008 |
| James Bottomley | RE: [PATCH 2/2] fusion: Implement generic interrupt mis ...
Well, this is the usual trouble. I don't have a misbehaving
motherboard, so I artificially induce MSI problems on my platform. For
me, it works, but obviously I'm losing every MSI interrupt.
James
--
| Aug 3, 4:07 pm 2008 |
| James Bottomley | [PATCH 2/2] fusion: Implement generic interrupt misrout ...
This patch uses the new pci_lost_interrupt() callback to note the loss
of an interrupt, and if the reason is MSI, to work around the problem.
I used the manufacturer config page for this, because every fusion type
has that one and its loss means that mpt_config() which is interrupt
driven, failed.
James
---
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index d6a0074..2d75c58 100644
--- a/drivers/message/fusion/mptbase.c
+++ ...
| Aug 3, 11:05 am 2008 |
| Moore, Eric | RE: [PATCH 2/2] fusion: Implement generic interrupt mis ...
Thanks, I will try this out. However I thought I saw lost interrupts occurring randomly, meaning it was not necessarily the first config page access. I'm back in the office on 8/11, I will test it out then and provide feedback.
Eric
________________________________________
From: James Bottomley [James.Bottomley@HansenPartnership.com]
Sent: Sunday, August 03, 2008 12:05 PM
To: linux-scsi; linux-kernel; linux-pci@vger.kernel.org
Cc: Moore, Eric
Subject: [PATCH 2/2] fusion: Implement generic ...
| Aug 3, 3:59 pm 2008 |
| James Bottomley | [PATCH 1/2] pci: add misrouted interrupt error handling
We're getting a lot of storage drivers blamed for interrupt misrouting
issues. This patch provides a standard way of reporting the problem
... and, if possible, correcting it.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
---
drivers/pci/Makefile | 3 +-
drivers/pci/irq.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++
include/linux/pci.h | 7 +++++
3 files changed, 69 insertions(+), 1 deletions(-)
create mode 100644 drivers/pci/irq.c
diff ...
| Aug 3, 11:02 am 2008 |
| Oleg Nesterov | [PATCH 2/3] posix-timers: always do get_task_struct(time ...
Change the code to get/put timer->it_process regardless of SIGEV_THREAD_ID.
This streamlines the create/destroy paths and allows us to simplify the
usage of exit_itimers() in de_thread().
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
--- 26-rc2/kernel/posix-timers.c~2_GET_LEADER 2008-08-03 20:25:41.000000000 +0400
+++ 26-rc2/kernel/posix-timers.c 2008-08-03 21:13:25.000000000 +0400
@@ -540,11 +540,10 @@ sys_timer_create(const clockid_t which_c
*/
...
| Aug 3, 10:49 am 2008 |
| Oleg Nesterov | [PATCH 1/3] posix-timers: don't switch to ->group_leader ...
(textually depends on posix-timers-fix-posix_timer_event-vs-dequeue_signal-race.patch)
posix_timer_event() drops SIGEV_THREAD_ID and switches to ->group_leader if
send_sigqueue() fails.
This is not very useful and doesn't work reliably. send_sigqueue() can only
fail if ->it_process is dead. But it can die before it dequeues the SI_TIMER
signal, in that case the timer stops anyway.
Remove this code. I guess it was needed a long ago to ensure that the timer
is not destroyed when when its ...
| Aug 3, 10:49 am 2008 |
| Oleg Nesterov | [PATCH 3/3] posix-timers: simplify de_thread()->exit_iti ...
de_thread() postpones release_task(leader) until after exit_itimers().
This was needed because !SIGEV_THREAD_ID timers could use ->group_leader
without get_task_struct(). With the recent changes we can release the
leader earlier and simplify the code.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
--- 26-rc2/fs/exec.c~3_DE_THREAD 2008-08-03 17:16:40.000000000 +0400
+++ 26-rc2/fs/exec.c 2008-08-03 21:35:33.000000000 +0400
@@ -757,7 +757,6 @@ static int de_thread(struct task_struct
struct ...
| Aug 3, 10:49 am 2008 |
| jmerkey | Re: [ANNOUNCE] Merkey's Kernel Debugger
This patch is formally submitted for consideration for inclusion in the
base linux kernel.
ftp://ftp.wolfmountaingroup.org/pub/mdb/mdb-2.6.26-ia32-08-02-08.patch
Jeff
--
| Aug 3, 12:36 pm 2008 |
| Rene Herman | Re: [ANNOUNCE] Merkey's Kernel Debugger
Haven't actually looked, but you should've probably waited just a bit
for people to start using and then getting fed up with kgdb...
Rene.
--
| Aug 3, 1:00 pm 2008 |
| jmerkey | [ANNOUNCE] Merkey's Kernel Debugger
This is a linux port of the kernel debugger I wrote in 2000 for the
MANOS/Gadugi Operating System. I created this particular
port in June of this year from the MANOS/Gadugi source code I released
under the GNU public license in 2000.
I wrote the SMP debugger use in SMP Netware in 1994 and 1995, and that was
later rolled into the main Netware kernel, though a lot of folks
contributed helped merge it into Netware. This debugger closely resembles
the legacy Netware kernel debugger, and I ...
| Aug 3, 10:22 am 2008 |
| Juergen Kreileder | SW-IOMMU / ata_piix errors with 2.6.27-rc1
Hi,
I get lots of errors like this with 2.6.27-rc1 on my
Macbook Pro (3rd generation), 2.6.26 seems to work fine:
[ 907.524509] DMA: Out of SW-IOMMU space for 45056 bytes at device 0000:00:1f.2
[ 907.524783] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 907.524796] ata3.00: cmd 35/00:50:08:91:5c/00:01:0f:00:00/e0 tag 0 dma 172032 out
[ 907.524798] res 50/00:00:ff:90:5c/00:00:0f:00:00/ef Emask 0x40 (internal error)
[ 907.524805] ata3.00: status: { DRDY }
[ ...
| Aug 3, 10:10 am 2008 |
| Sven Wegener | [PATCH] net: Add missing extra2 parameter for ip_default ...
Commit 76e6ebfb40a2455c18234dcb0f9df37533215461 acceses the extra2 parameter of
the ip_default_ttl ctl_table, but it is never set to a meaningful value. When
e84f84f276473dcc673f360e8ff3203148bdf0e2 is applied, we'll oops in
rt_cache_invalidate(). Set extra2 to init_net, to avoid that.
Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Denis V. Lunev <den@openvz.org>
---
...
| Aug 3, 1:18 pm 2008 |
| Sven Wegener | Re: oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
I should stop for today, it's e84f84f276473dcc673f360e8ff3203148bdf0e2
that has the &net->ipv4.rt_genid in rt_cache_invalidate(). ...
--
| Aug 3, 12:48 pm 2008 |
| David Miller | Re: [PATCH] net: Add missing extra2 parameter for ip_def ...
From: Sven Wegener <sven.wegener@stealer.net>
Applied, thanks a lot.
Please provide commit header line text when referencing SHA IDs,
as the SHA IDs can change when patches are applied to different
trees. Here is the actual changelog message I used so you can
see what I mean:
net: Add missing extra2 parameter for ip_default_ttl sysctl
Commit 76e6ebfb40a2455c18234dcb0f9df37533215461 ("netns: add namespace
parameter to rt_cache_flush") acceses the extra2 parameter of the
...
| Aug 3, 2:07 pm 2008 |
| Marcin Slusarz | Re: oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
Yes, I have this in sysctl.conf:
$ grep "ip_default_ttl" /etc/sysctl.conf
Thanks, now it works.
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Marcin
--
| Aug 3, 12:52 pm 2008 |
| Marcin Slusarz | oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
[ 21.035097] Adding 1020112k swap on /dev/sda2. Priority:-1 extents:1 across:1020112k
[ 22.340292] BUG: unable to handle kernel NULL pointer dereference at 00000000000002c0
[ 22.341002] IP: [<ffffffff80442a7e>] rt_cache_invalidate+0x25/0x32
[ 22.341002] PGD 3dc7c067 PUD 3d198067 PMD 0
[ 22.341002] Oops: 0002 [1] PREEMPT
[ 22.341002] CPU 0
[ 22.341002] Modules linked in: usbhid uhci_hcd tuner tea5767 tda8290 tuner_xc2028 xc5000 tda9887 tuner_simple tuner_types mt20xx tea5761 tda9875 ...
| Aug 3, 10:02 am 2008 |
| Sven Wegener | Re: oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
Actually it's 86c657f6b5bbf2f3ec2213eca528998134a9b344, 76e6ebf adds the
initial code that accesses the extra2 parameter, but 86c657f adds the
--
| Aug 3, 12:43 pm 2008 |
| Sven Wegener | Re: oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
No need to, the issue can be triggered by
sysctl net.ipv4.ip_default_ttl=1
when 76e6ebfb40a2455c18234dcb0f9df37533215461 is applied.
ipv4_doint_and_flush and ipv4_doint_and_flush_strategy access the member
extra2 of the ctl_table, but it is never set to a meaningful value. Don't
know if it's just the following that is missing or if we need another
namespace.
net: Add missing extra2 prameter for ip_default_ttl sysctl
Commit 76e6ebfb40a2455c18234dcb0f9df37533215461 needs the extra2 ...
| Aug 3, 12:24 pm 2008 |
| Denis V. Lunev | Re: oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
Acked-by: Denis V. Lunev <den@openvz.org>
--
| Aug 3, 1:04 pm 2008 |
| Denis V. Lunev | Re: oops in rt_cache_invalidate (2.6.27-rc1-2b12a4c)
Could you send you .config?
Regards,
Den
--
| Aug 3, 11:56 am 2008 |
| Marcin Slusarz | Re: [PATCH] x86, acpi: temp_stack is used only when CONF ...
Yes. Thanks for looking at the patch!
---
From c6e673acf02e8bf04866cadf17c1cb1fa4d852ea Mon Sep 17 00:00:00 2001
From: Marcin Slusarz <marcin.slusarz@gmail.com>
Subject: [PATCH] x86, acpi: temp_stack is used only when CONFIG_64BIT && CONFIG_SMP is set
arch/x86/kernel/acpi/sleep.c:24: warning: 'temp_stack' defined but not used
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Glauber Costa <gcosta@redhat.com>
Cc: Pavel Machek <pavel@suse.cz>
Cc: Ingo Molnar ...
| Aug 3, 10:25 am 2008 |
| Marcin Slusarz | [PATCH] x86, acpi: temp_stack is used only when CONFIG_S ...
arch/x86/kernel/acpi/sleep.c:24: warning: 'temp_stack' defined but not used
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Glauber Costa <gcosta@redhat.com>
Cc: Pavel Machek <pavel@suse.cz>
Cc: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/acpi/sleep.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c
index fa2161d..9103cb6 100644
--- a/arch/x86/kernel/acpi/sleep.c
+++ ...
| Aug 3, 9:52 am 2008 |
| Sven Wegener | Re: [PATCH] x86, acpi: temp_stack is used only when CONF ...
Now it still generates the warning, but on i386 with CONFIG_SMP set,
instead of x86_64 without CONFIG_SMP. We only need temp_stack, when both
CONFIG_64BIT and CONFIG_SMP are activated.
Sven
--
| Aug 3, 10:07 am 2008 |
| Marcin Slusarz | [PATCH] usb: cdc-acm: flags passed to spin_lock_irqsave ...
gcc warned about it:
drivers/usb/class/cdc-acm.c: In function 'acm_waker':
drivers/usb/class/cdc-acm.c:527: warning: comparison of distinct pointer types lacks a cast
drivers/usb/class/cdc-acm.c:529: warning: comparison of distinct pointer types lacks a cast
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/class/cdc-acm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff ...
| Aug 3, 9:50 am 2008 |
| Marcin Slusarz | [PATCH] ALSA: pcm_native: remove unused label
gcc warns about it:
sound/core/pcm_native.c: In function 'snd_pcm_fasync':
sound/core/pcm_native.c:3262: warning: label 'out' defined but not used
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Jaroslav Kysela <perex@perex.cz>
---
sound/core/pcm_native.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index c49b9d9..333cff6 100644
--- a/sound/core/pcm_native.c
+++ ...
| Aug 3, 9:47 am 2008 |
| Marcin Slusarz | Re: [PATCH] ALSA: pcm_native: remove unused label
Brown paper bag for me, please.
But for my defense, here's the code:
static int snd_pcm_fasync(int fd, struct file * file, int on)
{
struct snd_pcm_file * pcm_file;
struct snd_pcm_substream *substream;
struct snd_pcm_runtime *runtime;
int err = -ENXIO;
lock_kernel();
pcm_file = file->private_data;
substream = pcm_file->substream;
snd_assert(substream != NULL, goto out);
runtime = substream->runtime;
err = fasync_helper(fd, file, on, ...
| Aug 3, 11:07 am 2008 |
| Sven Wegener | Re: [PATCH] ALSA: pcm_native: remove unused label
And that is broken. That's not what an assert is for, we access
substream->runtime a line later and that will blow up. That should be a
simpe if, instead of an assert.
Sven
--
| Aug 3, 10:33 am 2008 |
| Sven Wegener | Re: [PATCH] ALSA: pcm_native: remove unused label
Uhm, no, there's
snd_assert(substream != NULL, goto out);
one line above your context. The snd_assert() macro will only include the
second argument with CONFIG_SND_DEBUG, without CONFIG_SND_DEBUG it just
evaulates the first parameter and triggers the warning.
Sven
--
| Aug 3, 10:27 am 2008 |
| Dmitry Adamushko | [rfc-patch, bugfix 2/2] x86-microcode: run ucode-updates ...
From: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Run ucode-updates via workqueue (keventd) instead of using set_cpus_allowed_ptr()
in cpu-hotplug handlers.
The target 'cpu' is not yet 'active' when set_cpu_allowed_ptr() gets called from
mc_cpu_callback() (i.e. tasks can't be migrated onto it).
This caused a bug#11197: http://www.ussg.iu.edu/hypermail/linux/kernel/0807.3/3791.html)
(Almost)-Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
---
commit ...
| Aug 3, 9:06 am 2008 |
| Willy Tarreau | Re: Kernel Summit request for Discussion of future of AT ...
Interesting. I have a board with such a SIS controller somewhere here.
I'd have to shuffle the dust out of it and see if it still works, maybe
I can help on this one.
Regards,
Willy
--
| Aug 3, 10:57 am 2008 |
| David Woodhouse | Re: [Ksummit-2008-discuss] Kernel Summit request for Dis ...
I have one of those too (pdc202xx craps itself with the new drivers).
--
dwmw2
--
| Aug 3, 1:22 pm 2008 |
| Alan Cox | Re: Kernel Summit request for Discussion of future of AT ...
For the vendors I've talked with the answer is usually "both". A libata
driver for the future and current distributions, and an old IDE driver
for older RHEL and SLES releases. Fortunately the driver specific parts
for those that are capable of running under old IDE are not too hard to
plug into libata.
Alan
--
| Aug 3, 12:17 pm 2008 |
| Bartlomiej Zolnierki ... | Re: Kernel Summit request for Discussion of future of AT ...
I'm using gmail's interface (I don't have access to my laptop ATM) so
the mail may look a bit weird...
On Sun, Aug 3, 2008 at 5:57 PM, James Bottomley
This claim doesn't seem to have confirmation in facts:
* There is still hardware that is simply not-supported by libata at all:
- architecture specific hardware (ppc, m68k, mips, arm)
- "difficult" legacy PC-class hardware (i.e. secondary interface on
CY82C693 etc)
* There are still regressions in many libata PCI host drivers ...
| Aug 3, 1:09 pm 2008 |
| Alan Cox | Re: Kernel Summit request for Discussion of future of AT ...
It isn't that simple. The newer PATA controllers are diverging from the
The simpler embedded wants a pure CF driver - no scsi, no libata, no
We've certainly discussed it in the past and I'm not sure its gotten that
personal - many people contribute to both trees for example, or are
directly cc'ing stuff between trees to ensure they stay in sync and any
useful info gets in both.
Anyway with my libata hat on I would say its far too early to worry about
this. Right now we have platforms that ...
| Aug 3, 11:45 am 2008 |
| James Bottomley | Re: Kernel Summit request for Discussion of future of AT ...
I'd be a bit surprised if that's anything other than a niche. PIO is
deadly slow and wasteful of precious CPU cycles ... and embedded devices
seem to be interested in performance as well (which the DMA modes
Hey, I'd be the last person to discourage anyone from maintaining
obsolete systems ... however, the outside world looking in on this is
interested to know where they should be starting if they have some type
of CF/IDE device to support. What we really want to avoid is someone
spending ...
| Aug 3, 12:21 pm 2008 |
| Alan Cox | Re: Kernel Summit request for Discussion of future of AT ...
On Sun, 03 Aug 2008 10:57:35 -0500
That statement would be false. In fact for old and obscure hw the libata
coverage is probably better, not that this in fact is the slighest bit
relevant to the real world!
The current situation is something like this
- For PC class hardware libata covers everything in old IDE and a lot
more.
- For the older Mac hardware libata does not have pre PCI Macintosh
support although it is in progress
- For certain embedded PPC boards there are some things to ...
| Aug 3, 9:39 am 2008 |
| Rafael J. Wysocki | Re: Kernel Summit request for Discussion of future of AT ...
Well, I know of at least one case of PC hardware in which an old IDE driver
basically works while the libata/pata poeple have no idea why their driver
doesn't:
http://bugzilla.kernel.org/show_bug.cgi?id=9157
Thanks,
Rafael
--
| Aug 3, 10:45 am 2008 |
| Alan Cox | Re: Kernel Summit request for Discussion of future of AT ...
Yep - probably an hours work but I've simply not been able to get the
I don't think we have any that are real straight forward "you
forgot something" regressions now. There are a few "works with A not B"
There are two there - libata keeps IRQs blocked for longer in PIO mode as
well which is a factor for realtime that needs looking at, as well as
using 16bit not 32bit I/O for most devices (which is trivial to fix). The
IRQ masking stuff is more complex and old IDE handles it far better ...
| Aug 3, 3:01 pm 2008 |
| Alan Cox | Re: Kernel Summit request for Discussion of future of AT ...
Sounds about right for a typical device based upon the ones I did that
way.
--
| Aug 3, 3:07 pm 2008 |
| Bartlomiej Zolnierki ... | Re: Kernel Summit request for Discussion of future of AT ...
The contrary is also true, for modern drivers/ide conversion of libata PATA
driver to use drivers/ide should usually be a matter of an hour or two.
I think that the conversion of libata drivers for PATA hardware that is not
supported by drivers/ide currently should be doable by somebody knowing
both subsystems in less than 24h. I'm not doing it only because it will make
me a maintainer of even more host drivers than currently and I don't have a
time for it. I'll happily accept patches ...
| Aug 3, 1:19 pm 2008 |
| Jeff Garzik | Re: Kernel Summit request for Discussion of future of AT ...
I'm not in any rush to change the status quo as I see it: don't remove
drivers/ide but encourage new drivers to be under libata.
I am a bit disappointed at all the drivers/ide churn. I had hoped it
would sit around and be a stable alternative, a fallback to libata.
Jeff
--
| Aug 3, 4:10 pm 2008 |
| James Bottomley | Kernel Summit request for Discussion of future of ATA (l ...
Right at the moment, we have two separate subsystems for running IDE
type devices: driver/ide and drivers/ata. The claim I've seen is that
drivers/ata can do everything drivers/ide can do plus it does sata. I
also note that no major distribution seems to enable anything in
drivers/ide anymore, so given this is it time to deprecate drivers/ide?
A counter argument to the above is that not all drivers (particularly
the older ones where hw is scarce) are converted to drivers/ata, so
drivers/ide ...
| Aug 3, 8:57 am 2008 |
| James Bottomley | Re: Kernel Summit request for Discussion of future of AT ...
Hmm, OK, but I did see (as you note below) that mac ide doesn't work
Yes, I understand this ... if that means drivers/ata can't possibly be
used by embedded until its dependence on SCSI is broken, then so be
it ... but I think we should at least investigate what the issues and
Well, I did notice from the lists that both drivers/ide and drivers/ata
would be represented. I've also observed that there's been a singular
lack of discussion of this on the lists; plus it's the type of ...
| Aug 3, 10:10 am 2008 |
| Willy Tarreau | Re: Kernel Summit request for Discussion of future of AT ...
I bet we'll see CF for a long time, because it is the only cheap
removable media to support IDE emulation and be bootable from an
unmodified PC BIOS. SD is cheaper and will soon provide larger
capacities, but it still requires a separate controller and is
not bootable with standard BIOSes.
Anyway, in my experience, libata supports CF on embedded controllers
pretty well. So maybe we should start marking IDE drivers deprecated
to encourage people to try libata instead and report breakage if ...
| Aug 3, 10:32 am 2008 |
| Dmitry Adamushko | [rfc-patch, bugfix 1/2] x86-microcode: generic updates
From: Dmitry Adamushko <dmitry.adamushko@gmail.com>
(1) Introduce microcode_update_cpu() which is a generic routine to do ucode-updates (for both bootup-path
and system-resume-path);
(2) Adapt the logic of cpu-hotplug handlers;
(3) Fix a race with sched_setaffinity() in reload_store()
We introduce another mechanism to run ucode-updates on a target cpu
to replace set_cpus_allowed_ptr() being called from cpu-hotplug events
(which causes a bug#11197: ...
| Aug 3, 8:56 am 2008 |
| Dmitry Adamushko | [rfc-patch, bugfix] x86-microcode
Hi,
[ consider it a pre-release and RFC... I'm a bit in hurry now and just send what I have got by this moment.
Although, I expect it to be workable ]
this change is supposed to fix bug#11197 (note, its name "Oops in microcode sysfs registration" is misleading)
The problem description can be found here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0807.3/3791.html
or
http://lkml.org/lkml/2008/7/24/260
perhaps it does look quite bulky for -rc, although it's mainly ...
| Aug 3, 8:42 am 2008 |
| Bartlomiej Zolnierki ... | [PATCH] ide: fix regression caused by ide_device_{get,pu ...
Ben, please use this version instead
(together with ide_host_alloc_all() fix)
for media-bay testing.
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: [PATCH] ide: fix regression caused by ide_device_{get,put}() addition (take 2)
On Monday 28 July 2008, Benjamin Herrenschmidt wrote:
The guilty commit turned out to be 08da591e14cf87247ec09b17c350235157a92fc3
("ide: add ide_device_{get,put}() helpers"). ide_device_put() is called
before kref_put() in ide_cd_put() so IDE ...
| Aug 3, 7:48 am 2008 |
| Christian Kujau | [build failure] hp-plus.c:(.text+0xad73b): undefined ref ...
Hi there,
this has been reported[0] in July already but randconfig just hit it
again, I think:
-------
gcc -Wp,-MD,init/.version.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.1/include -D__KERNEL__ -Iinclude -I/data/Scratch/src/linux-2.6/arch/x86/include -i
ld -m elf_i386 -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/noinitramfs.o init/calibrate.o
ld -m elf_i386 --build-id -o .tmp_vmlinux1 -T \
arch/x86/kernel/vmlinux.lds ...
| Aug 3, 7:51 am 2008 |
| Cyrill Gorcunov | [RFC] init: introduce boot param alias
By introducing the macroses __setup_alias and early_param_alias
we are allowed to use boot param aliases.
Here is an example:
static int __init parse_func(char *arg)
{
/* set some flag or do something */
return 0;
}
early_param("param1", parse_func);
early_param_alias("param1-alias", parse_func);
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
I found it usefull while was looking for APIC code merging.
Please review! Any comments are _quite_welcome_!!!
I use __LINE__ ...
| Aug 3, 7:22 am 2008 |
| Gavin Shan | Re: PIIX4: DMA timeout issue
PiBVbmZvcnR1bmF0ZWx5LCB0aGUgdGltZW91dCBpc3N1ZSBzdGlsbCBoYXBwZW5lZCBvbiBBVEEg
ZHJpdmVyIGFzIElERS4NCj4gDQo+IENvbW1hbmQgKG0gZm9yIGhlbHApOiBwDQo+IA0KPiBEaXNr
IC9kZXYvc2RhOiA2MC4wIEdCLCA2MDAxMTY0Mjg4MCBieXRlcw0KPiAyNTUgaGVhZHMsIDYzIHNl
Y3RvcnMvdHJhY2ssIDcyOTYgY3lsaW5kZXJzDQo+IFVuaXRzID0gY3lsaW5kZXJzIG9mIDE2MDY1
ICogNTEyID0gODIyNTI4MCBieXRlcw0KPiBEaXNrIGlkZW50aWZpZXI6IDB4NDg5MmMwMDQNCj4g
DQo+ICAgRGV2aWNlIEJvb3QgICAgICBTdGFydCAgICAgICAgIEVuZCAgICAgIEJsb2NrcyAgIElk
ICBTeXN0ZW0NCj4gL2Rldi9zZGExICAgICAgICAg ...
| Aug 3, 7:10 am 2008 |
| Dasgupta, Romit | [PATCH] [PM] Fixes missing PM entries in sysfs without C ...
Alan,
Here is a patch for you. Tested with
1) CONFIG_SUSPEND, CONFIG_HIBERNATION i.e. with CONFIG_PM_SLEEP
2) without CONFIG_PM_SLEEP but with CONFIG_PM
3) without CONFIG_PM
Thanks,
-Romit
Description: Fixes missing PM entries in sysfs without CONFIG_PM_SLEEP.
Signed-off-by: Romit Dasgupta <romit@ti.com>
diff --git a/drivers/base/power/power.h b/drivers/base/power/power.h
index a3252c0..ad8112d 100644
--- a/drivers/base/power/power.h
+++ b/drivers/base/power/power.h
@@ -1,3 ...
| Aug 3, 7:12 am 2008 |
| Dmitry Baryshkov | [PATCH] gpiolib: dump correct irq trigger type
Use desc->action->flags for dumping irq flags, it is populated with
correct trigger type.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
---
drivers/gpio/gpiolib.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index beaf6b3..a35d19d 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -2,6 +2,7 @@
#include <linux/module.h>
#include ...
| Aug 3, 6:30 am 2008 |
| Manish Katiyar | [PATCH] resend: Remove warning 'unused variable battery' ...
Resend of the patch to remove the following warning:
drivers/acpi/sbs.c: In function 'acpi_battery_remove':
drivers/acpi/sbs.c:819: warning: unused variable 'battery'
Signed-off-by:- "Manish Katiyar" <mkatiyar@gmail.com>
---
drivers/acpi/sbs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/sbs.c b/drivers/acpi/sbs.c
index 10a3651..8493603 100644
--- a/drivers/acpi/sbs.c
+++ b/drivers/acpi/sbs.c
@@ -816,7 +816,9 @@ static int ...
| Aug 3, 6:12 am 2008 |
| Ilpo Järvinen | Re: [PATCH] resend: Remove warning 'unused variable batt ...
Sorry, my bad this time, you actually need to have defined() around both
of the config symbols though I forgot it in one of them in my example
because I was using dots instead of real ones that would have made that
--
i.
--
| Aug 3, 7:43 am 2008 |
| Hong Tran Duc | Re: Oops when read/write or mount/unmount continuously ~ ...
I'm not have much experience with linux kernel architecture, so I don't
know where I can focus on.
Currently, I'm suspecting these module are affected with this Oops:
Block I/O management and filesystem, some Wait Queue ? Is that correct ?
Or would you give me some suggestion what is the most suspicious ? or
some debugging option you told above ?
Thanks for your help,
--
nm.
GPG Key ID: 0xDD253B25
Fingerprint: 2B17 D64A 9561 A443 2ABC 1302 4641 D0B7 DD25 3B25
--
| Aug 3, 8:18 am 2008 |
| Matthew Wilcox | Re: Oops when read/write or mount/unmount continuously ~ ...
2.4.20 was released in November 2002; almost 6 years ago. I don't think
you're going to find too many people interested in helping you debug
this. If you can reproduce the problem with something more recent (say
2.6.26 or even 2.4.36.6 if you can't use 2.6 for whatever reason), then
In later kernels, we have a list debugging option which lets you find
The implementation of __wait_on_buffer has completely changed since
then. It's probably not worth trying to debug this.
--
Intel are ...
| Aug 3, 6:38 am 2008 |
| Hong Tran Duc | Oops when read/write or mount/unmount continuously ~ 600 ...
Hi all,
I’m using kernel 2.4.20 with fully preemptive enable (patch & set the
CONFIG option). My CPU is PowerPC 750FX, HDD 80GB, RAM 512,
I got many Oops when try to mount/unmount or read/write on ATA HDD
continuously about 600.000 times (in several hours). Oops often occurred
when CPU trap SIGSEGV or SIGILL, sometime on page management module,
sometimes on scheduler, block I/O manipulation, filesystem.
The most frequently happened on:
Block I/O : make_request, generic_make_request, ...
| Aug 3, 5:49 am 2008 |
| Thomas Meyer | next-20080801: BUG in pktcdvd while mounting dvd
Greetings.
Please have a look at this bug report:
http://kerneloops.org/raw.php?rawid=47211
reverting commit 5b6155ee70e9c4d2ad7e6f514c8eee06e2711c3a fixes the
problem
commit 5b6155ee70e9c4d2ad7e6f514c8eee06e2711c3a
Author: Alan Cox <alan@lxorguk.ukuu.org.uk>
Date: Fri Jul 4 09:29:16 2008 +0200
pktcdvd: push BKL down into driver
Push the lock_kernel down into the driver and switch to
unlocked_ioctl
[akpm@linux-foundation.org: build fix]
Signed-off-by: ...
| Aug 3, 5:18 am 2008 |
| Alan Cox | Re: next-20080801: BUG in pktcdvd while mounting dvd
On Sun, 03 Aug 2008 14:18:04 +0200
ioctl_by_bdev is calling ioctl methods with filp = NULL which is not
valid. That in turn blocks switching to unlocked_ioctl and BKL removal so
ioctl_by_bdev urgently needs fixing.
Alan
--
| Aug 3, 7:53 am 2008 |
| Neil Brown | Re: nfsd, v4: oops in find_acceptable_alias, ppc32 Linux ...
So we have called a function pointer which was NULL.
There a lots of function pointers in use in this code.
There is the 'acceptable' function. There is ->fh_to_dentry
and ->fh_to_parent. And various inode operations line ->lookup, but
I guess this is where the call came from.
exportfs_decode_fh is never passed NULL for 'acceptable'. Only
ever 'nfsd_acceptable'.
->fh_to_parent is tested for NULL before being called, and
->fh_to_dentry is called very early in exportfs_decode_fh, where ...
| Aug 3, 5:09 am 2008 |
| Paul Collins | Re: nfsd, v4: oops in find_acceptable_alias, ppc32 Linux ...
Dump of assembler code for function exportfs_decode_fh:
0xc015b7cc <exportfs_decode_fh+0>: mflr r0
0xc015b7d0 <exportfs_decode_fh+4>: stw r0,4(r1)
0xc015b7d4 <exportfs_decode_fh+8>: bl 0xc0013154 <_mcount>
0xc015b7d8 <exportfs_decode_fh+12>: stwu r1,-304(r1)
0xc015b7dc <exportfs_decode_fh+16>: mflr r0
0xc015b7e0 <exportfs_decode_fh+20>: stmw r22,264(r1)
0xc015b7e4 <exportfs_decode_fh+24>: mr r27,r3
0xc015b7e8 <exportfs_decode_fh+28>: ...
| Aug 3, 5:25 am 2008 |
| Chris Rankin | [2.6.26.1] And one very confused mouse!
Hi,
I have just cold-booted a machine into 2.6.26.1 for the very first time, and for a few seconds I had great difficulty using my PS/2 mouse. Here is what I found in the dmesg log afterwards:
input: PS/2 Generic Mouse as /class/input/input6
psmouse.c: Failed to enable mouse on isa0060/serio1
psmouse.c: Mouse at isa0060/serio1/input0 lost synchronization, throwing 1 bytes away.
psmouse.c: resync failed, issuing reconnect request
psmouse.c: Failed to enable mouse on isa0060/serio1
psmouse.c: ...
| Aug 3, 4:57 am 2008 |
| S K | cpufreq doesn't seem to work in Intel Q9300
Hi,
I have an Intel Core 2 Quad and running kernel
2.6.25.11-97.fc9.i686. cpufreq doesn't seem to work. The cpufreq
scaling monitor in Gnome says CPU Freq scaling is not supported in my
CPU. The CPU can run at 2.0 and 2.5 GHz but mine always runs at 2.5
GHz in Linux.
So I checked /sys and there is no cpufreq dir in /sys/...
# ls /sys/devices/system/cpu/
cpu0 cpu1 cpu2 cpu3 cpuidle sched_mc_power_savings
# ls /sys/devices/system/cpu/cpuidle/
current_driver ...
| Aug 3, 3:00 am 2008 |
| none | Re: cpufreq doesn't seem to work in Intel Q9300
I have an Intel Core 2 Duo and it uses the ACPI cpufreq driver; your
Quad should do the same. So this is likely an ACPI/BIOS issue.
If you ask ACPI people they will ask you to post the output of acpidump.
Also you should probably check if you have a BIOS option that needs to be
enabled for this to work.
BTW, cpuidle is something quite different, it is about how to save power
when CPU is doing nothing (i.e. idle :-). Cpu frequency scaling is how to
save power when CPU is working (but ...
| Aug 3, 3:31 am 2008 |
| Arkadiusz Miskiewicz | Opteron Rev E has a bug ... a locked instruction doesn' ...
Hello,
http://google-perftools.googlecode.com/svn-history/r48/trunk/src/base/atomicops-intern...
says
" // Opteron Rev E has a bug in which on very rare occasions a locked
// instruction doesn't act as a read-acquire barrier if followed by a
// non-locked read-modify-write instruction. Rev F has this bug in
// pre-release versions, but not in versions released to customers,
// so we test only for Rev E, which is family 15, model 32..63 inclusive.
if (strcmp(vendor, ...
| Aug 3, 2:06 am 2008 |
| Martin Schwidefsky | [GIT PULL] asm-s390 move.
Hi Linus,
please pull (again) from 'for-linus' branch of
git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus
Your last pull has been a little bit too early, I comitted the asm header
file move shortly after. I want to get over with it, it makes no sense
to postpone it. The kernel compiles with defconfig, allmodconfig and
allyesconfig.
Martin Schwidefsky (1):
[S390] move include/asm-s390 to arch/s390/include/asm
{include/asm-s390 => arch/s390/include/asm}/Kbuild | 0 ...
| Aug 3, 1:54 am 2008 |
| Frank Ch. Eigler | Re: [RFC] ftrace: support tracing functions in one module
Until ftrace gains this ability, you could use systemtap:
# cat callret.stp
probe $1.call { printf ("%s <- %s\n", thread_indent(1), probefunc()) }
probe $1.return { printf ("%s -> %s\n", thread_indent(-1), probefunc()) }
# stap callret.stp 'module("usbcore").function("*")'
[...]
^C
#
(One can also add conditions based on function parameters, processes,
whatever; soon it'll be easy to trace all function parameters.)
- FChE
--
| Aug 3, 5:19 am 2008 |
| Steven Rostedt | Re: [RFC] ftrace: support tracing functions in one module
Look at the set_ftrace_filter in ftrace.txt. You can pick and choose which
functions to trace. All the functions that can be traced is in
available_filter_functions in the debugfs/tracing directory.
Note, the functions must execute at least once before they can be
recorded.
-- Steve
--
| Aug 3, 7:45 am 2008 |
| Abhishek Sagar | Re: [RFC] ftrace: support tracing functions in one module
You can do that at compile time only by selective compilation of
files/modules which need to be traced with the -pg CFLAG. For
instance, the inlined patch enables tracing of all functions in
softirq.o only.
Regards,
Abhishek Sagar
--
## For testing only
diff --git a/Makefile b/Makefile
index 40f2481..09d216b 100644
--- a/Makefile
+++ b/Makefile
@@ -532,10 +532,6 @@ KBUILD_CFLAGS += -g
KBUILD_AFLAGS += -gdwarf-2
endif
-ifdef CONFIG_FTRACE
-KBUILD_CFLAGS += ...
| Aug 3, 8:16 am 2008 |
| Ming Lei | [RFC] ftrace: support tracing functions in one module
Hi,
IMO, ftrace is a very good tools, which can monitor almost all
functions calling
in the running kernel. The traced result is very complete and intact.
But it seems
too large to grasp the interested content. For example, one may only
have interest in
functions calling in usbcore.ko, but he must trace all the functions
calling in the
kernel, so the tracing result is too large to use it.
Could you add the support of tracing functions in one module only to ftrace?
Thanks,
--
| Aug 3, 12:50 am 2008 |
| Ilpo Järvinen | Re: [PATCH] Remove warning 'unused variable battery' in ...
I don't think you can use || operator in ifdef like that... ...Try
#if defined(...) || (...) instead.
--
i.
--
| Aug 3, 5:30 am 2008 |
| Manish Katiyar | [PATCH] Remove warning 'unused variable battery' in driv ...
Below patch removes the following warning:
drivers/acpi/sbs.c: In function 'acpi_battery_remove':
drivers/acpi/sbs.c:819: warning: unused variable 'battery'
Signed-off-by:- "Manish Katiyar" <mkatiyar@gmail.com>
---
drivers/acpi/sbs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/sbs.c b/drivers/acpi/sbs.c
index 10a3651..8493603 100644
--- a/drivers/acpi/sbs.c
+++ b/drivers/acpi/sbs.c
@@ -816,7 +816,9 @@ static int acpi_battery_add(struct ...
| Aug 3, 12:24 am 2008 |
| Randy.Dunlap | Re: [PATCH] Remove warning 'unused variable battery' in ...
Did the patch sumbitter try to build this with the patch in place???
--=20
~Randy
| Aug 3, 1:18 pm 2008 |
| Parag Warudkar | [PATCH] Fix Bug #11231: gspca_zc3xx oops - 2.6.27-rc1
[Resend - previous one bounced from vger due to HTML ]
This patch fixes couple of NULL pointer dereferences in zc3xx .
Without this patch my machine oopses as soon as I open Kopete-kde4 .
Patch tested to work fine (no detectable differences in image rendered
by camera - as crappy as ever, no more oopses ;) on x86 with a
Creative Webcam Notebook.
OOPS Analysis
-------------------
http://marc.info/?l=linux-kernel&m=121769418920774&w=4
4575.306109] Code: 83 ec 04 0f b6 90 da 07 00 00 8b a8 ...
| Aug 3, 12:22 am 2008 |
| Paul Collins | Re: nfsd, v4: oops in find_acceptable_alias, ppc32 Linux ...
I can trigger it reliably with a 2.6.26 client. I've also triggered it
with 496d6c32d4d057cb44272d9bd587ff97d023ee92 reverted on the server.
It's harder to trigger with 2.6.27-rc1+ but I managed to get an Oops
on the fourth build after three successful builds on the NFS4 mount.
One of the Oopses I got with 2.6.26 had a slightly different call trace:
Unable to handle kernel paging request for instruction fetch
Faulting instruction address: 0x00000000
Oops: Kernel access of bad area, sig: ...
| Aug 2, 11:47 pm 2008 |
| Yoshinori Sato | [PATCH 1/3] h8300 update timer handler - new files
New timer handler files.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
diff --git a/arch/h8300/kernel/timer/Makefile b/arch/h8300/kernel/timer/Makefile
new file mode 100644
index 0000000..bef0510
--- /dev/null
+++ b/arch/h8300/kernel/timer/Makefile
@@ -0,0 +1,6 @@
+# h8300 internal timer handler
+
+obj-$(CONFIG_H8300_TIMER8) := timer8.o
+obj-$(CONFIG_H8300_TIMER16) := timer16.o
+obj-$(CONFIG_H8300_ITU) := itu.o
+obj-$(CONFIG_H8300_TPU) := tpu.o
diff --git ...
| Aug 2, 9:33 pm 2008 |
| Yoshinori Sato | [PATCH 0/3] h8300 update timer handler - delete files
delete old timer handler.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
diff --git a/arch/h8300/platform/h8300h/aki3068net/Makefile b/arch/h8300/platform/h8300h/aki3068net/Makefile
index b03c328..b7ff780 100644
--- a/arch/h8300/platform/h8300h/aki3068net/Makefile
+++ b/arch/h8300/platform/h8300h/aki3068net/Makefile
@@ -3,4 +3,3 @@
#
extra-y := crt0_ram.o
-obj-y := timer.o
diff --git a/arch/h8300/platform/h8300h/aki3068net/timer.c ...
| Aug 2, 9:21 pm 2008 |
| Yoshinori Sato | [PATCH 0/3] h8300 update timer handler
h8300 new timer handlers.
1/3 - new timer handler
2/3 - delete obsolute files
3/3 - misc update
arch/h8300/Kconfig.cpu | 115 ++++++++++-------------
arch/h8300/kernel/Makefile | 2 +-
arch/h8300/kernel/time.c | 5 +-
arch/h8300/kernel/timer/Makefile | 6 ++
arch/h8300/kernel/timer/itu.c | 83 +++++++++++++++++
arch/h8300/kernel/timer/timer16.c | 78 ++++++++++++++++
...
| Aug 2, 9:34 pm 2008 |
| Yoshinori Sato | [PATCH 3/3] h8300 update timer handler - misc update
- Update selection
- Update common timer handler
- Add support functions
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
diff --git a/arch/h8300/Kconfig.cpu b/arch/h8300/Kconfig.cpu
index 582797d..b65dcfe 100644
--- a/arch/h8300/Kconfig.cpu
+++ b/arch/h8300/Kconfig.cpu
@@ -1,5 +1,7 @@
menu "Processor type and features"
+source "kernel/time/Kconfig"
+
choice
prompt "H8/300 platform"
default H8300H_GENERIC
@@ -11,6 +13,7 @@ config H8300H_GENERIC
config ...
| Aug 2, 9:33 pm 2008 |
| Chris | Process Status Callback to Module
I need a spot of help and I'm hoping someone can set me straight. I'm
working on a module that keeps state about a small number of
processes. Each time one of those processes exit, the module should
purge the corresponding state and I'm struggling to find a nice way to
do that. Is there an existing callback mechanism to kick the module
with notification upon a process exit? I've briefly read about the
connector project, but AFAIK that's geared to notify userspace rather
than a kernel module. ...
| Aug 2, 9:20 pm 2008 |
| Yoshinori Sato | [PATCH] h8300 Kconfig cleanup
Use common Kconfig file.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/h8300/Kconfig | 116 +---------------------------------------------------
1 files changed, 1 insertions(+), 115 deletions(-)
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index 396ab05..adeac03 100644
--- a/arch/h8300/Kconfig
+++ b/arch/h8300/Kconfig
@@ -99,121 +99,7 @@ endmenu
source "net/Kconfig"
-source "drivers/base/Kconfig"
-
-source "drivers/mtd/Kconfig"
-
-source ...
| Aug 2, 9:09 pm 2008 |
| Yoshinori Sato | [PATCH} h8300 GENERIC_BUG support
CONFIG_GENERIC_BUG support.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/h8300/Kconfig | 4 ++++
arch/h8300/kernel/module.c | 3 ++-
arch/h8300/kernel/traps.c | 17 +++++++++++------
arch/h8300/mm/fault.c | 5 ++---
include/asm-h8300/bug.h | 4 ++++
include/asm-h8300/system.h | 2 ++
6 files changed, 25 insertions(+), 10 deletions(-)
diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig
index adeac03..e20f6d8 100644
--- ...
| Aug 2, 9:11 pm 2008 |
| Yinghai Lu | Re: [PATCH 15/25] drivers/serial to use nr_irqs
this one is applied before removing NR_IRQS usage in array definition.
YH
--
| Aug 3, 10:43 am 2008 |
| Yinghai Lu | [PATCH 13/25] drivers/rtc to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/rtc/rtc-vr41xx.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c
index 884b635..834dcc6 100644
--- a/drivers/rtc/rtc-vr41xx.c
+++ b/drivers/rtc/rtc-vr41xx.c
@@ -360,7 +360,7 @@ static int __devinit rtc_probe(struct platform_device *pdev)
spin_unlock_irq(&rtc_lock);
aie_irq = platform_get_irq(pdev, 0);
- if (aie_irq < 0 || aie_irq >= NR_IRQS) ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
use small array with index to handle irq locking for serial port
hope 32 slot is enough
v2: according to Eric, move irq_no into irq_info, and not clean irq_no
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
drivers/serial/8250.c | 45 +++++++++++++++++++++++++++++++++++++++++----
1 files changed, 41 insertions(+), 4 deletions(-)
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c
index 3920324..595b956 100644
--- ...
| Aug 2, 7:59 pm 2008 |
| Eric W. Biederman | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
0. There is a long history behind it, but by decree of Linus and to conform
with reasonable intuition 0 is not a valid irq except in certain arch specific
I haven't promised one, at least not lately. I went down a couple of
blind alleys and figured out what needed to be accomplished and then
ran out of steam about a year and a half 2 years ago, and I haven't
been able to get back to it.
Eric
--
| Aug 2, 11:39 pm 2008 |
| Eric W. Biederman | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
That is the general idea.
Eric
--
| Aug 3, 2:15 am 2008 |
| Johannes Weiner | Re: [PATCH 03/25] add dyn_array support
Hi,
No patch should introduce wrong behaviour but instead be an atomic
switch to another working state. If 4 gets reverted for any reason
whatsoever, you will be left with a buggy version.
Hannes
--
| Aug 2, 10:47 pm 2008 |
| Yinghai Lu | [PATCH 18/25] make irq_timer_state to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/char/random.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index fdbdcfc..872669e 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -558,7 +558,13 @@ struct timer_rand_state {
};
static struct timer_rand_state input_timer_state;
+
+#ifdef CONFIG_HAVE_DYN_ARRAY
+static struct timer_rand_state ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 10/25] drivers/net to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/net/3c59x.c | 4 ++--
drivers/net/hamradio/baycom_ser_fdx.c | 4 ++--
drivers/net/hamradio/scc.c | 6 +++---
drivers/net/wan/sbni.c | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c
index 8db4e6b..7449a1c 100644
--- a/drivers/net/3c59x.c
+++ b/drivers/net/3c59x.c
@@ -90,7 +90,7 @@ static int vortex_debug = 1;
...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 05/25] x86: alloc dyn_array all alltogether
so could spare some memory with small alignment in bootmem
also tighten the alignment checking..., and make print out less debug info
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/setup_percpu.c | 16 +++++++---
include/linux/init.h | 2 +-
init/main.c | 65 ++++++++++++++++++++++++++++++---------
3 files changed, 62 insertions(+), 21 deletions(-)
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
index ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | Re: [PATCH 03/25] add dyn_array support
*da->name = __alloc_bootmem_nopanic(size, da->align, phys);
YH
--
| Aug 2, 10:04 pm 2008 |
| Yinghai Lu | [PATCH 23/25] x86: use dyn_array in io_apic_xx.c
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/io_apic_32.c | 54 +++++++++++++++++++++++++++++++++--------
arch/x86/kernel/io_apic_64.c | 28 ++++++++++++++++-----
arch/x86/kernel/setup.c | 6 ++++
3 files changed, 70 insertions(+), 18 deletions(-)
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c
index d5953ff..a0ce64c 100644
--- a/arch/x86/kernel/io_apic_32.c
+++ b/arch/x86/kernel/io_apic_32.c
@@ -70,7 +70,7 @@ int ...
| Aug 2, 7:59 pm 2008 |
| Alan Cox | Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
On Sat, 2 Aug 2008 19:59:21 -0700
This wants doing with a hash not a prayer that "32 slots is enough"
--
| Aug 3, 6:03 am 2008 |
| Yinghai Lu | [PATCH 09/25] drivers/char to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/char/hpet.c | 2 +-
drivers/char/random.c | 4 ++--
drivers/char/vr41xx_giu.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 2908a0e..8d562ae 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -219,7 +219,7 @@ static void hpet_timer_set_irq(struct hpet_dev *devp)
for (irq = find_first_bit(&v, HPET_MAX_IRQ); irq < ...
| Aug 2, 7:59 pm 2008 |
| Alan Cox | Re: [PATCH 15/25] drivers/serial to use nr_irqs
Don't you need to change how the array is allocated too ?
Alan
--
| Aug 3, 6:02 am 2008 |
| Yinghai Lu | [PATCH 01/25] x86: 64bit support more than 256 irq v2
Dhaval Giani got:
kernel BUG at arch/x86/kernel/io_apic_64.c:357!
invalid opcode: 0000 [1] SMP
CPU 24
...
his system (x3950) has 8 ioapic, irq > 256
caused by
commit 9b7dc567d03d74a1fbae84e88949b6a60d922d82
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri May 2 20:10:09 2008 +0200
x86: unify interrupt vector defines
The interrupt vector defines are copied 4 times around with minimal
differences. Move them all into ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 00/25] dyn_array and nr_irqs support v3
Peter, Andrew,
Please check dyn_array support for x86
v3: split changing to nr_irqs to small patches
fix checkpatch error
reorder the patch sequence to make dyn_array support go at first
so could use that with arrays other than NR_IRQS
01: should get into 2.6.27 for bug 11201
02: should get into tip
remove two unused files
03-06: should get into tip or -mm
for generic dyn_array support for x86
21: should get into serial tree?
others: are examples to use dyn_array with ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 24/25] x86: get mp_irqs from madt
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/acpi/boot.c | 30 ++++++++++++++++++++++++++++--
include/asm-x86/mpspec.h | 1 +
2 files changed, 29 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 27ef365..443cb30 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -962,6 +962,29 @@ void __init mp_register_ioapic(int id, u32 address, u32 gsi_base)
nr_ioapics++;
}
+int ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 20/25] make irq_desc to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/linux/irq.h | 4 ++++
kernel/irq/handle.c | 31 +++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/linux/irq.h b/include/linux/irq.h
index bd69d90..c22e870 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -181,7 +181,11 @@ struct irq_desc {
const char *name;
} ____cacheline_internodealigned_in_smp;
+#ifdef CONFIG_HAVE_DYN_ARRAY
+extern struct irq_desc ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 02/25] x86: remove irq_vectors_limits
no user
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/asm-x86/mach-generic/irq_vectors_limits.h | 14 --------------
include/asm-x86/summit/irq_vectors_limits.h | 14 --------------
2 files changed, 0 insertions(+), 28 deletions(-)
delete mode 100644 include/asm-x86/mach-generic/irq_vectors_limits.h
delete mode 100644 include/asm-x86/summit/irq_vectors_limits.h
diff --git a/include/asm-x86/mach-generic/irq_vectors_limits.h ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 14/25] drivers/scsi to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/scsi/aha152x.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c
index b5a868d..1e5478a 100644
--- a/drivers/scsi/aha152x.c
+++ b/drivers/scsi/aha152x.c
@@ -337,7 +337,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc)
#else
#define IRQ_MIN 9
#if defined(__PPC)
-#define IRQ_MAX (NR_IRQS-1)
+#define IRQ_MAX (nr_irqs-1)
#else
#define IRQ_MAX 12
...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | Re: [PATCH 03/25] add dyn_array support
should be 05
YH
--
| Aug 2, 10:40 pm 2008 |
| Alan Cox | Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
On Sat, 2 Aug 2008 19:59:21 -0700
Untested alternative approach
8250: Remove NR_IRQ usage
From: Alan Cox <alan@redhat.com>
---
drivers/serial/68328serial.c | 11 ++---------
drivers/serial/8250.c | 41 ++++++++++++++++++++++++++++++++++-------
2 files changed, 36 insertions(+), 16 deletions(-)
diff --git a/drivers/serial/68328serial.c b/drivers/serial/68328serial.c
index 381b12a..277b78d 100644
--- a/drivers/serial/68328serial.c
+++ ...
| Aug 3, 8:14 am 2008 |
| Yinghai Lu | Re: [PATCH 03/25] add dyn_array support
04 fix that via allocating that all together
YH
--
| Aug 2, 10:39 pm 2008 |
| Yinghai Lu | [PATCH 11/25] drivers intr remapping to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/pci/intr_remapping.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c
index bb642cc..980566e 100644
--- a/drivers/pci/intr_remapping.c
+++ b/drivers/pci/intr_remapping.c
@@ -22,7 +22,7 @@ static DEFINE_SPINLOCK(irq_2_ir_lock);
int irq_remapped(int irq)
{
- if (irq > NR_IRQS)
+ if (irq > nr_irqs)
return 0;
if ...
| Aug 2, 7:59 pm 2008 |
| Johannes Weiner | Re: [PATCH 03/25] add dyn_array support
Hi,
I didn't mean da->name. Please reread my email, including the part you
Hannes
--
| Aug 2, 9:55 pm 2008 |
| Eric W. Biederman | Re: [PATCH 21/25] serial: change remove NR_IRQS in 8250.c v2
I like it.
Now to pick a few nits ;)
struct hlist_node hchain;
static DEFINE_MUTEX(hash_mutex);
kzalloc sleeps....
Looks like we can also tweak serial_do_unlink to free irq_info when
the list goes empty, so we don't have a leak if the driver is ever
unloaded.
Eric
--
| Aug 3, 12:57 pm 2008 |
| Yinghai Lu | [PATCH 03/25] add dyn_array support
could have crazy big arrays and allocate them in bootmem at init stage.
also also to allocate array according to size we need to use to avoid wasting
memory
use CONFIG_HAVE_DYN_ARRAY to enable it or not
usage:
|static struct irq_desc irq_desc_init __initdata = {
| .status = IRQ_DISABLED,
| .chip = &no_irq_chip,
| .handle_irq = handle_bad_irq,
| .depth = 1,
| .lock = __SPIN_LOCK_UNLOCKED(irq_desc->lock),
|#ifdef CONFIG_SMP
| .affinity = ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 22/25] irq: make irqs in kernel stat use per_cpu_ ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/linux/kernel_stat.h | 4 ++++
kernel/sched.c | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/include/linux/kernel_stat.h b/include/linux/kernel_stat.h
index cf9f40a..fe1f7fe 100644
--- a/include/linux/kernel_stat.h
+++ b/include/linux/kernel_stat.h
@@ -28,7 +28,11 @@ struct cpu_usage_stat {
struct kernel_stat {
struct cpu_usage_stat cpustat;
+#ifdef ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
could use pre_allocate array + list to replace irq_desc array.
YH
--
| Aug 3, 10:54 am 2008 |
| Yinghai Lu | [PATCH 06/25] x86: enable dyn_array support
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/Kconfig | 2 ++
arch/x86/Kconfig | 1 +
arch/x86/kernel/vmlinux_32.lds.S | 1 +
arch/x86/kernel/vmlinux_64.lds.S | 3 +++
4 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 0267bab..c1f9feb 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -103,3 +103,5 @@ config HAVE_CLK
The <linux/clk.h> calls support software clock gating and
...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 08/25] x86: using nr_irqs
also add first_free_entry and pin_map_size
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/io_apic_32.c | 26 ++++++++++++++------------
arch/x86/kernel/io_apic_64.c | 33 +++++++++++++++++----------------
arch/x86/kernel/irq_32.c | 8 ++++----
arch/x86/kernel/irq_64.c | 8 ++++----
arch/x86/kernel/irqinit_32.c | 2 +-
arch/x86/kernel/irqinit_64.c | 2 +-
include/asm-x86/irq.h | 3 +++
7 files changed, 44 insertions(+), 38 ...
| Aug 2, 7:59 pm 2008 |
| Johannes Weiner | Re: [PATCH 03/25] add dyn_array support
Hi,
Hannes
--
| Aug 2, 9:03 pm 2008 |
| Yinghai Lu | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
On Sat, Aug 2, 2008 at 11:39 PM, Eric W. Biederman
how about
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index f4c8a03..aa6888c 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -47,19 +47,73 @@ handle_bad_irq(unsigned int irq, struct irq_desc *desc)
*
* Controller mappings for all interrupt sources:
*/
-struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = {
- [0 ... NR_IRQS-1] = {
- .status = IRQ_DISABLED,
- .chip ...
| Aug 3, 1:25 am 2008 |
| Yinghai Lu | [PATCH 12/25] drivers/pcmcia to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/pcmcia/at91_cf.c | 2 +-
drivers/pcmcia/vrc4171_card.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c
index 6849685..194c8ba 100644
--- a/drivers/pcmcia/at91_cf.c
+++ b/drivers/pcmcia/at91_cf.c
@@ -273,7 +273,7 @@ static int __init at91_cf_probe(struct platform_device *pdev)
goto fail0d;
cf->socket.pci_irq = board->irq_pin;
} ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 16/25] drivers proc to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
fs/proc/proc_misc.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index ded9698..1968251 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -503,7 +503,7 @@ static int show_stat(struct seq_file *p, void *v)
struct timespec boottime;
unsigned int *per_irq_sum;
- per_irq_sum = kzalloc(sizeof(unsigned int)*NR_IRQS, GFP_KERNEL);
+ per_irq_sum = ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 25/25] x86: remove nr_irq_vectors
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/asm-x86/irq_vectors.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/asm-x86/irq_vectors.h b/include/asm-x86/irq_vectors.h
index 0817a19..821ff99 100644
--- a/include/asm-x86/irq_vectors.h
+++ b/include/asm-x86/irq_vectors.h
@@ -127,8 +127,6 @@
#endif /* VISWS */
-#define NR_IRQ_VECTORS NR_IRQS
-
/* Voyager specific defines */
/* These define the CPIs we use in linux */
#define ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 17/25] drivers xen events to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/xen/events.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index a083703..8e329c2 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -139,7 +139,7 @@ static void init_evtchn_cpu_bindings(void)
#ifdef CONFIG_SMP
int i;
/* By default all event channels notify CPU#0. */
- for (i = 0; i < NR_IRQS; i++)
+ for (i = 0; i < nr_irqs; ...
| Aug 2, 7:59 pm 2008 |
| Eric W. Biederman | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
It appears that quite a few of the places you have changed are testing
to see if an irq is valid. The idiomatic way to perform that test in
the kernel is:
if (irq)
With no test to see if you are >= NR_IRQS.
I expect that is the change we want in the drivers that are performing such a silly
extra check.
Eric
--
| Aug 2, 10:51 pm 2008 |
| Yinghai Lu | Re: [PATCH 03/25] add dyn_array support
you can not pass compiling
+#define DEFINE_DYN_ARRAY(nameX, sizeX, nrX, alignX, init_workX) \
+ static struct dyn_array __dyn_array_##nameX __initdata = \
+ { .name = (void **)&nameX,\
+ .size = sizeX,\
+ .nr = &nrX,\
+ .align = alignX,\
+ .init_work = init_workX,\
+ }; \
+ static struct dyn_array *__dyn_array_ptr_##nameX __used \
+ ...
| Aug 2, 9:21 pm 2008 |
| Yinghai Lu | [PATCH 07/25] introduce nr_irqs
and at this point it is equal NR_IRQS
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/linux/irq.h | 2 ++
kernel/irq/autoprobe.c | 10 +++++-----
kernel/irq/chip.c | 20 ++++++++++----------
kernel/irq/handle.c | 3 ++-
kernel/irq/manage.c | 16 ++++++++--------
kernel/irq/proc.c | 2 +-
kernel/irq/resend.c | 4 ++--
kernel/irq/spurious.c | 4 ++--
8 files changed, 32 insertions(+), 29 deletions(-)
diff --git ...
| Aug 2, 7:59 pm 2008 |
| Johannes Weiner | Re: [PATCH 05/25] x86: alloc dyn_array all alltogether
Hi,
...
Hannes
--
| Aug 2, 9:16 pm 2008 |
| Yinghai Lu | [PATCH 15/25] drivers/serial to use nr_irqs
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/serial/8250.c | 4 ++--
drivers/serial/amba-pl010.c | 2 +-
drivers/serial/amba-pl011.c | 2 +-
drivers/serial/cpm_uart/cpm_uart_core.c | 2 +-
drivers/serial/m32r_sio.c | 4 ++--
drivers/serial/serial_core.c | 2 +-
drivers/serial/serial_lh7a40x.c | 2 +-
drivers/serial/sh-sci.c | 2 +-
drivers/serial/ucc_uart.c ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 04/25] add per_cpu_dyn_array support
could make array in per_cpu is allocated dynamically too
usage:
| /* in .h */
|struct kernel_stat {
| struct cpu_usage_stat cpustat;
| unsigned int *irqs;
|};
|
| /* in .c */
|DEFINE_PER_CPU(struct kernel_stat, kstat);
|
|DEFINE_PER_CPU_DYN_ARRAY_ADDR(per_cpu__kstat_irqs, per_cpu__kstat.irqs, sizeof(unsigned int), nr_irqs, sizeof(unsigned long), NULL);
after setup_percpu()/per_cpu_alloc_dyn_array(), that dyn_array in per_cpu area is ready to use
Signed-off-by: Yinghai Lu ...
| Aug 2, 7:59 pm 2008 |
| Yinghai Lu | [PATCH 19/25] make irq2_iommu to use dyn_array
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
drivers/pci/intr_remapping.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c
index 980566e..ced5ebc 100644
--- a/drivers/pci/intr_remapping.c
+++ b/drivers/pci/intr_remapping.c
@@ -11,12 +11,14 @@ static struct ioapic_scope ir_ioapic[MAX_IO_APICS];
static int ir_ioapic_num;
int intr_remapping_enabled;
-static struct {
+static struct ...
| Aug 2, 7:59 pm 2008 |
| Johannes Weiner | Re: [PATCH 03/25] add dyn_array support
Hi,
Exactly. Now, look up the possible return values of
__alloc_bootmem_nopanic and we are almost there...
Hannes
--
| Aug 2, 10:31 pm 2008 |
| Yinghai Lu | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
how about this one?
diff --git a/include/linux/irq.h b/include/linux/irq.h
index bd69d90..9d87f6a 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -154,6 +154,8 @@ struct irq_chip {
* @name: flow handler name for /proc/interrupts output
*/
struct irq_desc {
+ unsigned int irq;
+ struct irq_desc *next;
irq_flow_handler_t handle_irq;
struct irq_chip *chip;
struct msi_desc ...
| Aug 3, 12:20 pm 2008 |
| Yinghai Lu | Re: [PATCH 00/25] dyn_array and nr_irqs support v3
On Sat, Aug 2, 2008 at 10:51 PM, Eric W. Biederman
is_irq_valid(irq_no) ?
wait to see your new patchset about dyn irq_cfg and irq_desc
YH
--
| Aug 2, 11:04 pm 2008 |
| Yinghai Lu | Re: [PATCH 03/25] add dyn_array support
ok, next version i will remove _nopanic
Yh
--
| Aug 2, 10:48 pm 2008 |
| Linus Torvalds | Re: [GIT PULL] ext4 bugfixes/cleanups
Could you please include the expected diffstat too?
I can match up the shortlog to the expected thing, and see that I got what
you intended for me, but the thing I actually _care_ much more deeply
about is that it only touched ext4 (and jbd2) in this case. So I like
matching up the diffstat, with the shortlog being just secondary.
Linus
--
| Aug 3, 10:52 am 2008 |
| Theodore Tso | Re: [GIT PULL] ext4 bugfixes/cleanups
Oops, sorry. Here you go.
fs/ext4/acl.c | 188 ++++++++++++++++----------------
fs/ext4/balloc.c | 11 +-
fs/ext4/ext4.h | 1 -
fs/ext4/extents.c | 55 ++++++----
fs/ext4/ialloc.c | 56 ++++++----
fs/ext4/inode.c | 164 +++++++++++++++++++---------
fs/ext4/mballoc.c | 254 +++++++++++++++++++++++++++++++++++-------
fs/ext4/mballoc.h | 10 ++-
fs/ext4/resize.c | 79 +++++++-------
fs/ext4/super.c | 316 ++++++++++++++++++++++++++++-------------------------
...
| Aug 3, 11:45 am 2008 |
| Theodore Ts'o | [GIT PULL] ext4 bugfixes/cleanups
Hi Linus,
Please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git for_linus
This patch series contains a number of bug fixes that have been
discovered by primarily by benchmarkers and people who have been trying
out ext4. A few cleanups have been included as well.
Thanks!!
- Ted
Aneesh Kumar K.V (5):
ext4: Fix data corruption when writing to prealloc area
ext4: Improve error handling in ...
| Aug 2, 6:47 pm 2008 |
| Theodore Ts'o | New ext4 patchset: 2.6.27-rc1-ext4-1 and 2.6.26-ext4-5
I've released a new ext4 patchset against the 2.6.27-rc1 kernel. This
includes a number of bug fixes reported by benchmarkers plus some
cleanups.
As before I've also released updated the patch set vs. 2.6.26 stock
kernel, for those people who don't want to play with development kernels
but who still want to test out ext4.
As a git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git ...
| Aug 2, 6:42 pm 2008 |
| Robert Hancock | Re: ioctl's suck?
As I see it the main problems are:
-Unless the ioctl parameter structures are laid out carefully, you end
up with problems like different structure layouts between 32/64-bit
processes, etc.
-They can't really be used by anything other than a C or C++ program.
Anything else (shell script, Python, Java, etc.) is pretty much out of
Quite likely. For something like a status that's being read out of the
device, a sysfs file would seem a more logical choice. If you're sitting
there ...
| Aug 2, 6:36 pm 2008 |
| Matthew Wilcox | Re: [patch] IA64: suppress return value of down_trylock( ...
I can't say that I think this is a good idea. Has anyone looked at what
it would take to actually track this? For example, could we ever have
the situation where:
task A acquires sem
task B tries to acquire the sem, fails
task B releases the sem that it didn't acquire
task A releases the sem, falls down, goes boom?
(of course, this is a semaphores, not a mutex, so it'll now be a
counting semaphore with n=2, not protecting a damn thing).
--
Intel are signing my paycheques ... ...
| Aug 2, 6:32 pm 2008 |
| Matthew Wilcox | Re: [patch] IA64: suppress return value of down_trylock( ...
Looking at this a bit more deeply, it seems to be a simple abuse of a
semaphore.
It's used both to exclude other tasks in salinfo_event_read() and as a
wake queue from interrupt context. I think what we want is something
more like this:
spin_lock(&data_saved_lock);
if (!worktodo) {
if (O_NONBLOCK)
spin_unlock()
return;
else
add to wait queue
spin_unlock()
schedule()
spin_lock()
}
Then we can just use wake_up() from interrupt context.
Thoughts? I ...
| Aug 2, 6:44 pm 2008 |
| Matthew Wilcox | Re: [patch] IA64: suppress return value of down_trylock( ...
... that requres one to know that salinfo_work_to_do() is the only place
which calls up() (and it always calls down_trylock first). This is a
really creative misuse of semaphores.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| Aug 2, 7:43 pm 2008 |
| Keith Owens | Re: [patch] IA64: suppress return value of down_trylock( ...
Cannot happen. See the comment above the function:
This routine must be called with data_saved_lock held, to make the down/up
operation atomic
--
| Aug 2, 7:08 pm 2008 |
| Simon Horman | [patch] IA64: suppress return value of down_trylock() in ...
salinfo_work_to_do() intentionally ignores the return value of
down_trylock() and calls up() regardless of if the lock
was taken or not.
This patch suppresses the warning generated by ignoring
this return value - down_trylock() is annotated with __must_check.
(void)down_trylock() was not sufficient.
arch/ia64/kernel/salinfo.c: In function `salinfo_work_to_do':
arch/ia64/kernel/salinfo.c:195: warning: ignoring return value of `down_trylock'
# ia64-unknown-linux-gnu-gcc ...
| Aug 2, 5:06 pm 2008 |
| Alexander Beregalov | Aug 3, 2:21 am 2008 | |
| David Woodhouse | Re: [PATCH] drivers/video/console/promcon.c: fix build error
Commit a29ccf6f823a84d89e1c7aaaf221cf7282022024, surely?
And in fact it looks like we could remove those parts of promcon.c
completely if !CONFIG_CONSOLE_TRANSLATIONS. But your patch is certainly
correct, and I've applied it to my 'random-2.6.git' tree which I've
already asked Linus to pull.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Aug 3, 1:56 am 2008 |
| Alexander Beregalov | Re: [PATCH] drivers/mtd/mtdsuper.c: fix build error
Yes, it is CONFIG_BLOCK=n.
Thanks.
--
| Aug 3, 1:01 am 2008 |
| James Bottomley | Re: [PATCH] GDT SCSI DISK ARRAY: fix split line comments ...
I don't actually see a problem to be fixed here. The original author
obviously split the lines to be under 80 chars. The actual board names
are still integral in the comments and thus greppable even for the split
lines. What is it that you think needs to be fixed?
James
--
| Aug 2, 8:00 pm 2008 |
| Grant Coady | Re: [PATCH] GDT SCSI DISK ARRAY: fix split line comments ...
I suppose if you always grep with context there's no problem?
It's the only file I found with this issue while doing other stuff.
Grant.
--
| Aug 2, 8:39 pm 2008 |
| Alan Cox | Re: ioctl's suck?
Usually not. The idea that ioctl can be replaced with ascii messages is
clueless rubbish that generally gets spouted by people with their head
in the clouds of conceptual elegance and no grasp of reality.
There are certain things you can expose that way usefully via sysfs
- things like general stateless status information. Ioctl however provides
an interface tied to file handle not name (which is essential in a hotplug
environment) and an ordering to events so you know the response you ...
| Aug 3, 5:56 am 2008 |
| Mikael Pettersson | Re: ioctl's suck?
Brian Beattie writes:
> The other day Linus (I think) made the statement, that I don't disagree
> with, that I will parapharse as "ioctl's suck". If I recall correctly
> and understand he was saying that a device that uses ioctls is broken.
...
> I could add a control device and pass ascii strings for status and OOB
> messages, would that be an improvement?
The problem is that the classical unix I/O abstraction really only handles
two cases well, viz. "read next chunk of data" and "write ...
| Aug 2, 6:18 pm 2008 |
| Brian Beattie | Re: ioctl's suck?
Yeah, I can see that. Though the case has been made that ioctls are
only usable by C/C++ while I'm sure there are other languages, I'm
working in the embedded space and mostly work with C and sh so my
Yeah coherence (if I'm using that word correctly) would be critical, and
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting a bad thing?
Brian Beattie LFS12947 | "Honor isn't about making the right choices.
beattie@beattie-home.net | It's about ...
| Aug 3, 10:04 am 2008 |
| Oleg Nesterov | Re: [RFC, 2.6.26.2-rc1] posix timers: release_posix_time ...
I agree. Perhaps the changelog was badly written...
These 2 patches are just cleanups which remove the dead code,
this is not the -stable material.
Oleg.
--
| Aug 3, 3:37 am 2008 |
| Stefan Richter | Re: [RFC, 2.6.26.2-rc1] fs/partition/check.c: fix return ...
Oliver, check under which circumstances the leak happens, and which
problems the leak causes for the system.
Newly added failure handling paths, which by nature are insufficiently
runtime-tested, need to be well considered before they are taken over
into -stable even if the code looks OK. I.e. they need to address bugs
which are known to cause problems of certain severity in practice.
--
Stefan Richter
-=====-==--- =--- ---==
http://arcgraph.de/sr/
--
| Aug 3, 4:12 am 2008 |
| H. Peter Anvin | Re: [PATCH 2/5] x86: Coding style fixes to arch/x86/kern ...
This should be an array in the first place...
-hpa
--
| Aug 2, 9:01 pm 2008 |
| Krzysztof Halasa | Re: [PATCH 2/5] x86: Coding style fixes to arch/x86/kern ...
Right. The latter is much worse. That's why nobody can trust
CodingStyle and/or checkpatch automatically. It's only sane mode
of operation is as a help tool for authors and maintainers, to
quickly locate _potential_ problems.
--
Krzysztof Halasa
--
| Aug 3, 4:54 am 2008 |
| Paolo Ciarrocchi | Re: [PATCH 2/5] x86: Coding style fixes to arch/x86/kern ...
On Sun, Aug 3, 2008 at 1:54 PM, Krzysztof Halasa <khc@pm.waw.pl> wrote:
_much worse_? Wow, I thought the opposite.
Anyway, that's just a coding style patch, feel free to simply not apply it as
it's really a matter of personal taste but be sure that I'm not
blindly changing the code
accordingly to checkpatch. That might be almost true when I started
doing this kind of patches months
ago but it's definitely not true anymore.
Thanks.
regards,
-- ...
| Aug 3, 5:21 am 2008 |
| Stefan Richter | Re: [PATCH 2/5] x86: Coding style fixes to arch/x86/kern ...
Besides, by following CodingStyle to the letter, it arguably breaks
rather than fixes coding style. The former code was easy enough to read.
--
Stefan Richter
-=====-==--- =--- ---==
http://arcgraph.de/sr/
--
| Aug 3, 3:51 am 2008 |
| Eric W. Biederman | Aug 2, 9:47 pm 2008 | |
| Mikael Pettersson | Re: [Bug #11205] x86: 2.6.27-rc1 does not build with gcc ...
The bug is still present.
Patch here <http://marc.info/?l=linux-kernel&m=121742199419686&w=2>.
--
| Aug 3, 11:24 am 2008 |
| Alan Jenkins | Re: [Bug #11178] Secondary hard drive fails during both ...
Please keep listed.
The problem and patch are recently confirmed by Hugh Dickins (on LKML)
and Dionisus Torimens (bugzilla duplicate).
Ta
Alan
--
| Aug 3, 1:36 am 2008 |
| Henrique de Moraes H ... | Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth ...
value = (state == RFKILL_STATE_UNBLOCKED);
You don't really need the above, rfkill won't ever call your toggle_radio
callback like that.
If you want paranoid checking, do this instead:
default:
/* maybe WARN(), WARN_ON() or printk here */
This one got me confused. Why do you need that bt_rfkill_toggle_radio call
Read the kernel-doc headers of every rfkill function you call at least
once... Never rfkill_free() something you rfkill_unregister()'ed.
rfkill_free() is just for the ...
| Aug 2, 9:26 pm 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 2/2] ide: add proper PCI PM support
Thanks for reviewing the patch. I'll take a look into converting it to
use new PM infrastructure (it may take a while so please be patient).
--
| Aug 3, 7:15 am 2008 |
| Paul Mundt | Re: [2.6 patch] sh/boards/Makefile typo fix
Applied, thanks.
--
| Aug 2, 7:23 pm 2008 |
| Parag Warudkar | Re: gspca_zc3xx oops - 2.6.27-rc1
Yep - I arrived at the same conclusion and sent a patch few minutes
before I saw your mail.
I am clueless about V4L and gspca workings but I chose a different
approach to fix this -
Sounds more appropriate but I am not sure how vidioc_s_ctrl leads to
the call trace in the OOPS - at least it doesn't show up there.
Thanks
Parag
--
| Aug 3, 12:52 am 2008 |
| Rabin Vincent | Re: gspca_zc3xx oops - 2.6.27-rc1
The call trace is for the ioctl which starts the capturing. However,
the gamma value is not set when starting the capturing, but would have
been set earlier using a separate ioctl -- that one would have gone
through vidioc_s_ctrl.
Rabin
--
| Aug 3, 3:26 am 2008 |
| Rabin Vincent | Re: gspca_zc3xx oops - 2.6.27-rc1
I'm not familiar with v4l, but I'll take a crack at this. This decodes to:
3: 0f b6 90 da 07 00 00 movzbl 0x7da(%eax),%edx
a: 8b a8 04 02 00 00 mov 0x204(%eax),%ebp
10: 0f b6 80 d9 07 00 00 movzbl 0x7d9(%eax),%eax
17: 8b 3c 95 f4 dc 15 f9 mov -0x6ea230c(,%edx,4),%edi
1e: 8b 14 95 d8 dc 15 f9 mov -0x6ea2328(,%edx,4),%edx
25: 83 c0 80 add $0xffffff80,%eax
28: 89 14 24 mov %edx,(%esp)
2b: 0f b6 37 ...
| Aug 3, 12:37 am 2008 |
| Sam Ravnborg | Re: Kconfig no longer outputs a .config with freshly upd ...
Thanks Adrian.
The code has started to check if anything changed
and if not - then do not write out a new config.
So in your sample above we would not see any changes
compared to what we read in autoconf.h so we did nto write
out a new autoconf.h (and thus no .config).
The right fix seems to check for .config and for changes
and in both cases to write a new config.
Patch below.
Sam
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 9fba838..7c938c2 100644
--- ...
| Aug 3, 1:00 am 2008 |
| Adrian Bunk | Re: Kconfig no longer outputs a .config with freshly upd ...
This breaks with:
make ARCH=x86 x86_64_defconfig
cp .config arch/x86/configs/x86_64_defconfig
make ARCH=x86 i386_defconfig
make ARCH=x86 x86_64_defconfig
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.
Pearl S. Buck - Dragon Seed
--
| Aug 3, 3:07 am 2008 |
| Oleg Nesterov | Re: [RFC, 2.6.26.2-rc1] signals: do_signal_stop: kill th ...
Again, I don't think this minor cleanup is good for -stable.
It doesn't fix any bug, it only removes the unnecessary uglification (which
was previously added by me in fae5fa44f1fd079ffbed8e0add929dd7bbd1347f).
Oleg.
--
| Aug 3, 3:53 am 2008 |
| Justin Madru | Re: [2.6.27-rc1] Can't connect to encrypted network
Ok, tested current -git and I was able to connect to the encrypted network.
So, I'm happy :-) ! And 2.6.27 has even fixed a regression I was having
with 2.6.{25,26}.
Justin Madru
--
| Aug 2, 6:33 pm 2008 |
| Larry Finger | [RFC/RFT] p54usb: Regression due to commit b19fa1f
In commit b19fa1fa91845234961c64dbd564671aa7c0fd27, the configuration
parameter NETDEVICES_MULTIQUEUE was eliminated making multiple TX queues
the normal behavior. For p54usb, enabling multiple queues broke the driver.
A temporary hack that forces only one queue is presented here. With it, the
driver works as before. Obviously, a proper fix is needed in the long run.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
---
Index: ...
| Aug 3, 1:13 pm 2008 |
| Larry Finger | Re: p54usb broken by commit b19fa1f
The problem is triggered by the following section:
if (priv->fw_var >= 0x300) {
/* Firmware supports QoS, use it! */
priv->tx_stats[0].limit = 3;
priv->tx_stats[1].limit = 4;
priv->tx_stats[2].limit = 3;
priv->tx_stats[3].limit = 1;
dev->queues = 4;
}
If fw_var is less than 0x300, then the bug does not trigger. On my system, if I
change the number of queues to 1, then ...
| Aug 3, 1:07 pm 2008 |
| Eric W. Biederman | [PATCH] x86_64: Restore the proper NR_IRQS define so lar ...
As pointed out and tracked by Yinghai Lu <yhlu.kernel@gmail.com>:
Dhaval Giani got:
kernel BUG at arch/x86/kernel/io_apic_64.c:357!
invalid opcode: 0000 [1] SMP
CPU 24
...
his system (x3950) has 8 ioapic, irq > 256
This was caused by:
commit 9b7dc567d03d74a1fbae84e88949b6a60d922d82
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri May 2 20:10:09 2008 +0200
x86: unify interrupt vector defines
The interrupt vector defines are ...
| Aug 2, 10:26 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86_64: Restore the proper NR_IRQS define so ...
Much the same as usual; perhaps a bit lower. 16/CPU would probably be
ample.
But given that the kernel also needs to be able to boot native properly,
just choosing the normal number would be best.
I long for the day it becomes dynamic...
J
--
| Aug 2, 11:44 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH] x86_64: Restore the proper NR_IRQS define so ...
Yes, but really its overkill. It needs about 6 interrupts/cpu for
normal system overhead (timer, IPI, things like that), and then some
amount for virtual devices.
dom0 - the control domain - will need some number of events per other
guest domain, so it can start feeling the pressure depending on how many
domains and devices there are.
J
--
| Aug 2, 11:54 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86_64: Restore the proper NR_IRQS define so ...
On Sat, Aug 2, 2008 at 10:26 PM, Eric W. Biederman
what should xen pv 64 get for NR_IRQS?
YH
--
| Aug 2, 10:58 pm 2008 |
| Eric W. Biederman | Re: [PATCH] x86: 64bit support more than 256 irq v2
YH Thank you for splitting this out. This still doesn't restore the
pre merge NR_IRQS heuristic. So I don't think it is a proper regression fix.
Eric
--
| Aug 2, 10:09 pm 2008 |
| Eric W. Biederman | Re: [PATCH] x86_64: Restore the proper NR_IRQS define so ...
Xen pv 64 will work at least as well with a larger definition for
NR_IRQS as it will work with a smaller definition, and since
NR_VECTORS is 256 we always have more irqs with the 32bit definition
we were mistakenly using.
Xen has 1024 event channels so I expect 1024 would the nice number to
provide there.
Eric
--
| Aug 2, 11:35 pm 2008 |
| Max Krasnyansky | Aug 3, 11:07 am 2008 | |
| Paul Jackson | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug ...
"the latest mainline" ... I guess that means the same
as what I termed "Linus's latest git version" ?
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| Aug 2, 8:51 pm 2008 |
| Lai Jiangshan | Re: [RFC][PATCH 2/2] rcu classic: new algorithm for call ...
Paul E. McKenney wrote:
We should put __get_cpu_var into preempt_disable critical section.
So I didn't move the local_irq_save() and local_irq_restore()
to __call_rcu().
I greed your changes except the changes here.
I hasn't thought it before. I thought that smp_mb is used for
rcu->cur as the original comment had told.
I prefer to add memory barrier to rcu_process_callbacks as your patch.
But I has a question here:
In this case, p->rcu_head is not in donelist. So ...
| Aug 3, 1:01 am 2008 |
| Thomas Renninger | Re: ACPI OSI disaster on latest HP laptops - critical te ...
If Windows is returning true for all ever existing OSI(Windows XY) versions as
Linux is doing it and they stick to that in the future, then my above
assumption is not true.
If the next Windows version also returns true for the one for which the
workaround applies to, they have to take care that only the one OS is
matching in a follow up update, e.g.:
And(brokenOS, !new_OSes)
So this should make half way sure that vendors do not mis-use this too often.
Also it is ensured that the next ...
| Aug 3, 10:23 am 2008 |
| John Stoffel | Re: amd64 sata_nv (massive) memory corruption
>>>>> "Linas" == Linas Vepstas <linasvepstas@gmail.com> writes:
Linas> I took the problematic hard drive (and its cable) to another
Linas> computer with sata ports on it, and ran my
Linas> file-copy/compare/fsck tests there, and saw no problems; so the
Linas> drive itself and its cable get a clean bill of health.
Well that's a good sign.
Linas> Then, rather stupidly, I flashed the latest BIOS for the
Linas> motherboard and now have a dead motherboard (it hangs on its
Linas> way through ...
| Aug 2, 7:41 pm 2008 |
| Alan Cox | Re: amd64 sata_nv (massive) memory corruption
You are assuming bad RAM then not bad bus loadings, corrosion on the
If you have a good enough pile of hardware and the right monitoring stuff
loaded then you should get EDAC event logs from the PCI/PCI-X for PCI
card logged traps, MCE errors for the higher level busses, L1/L2 cache or
CPU parity errors and ECC traps for memory problems either via EDAC or
MCE.
Yes for SCSI. In theory yes for ATA but I've never tested to see what the
For the simpler cases perhaps. The more interesting ...
| Aug 3, 3:16 pm 2008 |
| Linas Vepstas | Re: amd64 sata_nv (massive) memory corruption
That fixed it, but only *after* the machine cooled off overnight!
While it was warm, it was so unstable I couldn't even pilot around in BIOS
without it hanging. After cooling off, it was still unstable, but held
it together
long enough for me to ask for "factory defaults" -- and that fixed it.
(Grrr. What are these BIOS people thinking?)
I then did some more debugging, and isolated the original data corruption
problem to a bad pair of RAM sticks. But this was subtle, so let me recap:
-- ...
| Aug 3, 3:23 pm 2008 |
| Al Viro | Re: [git pull] vfs patches
git-am -k ... FWIW, I tend to leave [patch...] alone; the second one slipped
unnoticed - usually I edit ones like that, including the subject.
--
| Aug 3, 7:53 am 2008 |
| Roland Dreier | Re: [git pull] vfs patches
Something seems a little strange about your git worflow, with patch
descriptions such as
> [patch 3/4] vfs: remove unused nameidata argument of may_create()
making it in without the "[patch 3/4]" part being stripped, and even
worse descriptions such as
> Re: BUG at security/selinux/avc.c:883 (was: Re: linux-next: Tree
getting committed too....
- R.
--
| Aug 3, 7:08 am 2008 |
| Ingo Oeser | files/process scaling problem? (was: [PATCH] Export shme ...
Hi Keith,
You may just have identified a scaling problem here.
I see no difference to many thousand TCP/IP connections in your description.
What actions on many thousand fds are supported poorly or not at all?
Are you only concerned about the memory requirements?
Please elaborate or point me to a place where you did already :-)
Best Regards
Ingo Oeser
--
| Aug 3, 4:35 pm 2008 |
| Keith Packard | Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
We're not having any trouble with upwards of 40000 shmem file objects at
this point. Most of these are around 4 pages in size, although they
range up to around 16MB. A typical 3D game will use around 100MB or so
Not really; these are objects used in the rendering process, vertices,
command buffers, constant buffers, textures, programs, rendering
surfaces and various other state buffers. Lots of these are write-once
(from the CPU) and read-many (from the GPU), like textures, programs ...
| Aug 3, 10:52 am 2008 |
| John Stoffel | Re: [PATCH] Export shmem_file_setup and shmem_getpage fo ...
>>>>> "Keith" == Keith Packard <keithp@keithp.com> writes:
Keith> I can't create that many files; I need thousands of them.
Why? If you need thousands of files, won't the overhead of managing
them dynamically start to be a big load as well?
I assume (sorry for not looking at the code in depth) that you're
trying to setup specific regions of memory with various attributes for
the DRI/DRM/GEM/TTF access to Video cards?
Just seeing your statement that you wanted to add ioctls made ...
| Aug 3, 5:49 am 2008 |
| Stephen Rothwell | Re: [PATCH v2] powerpc: move include files to arch/power ...
On Sun, 3 Aug 2008 09:58:14 -0500 Kumar Gala <galak@kernel.crashing.org> wr=
It looks like Linus is happy to take these patches, so if Paul is game he
could just shove it in powerpc-{next,master,merge} and ask Linus to pull
it. The sooner the better in that case.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 3, 8:02 am 2008 |
| Stephen Rothwell | Re: [PATCH v2] powerpc: move include files to arch/power ...
On Fri, 1 Aug 2008 15:20:30 +1000 Stephen Rothwell <sfr@canb.auug.org.au> w=
^^^
Freudian slip :-)
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 3, 8:00 am 2008 |
| Kumar Gala | Re: [PATCH v2] powerpc: move include files to arch/power ...
Paul, what's the plan for this change? If this is something that will
go in so can we get a tree with it so we can base other patches on it
(like the PPC_MERGE cleanup)?
- k
--
| Aug 3, 7:58 am 2008 |
| Andy Whitcroft | Re: Checkpatch false positive?
Yes, that check isn't very well anchored. I've tightened that up in the
latest version. Could you check your patch with the latest testing
version for me:
http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-testing
-apw
--
| Aug 3, 3:18 pm 2008 |
| Max Krasnyansky | Re: [PATCH] SLUB: detach SLUB_DEBUG and SYSFS
While at it, can you guys move this into lib/Kconfig.debug ?
Max
--
| Aug 3, 11:28 am 2008 |
| David Miller | Re: 2.6.27-rc1-mm1: sparc64 BUG: using smp_processor_id( ...
From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Thenk for the report and sample patch.
I've decided to put the preemption disabled call at the smp_tsb_sync() call
site so that smp_tsb_sync() can still invoke smp_call_function_mask() as
a tail-call.
Thanks again!
sparc64: Need to disable preemption around smp_tsb_sync().
Based upon a bug report by Mariusz Kozlowski
It uses smp_call_function_masked() now, which has a preemption-disabled
requirement.
Signed-off-by: David S. Miller ...
| Aug 3, 12:02 am 2008 |
| Bartlomiej Zolnierki ... | Re: 2.6.27-rc1-mm1: rmmod ide-cd_mod oops
[...]
Thanks for debugging this. I see the problem now: previous reference
counting fix was totally fscked up and introduced access to cd->drive
after putting last reference on cd (time to re-supply brown paper bag
stock). The incremental fix (for 2.6.27-rc1-mm1) attached, the fixed
Does it still happen with the 1) fixed?
---
drivers/ide/ide-cd.c | 4 +++-
drivers/ide/ide-disk.c | 4 +++-
drivers/ide/ide-floppy.c | 4 +++-
drivers/ide/ide-tape.c | 4 +++-
...
| Aug 3, 7:41 am 2008 |
| Mariusz Kozlowski | Re: 2.6.27-rc1-mm1: rmmod ide-cd_mod oops
No. I applied your incremental fix and tested it for some time. It doesn't
oops anymore in any way in spite of my best efforts :)
Tested-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Thanks,
--
| Aug 3, 8:45 am 2008 |
| Rusty Russell | Re: [PULL] typesafe callbacks for kthread and stop_machine
But we'd have to make callbacks take void * for the function param. That
would be a big step backwards.
---
drivers/char/hw_random/intel-rng.c | 3 +--
kernel/module.c | 10 +++-------
2 files changed, 4 insertions(+), 9 deletions(-)
diff -r e279190b7b43 drivers/char/hw_random/intel-rng.c
--- a/drivers/char/hw_random/intel-rng.c Mon Jan 21 14:42:54 2008 +1100
+++ b/drivers/char/hw_random/intel-rng.c Mon Jan 21 15:04:00 2008 +1100
@@ -227,9 +227,8 @@ struct ...
| Aug 3, 3:24 am 2008 |
| Geert Uytterhoeven | Re: linux-next: m68k build failure
OK, so I'll take Stephen's patch (thanks!) and send it to Linus.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
| Aug 3, 1:00 pm 2008 |
| Douglas Gilbert | Re: [usb-storage] BUG: SCSI: usb storage SDHC card doesn ...
The above patch made my USB key:
Alcor Micro Corp. Transcend JetFlash 110 USB 2.0 Flash Drive (2GB)
usable in a pretty clean lk 2.6.26 .
Thanks
Doug Gilbert
--
| Aug 3, 4:56 am 2008 |
| Stephen Rothwell | Re: linux-next: Tree for July 29
Hi Dominik,
On Tue, 29 Jul 2008 16:45:58 +0200 Dominik Brodowski <linux@dominikbrodowsk=
Yeah, I would say it is, now. (Notice how I cleverly delayed it for a
week :-))
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 3, 7:56 am 2008 |
| Rusty Russell | Re: [PATCH] Introduce down_try() so we can move away fro ...
spin_lock => spin_trylock, so down => trydown. But everyone hated that, too.
And so my patch series replaces all 21 of them. It's a trivial replace,
Good idea. If we'd done that we wouldn't have the down_trylock() brain
damage.
Rusty.
--
| Aug 3, 1:33 am 2008 |
| Matthew Wilcox | Re: [PATCH] Introduce down_try() so we can move away fro ...
I believe down_trylock() came first. spin_trylock() was then the one
that was gratuitously different and mutex_trylock() decided to follow
the spinning semantics rather than the sleeping semantics. But yeah,
whatever, big mess. I'm not convinced down_try() is an improvement.
But I bet we could have got rid of most of the users of down_trylock()
in the time that's been spent wanking about down_try(). Hey, let's make
it return bool! Hey, let's argue about the name! Hey, let's ...
| Aug 3, 6:07 am 2008 |
| Linus Torvalds | Re: [PATCH] Introduce down_try() so we can move away fro ...
Ok, Rusty, I'm not bothering with this thread any more.
I gave a suggestion.
Your series doesn't "replace" anything.
It renames things with no good reason. The end result is _worse_. I told
You don't see the difference between "new crap" and "legacy crap that
people have historical reasons for and that people have learnt to live
with"?
Anyway, I NAK'ed your patches. Deal with it.
Linus
--
| Aug 3, 10:33 am 2008 |
| Linus Torvalds | Re: [PATCH] Introduce down_try() so we can move away fro ...
Btw, "dealing with it" can just be "don't bother".
Leaving old stuff _alone_ is a perfectly good approach. Being slightly
ugly for historical reasons is much less of a problem than just "change
for change's sake".
Linus
--
| Aug 3, 10:35 am 2008 |
| David Miller | Re: combinatorial explosion in lockdep
From: Hugh Dickins <hugh@veritas.com>
It's probably best to not later clear oops_in_progress when we trigger
an event like this, to ensure that we do actually get any followon
messages on the console.
--
| Aug 3, 1:14 am 2008 |
| Geert Uytterhoeven | Re: kbuild now support arch/$ARCH/include - time for ARC ...
I did:
mkdir arch/m68k/include
mv include/asm-m68k arch/m68k/include/asm
and m68k still builds fine (I applied Stephen's patch for the
asm-sparc inclusion problem for Sun 3/3x first, of course).
As (a) I'm not using git (yet) for merging with Linus, and (b) this will
cause some breakage in the m68knommu tree anyway, perhaps it's easiest if Greg
takes care of it in m68knommu.git?
Greg, is that OK for you?
You can add my Acked-by: Geert Uytterhoeven ...
| Aug 3, 1:16 pm 2008 |
| Alan Cox | Re: [PATCH 3/5] libata: Implement disk shock protection ...
IDLE IMMEDIATE is part of the "historic" specification rather than modern
ATA standards. Older drives support it happily newer ones tended to get
We'd have to query the drive vendors to see what they expected.
--
| Aug 3, 6:05 am 2008 |
| Tejun Heo | Re: [PATCH 3/5] libata: Implement disk shock protection ...
We'll have to query the controller vendors too and I think it's highly
likely to cause problems on many controllers.
--
tejun
--
| Aug 3, 6:58 am 2008 |
| Tejun Heo | Re: [PATCH 3/5] libata: Implement disk shock protection ...
Was that something intentional or was it a happy accident? There can be
bus ownership problem on PATA and on SATA this is much more state logic
on both sides of the cable and I think things like that would be more
difficult to work accidentally.
Thanks.
--
tejun
--
| Aug 2, 8:19 pm 2008 |
| Alex Buell | Re: [PATCH] JMicron JM20337 USB-SATA data corruption bug ...
On Sat, 2 Aug 2008 19:49:22 -0400 (EDT), I waved a wand and this
This is the one that I applied:
Index: usb-2.6/drivers/usb/storage/transport.c
===================================================================
--- usb-2.6.orig/drivers/usb/storage/transport.c
+++ usb-2.6/drivers/usb/storage/transport.c
@@ -663,7 +663,7 @@ void usb_stor_invoke_transport(struct sc
}
/* Did we transfer less than the minimum amount required? */
- if (srb->result == SAM_STAT_GOOD &&
+ if ((srb->result == ...
| Aug 3, 2:07 am 2008 |
| Hans Verkuil | Re: [ivtv-devel] [PATCH AVAIL.]ivtv:Crash 2.6.26 with KU ...
Hi Ohta,
Well, I picked up my card this weekend and tested it. It turns out to be
an i2c-core.c bug: chips with i2c addresses in the 0x5x range are
probed differently than other chips and the probe command contains an
error. The upd64083 has an address in that range and so was hit by this
bug. The attached patch for linux/drivers/i2c/i2c-core.c will fix it.
As you can see, this mail also goes to Jean Delvare so that he can move
this upstream (should also go to the 2.6.26-stable series, ...
| Aug 3, 2:12 pm 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 2/2] ide-generic: handle probing of legacy io-ports
On Sunday 03 August 2008, Borislav Petkov wrote:
Some time ago we've changed the default from probing all ports to probe
only safe ones (we had to do it because probing all ports may break other
ISA devices) so there may be very unlikely cases when this bugfix caused
regression and we would like people to be able to deduce the workaround
from just reading kernel messages.
--
| Aug 3, 7:59 am 2008 |
| Jeff Garzik | Re: [PATCH 1/2] pata_legacy: export functionality to ide
That's pretty much my feeling... just copy the code.
If the shared code grows larger, create a kernel module with the stuff
shared by both libata and drivers/ide.
liblibata? libata-core-core? :)
Jeff
--
| Aug 3, 4:43 pm 2008 |
| Borislav Petkov | [PATCH 2/2] ide-generic: handle probing of legacy io-ports
From: Borislav Petkov <petkovbb@gmail.com>
Date: Sun, 3 Aug 2008 09:28:53 +0200
Subject: [PATCH 2/2] ide-generic: handle probing of legacy io-ports
Avoid probing the io-ports in case an IDE PCI controller is present and it uses
the legacy iobases. If we still want to enforce the probing, we do
ide_generic.probe_mask=0x3f
on the kernel command line.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
drivers/ide/ide-generic.c | 23 ++++++++++++++++++-----
1 files changed, 18 ...
| Aug 3, 12:38 am 2008 |
| Borislav Petkov | [PATCH 1/2] pata_legacy: export functionality to ide
Ok, here's a definitely better solution:
---
From: Borislav Petkov <petkovbb@gmail.com>
Date: Sun, 3 Aug 2008 08:31:20 +0200
Subject: [PATCH 1/2] pata_legacy: export functionality to ide
export the legacy iobases checking code to other
users (ide) by pushing it up into the header.
CC: Alan Cox <alan@redhat.com>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
---
drivers/ata/pata_legacy.c | 63 +-----------------------------------------
include/linux/ata.h | 67 ...
| Aug 3, 12:37 am 2008 |
| Borislav Petkov | Re: [PATCH 2/2] ide-generic: handle probing of legacy io-ports
crap, forget what i said here ^ :(.
--
Regards/Gruss,
Boris.
--
| Aug 3, 7:54 am 2008 |
| Alan Cox | Re: [PATCH 1/2] pata_legacy: export functionality to ide
I think you might want to start somewhere else if that worries you. Its
also a mostly bogus reasoning as almost nobody builds with both, in fact
you have to be pretty careful if you do that or it all falls over in a
heap.
For previous cases (eg ide timing) it has actually made more sense to
split the code. The moment you get future different behaviour between
libata and old IDE on any of these devices the sharing will just break
again (eg if one or the other drops chipset support for one of ...
| Aug 3, 8:22 am 2008 |
| Borislav Petkov | Re: [PATCH 2/2] ide-generic: handle probing of legacy io-ports
On Sun, Aug 03, 2008 at 04:11:10PM +0200, Bartlomiej Zolnierkiewicz wrote:
Issues addressed. Here's v2:
---
From: Borislav Petkov <petkovbb@gmail.com>
Date: Sun, 3 Aug 2008 09:28:53 +0200
Subject: [PATCH] ide-generic: handle probing of legacy io-ports v2
Avoid probing the io-ports in case an IDE PCI controller is present and it uses
the legacy iobases. If we still want to enforce the probing, we do
ide_generic.probe_mask=0x3f
on the kernel command line.
Signed-off-by: Borislav ...
| Aug 3, 8:08 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 2/2] ide-generic: handle probing of legacy io-ports
Thanks for reworking the patch, looks much better now.
Help message is no longer printed for !primary
No need for primary/secondary checking here now as everything
is controlled by probe_mask.
Thus we can check for probe_mask first in the previous chunk
and it can be rewritten/simplified to something like:
ata_legacy_check_iobases(&primary, &secondary, &dummy);
if (probe_mask == 0) {
printk(KERN_INFO DRV_NAME ": please use "
\"probe_mask=0x3f\" module ...
| Aug 3, 7:11 am 2008 |
| Alan Cox | Re: [PATCH 1/2] pata_legacy: export functionality to ide
On Sun, 3 Aug 2008 09:37:56 +0200
Please don't stuff large important pieces of code in header files where
they will be overlooked
NAK this.
I'm happy to have a shared library directory for ATA stuff, containing
useful C code, but hiding stuff in headers like that is just plain wrong.
--
| Aug 3, 4:59 am 2008 |
| Bartlomiej Zolnierki ... | Re: [PATCH 1/2] pata_legacy: export functionality to ide
The code in question is 65 LOC total (43 LOC without counting comments)
so having a shared library just for it sounds like an overkill and we may
just copy that one function from pata_legacy to ide_generic instead.
Jeff, what is your stance here?
--
| Aug 3, 6:37 am 2008 |
| Borislav Petkov | Re: [PATCH 1/2] pata_legacy: export functionality to ide
What do you mean by "overlooked"? If you're looking for the function defintion,
any sensible code indexing tool will point you to the right place.
And linux/ata.h already contains several c one liners/helpers. What is the
difference between the two new functions and the ones already present there?
Although the solution i propose is not adhering to some header/c file
conventions, it is still the best one considering the other possibilities:
a) code duplication: dumb idea, bloated kernel for ...
| Aug 3, 7:38 am 2008 |
| Borislav Petkov | Re: [PATCH 1/2] pata_legacy: export functionality to ide
[shortened up CC list]
Ok then, so we duplicate. This seems like the easiest solution. Sharing code
between libata and IDE is not that smart in case the two development directions
divert, as you said. Bart, here's v3:
---
From: Borislav Petkov <petkovbb@gmail.com>
Date: Sun, 3 Aug 2008 18:46:35 +0200
Subject: [PATCH] ide-generic: handle probing of legacy io-ports v3
Avoid probing the io-ports in case an IDE PCI controller is present and it uses
the legacy iobases. If we still want to ...
| Aug 3, 9:51 am 2008 |
| Alan Cox | Re: [PATCH 1/2] pata_legacy: export functionality to ide
People expect code in C files, so in headers it gets missed as well as
If you are going to #include two copies you might as well just copy it.
Alan
--
| Aug 3, 6:39 am 2008 |
| Borislav Petkov | Re: [PATCH 2/2] ide-generic: handle probing of legacy io-ports
How about moving that info to Documentation/ide/ide.txt instead? Do we want to
issue that on every boot, seems like a too unimportant message to be in the
True, this version is more readable. Reworked one coming up :) ...
--
Regards/Gruss,
Boris.
--
| Aug 3, 7:45 am 2008 |
| Alfred E. Heggestad | Re: [PATCH] input: driver for USB VoIP phones with CM109 ...
Hi Oliver
sorry for the delay, I was out travelling with no access to CM109 hardware..
I recompiled the latest kernel from input-branch with CONFIG_USB_DEBUG enabled,
the version reported is 2.6.27-rc1. Below you can see the syslog and the
context of events:
;;;
;;; Insert CM109 device here:
;;;
Aug 3 23:42:49 io kernel: usb usb1: usb resume
Aug 3 23:42:49 io kernel: usb usb1: wakeup_rh
Aug 3 23:42:49 io kernel: hub 1-0:1.0: hub_resume
Aug 3 23:42:49 io kernel: uhci_hcd ...
| Aug 3, 3:04 pm 2008 |
| Eric W. Biederman | Re: [PATCH 12/15] driver core: Implement tagged director ...
Greg. Where are we at with this?
I just looked at your tree and I don't perhaps I'm blind but I don't see
this patches, and it looks like you at least refreshed your patches
a day or two ago.
Eric
--
| Aug 2, 11:59 pm 2008 |
| Theodore Tso | Re: [patch 14/19] Filesystem: Ext4 filesystem defrag
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
- Ted
--
| Aug 2, 6:54 pm 2008 |
| Dave Chinner | Re: [patch 15/19] Filesystem: XFS slab defragmentation
I think that hunk is mis-applied. You're configuring the
xfs_vnode_zone defrag after allocating the xfs_ioend_zone. This
should be afew lines higher up, right?
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
--
| Aug 2, 6:42 pm 2008 |
| Pekka Enberg | Re: No, really, stop trying to delete slab until you've ...
Hi Matthew,
No, you don't have to. I haven't merged that patch nor do I intend to do
so until the regressions are fixed.
And yes, I'm still waiting to hear from you how we're now doing with
higher order page allocations...
Pekka
--
| Aug 3, 2:25 pm 2008 |
| Matthew Wilcox | No, really, stop trying to delete slab until you've fini ...
Do we have to once again explain that slab still outperforms slub on at
least one important benchmark? I hope Nick Piggin finds time to finish
tuning slqb; it already outperforms slub.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| Aug 2, 6:58 pm 2008 |
| Alan Cox | Re: Per-instance devpts
Making them symlinks is asking for trouble because some code does go
around using stat and the like and tools like MAKEDEV have definite ideas.
For /dev/tty the definition is precisely that it is your controlling
tty. No reference to namespace and a task whose controlling tty is in a
different namespace should still open the controlling tty not some
parallel in another universe when you open /dev/tty.
If you want to make sure the controlling tty is in the right namespace
that can be done in ...
| Aug 3, 5:04 am 2008 |
| Alan Cox | Re: Per-instance devpts
current->tty - it is a direct internal reference.
Alan
--
| Aug 3, 10:54 am 2008 |
| sukadev | Re: Per-instance devpts
Alan Cox [alan@lxorguk.ukuu.org.uk] wrote:
| > > 1. /dev/ptmx would have to change to a symlink, ptmx -> pts/ptmx.
| >
| > IIRC, /dev/tty also needs a similar symlink.
|
| Making them symlinks is asking for trouble because some code does go
| around using stat and the like and tools like MAKEDEV have definite ideas.
|
| For /dev/tty the definition is precisely that it is your controlling
| tty. No reference to namespace and a task whose controlling tty is in a
| different namespace should ...
| Aug 3, 10:46 am 2008 |
| H. Peter Anvin | Re: Per-instance devpts
Why? I do not believe that is correct.
-hpa
--
| Aug 3, 4:31 am 2008 |
| sukadev | Re: Per-instance devpts
Sorry, I thought we were going with a complete device namespace - since that
would address other devices as well and would avoid the following user-space
issue.
I guess this issue came up in OLS recently and have been looking into this
again. I have some helper patches to explore multiple mounts of devpts
Sukadev
--
| Aug 2, 10:08 pm 2008 |
| previous day | today | next day |
|---|---|---|
| August 2, 2008 | August 3, 2008 | August 4, 2008 |
