Re: [PATCH] [RFC] Xilinx SystemACE: Add media hotplug support

2007-12-20 Thread Andy Whitcroft
On Wed, Dec 19, 2007 at 11:23:48PM -0700, Grant Likely wrote: + /* Make the sysace device 'live' */ + if (ace-fsm_state != ACE_FSM_STATE_INVALIDATE_MEDIA); + add_disk(ace-gd); checkpatch.pl reports the above if as suspect due to the trailing ;.

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Peter Zijlstra
On Thu, 2007-12-20 at 14:09 +, Hugh Dickins wrote: On Thu, 20 Dec 2007, Peter Zijlstra wrote: Lennart asked for madvise(WILLNEED) to work on anonymous pages, he plans to use this to pre-fault pages. He currently uses: mlock/munlock for this purpose. I certainly agree with this in

[PATCH] Support specifying DW APB UARTSs in device platform_data

2007-12-20 Thread Will Newton
This patch allows the private_data field to be specified in platform_data for the standard 8250/16550 UART. This field is used by DW APB type UARTs and without this patch it's only possible to set this field when registering the port by hand. If private_data is not set then the driver will

[PATCH] Fix RTC_AIE with CONFIG_HPET_EMULATE_RTC

2007-12-20 Thread Bernhard Walle
In the current code, RTC_AIE doesn't work if the RTC relies on CONFIG_HPET_EMULATE_RTC because the code sets the RTC_AIE flag in hpet_set_rtc_irq_bit(). The interrupt handles does accidentally check for RTC_PIE and not RTC_AIE when comparing the time which was set in hpet_set_alarm_time(). This

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Peter Zijlstra
On Thu, 2007-12-20 at 15:47 +0100, Peter Zijlstra wrote: On Thu, 2007-12-20 at 14:09 +, Hugh Dickins wrote: Interesting divergence: make_pages_present faults in writable pages in a writable vma, whereas the file case's force_page_cache_readahead doesn't even insert the pages into the

Re: not needed patch

2007-12-20 Thread Mike Travis
Ingo Molnar wrote: * Yinghai Lu [EMAIL PROTECTED] wrote: Ingo. commit fbdcf18df73758b2e187ab94678b30cd5f6ff9f9 is not needed. another patch (by you !! commit 699d934d5f958d7944d195c03c334f28cc0b3669 x86: fixup cpu_info array conversion) already removed clearing of c-cpu_index. in

Re: [PATCH v5 7/8] debugfs: allow access to signed values

2007-12-20 Thread John W. Linville
On Thu, Dec 20, 2007 at 01:40:22PM +0100, Stefano Brivio wrote: debugfs: allow access to signed values Add debugfs_create_s{8,16,32,64}. For these to work properly, we need to remove a cast in libfs, change the simple_attr_open prototype and thus fix the users as well. Looks like

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread Lennart Sorensen
On Wed, Dec 19, 2007 at 03:56:45PM -0500, linux-os (Dick Johnson) wrote: On Wed, 19 Dec 2007, Lennart Sorensen wrote: On Wed, Dec 19, 2007 at 03:10:28PM -0500, linux-os (Dick Johnson) wrote: Here is a so-called BUG when trying to insert the following module into the kernel

Re: [Bug 9182] Critical memory leak (dirty pages)

2007-12-20 Thread Jan Kara
On 2007.12.19 09:44:50 -0800, Linus Torvalds wrote: On Sun, 16 Dec 2007, Krzysztof Oledzki wrote: I'll confirm this tomorrow but it seems that even switching to data=ordered (AFAIK default o ext3) is indeed enough to cure this problem. Ok, do we actually have any ext3

Re: [PATCH 1/5] power: RFC: introduce a new power API

2007-12-20 Thread Anton Vorontsov
Hi Andres, On Wed, Dec 19, 2007 at 06:13:04PM -0500, Andres Salomon wrote: On Wed, 19 Dec 2007 21:50:50 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: On Wed, Dec 19, 2007 at 01:02:41PM -0500, Andres Salomon wrote: [...] Hm. It occurs to me that there's nothing keeping us from

Re: [patch 1/2] Linux Kernel Markers - Support Multiple Probes

2007-12-20 Thread Mathieu Desnoyers
* Paul E. McKenney ([EMAIL PROTECTED]) wrote: On Tue, Dec 04, 2007 at 01:18:46PM -0500, Mathieu Desnoyers wrote: RCU style multiple probes support for the Linux Kernel Markers. Common case (one probe) is still fast and does not require dynamic allocation or a supplementary pointer

Re: INITIO scsi driver fails to work properly

