From ba6702a9f5cbe855a3efbfbfae586b553c017134 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Mon, 9 Feb 2009 10:35:12 +0100 Subject: [PATCH] --- yaml --- r: 140704 b: refs/heads/master c: 44b0635481437140b0e29d6023f05e805d5e7620 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/.mailmap | 4 +- trunk/Documentation/cpu-freq/user-guide.txt | 16 - trunk/Documentation/filesystems/sysfs-pci.txt | 13 +- trunk/MAINTAINERS | 11 +- trunk/Makefile | 2 +- trunk/arch/alpha/include/asm/bug.h | 4 +- trunk/arch/ia64/sn/kernel/io_acpi_init.c | 2 +- trunk/arch/ia64/sn/kernel/io_init.c | 2 +- trunk/arch/sh/boards/board-ap325rxa.c | 63 +- trunk/arch/sh/configs/ap325rxa_defconfig | 27 +- trunk/arch/sh/configs/migor_defconfig | 42 +- trunk/arch/sh/include/asm/mutex-llsc.h | 21 +- trunk/arch/sh/include/asm/syscall_32.h | 22 +- trunk/arch/sh/include/asm/syscall_64.h | 22 +- trunk/arch/sh/kernel/cpu/sh4/fpu.c | 2 +- trunk/arch/sh/kernel/setup.c | 8 +- trunk/arch/sh/kernel/signal_32.c | 4 +- trunk/arch/sh/kernel/signal_64.c | 4 +- trunk/arch/sh/lib/checksum.S | 69 +- trunk/arch/x86/ia32/ia32entry.S | 8 +- trunk/arch/x86/kernel/acpi/sleep.c | 4 +- trunk/arch/x86/kernel/apic.c | 2 +- trunk/arch/x86/kernel/cpu/cpufreq/Kconfig | 11 - trunk/arch/x86/kernel/cpu/intel_cacheinfo.c | 15 + trunk/arch/x86/kernel/entry_64.S | 1 + trunk/arch/x86/kernel/io_apic.c | 5 +- trunk/arch/x86/kernel/irqinit_32.c | 12 - trunk/arch/x86/mach-default/setup.c | 12 + trunk/arch/x86/mach-voyager/setup.c | 12 +- trunk/arch/x86/mach-voyager/voyager_smp.c | 25 +- trunk/arch/x86/mm/fault.c | 8 +- trunk/arch/x86/xen/multicalls.h | 4 +- trunk/block/blktrace.c | 27 +- trunk/drivers/acpi/Kconfig | 3 +- trunk/drivers/acpi/acpica/tbutils.c | 7 +- trunk/drivers/acpi/acpica/uteval.c | 21 +- trunk/drivers/acpi/container.c | 5 +- trunk/drivers/acpi/dock.c | 14 +- trunk/drivers/acpi/ec.c | 2 +- trunk/drivers/acpi/glue.c | 8 +- trunk/drivers/acpi/osl.c | 54 +- trunk/drivers/acpi/pci_link.c | 2 +- trunk/drivers/acpi/processor_idle.c | 667 +----------------- trunk/drivers/acpi/processor_perflib.c | 105 --- trunk/drivers/acpi/sleep.c | 53 +- trunk/drivers/acpi/tables.c | 7 +- trunk/drivers/acpi/video.c | 16 +- trunk/drivers/char/sx.c | 8 +- trunk/drivers/firewire/fw-card.c | 9 +- trunk/drivers/hwmon/hp_accel.c | 9 +- trunk/drivers/ieee1394/dv1394.c | 8 +- trunk/drivers/md/linear.c | 6 +- trunk/drivers/md/md.c | 24 +- trunk/drivers/md/raid1.c | 3 +- trunk/drivers/misc/Kconfig | 1 + trunk/drivers/misc/atmel-ssc.c | 2 +- trunk/drivers/misc/hpilo.c | 6 +- trunk/drivers/misc/hpilo.h | 2 + trunk/drivers/misc/sgi-xp/xpc.h | 5 +- trunk/drivers/misc/sgi-xp/xpc_uv.c | 11 +- trunk/drivers/net/cxgb3/sge.c | 3 +- trunk/drivers/net/gianfar.c | 3 + trunk/drivers/net/gianfar.h | 2 +- trunk/drivers/net/wireless/iwlwifi/iwl-agn.c | 2 + trunk/drivers/net/wireless/iwlwifi/iwl-sta.c | 3 + .../net/wireless/iwlwifi/iwl3945-base.c | 2 + trunk/drivers/oprofile/cpu_buffer.c | 5 +- trunk/drivers/pci/pci-driver.c | 164 +++-- trunk/drivers/pci/pci-sysfs.c | 4 +- trunk/drivers/pci/pci.c | 4 +- trunk/drivers/pci/pcie/aspm.c | 4 +- trunk/drivers/pci/pcie/portdrv_pci.c | 16 +- trunk/drivers/pci/rom.c | 8 +- trunk/drivers/platform/x86/Kconfig | 1 + trunk/drivers/platform/x86/asus-laptop.c | 176 ++++- trunk/drivers/platform/x86/asus_acpi.c | 16 +- trunk/drivers/platform/x86/eeepc-laptop.c | 164 ++++- trunk/drivers/platform/x86/hp-wmi.c | 6 +- trunk/drivers/platform/x86/panasonic-laptop.c | 2 +- trunk/drivers/rtc/Kconfig | 6 + trunk/drivers/rtc/Makefile | 1 + trunk/drivers/rtc/rtc-dm355evm.c | 175 +++++ trunk/drivers/rtc/rtc-ds1390.c | 1 - trunk/drivers/video/aty/aty128fb.c | 33 +- trunk/drivers/video/aty/atyfb_base.c | 42 +- trunk/drivers/video/aty/radeon_base.c | 10 +- trunk/drivers/video/aty/radeon_pm.c | 103 +-- trunk/drivers/video/aty/radeonfb.h | 2 - trunk/drivers/video/backlight/Makefile | 2 +- .../video/backlight/{da903x.c => da903x_bl.c} | 0 trunk/drivers/video/fbcmap.c | 20 +- trunk/drivers/video/fbmem.c | 135 ++-- trunk/fs/binfmt_elf.c | 14 +- trunk/fs/btrfs/Kconfig | 13 + trunk/fs/btrfs/async-thread.c | 61 +- trunk/fs/btrfs/compression.c | 1 - trunk/fs/btrfs/ctree.c | 276 +++++++- trunk/fs/btrfs/ctree.h | 28 +- trunk/fs/btrfs/disk-io.c | 120 +++- trunk/fs/btrfs/disk-io.h | 2 + trunk/fs/btrfs/extent-tree.c | 438 ++++++++++-- trunk/fs/btrfs/extent_io.c | 132 +++- trunk/fs/btrfs/extent_io.h | 18 +- trunk/fs/btrfs/extent_map.c | 1 - trunk/fs/btrfs/file.c | 5 +- trunk/fs/btrfs/inode.c | 84 ++- trunk/fs/btrfs/ioctl.c | 1 - trunk/fs/btrfs/locking.c | 208 +++++- trunk/fs/btrfs/locking.h | 6 + trunk/fs/btrfs/ordered-data.c | 4 +- trunk/fs/btrfs/ref-cache.c | 1 + trunk/fs/btrfs/ref-cache.h | 1 - trunk/fs/btrfs/super.c | 6 +- trunk/fs/btrfs/transaction.c | 4 +- trunk/fs/btrfs/tree-defrag.c | 1 + trunk/fs/btrfs/tree-log.c | 354 +++++----- trunk/fs/btrfs/volumes.c | 49 +- trunk/fs/btrfs/xattr.c | 48 +- trunk/fs/btrfs/xattr.h | 2 + trunk/fs/buffer.c | 2 +- trunk/fs/compat.c | 2 +- trunk/fs/compat_ioctl.c | 2 +- trunk/fs/configfs/dir.c | 59 -- trunk/fs/ecryptfs/crypto.c | 4 +- trunk/fs/exec.c | 28 +- trunk/fs/internal.h | 2 +- trunk/fs/seq_file.c | 115 +-- trunk/fs/super.c | 4 +- trunk/include/acpi/pdc_intel.h | 2 + trunk/include/linux/async.h | 8 +- trunk/include/linux/fb.h | 15 + trunk/include/linux/kernel.h | 3 +- trunk/include/linux/module.h | 1 - trunk/include/linux/pci.h | 2 +- trunk/include/linux/ring_buffer.h | 9 +- trunk/include/linux/sched.h | 1 + trunk/include/linux/wait.h | 11 +- trunk/include/video/aty128.h | 4 +- trunk/include/video/mach64.h | 24 +- trunk/include/video/radeon.h | 18 +- trunk/ipc/shm.c | 4 + trunk/kernel/async.c | 94 ++- trunk/kernel/fork.c | 1 + trunk/kernel/irq/numa_migrate.c | 7 +- trunk/kernel/power/main.c | 26 +- trunk/kernel/sched.c | 4 +- trunk/kernel/sys.c | 16 +- trunk/kernel/trace/kmemtrace.c | 23 +- trunk/kernel/trace/ring_buffer.c | 9 +- trunk/kernel/trace/trace.c | 207 +++--- trunk/kernel/trace/trace.h | 16 +- trunk/kernel/trace/trace_boot.c | 24 +- trunk/kernel/trace/trace_branch.c | 33 +- trunk/kernel/trace/trace_functions.c | 25 +- trunk/kernel/trace/trace_functions_graph.c | 1 - trunk/kernel/trace/trace_hw_branches.c | 8 +- trunk/kernel/trace/trace_irqsoff.c | 10 +- trunk/kernel/trace/trace_mmiotrace.c | 24 +- trunk/kernel/trace/trace_nop.c | 1 - trunk/kernel/trace/trace_output.c | 13 +- trunk/kernel/trace/trace_power.c | 24 +- trunk/kernel/trace/trace_sched_switch.c | 12 +- trunk/kernel/trace/trace_sched_wakeup.c | 12 +- trunk/kernel/trace/trace_selftest.c | 18 +- trunk/kernel/trace/trace_sysprof.c | 14 +- trunk/kernel/wait.c | 59 +- trunk/mm/memory.c | 2 +- trunk/net/ipv4/tcp_output.c | 12 +- trunk/net/ipv4/udp.c | 3 +- trunk/net/ipv6/ip6_output.c | 67 +- trunk/sound/core/oss/pcm_oss.c | 2 +- trunk/sound/pci/hda/hda_codec.c | 9 +- trunk/sound/pci/hda/hda_codec.h | 1 + trunk/sound/pci/hda/hda_proc.c | 3 +- trunk/sound/pci/hda/patch_realtek.c | 5 + trunk/sound/pci/hda/patch_sigmatel.c | 2 + trunk/sound/pci/intel8x0.c | 2 +- trunk/sound/soc/atmel/atmel_ssc_dai.c | 2 +- trunk/sound/soc/atmel/atmel_ssc_dai.h | 2 +- trunk/sound/soc/codecs/wm8350.c | 2 +- trunk/sound/soc/codecs/wm8990.c | 3 +- trunk/sound/soc/omap/omap-pcm.c | 5 +- trunk/sound/usb/usbaudio.c | 1 + 184 files changed, 3303 insertions(+), 2358 deletions(-) create mode 100644 trunk/drivers/rtc/rtc-dm355evm.c rename trunk/drivers/video/backlight/{da903x.c => da903x_bl.c} (100%) diff --git a/[refs] b/[refs] index a7000b4587e4..31521c71ce24 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 57794a9d48b63e34acbe63282628c9f029603308 +refs/heads/master: 44b0635481437140b0e29d6023f05e805d5e7620 diff --git a/trunk/.mailmap b/trunk/.mailmap index 4e83e7b52d15..a62e6a84fd1e 100644 --- a/trunk/.mailmap +++ b/trunk/.mailmap @@ -92,6 +92,7 @@ Rudolf Marek Rui Saraiva Sachin P Sant Sam Ravnborg +Sascha Hauer S.Çağlar Onur Simon Kelley Stéphane Witzmann @@ -100,6 +101,7 @@ Tejun Heo Thomas Graf Tony Luck Tsuneo Yoshioka -Uwe Kleine-König Uwe Kleine-König +Uwe Kleine-König +Uwe Kleine-König Valdis Kletnieks diff --git a/trunk/Documentation/cpu-freq/user-guide.txt b/trunk/Documentation/cpu-freq/user-guide.txt index e3443ddcfb89..917918f84fc7 100644 --- a/trunk/Documentation/cpu-freq/user-guide.txt +++ b/trunk/Documentation/cpu-freq/user-guide.txt @@ -195,19 +195,3 @@ scaling_setspeed. By "echoing" a new frequency into this you can change the speed of the CPU, but only within the limits of scaling_min_freq and scaling_max_freq. - - -3.2 Deprecated Interfaces -------------------------- - -Depending on your kernel configuration, you might find the following -cpufreq-related files: -/proc/cpufreq -/proc/sys/cpu/*/speed -/proc/sys/cpu/*/speed-min -/proc/sys/cpu/*/speed-max - -These are files for deprecated interfaces to cpufreq, which offer far -less functionality. Because of this, these interfaces aren't described -here. - diff --git a/trunk/Documentation/filesystems/sysfs-pci.txt b/trunk/Documentation/filesystems/sysfs-pci.txt index 68ef48839c04..9f8740ca3f3b 100644 --- a/trunk/Documentation/filesystems/sysfs-pci.txt +++ b/trunk/Documentation/filesystems/sysfs-pci.txt @@ -9,6 +9,7 @@ that support it. For example, a given bus might look like this: | |-- class | |-- config | |-- device + | |-- enable | |-- irq | |-- local_cpus | |-- resource @@ -32,6 +33,7 @@ files, each with their own function. class PCI class (ascii, ro) config PCI config space (binary, rw) device PCI device (ascii, ro) + enable Whether the device is enabled (ascii, rw) irq IRQ number (ascii, ro) local_cpus nearby CPU mask (cpumask, ro) resource PCI resource host addresses (ascii, ro) @@ -57,10 +59,19 @@ used to do actual device programming from userspace. Note that some platforms don't support mmapping of certain resources, so be sure to check the return value from any attempted mmap. +The 'enable' file provides a counter that indicates how many times the device +has been enabled. If the 'enable' file currently returns '4', and a '1' is +echoed into it, it will then return '5'. Echoing a '0' into it will decrease +the count. Even when it returns to 0, though, some of the initialisation +may not be reversed. + The 'rom' file is special in that it provides read-only access to the device's ROM file, if available. It's disabled by default, however, so applications should write the string "1" to the file to enable it before attempting a read -call, and disable it following the access by writing "0" to the file. +call, and disable it following the access by writing "0" to the file. Note +that the device must be enabled for a rom read to return data succesfully. +In the event a driver is not bound to the device, it can be enabled using the +'enable' file, documented above. Accessing legacy resources through sysfs ---------------------------------------- diff --git a/trunk/MAINTAINERS b/trunk/MAINTAINERS index 829a697f1235..4486ac1ccac5 100644 --- a/trunk/MAINTAINERS +++ b/trunk/MAINTAINERS @@ -1021,6 +1021,14 @@ M: mb@bu3sch.de W: http://bu3sch.de/btgpio.php S: Maintained +BTRFS FILE SYSTEM +P: Chris Mason +M: chris.mason@oracle.com +L: linux-btrfs@vger.kernel.org +W: http://btrfs.wiki.kernel.org/ +T: git kernel.org:/pub/scm/linux/kernel/git/mason/btrfs-unstable.git +S: Maintained + BTTV VIDEO4LINUX DRIVER P: Mauro Carvalho Chehab M: mchehab@infradead.org @@ -2212,7 +2220,7 @@ P: Sean Hefty M: sean.hefty@intel.com P: Hal Rosenstock M: hal.rosenstock@gmail.com -L: general@lists.openfabrics.org +L: general@lists.openfabrics.org (moderated for non-subscribers) W: http://www.openib.org/ T: git kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git S: Supported @@ -4847,6 +4855,7 @@ P: Ingo Molnar M: mingo@redhat.com P: H. Peter Anvin M: hpa@zytor.com +M: x86@kernel.org L: linux-kernel@vger.kernel.org T: git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git S: Maintained diff --git a/trunk/Makefile b/trunk/Makefile index 7715b2c14fb4..681c1d23b4d4 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 29 -EXTRAVERSION = -rc3 +EXTRAVERSION = -rc4 NAME = Erotic Pickled Herring # *DOCUMENTATION* diff --git a/trunk/arch/alpha/include/asm/bug.h b/trunk/arch/alpha/include/asm/bug.h index 7b85b7c93709..1720c8ad86fe 100644 --- a/trunk/arch/alpha/include/asm/bug.h +++ b/trunk/arch/alpha/include/asm/bug.h @@ -8,12 +8,12 @@ /* ??? Would be nice to use .gprel32 here, but we can't be sure that the function loaded the GP, so this could fail in modules. */ -#define BUG() { \ +#define BUG() do { \ __asm__ __volatile__( \ "call_pal %0 # bugchk\n\t" \ ".long %1\n\t.8byte %2" \ : : "i"(PAL_bugchk), "i"(__LINE__), "i"(__FILE__)); \ - for ( ; ; ); } + for ( ; ; ); } while (0) #define HAVE_ARCH_BUG #endif diff --git a/trunk/arch/ia64/sn/kernel/io_acpi_init.c b/trunk/arch/ia64/sn/kernel/io_acpi_init.c index c5a214026a77..d0223abbbbd4 100644 --- a/trunk/arch/ia64/sn/kernel/io_acpi_init.c +++ b/trunk/arch/ia64/sn/kernel/io_acpi_init.c @@ -443,7 +443,7 @@ sn_acpi_slot_fixup(struct pci_dev *dev) size = pci_resource_len(dev, PCI_ROM_RESOURCE); addr = ioremap(pcidev_info->pdi_pio_mapped_addr[PCI_ROM_RESOURCE], size); - image_size = pci_get_rom_size(addr, size); + image_size = pci_get_rom_size(dev, addr, size); dev->resource[PCI_ROM_RESOURCE].start = (unsigned long) addr; dev->resource[PCI_ROM_RESOURCE].end = (unsigned long) addr + image_size - 1; diff --git a/trunk/arch/ia64/sn/kernel/io_init.c b/trunk/arch/ia64/sn/kernel/io_init.c index 4e1801bad83a..e2eb2da60f96 100644 --- a/trunk/arch/ia64/sn/kernel/io_init.c +++ b/trunk/arch/ia64/sn/kernel/io_init.c @@ -269,7 +269,7 @@ sn_io_slot_fixup(struct pci_dev *dev) rom = ioremap(pci_resource_start(dev, PCI_ROM_RESOURCE), size + 1); - image_size = pci_get_rom_size(rom, size + 1); + image_size = pci_get_rom_size(dev, rom, size + 1); dev->resource[PCI_ROM_RESOURCE].end = dev->resource[PCI_ROM_RESOURCE].start + image_size - 1; diff --git a/trunk/arch/sh/boards/board-ap325rxa.c b/trunk/arch/sh/boards/board-ap325rxa.c index caf4c33f4e84..7c35787d29b4 100644 --- a/trunk/arch/sh/boards/board-ap325rxa.c +++ b/trunk/arch/sh/boards/board-ap325rxa.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include