Hello community, here is the log from the commit of package kernel-source checked in at Sun Apr 2 11:49:56 CEST 2006. -------- --- kernel-source/kernel-bigsmp.changes 2006-03-31 12:03:08.000000000 +0200 +++ kernel-source/kernel-bigsmp.changes 2006-04-02 11:17:53.000000000 +0200 @@ -1,0 +2,44 @@ +Sat Apr 1 19:36:50 CEST 2006 - olh@suse.de + +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one + +------------------------------------------------------------------- +Sat Apr 1 13:31:32 CEST 2006 - ak@suse.de + +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE + +------------------------------------------------------------------- +Sat Apr 1 10:11:06 CEST 2006 - olh@suse.de + +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) + +------------------------------------------------------------------- +Sat Apr 1 10:00:04 CEST 2006 - olh@suse.de + +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again + +------------------------------------------------------------------- +Fri Mar 31 17:03:39 CEST 2006 - schwab@suse.de + +- Increase max number of nodes to 1024 [#160976]. + +------------------------------------------------------------------- kernel-debug.changes: same change kernel-default.changes: same change kernel-dummy.changes: same change kernel-iseries64.changes: same change kernel-kdump.changes: same change kernel-ppc64.changes: same change kernel-s390.changes: same change kernel-smp.changes: same change kernel-source.changes: same change kernel-syms.changes: same change kernel-um.changes: same change kernel-xen.changes: same change kernel-xenpae.changes: same change New: ---- needed_space_in_mb ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kernel-bigsmp.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -21,7 +21,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 8 +Release: 9 Summary: Kernel with Multiprocessor Support and PAE License: GPL Group: System/Kernel @@ -115,7 +115,7 @@ -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -441,6 +441,35 @@ %files -f kernel.files %changelog -n kernel-bigsmp +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) kernel-debug.spec: same change kernel-default.spec: same change ++++++ kernel-dummy.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -17,7 +17,7 @@ Summary: Internal dummy package for synchronizing release numbers Group: System/Kernel Version: 2.6.16 -Release: 8 +Release: 9 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -27,7 +27,7 @@ -------- Andreas Gruenbacher <agruen@suse.de> -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %install @@ -40,6 +40,35 @@ /etc/dummy %changelog -n kernel-dummy +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-iseries64.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -21,7 +21,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 7 +Release: 8 Summary: 64-Bit Kernel for iSeries License: GPL Group: System/Kernel @@ -116,7 +116,7 @@ -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -442,6 +442,35 @@ %files -f kernel.files %changelog -n kernel-iseries64 +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-kdump.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -21,7 +21,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 8 +Release: 9 Summary: kernel for kdump License: GPL Group: System/Kernel @@ -125,7 +125,7 @@ -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -451,6 +451,35 @@ %files -f kernel.files %changelog -n kernel-kdump +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-ppc64.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -20,7 +20,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 7 +Release: 8 Summary: Kernel for ppc64 Systems License: GPL, LGPL Group: System/Kernel @@ -130,7 +130,7 @@ Tom Gall <tom_gall@vnet.ibm.com> see /usr/src/linux-pmac-benh/CREDITS for more details. -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -456,6 +456,35 @@ %files -f kernel.files %changelog -n kernel-ppc64 +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-s390.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -21,7 +21,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 7 +Release: 8 Summary: The Standard Kernel License: GPL Group: System/Kernel @@ -113,7 +113,7 @@ -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -439,6 +439,35 @@ %files -f kernel.files %changelog -n kernel-s390 +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-smp.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:15.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:15.000000000 +0200 @@ -21,7 +21,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 8 +Release: 9 Summary: Kernel with Multiprocessor Support License: GPL Group: System/Kernel @@ -124,7 +124,7 @@ -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -450,6 +450,35 @@ %files -f kernel.files %changelog -n kernel-smp +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-source.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:16.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:16.000000000 +0200 @@ -25,7 +25,7 @@ %endif PreReq: /sbin/insserv /usr/bin/grep /bin/sed /bin/uname /bin/mkdir /bin/cat /bin/ln /bin/rm /etc/rc.status Version: 2.6.16 -Release: 8 +Release: 9 Source0: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 Source1: functions.sh Source2: source-post.sh @@ -93,7 +93,7 @@ see /usr/src/linux/CREDITS for more details. -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -273,6 +273,35 @@ %files -f kernel-source.files %changelog -n kernel-source +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-syms.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:16.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:16.000000000 +0200 @@ -49,7 +49,7 @@ Summary: Kernel Symbol Versions (modversions) Group: Development/Sources Version: 2.6.16 -Release: 8 +Release: 9 Requires: linux Requires: kernel-source = 2.6.16-%release Source11: arch-symbols @@ -84,7 +84,7 @@ see /usr/src/linux/CREDITS for more details. -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %install @@ -127,6 +127,35 @@ /boot/symsets-*-*.tar.gz %changelog -n kernel-syms +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) ++++++ kernel-um.spec ++++++ --- /var/tmp/diff_new_pack.V1WZmA/_old 2006-04-02 11:46:16.000000000 +0200 +++ /var/tmp/diff_new_pack.V1WZmA/_new 2006-04-02 11:46:16.000000000 +0200 @@ -21,7 +21,7 @@ BuildRequires: python %endif Version: 2.6.16 -Release: 8 +Release: 9 Summary: The User Mode Linux kernel. License: GPL Group: System/Kernel @@ -116,7 +116,7 @@ -Source Timestamp: 2006-03-31 09:19:02 +0000 +Source Timestamp: 2006-04-01 22:00:07 +0000 %prep if ! [ -e %_sourcedir/linux-2.6.16.tar.bz2 ]; then @@ -442,6 +442,35 @@ %files -f kernel.files %changelog -n kernel-um +* Sat Apr 01 2006 - olh@suse.de +- update to 2.6.16.1 + dm: bio split bvec fix + TCP: Do not use inet->id of global tcp_socket when sending RST (CVE-2006-1242) + Fix speedstep-smi assembly bug in speedstep_smi_ownership + DMI: fix DMI onboard device discovery + fix scheduler deadlock + i810fb_cursor(): use GFP_ATOMIC + NET: Ensure device name passed to SO_BINDTODEVICE is NULL terminated. + V4L/DVB (3324): Fix Samsung tuner frequency ranges + sata_mv: fix irq port status usage + rtc.h broke strace(1) builds + v9fs: assign dentry ops to negative dentries + 2.6.xx: sata_mv: another critical fix + Kconfig: VIDEO_DECODER must select FW_LOADER + XFS writeout fix + proc: fix duplicate line in /proc/devices + cciss: fix use-after-free in cciss_init_one +* Sat Apr 01 2006 - ak@suse.de +- patches.arch/x86_64-mce-nmi-watchdog: Fix compilation + without CONFIG_X86_MCE +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-pseries-rtas-mtcr-bug.patch + Workaround for pSeries RTAS bug (162384 - LTC21927) +* Sat Apr 01 2006 - olh@suse.de +- add patches.arch/ppc-floppy-isa-dma.patch + make ISA floppies work again +* Fri Mar 31 2006 - schwab@suse.de +- Increase max number of nodes to 1024 [#160976]. * Fri Mar 31 2006 - olh@suse.de - add patches.arch/ppc-pseries-lparcfg-1.7.patch pass correct databuf size to ibm,get-system-parameter (162380 - LTC22746) kernel-xen.spec: same change kernel-xenpae.spec: same change ++++++ build-source-timestamp ++++++ --- kernel-source/build-source-timestamp 2006-03-31 12:03:04.000000000 +0200 +++ kernel-source/build-source-timestamp 2006-04-02 11:17:53.000000000 +0200 @@ -1 +1 @@ -2006-03-31 09:19:02 +0000 +2006-04-01 22:00:07 +0000 ++++++ config.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/config/ia64/debug new/config/ia64/debug --- old/config/ia64/debug 2006-03-28 16:05:43.000000000 +0200 +++ new/config/ia64/debug 2006-04-01 14:04:22.000000000 +0200 @@ -122,6 +122,7 @@ CONFIG_FORCE_MAX_ZONEORDER=17 CONFIG_SMP=y CONFIG_NR_CPUS=1024 +CONFIG_IA64_NR_NODES=1024 CONFIG_HOTPLUG_CPU=y CONFIG_SCHED_SMT=y # CONFIG_PREEMPT is not set diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/config/ia64/default new/config/ia64/default --- old/config/ia64/default 2006-03-28 16:05:43.000000000 +0200 +++ new/config/ia64/default 2006-04-01 14:04:22.000000000 +0200 @@ -122,6 +122,7 @@ CONFIG_FORCE_MAX_ZONEORDER=17 CONFIG_SMP=y CONFIG_NR_CPUS=1024 +CONFIG_IA64_NR_NODES=1024 CONFIG_HOTPLUG_CPU=y CONFIG_SCHED_SMT=y # CONFIG_PREEMPT is not set ++++++ kabi.tar.bz2 ++++++ ++++++ minmem ++++++ --- kernel-source/minmem 2006-03-31 15:44:28.000000000 +0200 +++ kernel-source/minmem 2006-04-02 11:18:00.000000000 +0200 @@ -1 +1 @@ -514000 +1048576 ++++++ novell-kmp.tar.bz2 ++++++ ++++++ patches.arch.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/i386-kexec-apic-ack new/patches.arch/i386-kexec-apic-ack --- old/patches.arch/i386-kexec-apic-ack 2006-03-30 16:49:55.000000000 +0200 +++ new/patches.arch/i386-kexec-apic-ack 2006-03-31 14:37:54.000000000 +0200 @@ -1,6 +1,7 @@ From: Vivek Goyal <vgoyal@in.ibm.com> Subject: [PATCH] i386 kdump timer vector lockup fix Acked-by: ak@suse.de +Patch-mainline: 2.6.17 Porting the patch I posted for x86_64 to i386. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/ppc-floppy-isa-dma.patch new/patches.arch/ppc-floppy-isa-dma.patch --- old/patches.arch/ppc-floppy-isa-dma.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.arch/ppc-floppy-isa-dma.patch 2006-04-01 10:00:47.000000000 +0200 @@ -0,0 +1,56 @@ +From: Stephen Rothwell <sfr@canb.auug.org.au> Tue, 28 Mar 2006 14:40:58 +1100 +Subject: [PATCH] powerpc: make ISA floppies work again +X-Git-Commit: b239cbe957ae730caa8af2f169a4d35b8c1bb299 + + +We used to assume that a DMA mapping request with a NULL dev was for +ISA DMA. This assumption was broken at some point. Now we explicitly +pass the detected ISA PCI device in the floppy setup. + +Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> +Signed-off-by: Paul Mackerras <paulus@samba.org> +Signed-off-by: Olaf Hering <olh@suse.de> + + arch/powerpc/kernel/pci_64.c | 1 + + include/asm-powerpc/floppy.h | 5 +++-- + 2 files changed, 4 insertions(+), 2 deletions(-) + +Index: linux-2.6.16/arch/powerpc/kernel/pci_64.c +=================================================================== +--- linux-2.6.16.orig/arch/powerpc/kernel/pci_64.c ++++ linux-2.6.16/arch/powerpc/kernel/pci_64.c +@@ -78,6 +78,7 @@ int global_phb_number; /* Global phb co + + /* Cached ISA bridge dev. */ + struct pci_dev *ppc64_isabridge_dev = NULL; ++EXPORT_SYMBOL_GPL(ppc64_isabridge_dev); + + static void fixup_broken_pcnet32(struct pci_dev* dev) + { +Index: linux-2.6.16/include/asm-powerpc/floppy.h +=================================================================== +--- linux-2.6.16.orig/include/asm-powerpc/floppy.h ++++ linux-2.6.16/include/asm-powerpc/floppy.h +@@ -35,6 +35,7 @@ + #ifdef CONFIG_PCI + + #include <linux/pci.h> ++#include <asm/ppc-pci.h> /* for ppc64_isabridge_dev */ + + #define fd_dma_setup(addr,size,mode,io) powerpc_fd_dma_setup(addr,size,mode,io) + +@@ -52,12 +53,12 @@ static __inline__ int powerpc_fd_dma_set + if (bus_addr + && (addr != prev_addr || size != prev_size || dir != prev_dir)) { + /* different from last time -- unmap prev */ +- pci_unmap_single(NULL, bus_addr, prev_size, prev_dir); ++ pci_unmap_single(ppc64_isabridge_dev, bus_addr, prev_size, prev_dir); + bus_addr = 0; + } + + if (!bus_addr) /* need to map it */ +- bus_addr = pci_map_single(NULL, addr, size, dir); ++ bus_addr = pci_map_single(ppc64_isabridge_dev, addr, size, dir); + + /* remember this one as prev */ + prev_addr = addr; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/ppc-pseries-rtas-mtcr-bug.patch new/patches.arch/ppc-pseries-rtas-mtcr-bug.patch --- old/patches.arch/ppc-pseries-rtas-mtcr-bug.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.arch/ppc-pseries-rtas-mtcr-bug.patch 2006-04-01 10:11:40.000000000 +0200 @@ -0,0 +1,45 @@ +From: Mike Kravetz <kravetz@us.ibm.com> +Subject: [PATCH] powerpc: Workaround for pSeries RTAS bug +X-Git-Commit: 9fe901d124871f5781b9c4ccbb7ff93fdff9d39e + +Bug 162384 - LTC21927-Unable to DLPAR add memory on sles10 beta4 + +A bug in the RTAS services incorrectly interprets some bits in the CR +when called from the OS. Specifically, bits in CR4. The result could +be a firmware crash that also takes down the partition. A firmware +fix is in the works. We have seen this situation when performing DLPAR +operations. As a temporary workaround, clear the CR in enter_rtas(). +Note that enter_rtas() will not set any bits in CR4 before calling RTAS. + +Also note that the 32 bit version of enter_rtas() should have the same +work around even though the chances of hitting the bug are much smaller +due to the lack of DLPAR on 32 bit kernels. However, my assembly skills +are a bit rusty and the 32 bit code doesn't seem to follow the conventions +for where things should be saved. In addition, I don't have a system +to test 32 bit kernels. Help creating and at least touch testing the +same workaround for 32 bit would be appreciated. + +Signed-off-by: Mike Kravetz <kravetz@us.ibm.com> +Signed-off-by: Paul Mackerras <paulus@samba.org> +Signed-off-by: Olaf Hering <olh@suse.de> + + arch/powerpc/kernel/entry_64.S | 6 ++++++ + 1 file changed, 6 insertions(+) + +Index: linux-2.6.16/arch/powerpc/kernel/entry_64.S +=================================================================== +--- linux-2.6.16.orig/arch/powerpc/kernel/entry_64.S ++++ linux-2.6.16/arch/powerpc/kernel/entry_64.S +@@ -619,6 +619,12 @@ _GLOBAL(enter_rtas) + mfsrr1 r10 + std r10,_SRR1(r1) + ++ /* Temporary workaround to clear CR until RTAS can be modified to ++ * ignore all bits. ++ */ ++ li r0,0 ++ mtcr r0 ++ + /* There is no way it is acceptable to get here with interrupts enabled, + * check it with the asm equivalent of WARN_ON + */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/x86_64-gart-relax new/patches.arch/x86_64-gart-relax --- old/patches.arch/x86_64-gart-relax 2006-02-10 14:35:10.000000000 +0100 +++ new/patches.arch/x86_64-gart-relax 2006-04-01 14:04:23.000000000 +0200 @@ -1,5 +1,6 @@ Subject: Use cpu_relax in poll loop in GART IOMMU From: ak@suse.de +Patch-mainline: 2.6.17 The code waits for the GART to clear the TLB flush bit. Use cpu_relax in this time to allow hypervisors to yield the CPU in this time. diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/x86_64-mce-nmi-watchdog new/patches.arch/x86_64-mce-nmi-watchdog --- old/patches.arch/x86_64-mce-nmi-watchdog 2006-03-30 16:49:55.000000000 +0200 +++ new/patches.arch/x86_64-mce-nmi-watchdog 2006-04-01 13:32:00.000000000 +0200 @@ -18,7 +18,7 @@ #define MISC_MCELOG_MINOR 227 #define NR_BANKS 6 -+atomic_t mce_entry; ++atomic_t mce_entry; + static int mce_dont_init; @@ -27,7 +27,7 @@ int i; int panicm_found = 0; -+ atomic_inc(&mce_entry); ++ atomic_inc(&mce_entry); + if (regs) notify_die(DIE_NMI, "machine check", regs, error_code, 18, SIGKILL); @@ -58,14 +58,16 @@ /* * lapic_nmi_owner tracks the ownership of the lapic NMI hardware: -@@ -480,6 +481,10 @@ void __kprobes nmi_watchdog_tick(struct +@@ -480,6 +481,12 @@ void __kprobes nmi_watchdog_tick(struct __get_cpu_var(nmi_touch) = 0; touched = 1; } ++#ifdef CONFIG_X86_MCE + /* Could check oops_in_progress here too, but it's safer + not too */ -+ if (atomic_read(&mce_entry) > 0) ++ if (atomic_read(&mce_entry) > 0) + touched = 1; ++#endif if (!touched && __get_cpu_var(last_irq_sum) == sum) { /* * Ayiee, looks like this CPU is stuck ... diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/x86_64-memmap-alloc new/patches.arch/x86_64-memmap-alloc --- old/patches.arch/x86_64-memmap-alloc 2006-03-09 08:39:46.000000000 +0100 +++ new/patches.arch/x86_64-memmap-alloc 2006-04-01 14:04:23.000000000 +0200 @@ -1,6 +1,7 @@ Subject: Try to allocate node memmap near the end of node From: ak@suse.de References: 154694 +Patch-mainline: 2.6.17 This fixes problems with very large nodes (over 128GB) filling up all of the first 4GB with their mem_map and not leaving enough diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.arch/x86_64-nmi-watchdog-timeout new/patches.arch/x86_64-nmi-watchdog-timeout --- old/patches.arch/x86_64-nmi-watchdog-timeout 2006-01-09 20:12:25.000000000 +0100 +++ new/patches.arch/x86_64-nmi-watchdog-timeout 2006-04-01 14:04:23.000000000 +0200 @@ -1,6 +1,7 @@ From: ak@suse.de Patch-mainline: never Subject: Increase NMI watchdog timeout to 30s +Patch-mainline: never Be a bit more tolerant to broken drivers. Defensive programming for enterprises. ++++++ patches.drivers.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.drivers/driver-0001-sysfs-sysfs_remove_dir-needs-to-invalidate-the-dentry.patch new/patches.drivers/driver-0001-sysfs-sysfs_remove_dir-needs-to-invalidate-the-dentry.patch --- old/patches.drivers/driver-0001-sysfs-sysfs_remove_dir-needs-to-invalidate-the-dentry.patch 2006-03-23 19:33:14.000000000 +0100 +++ new/patches.drivers/driver-0001-sysfs-sysfs_remove_dir-needs-to-invalidate-the-dentry.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,62 +0,0 @@ -From nobody Mon Sep 17 00:00:00 2001 -From: Greg Kroah-Hartman <gregkh@suse.de> -Date: Thu Mar 16 15:44:26 2006 -0800 -Subject: [PATCH 01/23] sysfs: sysfs_remove_dir() needs to invalidate the dentry (#144041) -Patch-Mainline: 2.6.16.1 - -When calling sysfs_remove_dir() don't allow any further sysfs functions -to work for this kobject anymore. This fixes a nasty USB cdc-acm oops -on disconnect. - -Many thanks to Bob Copeland and Paul Fulghum for taking the time to -track this down. - -Cc: Bob Copeland <email@bobcopeland.com> -Cc: Paul Fulghum <paulkf@microgate.com> -Cc: Maneesh Soni <maneesh@in.ibm.com> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> - ---- - - fs/sysfs/dir.c | 1 + - fs/sysfs/inode.c | 6 +++++- - 2 files changed, 6 insertions(+), 1 deletions(-) - -641e6f30a095f3752ed84fd9d279382f5d3ef4c1 -diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c -index 49bd219..cfd290d 100644 ---- a/fs/sysfs/dir.c -+++ b/fs/sysfs/dir.c -@@ -302,6 +302,7 @@ void sysfs_remove_dir(struct kobject * k - * Drop reference from dget() on entrance. - */ - dput(dentry); -+ kobj->dentry = NULL; - } - - int sysfs_rename_dir(struct kobject * kobj, const char *new_name) -diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c -index 689f7bc..6beee6f 100644 ---- a/fs/sysfs/inode.c -+++ b/fs/sysfs/inode.c -@@ -227,12 +227,16 @@ void sysfs_drop_dentry(struct sysfs_dire - void sysfs_hash_and_remove(struct dentry * dir, const char * name) - { - struct sysfs_dirent * sd; -- struct sysfs_dirent * parent_sd = dir->d_fsdata; -+ struct sysfs_dirent * parent_sd; -+ -+ if (!dir) -+ return; - - if (dir->d_inode == NULL) - /* no inode means this hasn't been made visible yet */ - return; - -+ parent_sd = dir->d_fsdata; - mutex_lock(&dir->d_inode->i_mutex); - list_for_each_entry(sd, &parent_sd->s_children, s_sibling) { - if (!sd->s_element) --- -1.2.4 - diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.drivers/driver-0014-firmware-fix-BUG-in-fw_realloc_buffer.patch new/patches.drivers/driver-0014-firmware-fix-BUG-in-fw_realloc_buffer.patch --- old/patches.drivers/driver-0014-firmware-fix-BUG-in-fw_realloc_buffer.patch 2006-03-23 19:33:14.000000000 +0100 +++ new/patches.drivers/driver-0014-firmware-fix-BUG-in-fw_realloc_buffer.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,55 +0,0 @@ -From nobody Mon Sep 17 00:00:00 2001 -From: Jeff Moyer <jmoyer@redhat.com> -Date: Mon Feb 13 14:52:38 2006 -0800 -Subject: [PATCH 14/23] firmware: fix BUG: in fw_realloc_buffer -Patch-Mainline: 2.6.16.1 - -The fw_realloc_buffer routine does not handle an increase in buffer size of -more than 4k. It's not clear to me why it expects that it will only get an -extra 4k of data. The attached patch modifies fw_realloc_buffer to vmalloc -as much memory as is requested, instead of what we previously had + 4k. - -I've tested this on my laptop, which would crash occaisionally on boot -without the patch. With the patch, it hasn't crashed, but I can't be -certain that this code path is exercised. - -Signed-off-by: Jeff Moyer <jmoyer@redhat.com> -Signed-off-by: Andrew Morton <akpm@osdl.org> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> - ---- - - drivers/base/firmware_class.c | 6 ++++-- - 1 files changed, 4 insertions(+), 2 deletions(-) - -30560ba6eda308c13a361d08eb5d4eaab94ab37e -diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c -index e97e911..4723182 100644 ---- a/drivers/base/firmware_class.c -+++ b/drivers/base/firmware_class.c -@@ -211,18 +211,20 @@ static int - fw_realloc_buffer(struct firmware_priv *fw_priv, int min_size) - { - u8 *new_data; -+ int new_size = fw_priv->alloc_size; - - if (min_size <= fw_priv->alloc_size) - return 0; - -- new_data = vmalloc(fw_priv->alloc_size + PAGE_SIZE); -+ new_size = ALIGN(min_size, PAGE_SIZE); -+ new_data = vmalloc(new_size); - if (!new_data) { - printk(KERN_ERR "%s: unable to alloc buffer\n", __FUNCTION__); - /* Make sure that we don't keep incomplete data */ - fw_load_abort(fw_priv); - return -ENOMEM; - } -- fw_priv->alloc_size += PAGE_SIZE; -+ fw_priv->alloc_size = new_size; - if (fw_priv->fw->data) { - memcpy(new_data, fw_priv->fw->data, fw_priv->fw->size); - vfree(fw_priv->fw->data); --- -1.2.4 - diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.drivers/driver-0021-get_cpu_sysdev-signedness-fix.patch new/patches.drivers/driver-0021-get_cpu_sysdev-signedness-fix.patch --- old/patches.drivers/driver-0021-get_cpu_sysdev-signedness-fix.patch 2006-03-23 19:33:14.000000000 +0100 +++ new/patches.drivers/driver-0021-get_cpu_sysdev-signedness-fix.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,47 +0,0 @@ -From nobody Mon Sep 17 00:00:00 2001 -From: Andrew Morton <akpm@osdl.org> -Date: Tue Mar 7 23:53:25 2006 -0800 -Subject: [PATCH 21/23] get_cpu_sysdev() signedness fix -Patch-Mainline: 2.6.16.1 - -Doing (int < NR_CPUS) doesn't dtrt if it's negative.. - -Signed-off-by: Andrew Morton <akpm@osdl.org> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> - ---- - - drivers/base/cpu.c | 2 +- - include/linux/cpu.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -a29d642a4aa99c5234314ab2523281139226c231 -diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c -index 07a7f97..29f3d75 100644 ---- a/drivers/base/cpu.c -+++ b/drivers/base/cpu.c -@@ -141,7 +141,7 @@ int __devinit register_cpu(struct cpu *c - return error; - } - --struct sys_device *get_cpu_sysdev(int cpu) -+struct sys_device *get_cpu_sysdev(unsigned cpu) - { - if (cpu < NR_CPUS) - return cpu_sys_devices[cpu]; -diff --git a/include/linux/cpu.h b/include/linux/cpu.h -index 0ed1d48..d612b89 100644 ---- a/include/linux/cpu.h -+++ b/include/linux/cpu.h -@@ -32,7 +32,7 @@ struct cpu { - }; - - extern int register_cpu(struct cpu *, int, struct node *); --extern struct sys_device *get_cpu_sysdev(int cpu); -+extern struct sys_device *get_cpu_sysdev(unsigned cpu); - #ifdef CONFIG_HOTPLUG_CPU - extern void unregister_cpu(struct cpu *, struct node *); - #endif --- -1.2.4 - diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.drivers/driver-0023-sysfs-fix-a-kobject-leak-in-sysfs_add_link-on-the-error-path.patch new/patches.drivers/driver-0023-sysfs-fix-a-kobject-leak-in-sysfs_add_link-on-the-error-path.patch --- old/patches.drivers/driver-0023-sysfs-fix-a-kobject-leak-in-sysfs_add_link-on-the-error-path.patch 2006-03-23 19:33:14.000000000 +0100 +++ new/patches.drivers/driver-0023-sysfs-fix-a-kobject-leak-in-sysfs_add_link-on-the-error-path.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ -From nobody Mon Sep 17 00:00:00 2001 -From: Greg Kroah-Hartman <gregkh@suse.de> -Date: Thu Mar 16 15:44:26 2006 -0800 -Subject: [PATCH 23/23] sysfs: fix a kobject leak in sysfs_add_link on the error path -Patch-Mainline: 2.6.16.1 - -As pointed out by Oliver Neukum. - -Cc: Maneesh Soni <maneesh@in.ibm.com> -Cc: Oliver Neukum <oliver@neukum.org> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> - ---- - - fs/sysfs/symlink.c | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -b3229087c5e08589cea4f5040dab56f7dc11332a -diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c -index fe23f47..d2eac3c 100644 ---- a/fs/sysfs/symlink.c -+++ b/fs/sysfs/symlink.c -@@ -66,6 +66,7 @@ static int sysfs_add_link(struct dentry - if (!error) - return 0; - -+ kobject_put(target); - kfree(sl->link_name); - exit2: - kfree(sl); --- -1.2.4 - ++++++ patches.fixes.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/md-raid1-hang new/patches.fixes/md-raid1-hang --- old/patches.fixes/md-raid1-hang 2006-03-24 01:03:45.000000000 +0100 +++ new/patches.fixes/md-raid1-hang 1970-01-01 01:00:00.000000000 +0100 @@ -1,25 +0,0 @@ -From: NeilBrown <neilb@suse.de> -Subject: md: Fix bug: BIO_RW_BARRIER requests to md/raid1 hang. -Patch-mainline: 2.6.16.1 -References: 159435 - -Both R1BIO_Barrier and R1BIO_Returned are 4 !!!! - -This means that barrier requests don't get returned (i.e. b_endio called) -because it looks like they already have been. - - -Signed-off-by: Neil Brown <neilb@suse.de> - -Index: linux-2.6.16/include/linux/raid/raid1.h -=================================================================== ---- linux-2.6.16.orig/include/linux/raid/raid1.h 2006-03-20 16:53:29.000000000 +1100 -+++ linux-2.6.16/include/linux/raid/raid1.h 2006-03-24 10:38:29.000000000 +1100 -@@ -130,6 +130,6 @@ - * with failure when last write completes (and all failed). - * Record that bi_end_io was called with this flag... - */ --#define R1BIO_Returned 4 -+#define R1BIO_Returned 6 - - #endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/patch-2.6.16.1 new/patches.fixes/patch-2.6.16.1 --- old/patches.fixes/patch-2.6.16.1 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/patch-2.6.16.1 2006-04-01 19:45:02.000000000 +0200 @@ -0,0 +1,476 @@ +Subject: Linux 2.6.16.1 +From: Greg KH <gregkh@suse.de> + + arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | 4 +- + arch/i386/kernel/dmi_scan.c | 2 - + drivers/base/cpu.c | 2 - + drivers/base/firmware_class.c | 6 ++- + drivers/block/cciss.c | 2 - + drivers/md/dm.c | 45 +++++++++++++++------------ + drivers/media/video/Kconfig | 1 + drivers/media/video/tuner-types.c | 4 +- + drivers/scsi/sata_mv.c | 7 +++- + drivers/video/i810/i810_main.c | 2 - + fs/9p/vfs_inode.c | 3 - + fs/proc/proc_misc.c | 2 - + fs/sysfs/dir.c | 1 + fs/sysfs/inode.c | 6 +++ + fs/sysfs/symlink.c | 1 + fs/xfs/linux-2.6/xfs_aops.c | 2 - + include/linux/cpu.h | 2 - + include/linux/raid/raid1.h | 2 - + include/linux/rtc.h | 4 +- + kernel/sched.c | 9 ++++- + net/core/sock.c | 5 +-- + net/ipv4/ip_output.c | 6 --- + 22 files changed, 69 insertions(+), 49 deletions(-) + +diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +index 28cc5d5..cfc4276 100644 +--- a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c ++++ b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +@@ -75,7 +75,9 @@ static int speedstep_smi_ownership (void + __asm__ __volatile__( + "out %%al, (%%dx)\n" + : "=D" (result) +- : "a" (command), "b" (function), "c" (0), "d" (smi_port), "D" (0), "S" (magic) ++ : "a" (command), "b" (function), "c" (0), "d" (smi_port), ++ "D" (0), "S" (magic) ++ : "memory" + ); + + dprintk("result is %x\n", result); +diff --git a/arch/i386/kernel/dmi_scan.c b/arch/i386/kernel/dmi_scan.c +index 6a93d75..ca2a0cb 100644 +--- a/arch/i386/kernel/dmi_scan.c ++++ b/arch/i386/kernel/dmi_scan.c +@@ -106,7 +106,7 @@ static void __init dmi_save_devices(stru + struct dmi_device *dev; + + for (i = 0; i < count; i++) { +- char *d = ((char *) dm) + (i * 2); ++ char *d = (char *)(dm + 1) + (i * 2); + + /* Skip disabled device */ + if ((*d & 0x80) == 0) +diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c +index 07a7f97..29f3d75 100644 +--- a/drivers/base/cpu.c ++++ b/drivers/base/cpu.c +@@ -141,7 +141,7 @@ int __devinit register_cpu(struct cpu *c + return error; + } + +-struct sys_device *get_cpu_sysdev(int cpu) ++struct sys_device *get_cpu_sysdev(unsigned cpu) + { + if (cpu < NR_CPUS) + return cpu_sys_devices[cpu]; +diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c +index e97e911..4723182 100644 +--- a/drivers/base/firmware_class.c ++++ b/drivers/base/firmware_class.c +@@ -211,18 +211,20 @@ static int + fw_realloc_buffer(struct firmware_priv *fw_priv, int min_size) + { + u8 *new_data; ++ int new_size = fw_priv->alloc_size; + + if (min_size <= fw_priv->alloc_size) + return 0; + +- new_data = vmalloc(fw_priv->alloc_size + PAGE_SIZE); ++ new_size = ALIGN(min_size, PAGE_SIZE); ++ new_data = vmalloc(new_size); + if (!new_data) { + printk(KERN_ERR "%s: unable to alloc buffer\n", __FUNCTION__); + /* Make sure that we don't keep incomplete data */ + fw_load_abort(fw_priv); + return -ENOMEM; + } +- fw_priv->alloc_size += PAGE_SIZE; ++ fw_priv->alloc_size = new_size; + if (fw_priv->fw->data) { + memcpy(new_data, fw_priv->fw->data, fw_priv->fw->size); + vfree(fw_priv->fw->data); +diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c +index 0d65394..c149d57 100644 +--- a/drivers/block/cciss.c ++++ b/drivers/block/cciss.c +@@ -3269,8 +3269,8 @@ clean2: + unregister_blkdev(hba[i]->major, hba[i]->devname); + clean1: + release_io_mem(hba[i]); +- free_hba(i); + hba[i]->busy_initializing = 0; ++ free_hba(i); + return(-1); + } + +diff --git a/drivers/md/dm.c b/drivers/md/dm.c +index 745ca1f..d559569 100644 +--- a/drivers/md/dm.c ++++ b/drivers/md/dm.c +@@ -533,30 +533,35 @@ static void __clone_and_map(struct clone + + } else { + /* +- * Create two copy bios to deal with io that has +- * been split across a target. ++ * Handle a bvec that must be split between two or more targets. + */ + struct bio_vec *bv = bio->bi_io_vec + ci->idx; ++ sector_t remaining = to_sector(bv->bv_len); ++ unsigned int offset = 0; + +- clone = split_bvec(bio, ci->sector, ci->idx, +- bv->bv_offset, max); +- __map_bio(ti, clone, tio); +- +- ci->sector += max; +- ci->sector_count -= max; +- ti = dm_table_find_target(ci->map, ci->sector); +- +- len = to_sector(bv->bv_len) - max; +- clone = split_bvec(bio, ci->sector, ci->idx, +- bv->bv_offset + to_bytes(max), len); +- tio = alloc_tio(ci->md); +- tio->io = ci->io; +- tio->ti = ti; +- memset(&tio->info, 0, sizeof(tio->info)); +- __map_bio(ti, clone, tio); ++ do { ++ if (offset) { ++ ti = dm_table_find_target(ci->map, ci->sector); ++ max = max_io_len(ci->md, ci->sector, ti); ++ ++ tio = alloc_tio(ci->md); ++ tio->io = ci->io; ++ tio->ti = ti; ++ memset(&tio->info, 0, sizeof(tio->info)); ++ } ++ ++ len = min(remaining, max); ++ ++ clone = split_bvec(bio, ci->sector, ci->idx, ++ bv->bv_offset + offset, len); ++ ++ __map_bio(ti, clone, tio); ++ ++ ci->sector += len; ++ ci->sector_count -= len; ++ offset += to_bytes(len); ++ } while (remaining -= len); + +- ci->sector += len; +- ci->sector_count -= len; + ci->idx++; + } + } +diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig +index d82c8a3..ef42a26 100644 +--- a/drivers/media/video/Kconfig ++++ b/drivers/media/video/Kconfig +@@ -349,6 +349,7 @@ config VIDEO_AUDIO_DECODER + config VIDEO_DECODER + tristate "Add support for additional video chipsets" + depends on VIDEO_DEV && I2C && EXPERIMENTAL ++ select FW_LOADER + ---help--- + Say Y here to compile drivers for SAA7115, SAA7127 and CX25840 + video decoders. +diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c +index 6fe7817..5f3d46d 100644 +--- a/drivers/media/video/tuner-types.c ++++ b/drivers/media/video/tuner-types.c +@@ -1087,8 +1087,8 @@ static struct tuner_params tuner_tnf_533 + /* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */ + + static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = { +- { 16 * 175.75 /*MHz*/, 0x01, }, +- { 16 * 410.25 /*MHz*/, 0x02, }, ++ { 16 * 130.00 /*MHz*/, 0x01, }, ++ { 16 * 364.50 /*MHz*/, 0x02, }, + { 16 * 999.99 , 0x08, }, + }; + +diff --git a/drivers/scsi/sata_mv.c b/drivers/scsi/sata_mv.c +index 2770005..b00af08 100644 +--- a/drivers/scsi/sata_mv.c ++++ b/drivers/scsi/sata_mv.c +@@ -1102,6 +1102,7 @@ static u8 mv_get_crpb_status(struct ata_ + void __iomem *port_mmio = mv_ap_base(ap); + struct mv_port_priv *pp = ap->private_data; + u32 out_ptr; ++ u8 ata_status; + + out_ptr = readl(port_mmio + EDMA_RSP_Q_OUT_PTR_OFS); + +@@ -1109,6 +1110,8 @@ static u8 mv_get_crpb_status(struct ata_ + assert(((out_ptr >> EDMA_RSP_Q_PTR_SHIFT) & MV_MAX_Q_DEPTH_MASK) == + pp->rsp_consumer); + ++ ata_status = pp->crpb[pp->rsp_consumer].flags >> CRPB_FLAG_STATUS_SHIFT; ++ + /* increment our consumer index... */ + pp->rsp_consumer = mv_inc_q_index(&pp->rsp_consumer); + +@@ -1123,7 +1126,7 @@ static u8 mv_get_crpb_status(struct ata_ + writelfl(out_ptr, port_mmio + EDMA_RSP_Q_OUT_PTR_OFS); + + /* Return ATA status register for completed CRPB */ +- return (pp->crpb[pp->rsp_consumer].flags >> CRPB_FLAG_STATUS_SHIFT); ++ return ata_status; + } + + /** +@@ -1192,7 +1195,6 @@ static void mv_host_intr(struct ata_host + u32 hc_irq_cause; + int shift, port, port0, hard_port, handled; + unsigned int err_mask; +- u8 ata_status = 0; + + if (hc == 0) { + port0 = 0; +@@ -1210,6 +1212,7 @@ static void mv_host_intr(struct ata_host + hc,relevant,hc_irq_cause); + + for (port = port0; port < port0 + MV_PORTS_PER_HC; port++) { ++ u8 ata_status = 0; + ap = host_set->ports[port]; + hard_port = port & MV_PORT_MASK; /* range 0-3 */ + handled = 0; /* ensure ata_status is set if handled++ */ +diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c +index d8467c0..788297e 100644 +--- a/drivers/video/i810/i810_main.c ++++ b/drivers/video/i810/i810_main.c +@@ -1508,7 +1508,7 @@ static int i810fb_cursor(struct fb_info + int size = ((cursor->image.width + 7) >> 3) * + cursor->image.height; + int i; +- u8 *data = kmalloc(64 * 8, GFP_KERNEL); ++ u8 *data = kmalloc(64 * 8, GFP_ATOMIC); + + if (data == NULL) + return -ENOMEM; +diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c +index 3ad8455..651a9e1 100644 +--- a/fs/9p/vfs_inode.c ++++ b/fs/9p/vfs_inode.c +@@ -614,6 +614,7 @@ static struct dentry *v9fs_vfs_lookup(st + + sb = dir->i_sb; + v9ses = v9fs_inode2v9ses(dir); ++ dentry->d_op = &v9fs_dentry_operations; + dirfid = v9fs_fid_lookup(dentry->d_parent); + + if (!dirfid) { +@@ -681,8 +682,6 @@ static struct dentry *v9fs_vfs_lookup(st + goto FreeFcall; + + fid->qid = fcall->params.rstat.stat.qid; +- +- dentry->d_op = &v9fs_dentry_operations; + v9fs_stat2inode(&fcall->params.rstat.stat, inode, inode->i_sb); + + d_add(dentry, inode); +diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c +index 1d24fea..826c131 100644 +--- a/fs/proc/proc_misc.c ++++ b/fs/proc/proc_misc.c +@@ -312,7 +312,7 @@ static void *devinfo_next(struct seq_fil + case BLK_HDR: + info->state = BLK_LIST; + (*pos)++; +- break; ++ /*fallthrough*/ + case BLK_LIST: + if (get_blkdev_info(info->blkdev,&idummy,&ndummy)) { + /* +diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c +index 49bd219..cfd290d 100644 +--- a/fs/sysfs/dir.c ++++ b/fs/sysfs/dir.c +@@ -302,6 +302,7 @@ void sysfs_remove_dir(struct kobject * k + * Drop reference from dget() on entrance. + */ + dput(dentry); ++ kobj->dentry = NULL; + } + + int sysfs_rename_dir(struct kobject * kobj, const char *new_name) +diff --git a/fs/sysfs/inode.c b/fs/sysfs/inode.c +index 689f7bc..6beee6f 100644 +--- a/fs/sysfs/inode.c ++++ b/fs/sysfs/inode.c +@@ -227,12 +227,16 @@ void sysfs_drop_dentry(struct sysfs_dire + void sysfs_hash_and_remove(struct dentry * dir, const char * name) + { + struct sysfs_dirent * sd; +- struct sysfs_dirent * parent_sd = dir->d_fsdata; ++ struct sysfs_dirent * parent_sd; ++ ++ if (!dir) ++ return; + + if (dir->d_inode == NULL) + /* no inode means this hasn't been made visible yet */ + return; + ++ parent_sd = dir->d_fsdata; + mutex_lock(&dir->d_inode->i_mutex); + list_for_each_entry(sd, &parent_sd->s_children, s_sibling) { + if (!sd->s_element) +diff --git a/fs/sysfs/symlink.c b/fs/sysfs/symlink.c +index e38d633..e5ce6e7 100644 +--- a/fs/sysfs/symlink.c ++++ b/fs/sysfs/symlink.c +@@ -66,6 +66,7 @@ static int sysfs_add_link(struct dentry + if (!error) + return 0; + ++ kobject_put(target); + kfree(sl->link_name); + exit2: + kfree(sl); +diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c +index 74d8be8..a980736 100644 +--- a/fs/xfs/linux-2.6/xfs_aops.c ++++ b/fs/xfs/linux-2.6/xfs_aops.c +@@ -616,7 +616,7 @@ xfs_is_delayed_page( + acceptable = (type == IOMAP_UNWRITTEN); + else if (buffer_delay(bh)) + acceptable = (type == IOMAP_DELAY); +- else if (buffer_mapped(bh)) ++ else if (buffer_dirty(bh) && buffer_mapped(bh)) + acceptable = (type == 0); + else + break; +diff --git a/include/linux/cpu.h b/include/linux/cpu.h +index 0ed1d48..d612b89 100644 +--- a/include/linux/cpu.h ++++ b/include/linux/cpu.h +@@ -32,7 +32,7 @@ struct cpu { + }; + + extern int register_cpu(struct cpu *, int, struct node *); +-extern struct sys_device *get_cpu_sysdev(int cpu); ++extern struct sys_device *get_cpu_sysdev(unsigned cpu); + #ifdef CONFIG_HOTPLUG_CPU + extern void unregister_cpu(struct cpu *, struct node *); + #endif +diff --git a/include/linux/raid/raid1.h b/include/linux/raid/raid1.h +index 9d5494a..3009c81 100644 +--- a/include/linux/raid/raid1.h ++++ b/include/linux/raid/raid1.h +@@ -130,6 +130,6 @@ struct r1bio_s { + * with failure when last write completes (and all failed). + * Record that bi_end_io was called with this flag... + */ +-#define R1BIO_Returned 4 ++#define R1BIO_Returned 6 + + #endif +diff --git a/include/linux/rtc.h b/include/linux/rtc.h +index 0b2ba67..b739ac1 100644 +--- a/include/linux/rtc.h ++++ b/include/linux/rtc.h +@@ -11,8 +11,6 @@ + #ifndef _LINUX_RTC_H_ + #define _LINUX_RTC_H_ + +-#include <linux/interrupt.h> +- + /* + * The struct used to pass data via the following ioctl. Similar to the + * struct tm in <time.h>, but it needs to be here so that the kernel +@@ -95,6 +93,8 @@ struct rtc_pll_info { + + #ifdef __KERNEL__ + ++#include <linux/interrupt.h> ++ + typedef struct rtc_task { + void (*func)(void *private_data); + void *private_data; +diff --git a/kernel/sched.c b/kernel/sched.c +index 4d46e90..4e7efac 100644 +--- a/kernel/sched.c ++++ b/kernel/sched.c +@@ -237,6 +237,7 @@ struct runqueue { + + task_t *migration_thread; + struct list_head migration_queue; ++ int cpu; + #endif + + #ifdef CONFIG_SCHEDSTATS +@@ -1660,6 +1661,9 @@ unsigned long nr_iowait(void) + /* + * double_rq_lock - safely lock two runqueues + * ++ * We must take them in cpu order to match code in ++ * dependent_sleeper and wake_dependent_sleeper. ++ * + * Note this does not disable interrupts like task_rq_lock, + * you need to do so manually before calling. + */ +@@ -1671,7 +1675,7 @@ static void double_rq_lock(runqueue_t *r + spin_lock(&rq1->lock); + __acquire(rq2->lock); /* Fake it out ;) */ + } else { +- if (rq1 < rq2) { ++ if (rq1->cpu < rq2->cpu) { + spin_lock(&rq1->lock); + spin_lock(&rq2->lock); + } else { +@@ -1707,7 +1711,7 @@ static void double_lock_balance(runqueue + __acquires(this_rq->lock) + { + if (unlikely(!spin_trylock(&busiest->lock))) { +- if (busiest < this_rq) { ++ if (busiest->cpu < this_rq->cpu) { + spin_unlock(&this_rq->lock); + spin_lock(&busiest->lock); + spin_lock(&this_rq->lock); +@@ -6035,6 +6039,7 @@ void __init sched_init(void) + rq->push_cpu = 0; + rq->migration_thread = NULL; + INIT_LIST_HEAD(&rq->migration_queue); ++ rq->cpu = i; + #endif + atomic_set(&rq->nr_iowait, 0); + +diff --git a/net/core/sock.c b/net/core/sock.c +index 6e00811..5621198 100644 +--- a/net/core/sock.c ++++ b/net/core/sock.c +@@ -404,8 +404,9 @@ set_rcvbuf: + if (!valbool) { + sk->sk_bound_dev_if = 0; + } else { +- if (optlen > IFNAMSIZ) +- optlen = IFNAMSIZ; ++ if (optlen > IFNAMSIZ - 1) ++ optlen = IFNAMSIZ - 1; ++ memset(devname, 0, sizeof(devname)); + if (copy_from_user(devname, optval, optlen)) { + ret = -EFAULT; + break; +diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c +index 8ee4d01..f75ff1d 100644 +--- a/net/ipv4/ip_output.c ++++ b/net/ipv4/ip_output.c +@@ -1249,11 +1249,7 @@ int ip_push_pending_frames(struct sock * + iph->tos = inet->tos; + iph->tot_len = htons(skb->len); + iph->frag_off = df; +- if (!df) { +- __ip_select_ident(iph, &rt->u.dst, 0); +- } else { +- iph->id = htons(inet->id++); +- } ++ ip_select_ident(iph, &rt->u.dst, sk); + iph->ttl = ttl; + iph->protocol = sk->sk_protocol; + iph->saddr = rt->rt_src; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/sn-max-node-count-1 new/patches.fixes/sn-max-node-count-1 --- old/patches.fixes/sn-max-node-count-1 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/sn-max-node-count-1 2006-03-31 17:22:04.000000000 +0200 @@ -0,0 +1,60 @@ +From: Jack Steiner <steiner@sgi.com> +Date: Thu, 2 Mar 2006 22:02:21 +0000 (-0600) +Subject: [IA64] Increase max node count on SN platforms +X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif... +Refernces: 160976 +Acked-by: schwab@suse.de + +[IA64] Increase max node count on SN platforms + +Add a configuration option to allow the maximum +number of nodes to be configurable for GENERIC or SN +kernels. + +Signed-off-by: Jack Steiner <steiner@sgi.com> +Signed-off-by: Tony Luck <tony.luck@intel.com> +--- + +--- a/arch/ia64/Kconfig ++++ b/arch/ia64/Kconfig +@@ -252,6 +252,15 @@ config NR_CPUS + than 64 will cause the use of a CPU mask array, causing a small + performance hit. + ++config IA64_NR_NODES ++ int "Maximum number of NODEs (256-1024)" if (IA64_SGI_SN2 || IA64_GENERIC) ++ range 256 1024 ++ depends on IA64_SGI_SN2 || IA64_GENERIC ++ default "256" ++ help ++ This option specifies the maximum number of nodes in your SSI system. ++ If in doubt, use the default. ++ + config HOTPLUG_CPU + bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" + depends on SMP && EXPERIMENTAL +--- a/include/asm-ia64/numnodes.h ++++ b/include/asm-ia64/numnodes.h +@@ -3,13 +3,18 @@ + + #ifdef CONFIG_IA64_DIG + /* Max 8 Nodes */ +-#define NODES_SHIFT 3 ++# define NODES_SHIFT 3 + #elif defined(CONFIG_IA64_HP_ZX1) || defined(CONFIG_IA64_HP_ZX1_SWIOTLB) + /* Max 32 Nodes */ +-#define NODES_SHIFT 5 ++# define NODES_SHIFT 5 + #elif defined(CONFIG_IA64_SGI_SN2) || defined(CONFIG_IA64_GENERIC) +-/* Max 256 Nodes */ +-#define NODES_SHIFT 8 ++# if CONFIG_IA64_NR_NODES == 256 ++# define NODES_SHIFT 8 ++# elif CONFIG_IA64_NR_NODES <= 512 ++# define NODES_SHIFT 9 ++# elif CONFIG_IA64_NR_NODES <= 1024 ++# define NODES_SHIFT 10 ++# endif + #endif + + #endif /* _ASM_MAX_NUMNODES_H */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/sn-max-node-count-2 new/patches.fixes/sn-max-node-count-2 --- old/patches.fixes/sn-max-node-count-2 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/sn-max-node-count-2 2006-03-31 17:22:04.000000000 +0200 @@ -0,0 +1,107 @@ +From: Jack Steiner <steiner@sgi.com> +Date: Thu, 2 Mar 2006 22:02:25 +0000 (-0600) +Subject: [IA64] Increase max node count on SN platforms +X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif... +Refernces: 160976 +Acked-by: schwab@suse.de + +[IA64] Increase max node count on SN platforms + +Add support in IA64 acpi for platforms that support more than +256 nodes. Currently, ACPI is limited to 256 nodes because the +proximity domain number is 8-bits. + +Long term, we expect to use ACPI3.0 to support >256 nodes. +This patch is an interim solution that works with platforms +that pass the high order bits of the proximity domain in +"reserved" fields of the ACPI tables. This code is enabled +ONLY on SN platforms. + +Signed-off-by: Jack Steiner <steiner@sgi.com> +Signed-off-by: Tony Luck <tony.luck@intel.com> +--- + + arch/ia64/kernel/acpi.c | 32 ++++++++++++++++++++++++++++---- + include/asm-ia64/acpi.h | 4 ++++ + 2 files changed, 32 insertions(+), 4 deletions(-) + +Index: linux/arch/ia64/kernel/acpi.c +=================================================================== +--- linux.orig/arch/ia64/kernel/acpi.c 2006-03-19 23:53:29.000000000 -0600 ++++ linux/arch/ia64/kernel/acpi.c 2006-03-27 10:10:23.823015354 -0600 +@@ -414,6 +414,26 @@ int __devinitdata pxm_to_nid_map[MAX_PXM + int __initdata nid_to_pxm_map[MAX_NUMNODES]; + static struct acpi_table_slit __initdata *slit_table; + ++static int get_processor_proximity_domain(struct acpi_table_processor_affinity *pa) ++{ ++ int pxm; ++ ++ pxm = pa->proximity_domain; ++ if (ia64_platform_is("sn2")) ++ pxm += pa->reserved[0] << 8; ++ return pxm; ++} ++ ++static int get_memory_proximity_domain(struct acpi_table_memory_affinity *ma) ++{ ++ int pxm; ++ ++ pxm = ma->proximity_domain; ++ if (ia64_platform_is("sn2")) ++ pxm += ma->reserved1[0] << 8; ++ return pxm; ++} ++ + /* + * ACPI 2.0 SLIT (System Locality Information Table) + * http://devresource.hp.com/devresource/Docs/TechPapers/IA64/slit.pdf +@@ -437,13 +457,17 @@ void __init acpi_numa_slit_init(struct a + void __init + acpi_numa_processor_affinity_init(struct acpi_table_processor_affinity *pa) + { ++ int pxm; ++ ++ pxm = get_processor_proximity_domain(pa); ++ + /* record this node in proximity bitmap */ +- pxm_bit_set(pa->proximity_domain); ++ pxm_bit_set(pxm); + + node_cpuid[srat_num_cpus].phys_id = + (pa->apic_id << 8) | (pa->lsapic_eid); + /* nid should be overridden as logical node id later */ +- node_cpuid[srat_num_cpus].nid = pa->proximity_domain; ++ node_cpuid[srat_num_cpus].nid = pxm; + srat_num_cpus++; + } + +@@ -451,10 +475,10 @@ void __init + acpi_numa_memory_affinity_init(struct acpi_table_memory_affinity *ma) + { + unsigned long paddr, size; +- u8 pxm; ++ int pxm; + struct node_memblk_s *p, *q, *pend; + +- pxm = ma->proximity_domain; ++ pxm = get_memory_proximity_domain(ma); + + /* fill node memory chunk structure */ + paddr = ma->base_addr_hi; +Index: linux/include/asm-ia64/acpi.h +=================================================================== +--- linux.orig/include/asm-ia64/acpi.h 2006-03-19 23:53:29.000000000 -0600 ++++ linux/include/asm-ia64/acpi.h 2006-03-27 09:51:02.133276875 -0600 +@@ -111,7 +111,11 @@ extern int additional_cpus; + + #ifdef CONFIG_ACPI_NUMA + /* Proximity bitmap length; _PXM is at most 255 (8 bit)*/ ++#ifdef CONFIG_IA64_NR_NODES ++#define MAX_PXM_DOMAINS CONFIG_IA64_NR_NODES ++#else + #define MAX_PXM_DOMAINS (256) ++#endif + extern int __devinitdata pxm_to_nid_map[MAX_PXM_DOMAINS]; + extern int __initdata nid_to_pxm_map[MAX_NUMNODES]; + #endif diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/sn-max-node-count-3 new/patches.fixes/sn-max-node-count-3 --- old/patches.fixes/sn-max-node-count-3 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/sn-max-node-count-3 2006-03-31 17:22:04.000000000 +0200 @@ -0,0 +1,39 @@ +From: Jack Steiner <steiner@sgi.com> +Date: Thu, 2 Mar 2006 22:02:28 +0000 (-0600) +Subject: [IA64] Increase max node count on SN platforms +X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif... +Refernces: 160976 +Acked-by: schwab@suse.de + +[IA64] Increase max node count on SN platforms + +Node number are kept in the cpu_to_node_map which is +currently defined as u8. Change to u16 to accomodate +larger node numbers. + +Signed-off-by: Jack Steiner <steiner@sgi.com> +Signed-off-by: Tony Luck <tony.luck@intel.com> +--- + +--- a/arch/ia64/kernel/numa.c ++++ b/arch/ia64/kernel/numa.c +@@ -25,7 +25,7 @@ + #include <asm/processor.h> + #include <asm/smp.h> + +-u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned; ++u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned; + EXPORT_SYMBOL(cpu_to_node_map); + + cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; +--- a/include/asm-ia64/numa.h ++++ b/include/asm-ia64/numa.h +@@ -23,7 +23,7 @@ + + #include <asm/mmzone.h> + +-extern u8 cpu_to_node_map[NR_CPUS] __cacheline_aligned; ++extern u16 cpu_to_node_map[NR_CPUS] __cacheline_aligned; + extern cpumask_t node_to_cpu_mask[MAX_NUMNODES] __cacheline_aligned; + + /* Stuff below this line could be architecture independent */ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.fixes/sn-max-node-count-4 new/patches.fixes/sn-max-node-count-4 --- old/patches.fixes/sn-max-node-count-4 1970-01-01 01:00:00.000000000 +0100 +++ new/patches.fixes/sn-max-node-count-4 2006-03-31 17:22:04.000000000 +0200 @@ -0,0 +1,45 @@ +From: Jack Steiner <steiner@sgi.com> +Date: Thu, 2 Mar 2006 22:02:32 +0000 (-0600) +Subject: [IA64] Increase max node count on SN platforms +X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdif... +Refernces: 160976 +Acked-by: schwab@suse.de + +[IA64] Increase max node count on SN platforms + +Update configuration files with new CONFIG option. + +Signed-off-by: Jack Steiner <steiner@sgi.com> +Signed-off-by: Tony Luck <tony.luck@intel.com> +--- + +--- a/arch/ia64/configs/gensparse_defconfig ++++ b/arch/ia64/configs/gensparse_defconfig +@@ -116,6 +116,7 @@ CONFIG_IOSAPIC=y + CONFIG_FORCE_MAX_ZONEORDER=17 + CONFIG_SMP=y + CONFIG_NR_CPUS=512 ++CONFIG_IA64_NR_NODES=256 + CONFIG_HOTPLUG_CPU=y + # CONFIG_SCHED_SMT is not set + # CONFIG_PREEMPT is not set +--- a/arch/ia64/configs/sn2_defconfig ++++ b/arch/ia64/configs/sn2_defconfig +@@ -116,6 +116,7 @@ CONFIG_IA64_SGI_SN_XP=m + CONFIG_FORCE_MAX_ZONEORDER=17 + CONFIG_SMP=y + CONFIG_NR_CPUS=1024 ++CONFIG_IA64_NR_NODES=256 + # CONFIG_HOTPLUG_CPU is not set + CONFIG_SCHED_SMT=y + CONFIG_PREEMPT=y +--- a/arch/ia64/defconfig ++++ b/arch/ia64/defconfig +@@ -116,6 +116,7 @@ CONFIG_IOSAPIC=y + CONFIG_FORCE_MAX_ZONEORDER=17 + CONFIG_SMP=y + CONFIG_NR_CPUS=512 ++CONFIG_IA64_NR_NODES=256 + CONFIG_HOTPLUG_CPU=y + # CONFIG_SCHED_SMT is not set + # CONFIG_PREEMPT is not set ++++++ patches.rpmify.tar.bz2 ++++++ ++++++ patches.suse.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/patches.suse/lkcd.patch new/patches.suse/lkcd.patch --- old/patches.suse/lkcd.patch 2006-03-24 12:09:55.000000000 +0100 +++ new/patches.suse/lkcd.patch 2006-04-02 11:13:23.000000000 +0200 @@ -1424,7 +1424,7 @@ extern int nr_processes(void); extern unsigned long nr_running(void); extern unsigned long nr_uninterruptible(void); -@@ -1002,6 +1003,88 @@ +@@ -1002,6 +1003,89 @@ void yield(void); /* @@ -1486,6 +1486,7 @@ + + task_t *migration_thread; + struct list_head migration_queue; ++ int cpu; +#endif + +#ifdef CONFIG_SCHEDSTATS @@ -1703,7 +1704,7 @@ /* * Convert user-nice values [ -20 ... 0 ... 19 ] * to static priority [ MAX_RT_PRIO..MAX_PRIO-1 ], -@@ -185,89 +193,7 @@ +@@ -185,90 +193,7 @@ EXPORT_SYMBOL_GPL(__put_task_struct_cb); @@ -1766,6 +1767,7 @@ - - task_t *migration_thread; - struct list_head migration_queue; +- int cpu; -#endif - -#ifdef CONFIG_SCHEDSTATS ++++++ patches.uml.tar.bz2 ++++++ ++++++ patches.xen.tar.bz2 ++++++ ++++++ series.conf ++++++ --- kernel-source/series.conf 2006-03-31 12:03:08.000000000 +0200 +++ kernel-source/series.conf 2006-04-02 11:18:00.000000000 +0200 @@ -21,6 +21,7 @@ # DO NOT MODIFY THEM! # Send separate patches upstream if you find a problem... + patches.fixes/patch-2.6.16.1 patches.fixes/setuid-dumpable-wrongdir patches.fixes/git-kbuild.patch @@ -156,6 +157,8 @@ patches.arch/ppc-protect-remove_proc_entry.patch patches.arch/ppc-device-tree-dupnodes.patch patches.arch/ppc-pseries-lparcfg-1.7.patch + patches.arch/ppc-floppy-isa-dma.patch + patches.arch/ppc-pseries-rtas-mtcr-bug.patch # KDB v4.4 @@ -453,11 +456,6 @@ patches.drivers/export_symbol_gpl_future-rcu.patch patches.drivers/export_symbol_gpl_future-usb.patch - # These will be in 2.6.16.1 and are in 2.6.17 - patches.drivers/driver-0001-sysfs-sysfs_remove_dir-needs-to-invalidate-the-dentry.patch - patches.drivers/driver-0014-firmware-fix-BUG-in-fw_realloc_buffer.patch - patches.drivers/driver-0021-get_cpu_sysdev-signedness-fix.patch - patches.drivers/driver-0023-sysfs-fix-a-kobject-leak-in-sysfs_add_link-on-the-error-path.patch ######################################################## # USB @@ -897,7 +895,6 @@ patches.fixes/nfsd-setuser-fix patches.fixes/nfsd-putrootfh-dont-setuser - patches.fixes/md-raid1-hang patches.drivers/libata-device-spindown patches.fixes/libata-resume-drive_port-mode @@ -929,6 +926,12 @@ patches.fixes/sn-hwperf-geoid-to-cnode-loop patches.fixes/ahci-init-on-resume patches.fixes/msi-save-restore-for-suspend-resume.patch + + # bug #160976 + patches.fixes/sn-max-node-count-1 + patches.fixes/sn-max-node-count-2 + patches.fixes/sn-max-node-count-3 + patches.fixes/sn-max-node-count-4 # PLEASE KEEP THESE PATCHES AT THE END OF series.conf # (as all other arch specific patches should be kept at the end ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de