2007-12-20 Thread Theodore Tso
On Thu, Dec 20, 2007 at 01:32:02AM -0800, Natalie Protasevich wrote: The problem is that it appears to the casual observer as if they can then add information to the bug through the web interface. But that information will never be forwarded to the mailing list. Unless there's a way of

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Peter Zijlstra
On Thu, 2007-12-20 at 15:56 +0100, Peter Zijlstra wrote: On Thu, 2007-12-20 at 15:47 +0100, Peter Zijlstra wrote: On Thu, 2007-12-20 at 14:09 +, Hugh Dickins wrote: Interesting divergence: make_pages_present faults in writable pages in a writable vma, whereas the file case's

Re: INITIO scsi driver fails to work properly

2007-12-20 Thread James Bottomley
On Thu, 2007-12-20 at 01:32 -0800, Natalie Protasevich wrote: On Dec 19, 2007 9:05 AM, Matthew Wilcox [EMAIL PROTECTED] wrote: On Wed, Dec 19, 2007 at 10:50:40AM -0600, James Bottomley wrote: So, to get the best of both worlds, file a bugzilla and note the bugid. Then email a complete

[patch 01/47] Cleanup in Documentation/kernel-parameters.txt.

2007-12-20 Thread Martin Schwidefsky
From: Sebastian Ott [EMAIL PROTECTED] Signed-off-by: Sebastian Ott [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- Documentation/kernel-parameters.txt |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Index: quilt-2.6/Documentation/kernel-parameters.txt

[patch 00/47] s390 2.6.25 patch queue.

2007-12-20 Thread Martin Schwidefsky
This is my set of patches in the queue for the next upstream merge window. Most of them are bug fixes and small changes. The last three patches are big and introduce an interesting new feature: hyper PAV. Similar to the existing PAV support in the dasd driver the new hyper PAV support allows to

[patch 03/47] cio: Use helpers instead of container_of().

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] - Introduce to_cssdriver. - Use to_xxx instead of container_of where possible. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/ccwgroup.c |4 ++-- drivers/s390/cio/css.c |

[patch 02/47] cio: Dump ccw device information in case of timeout.

2007-12-20 Thread Martin Schwidefsky
From: Sebastian Ott [EMAIL PROTECTED] Information about a ccw device will be dumped in case of a ccw timeout. This can be enabled with the kernel parameter ccw_timeout_log. Signed-off-by: Sebastian Ott [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] ---

[patch 04/47] cio: css_driver: Use consistent parameters.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Make all callbacks in css_driver take a struct subchannel (and not a struct device). Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/chsc.c | 16

[patch 06/47] cio: Add css_driver_{register,unregister}.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Add wrapper functions for driver_register and driver_unregister so that css drivers don't need to muck with struct device_driver directly. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] ---

[patch 07/47] cio: Cleanup debug feature usage.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Cleanup cio_debug.h. Also make CIO_DEBUG add the cio: prefix to the printk string so that it isn't needed for the debug feature. Fix outdated comments for cio_debug_init() and clean it up. Enlarge cio_crw to the same size as cio_msg so we may actually find

[patch 05/47] cio: Reset sch-driver.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] sch-driver needs to be reset to NULL on failed probe and after remove. We also need to check for sch-driver on shutdown. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/css.c | 22

[patch 12/47] cio: Set driver-owner on css, ccw and ccwgroup busses.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Set the owner field in the embedded struct device_driver to the value provided in the {css,ccw,ccwgroup}_driver. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/ccwgroup.c |1 +

[patch 11/47] cio: Use dev_{g,s}et_drvdata().

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Also define helpers sch_{g,s}et_cdev() to make the intention more clear. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/ccwgroup.c | 14 +++--- drivers/s390/cio/device.c

[patch 13/47] cio: reduce cpu utilization during device scan

2007-12-20 Thread Martin Schwidefsky
From: Peter Oberparleiter [EMAIL PROTECTED] Minimize calls to cpu intensive function get_subchannel_by_schid() by introducing function for_each_subchannel_staged() which temporarily caches the information about registered subchannels in a bitmap. Signed-off-by: Peter Oberparleiter [EMAIL

[patch 10/47] cio: I/O subchannel specific fields.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Some fields may be !0 only for I/O subchannels. Add some checks where required. Also adapt cio_enable_subchannel() to make the caller specify the intparm, which makes it more generic. Signed-off-by: Cornelia Huck [EMAIL PROTECTED] Signed-off-by: Martin

[patch 25/47] Remove owner_pc member from raw_spinlock_t.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Used to contain the address of the holder of the lock. But since the spinlock code is not inlined anymore all locks contain the same address anyway. And since in addtition nobody complained about that for ages its obviously unused. So remove it.

[patch 24/47] DEBUG_PAGEALLOC support for s390.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/Kconfig.debug |8 arch/s390/defconfig |1 + arch/s390/kernel/traps.c |5 - arch/s390/mm/init.c

[patch 34/47] Load disabled wait psw instead of stopping cpu on halt.

2007-12-20 Thread Martin Schwidefsky
From: Michael Holzheu [EMAIL PROTECTED] Signed-off-by: Michael Holzheu [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/kernel/ipl.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Index: quilt-2.6/arch/s390/kernel/ipl.c

[patch 41/47] include/asm-s390/: Spelling fixes

2007-12-20 Thread Martin Schwidefsky
From: Joe Perches [EMAIL PROTECTED] Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- include/asm-s390/cio.h|4 ++-- include/asm-s390/dasd.h |2 +- include/asm-s390/qdio.h |2 +- include/asm-s390/zcrypt.h |2 +- 4 files

[patch 44/47] single-step cleanup

2007-12-20 Thread Martin Schwidefsky
From: Roland McGrath [EMAIL PROTECTED] Signed-off-by: Roland McGrath [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/kernel/ptrace.c | 15 ++- arch/s390/kernel/signal.c | 20 +--- include/asm-s390/ptrace.h |8 3

[patch 42/47] drivers/s390/: Spelling fixes

2007-12-20 Thread Martin Schwidefsky
From: Joe Perches [EMAIL PROTECTED] Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/block/dasd_3990_erp.c |2 +- drivers/s390/block/dasd_eckd.c |2 +- drivers/s390/char/sclp_rw.c|2 +-

[patch 39/47] Use diag308 subcodes 3 and 6 for reboot and dump when possible.

2007-12-20 Thread Martin Schwidefsky
From: Michael Holzheu [EMAIL PROTECTED] This patch fixes a problem with the following scenario: 1. Linux booted from DASD A 2. Reboot from DASD B using /sys/firmware/reipl/ccw/device 3. Reboot DASD B Without this patch in step 3 on newer s390 systems under LPAR instead of DASD B, DASD A will

[patch 35/47] use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-20 Thread Martin Schwidefsky
From: Denis Cheng [EMAIL PROTECTED] single list_head variable initialized with LIST_HEAD_INIT could almost always can be replaced with LIST_HEAD declaration, this shrinks the code and looks better. Signed-off-by: Denis Cheng [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED]

[patch 43/47] Move NOTES and BUG_TABLE.

2007-12-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] Move the NOTES and BUG_TABLE section in the linker script to the read-only sections right after the text section. Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/kernel/vmlinux.lds.S | 12 +--- 1 file changed, 9

[patch 40/47] arch/s390/: Spelling fixes

2007-12-20 Thread Martin Schwidefsky
From: Joe Perches [EMAIL PROTECTED] Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/crypto/prng.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: quilt-2.6/arch/s390/crypto/prng.c

[patch 26/47] Use new style spinlock initializer in __RWSEM_INITIALIZER.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- include/asm-s390/rwsem.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: quilt-2.6/include/asm-s390/rwsem.h

[patch 36/47] Allocate and free cpu lowcores and stacks when needed/possible.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] No need to preallocate the per cpu lowcores and stacks. Savings are 28-32k per offline cpu. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/kernel/smp.c | 106

[patch 38/47] vmemmap: allocate struct pages before 1:1 mapping

2007-12-20 Thread Martin Schwidefsky
From: Christian Borntraeger [EMAIL PROTECTED] We have seen an oops in an OOM situation, where show_mem tried to access the struct page of a dcss segment. The vmemmap code has already created the 1:1 mapping but failed allocating the struct pages. In the OOM case, show_mem now walks the memory.

[patch 33/47] kernel: Shutdown Actions Interface

2007-12-20 Thread Martin Schwidefsky
From: Michael Holzheu [EMAIL PROTECTED] In case of a kernel panic it is currently possible to specify that a dump should be created, the system should be rebooted or stopped. Virtual sysfs files under the directory /sys/firmware/ are used for that configuration. In addition to that, there are

[patch 37/47] Initialize sclp_ipl_info

2007-12-20 Thread Martin Schwidefsky
From: Michael Holzheu [EMAIL PROTECTED] The sclp ipl information has not been initialized. Therefore the ipl loadparm and the has_dump flag have not been set correctly. Signed-off-by: Michael Holzheu [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] ---

[patch 32/47] drivers/s390: Add missing space

2007-12-20 Thread Martin Schwidefsky
From: Joe Perches [EMAIL PROTECTED] Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/char/monwriter.c |2 +- drivers/s390/char/vmlogrdr.c |2 +- drivers/s390/cio/chsc.c |2 +- drivers/s390/net/claw.c |

[patch 31/47] arch/s390: Add missing space

2007-12-20 Thread Martin Schwidefsky
From: Joe Perches [EMAIL PROTECTED] Signed-off-by: Joe Perches [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/crypto/aes_s390.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: quilt-2.6/arch/s390/crypto/aes_s390.c

[patch 30/47] dasd: fix return value of dasd_generic_probe()

2007-12-20 Thread Martin Schwidefsky
From: Stefan Haberland [EMAIL PROTECTED] Using the return value of ccw_device_set_online as return value for dasd_generic_probe() causes the DASD to fail setting online Signed-off-by: Stefan Haberland [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] ---

[patch 29/47] crypto: move s390 Kconfig options.

2007-12-20 Thread Martin Schwidefsky
From: Jan Glauber [EMAIL PROTECTED] Move s390 crypto Kconfig options to drivers/crypto/Kconfig to have all hardware crypto devices in one place. This also makes messing up the kernel source tree easier for some people. Signed-off-by: Jan Glauber [EMAIL PROTECTED] Signed-off-by: Martin

[patch 27/47] Get rid of additional_cpus kernel parameter.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] It caused only a lot of confusion. From now on cpu hotplug of up to NR_CPUS will work by default. If somebody wants to limit that then the possible_cpus parameter can be used. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky

[patch 17/47] Standby cpu activation/deactivation.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Add a new interface so that cpus can be put into standby state and configured state. Only offline cpus can be put into standby state or configured state. For that the new percpu sysfs attribute configure must be used. To put a cpu in standby state a 0 must

[patch 28/47] Remove appldata include from sysctl_check.c

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Forgot to remove this when removing the appldata binary sysctls. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- kernel/sysctl_check.c |1 - 1 file changed, 1 deletion(-) Index:

[patch 23/47] Get rid of HOLES_IN_ZONE requirement.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Align everything to MAX_ORDER so we can get rid of the extra checks. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/Kconfig|3 --- arch/s390/kernel/setup.c | 25

[patch 22/47] Print kernel version in dump_stack() and show_regs().

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Also print PREEMPT and/or SMP if the kernel was configured that way. Makes s390 look a bit more like other architectures. Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- arch/s390/kernel/process.c |

[patch 20/47] Fix tlb flushing with idte.

2007-12-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] The clear-by-asce operation of the idte instruction gets an asce (address-space-control-element) as argument to specify which TLBs need to get flushed. The current code passes a plain pointer to the start of the pgd without the additional bits which

[patch 19/47] Optimize reference bit handling.

2007-12-20 Thread Martin Schwidefsky
From: Martin Schwidefsky [EMAIL PROTECTED] page_referenced always tests and clears the reference bit in the storage key, even if the page is not mapped. For a page that is only accessed with sys_read this has a negative side effect. A page that is only read once makes two trips over the inactive

[patch 16/47] sclp: sysfs interface for SCLP cpi

2007-12-20 Thread Martin Schwidefsky
From: Michael Ernst [EMAIL PROTECTED] Signed-off-by: Michael Ernst [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/char/Makefile |2 drivers/s390/char/sclp_cpi.c | 246 +--- drivers/s390/char/sclp_cpi_sys.c | 390

[patch 18/47] sclp: convert channel path configure code to use sync interface.

2007-12-20 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Heiko Carstens [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/char/Makefile |2 drivers/s390/char/sclp_chp.c | 200 --- drivers/s390/char/sclp_cmd.c |

[patch 21/47] Change vmalloc defintions

2007-12-20 Thread Martin Schwidefsky
From: Christian Borntraeger [EMAIL PROTECTED] Currently the vmalloc area starts at a dynamic address depending on the memory size. There was also an 8MB security hole after the physical memory to catch out-of-bounds accesses. We can simplify the code by putting the vmalloc area explicitely at the

[patch 15/47] qdio: set QDIO_ACTIVATE_TIMEOUT to 5s

2007-12-20 Thread Martin Schwidefsky
From: Ursula Braun [EMAIL PROTECTED] Current definition of QDIO_ACTIVATE_TIMEOUT results in value 0. Thus it may cause endless wait in function qdio_activate(). Signed-off-by: Ursula Braun [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/qdio.h |2

[patch 14/47] qdio: Remove double checked value.

2007-12-20 Thread Martin Schwidefsky
From: Sebastian Ott [EMAIL PROTECTED] Signed-off-by: Sebastian Ott [EMAIL PROTECTED] Signed-off-by: Martin Schwidefsky [EMAIL PROTECTED] --- drivers/s390/cio/qdio.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: quilt-2.6/drivers/s390/cio/qdio.c

[patch 09/47] cio: Extend adapter interrupt interface.

2007-12-20 Thread Martin Schwidefsky
From: Peter Oberparleiter [EMAIL PROTECTED] From: Cornelia Huck [EMAIL PROTECTED] Change the adapter interrupt interface in order to allow multiple adapter interrupt handlers to be registered. Indicators are now allocated by cio instead of the device driver. The qdio parts have been Acked-by:

[patch 08/47] cio: Introduce subchannel-private.

2007-12-20 Thread Martin Schwidefsky
From: Cornelia Huck [EMAIL PROTECTED] Introduce a private pointer in struct subchannel to store per-subchannel type data (cannot use dev-priv since this is already used for something else). Create a new header io_sch.h for I/O subchannel specific structures and instructions. Signed-off-by:

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Peter Zijlstra
On Thu, 2007-12-20 at 16:18 +0100, Peter Zijlstra wrote: +static int madvise_willneed_anon_pte(pte_t *ptep, + unsigned long start, unsigned long end, void *arg) +{ + struct vm_area_struct *vma = arg; + struct page *page; + + page =

[PATCH] Add HPET RTC emulation to RTC_DRV_CMOS

2007-12-20 Thread Bernhard Walle
That patch adds the RTC emulation of the HPET timer to the new RTC_DRV_CMOS. The old drivers/char/rtc.ko driver had that functionality and it's important on new systems. Signed-off-by: Bernhard Walle [EMAIL PROTECTED] --- arch/x86/Kconfig |2 - drivers/rtc/rtc-cmos.c | 79

Re: [PATCH] Add HPET RTC emulation to RTC_DRV_CMOS

2007-12-20 Thread Bernhard Walle
* Bernhard Walle [EMAIL PROTECTED] [2007-12-20 16:24]: ... This was an accident. The patch belongs to a patch series that I'll post later. Please ignore! Thanks, Bernhard -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: 2.6.24-rc5-mm1 -- inconsistent {in-hardirq-W} - {hardirq-on-W} usage -- pm-hibernate/9940 [HC0[0]:SC0[0]:HE1:SE1]

2007-12-20 Thread Rafael J. Wysocki
On Thursday, 20 of December 2007, Miles Lane wrote: On Dec 19, 2007 8:31 PM, Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Thursday, 20 of December 2007, Miles Lane wrote: On Dec 19, 2007 7:09 PM, Rafael J. Wysocki [EMAIL PROTECTED] wrote: On Thursday, 20 of December 2007, Christoph

Re: almost daily Kernel oops with 2.6.23.9 - and now 2.6.23.11 as well

2007-12-20 Thread Stefan Richter
Hemmann, Volker Armin wrote: [ 5194.131014] Pid: 22490, comm: sleep Tainted: P2.6.23.11reiser4 #4 The subject line is wrong. You apparently run Linux, but not Linux 2.6.23.y. -- Stefan Richter -=-=-=== ==-- =-=-- http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Hugh Dickins
On Thu, 20 Dec 2007, Peter Zijlstra wrote: On Thu, 2007-12-20 at 14:09 +, Hugh Dickins wrote: On Thu, 20 Dec 2007, Peter Zijlstra wrote: I certainly agree with this in principle: it just seems an unnecessary and surprising restriction to refuse on anonymous vmas; I guess the only

Kernel bug: bluetooth meets TTY layer

2007-12-20 Thread Arjan van de Ven
Hi, with the help of kerneloops.org I've spotted a nice little interaction between the TTY layer and the bluetooth code, however the tty layer is not something I'm all too familiar with so I rather ask than brute-force fix the code incorrectly. The raw details are at:

Re: [patch 17/20] non-reclaimable mlocked pages

2007-12-20 Thread Rik van Riel
On Wed, 19 Dec 2007 23:19:00 -0800 (PST) Christoph Lameter [EMAIL PROTECTED] wrote: On Wed, 19 Dec 2007, Nick Piggin wrote: These mlocked pages don't need to be on a non-reclaimable list, because we can find them again via the ptes when they become unlocked, and there is no point

[patch 3/3] Add HPET RTC emulation to RTC_DRV_CMOS

2007-12-20 Thread Bernhard Walle
That patch adds the RTC emulation of the HPET timer to the new RTC_DRV_CMOS. The old drivers/char/rtc.ko driver had that functionality and it's important on new systems. Signed-off-by: Bernhard Walle [EMAIL PROTECTED] --- arch/x86/Kconfig |2 - drivers/rtc/rtc-cmos.c | 79

[patch 2/3] Use the IRQ callback interface in (old) RTC driver

2007-12-20 Thread Bernhard Walle
That function uses the new registration callback mechanism which was added in the previous patch in the old RTC driver. It also removes the direct rtc_interrupt() call from arch/x86/kernel/hpetc.c so that there's finally no (code) dependency to CONFIG_RTC in arch/x86/kernel/hpet.c. Because of

[patch 0/3] Implement CONFIG_HPET_EMULATE_RTC for RTC_DRV_CMOS

2007-12-20 Thread Bernhard Walle
The new rtc-cmos driver misses HPET support. If the hardware has HPET enabled, then interrupts don't work for the rtc-cmos driver which results in RTC_AIE*, RTC_PIE* and RTC_ALM being unusable. This affects hwclock from util-linux-ng at least on i386 since that uses RTC_PIE_ON. (For x86-64, a

[patch 1/3] Make CONFIG_HPET_EMULATE_RTC usable from modules

2007-12-20 Thread Bernhard Walle
This patch makes the RTC emulation functions in arch/x86/kernel/hpet.c usable for kernel modules. It - exports the functions (EXPORT_SYMBOL_GPL()), - adds an interface to register the interrupt callback function instead of using only a fixed callback function and - replaces the

Re: [PATCH] [RFC] Xilinx SystemACE: Add media hotplug support

2007-12-20 Thread Grant Likely
On 12/20/07, Andy Whitcroft [EMAIL PROTECTED] wrote: On Wed, Dec 19, 2007 at 11:23:48PM -0700, Grant Likely wrote: + /* Make the sysace device 'live' */ + if (ace-fsm_state != ACE_FSM_STATE_INVALIDATE_MEDIA); + add_disk(ace-gd); checkpatch.pl

Re: After many hours all outbound connections get stuck in SYN_SENT

2007-12-20 Thread Glen Turner
[speculation by network engineer -- not kernel hacker -- follows] The router could be sooo crappy that it drops all packets from TCP streams that have SACK enabled and the client has opened 200+ SACK connections previously... something like that? As far as any third party is concerned the

[PATCH] UPDATED: hfs: handle more on-disk corruptions without oopsing

2007-12-20 Thread Eric Sandeen
Andrew, I double-issued warnings in some cases. Mind replacing with this one? Thanks, -Eric hfs seems prone to bad things when it encounters on disk corruption. Many values are read from disk, and used as lengths to memcpy, as an example. This patch fixes up several of these problematic cases.

Re: [PATCH 4/5] Convert PowerPC MPC i2c to of_platform_driver from platform_driver

2007-12-20 Thread Jon Smirl
On 12/20/07, David Gibson [EMAIL PROTECTED] wrote: On Wed, Dec 19, 2007 at 11:41:44PM -0500, Jon Smirl wrote: Convert MPC i2c driver from being a platform_driver to an open firmware version. Error returns were improved. Routine names were changed from fsl_ to mpc_ to make them match the

Re: [PATCH 0/2] memcgroup: work better with tmpfs

2007-12-20 Thread Hugh Dickins
On Wed, 19 Dec 2007, KAMEZAWA Hiroyuki wrote: On Tue, 18 Dec 2007 22:19:22 + (GMT) Hugh Dickins [EMAIL PROTECTED] wrote: 1. Why is spin_lock_irqsave rather than spin_lock needed on mz-lru_lock? If it is needed, doesn't mem_cgroup_isolate_pages need to use it too? When I wrote a patch

Re: [PATCH 1/5] power: RFC: introduce a new power API

2007-12-20 Thread Andres Salomon
On Thu, 20 Dec 2007 18:07:16 +0300 Anton Vorontsov [EMAIL PROTECTED] wrote: Hi Andres, [...] Then, what the power supply subsystem is for? Just place all the drivers together in driver/power/, and let them create sysfs attributes by their own. You'll get a medley, not the subsystem.

Re: [Bug 9182] Critical memory leak (dirty pages)

2007-12-20 Thread Jan Kara
On 2007.12.19 09:44:50 -0800, Linus Torvalds wrote: On Sun, 16 Dec 2007, Krzysztof Oledzki wrote: I'll confirm this tomorrow but it seems that even switching to data=ordered (AFAIK default o ext3) is indeed enough to cure this problem. Ok, do we actually have

Re: After many hours all outbound connections get stuck in SYN_SENT

2007-12-20 Thread James Nichols
I still dont understand. tcpdump -p -n -s 1600 -c 1 doesnt reveal User data at all. Without any exact data from you, I am afraid nobody can help. Oh, I didn't see that you specified specific options. I'll still have to anonymize 2000+ IP addresses, but I think there is an open source

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread linux-os (Dick Johnson)
On Thu, 20 Dec 2007, Lennart Sorensen wrote: On Wed, Dec 19, 2007 at 03:56:45PM -0500, linux-os (Dick Johnson) wrote: On Wed, 19 Dec 2007, Lennart Sorensen wrote: On Wed, Dec 19, 2007 at 03:10:28PM -0500, linux-os (Dick Johnson) wrote: Here is a so-called BUG when trying to insert the

Re: [PATCH] x86: Voluntary leave_mm before entering ACPI C3

2007-12-20 Thread H. Peter Anvin
Arjan van de Ven wrote: On Wed, 19 Dec 2007 11:48:14 -0800 H. Peter Anvin [EMAIL PROTECTED] wrote: I think C3 guarantees that the cache contents stay intact, and thus it might make sense in some technology to preserve the TLB as well (being a kind of cache.) that sounds nice. It's fiction

[RFC] Merge mkimage tool

2007-12-20 Thread Josh Boyer
The following patches merge the mkimage tool into the kernel. This utility is used by several arches to create a uImage file suitable for booting with U-Boot. As it stands today, a mkuboot.sh script is called, which searches for the mkimage utility installed on the host system. This is slightly

[RFC] [PATCH 1/3] Merge mkimage tool for building uImages

2007-12-20 Thread Josh Boyer
Several platforms require the mkimage tool to generate a uImage file that is used with U-Boot. This brings the mkimage tool in-kernel to enable building those platforms without having mkimage internally provided. This is currently based off of the version found in U-Boot 1.3.1. Signed-off-by:

[RFC] [PATCH 2/3] Rework arch specific Makefiles to use mkimage

2007-12-20 Thread Josh Boyer
Rework the architecture specific Makefiles to use the in-kernel version of the mkimage tool. Signed-off-by: Josh Boyer [EMAIL PROTECTED] --- arch/arm/boot/Makefile |4 ++-- arch/avr32/boot/images/Makefile |4 ++-- arch/blackfin/boot/Makefile |4 ++--

Re: [PATCH] Move page_assign_page_cgroup to VM_BUG_ON in free_hot_cold_page

2007-12-20 Thread Balbir Singh
Peter Zijlstra wrote: On Thu, 2007-12-20 at 14:16 +, Hugh Dickins wrote: On Thu, 20 Dec 2007, Peter Zijlstra wrote: On Thu, 2007-12-20 at 13:14 +, Hugh Dickins wrote: On Wed, 19 Dec 2007, Dave Hansen wrote: - page_assign_page_cgroup(page, NULL); +

[RFC] [PATCH 3/3] Remove mkuboot.sh script

2007-12-20 Thread Josh Boyer
Now that the mkimage tool is merged into the kernel, we can remove the unused mkuboot.sh script. Signed-off-by: Josh Boyer [EMAIL PROTECTED] --- scripts/mkuboot.sh | 19 --- 1 file changed, 19 deletions(-) --- linux-2.6.orig/scripts/mkuboot.sh +++ /dev/null @@ -1,19 +0,0 @@

Re: [Bug 9182] Critical memory leak (dirty pages)

2007-12-20 Thread Linus Torvalds
On Thu, 20 Dec 2007, Bj?rn Steinbrink wrote: OK, so I looked for PG_dirty anyway. In 46d2277c796f9f4937bfa668c40b2e3f43e93dd0 you made try_to_free_buffers bail out if the page is dirty. Then in 3e67c0987d7567ad41164a153dca9a43b11d, Andrew fixed truncate_complete_page, because it

Re: Trying to convert old modules to newer kernels

2007-12-20 Thread Lennart Sorensen
On Thu, Dec 20, 2007 at 11:13:19AM -0500, linux-os (Dick Johnson) wrote: It never gets to the printk(). You were right about the compilation. Somebody changed the kernel to compile with parameter passing in REGISTERS! This means that EVERYTHING needs to be compiled the same way, 'C' calling

Re: not needed patch

2007-12-20 Thread Mike Travis
Ingo Molnar wrote: * Yinghai Lu [EMAIL PROTECTED] wrote: Ingo. commit fbdcf18df73758b2e187ab94678b30cd5f6ff9f9 is not needed. another patch (by you !! commit 699d934d5f958d7944d195c03c334f28cc0b3669 x86: fixup cpu_info array conversion) already removed clearing of c-cpu_index. in

Please pull 'fixes-jgarzik' branch of wireless-2.6

2007-12-20 Thread John W. Linville
Jeff, Here are a few more for 2.6.24...please let me know if there are any problems! Thanks, John P.S. The rtl8187 USB ID is already in your upstream branch -- I'm sure it would seem like a fix if it was the ID for your wireless stick. :-) --- Individual patches are available here:

Re: Trailing periods in kernel messages

2007-12-20 Thread Andy Whitcroft
On Thu, Nov 29, 2007 at 06:35:28PM -0800, Joe Perches wrote: On Fri, 2007-11-30 at 09:54 +0800, Li Zefan wrote: So it doesn't deserve the effort to eliminate these periods, isn't it? I hope these will eventually disappear. Or we can add a check to checkpatch.pl to prevent new ones.

Re: not needed patch

2007-12-20 Thread Ingo Molnar
* Mike Travis [EMAIL PROTECTED] wrote: by revert commit fbdcf18df73758b2e187ab94678b30cd5f6ff9f9, we could use c-cpu_index in identify_cpu. but that's 2.6.25 stuff, right? Travis? Looking at this more closely, yes my change is not needed and should be removed. I'm not sure

Re: [PATCH] Move page_assign_page_cgroup to VM_BUG_ON in free_hot_cold_page

2007-12-20 Thread Dave Hansen
On Thu, 2007-12-20 at 21:54 +0530, Balbir Singh wrote: I was going to say the same thing, page_get_page_cgroup() does not hold any references. May be _get_ in the name is confusing. OK, you three had the entire conversation outing me before I even fot to respond! :) Yeah, I thought it was a

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Lennart Poettering
On Thu, 20.12.07 14:09, Hugh Dickins ([EMAIL PROTECTED]) wrote: Lennart asked for madvise(WILLNEED) to work on anonymous pages, he plans to use this to pre-fault pages. He currently uses: mlock/munlock for this purpose. I certainly agree with this in principle: it just seems an

Re: After many hours all outbound connections get stuck in SYN_SENT

2007-12-20 Thread James Nichols
But I'd be very surprised if the router is acting as anything more that a network-layer device. It might perhaps have some soft connection state being used for generating accounting records. Being Cisco it's probably a switch-router, so it might carry some per-port hard state for validating

Re: [PATCH 0/2] memcgroup: work better with tmpfs

2007-12-20 Thread Hugh Dickins
On Wed, 19 Dec 2007, Balbir Singh wrote: Hugh Dickins wrote: We always call mem_cgroup_isolate_pages() from shrink_(in)active_pages under spin_lock_irq of the zone's lru lock. That's the reason that we don't explicitly use it in the routine. Indeed, thanks. 2. There's mem_cgroup_charge

Re: [rfc][patch] mm: madvise(WILLNEED) for anonymous memory

2007-12-20 Thread Peter Zijlstra
On Thu, 2007-12-20 at 15:26 +, Hugh Dickins wrote: The asynch code: perhaps not worth doing for MADV_WILLNEED alone, but might prove useful for more general use when swapping in. Not really the same as Con's swap prefetch, but worth looking at that for reference. But I guess this

Re: not needed patch

2007-12-20 Thread Mike Travis
Ingo Molnar wrote: * Mike Travis [EMAIL PROTECTED] wrote: by revert commit fbdcf18df73758b2e187ab94678b30cd5f6ff9f9, we could use c-cpu_index in identify_cpu. but that's 2.6.25 stuff, right? Travis? Looking at this more closely, yes my change is not needed and should be removed. I'm

Re: 2.6.24-rc5-mm1

2007-12-20 Thread Jason Wessel
Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc5/2.6.24-rc5-mm1/ - If something goes wrong with a PCI device's probing or initialisation, try reverting pci-disable-decoding-during-sizing-of-bars.patch. - git-sched was dropped due to breaking

Re: [patch/rfc 3/7] ps3: Use the HVs storage device notification mechanism properly

2007-12-20 Thread Geert Uytterhoeven
On Wed, 28 Nov 2007, Geert Uytterhoeven wrote: From: Geert Uytterhoeven [EMAIL PROTECTED] ps3: Use the HV's storage device notification mechanism properly The hypervisor has a storage device notification mechanism to wait until a storage device is ready. Unfortunately the storage device

<    5   6   7   8   9   10   11   12   13   14   >