Linux 2.6.32.8
Subsystems (55)
I'm announcing the release of the 2.6.32.8 kernel.
Sorry for the delay in releasing it, but there were a few crashes that people had reported, combined with verifying that a security problem really was fixed and backported properly, along with travel to and from FOSDEM, all which caused delays. Look, a release at 5am, jet lag sucks at times...
And of course all users of the 2.6.32 kernel series are very strongly encouraged to upgrade.
The updated 2.6.32.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.32.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.32.y.git;a=summarythanks,
greg k-h
------------
Documentation/kvm/api.txt | 36 + Makefile | 2 arch/blackfin/include/asm/page.h | 5 arch/frv/include/asm/page.h | 2 arch/powerpc/include/asm/elf.h | 8 arch/powerpc/include/asm/thread_info.h | 2 arch/powerpc/kernel/process.c | 12 arch/s390/kernel/entry.S | 1 arch/s390/kernel/entry64.S | 1 arch/sh/kernel/process_64.c | 2 arch/sparc/include/asm/elf_64.h | 13 arch/sparc/include/asm/thread_info_64.h | 4 arch/sparc/kernel/process_64.c | 8 arch/x86/Kconfig | 6 arch/x86/ia32/ia32_aout.c | 11 arch/x86/include/asm/cpu_debug.h | 127 ----- arch/x86/include/asm/elf.h | 10 arch/x86/include/asm/hpet.h | 1 arch/x86/include/asm/kvm_host.h | 1 arch/x86/include/asm/thread_info.h | 2 arch/x86/kernel/amd_iommu.c | 2 arch/x86/kernel/cpu/Makefile | 2 arch/x86/kernel/cpu/cpu_debug.c | 688 ------------------------------ arch/x86/kernel/hpet.c | 8 arch/x86/kernel/process.c | 12 arch/x86/kernel/process_64.c | 11 arch/x86/kernel/quirks.c | 13 arch/x86/kernel/reboot.c | 9 arch/x86/kernel/setup.c | 14 arch/x86/kvm/x86.c | 42 + arch/x86/mm/srat_64.c | 4 arch/x86/oprofile/nmi_int.c | 3 drivers/acpi/bus.c | 163 +++++++ drivers/ata/libata-core.c | 38 + drivers/ata/libata-eh.c | 5 drivers/block/pktcdvd.c | 2 drivers/char/random.c | 9 drivers/connector/connector.c | 175 ------- drivers/firewire/core-card.c | 42 + drivers/firewire/ohci.c | 4 drivers/gpu/drm/drm_gem.c | 13 drivers/gpu/drm/i915/i915_debugfs.c | 2 drivers/gpu/drm/i915/i915_dma.c | 4 drivers/gpu/drm/i915/i915_drv.h | 2 drivers/gpu/drm/i915/i915_gem.c | 54 -- drivers/gpu/drm/i915/i915_irq.c | 32 - drivers/gpu/drm/i915/i915_reg.h | 8 drivers/gpu/drm/i915/intel_crt.c | 2 drivers/gpu/drm/i915/intel_display.c | 26 - drivers/gpu/drm/i915/intel_dp.c | 6 drivers/gpu/drm/i915/intel_hdmi.c | 5 drivers/gpu/drm/i915/intel_sdvo.c | 3 drivers/gpu/drm/i915/intel_tv.c | 2 drivers/infiniband/hw/ipath/ipath_fs.c | 4 drivers/input/misc/winbond-cir.c | 2 drivers/message/fusion/mptbase.c | 2 drivers/mtd/ubi/cdev.c | 1 drivers/net/benet/be.h | 5 drivers/net/benet/be_cmds.h | 3 drivers/net/benet/be_main.c | 25 + drivers/net/e1000/e1000.h | 2 drivers/net/e1000/e1000_main.c | 33 - drivers/net/e1000e/e1000.h | 1 drivers/net/e1000e/netdev.c | 45 - drivers/net/sky2.c | 3 drivers/net/starfire.c | 5 drivers/net/wireless/ath/ath9k/hw.c | 7 drivers/net/wireless/ath/ath9k/main.c | 2 drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 2 drivers/regulator/wm8350-regulator.c | 4 drivers/s390/block/dasd.c | 8 drivers/s390/block/dasd_eckd.c | 2 drivers/s390/block/dasd_ioctl.c | 7 drivers/s390/block/dasd_proc.c | 7 drivers/s390/crypto/zcrypt_pcicc.c | 2 drivers/s390/crypto/zcrypt_pcixcc.c | 2 drivers/scsi/scsi_lib.c | 2 drivers/serial/uartlite.c | 2 drivers/usb/host/r8a66597-hcd.c | 17 drivers/video/imxfb.c | 6 drivers/video/mx3fb.c | 12 fs/9p/vfs_super.c | 3 fs/affs/affs.h | 2 fs/affs/namei.c | 7 fs/affs/super.c | 31 - fs/affs/symlink.c | 7 fs/bfs/inode.c | 43 - fs/binfmt_aout.c | 1 fs/binfmt_elf.c | 27 - fs/binfmt_elf_fdpic.c | 16 fs/binfmt_flat.c | 1 fs/binfmt_som.c | 1 fs/bio-integrity.c | 3 fs/bio.c | 7 fs/exec.c | 36 - fs/fuse/file.c | 3 fs/romfs/super.c | 1 include/linux/acpi.h | 16 include/linux/binfmts.h | 1 include/linux/connector.h | 32 - include/linux/inetdevice.h | 1 include/linux/kvm.h | 9 include/linux/libata.h | 3 include/linux/pagemap.h | 2 include/linux/sched.h | 2 include/linux/sysctl.h | 1 include/net/netrom.h | 2 kernel/cred.c | 2 kernel/sysctl_check.c | 1 kernel/time/clocksource.c | 4 mm/filemap.c | 103 +++- mm/page_alloc.c | 5 mm/vmalloc.c | 109 +++- net/ax25/ax25_out.c | 6 net/core/sock.c | 4 net/ipv4/devinet.c | 1 net/ipv4/fib_frontend.c | 2 net/mac80211/driver-trace.h | 2 net/netrom/nr_route.c | 11 net/packet/af_packet.c | 19 net/rose/rose_link.c | 8 net/rose/rose_route.c | 5 security/selinux/hooks.c | 2 123 files changed, 953 insertions(+), 1461 deletions(-)
Documentation/kvm/api.txt +36 -0
@@ -593,6 +593,42 @@ struct kvm_irqchip { } chip; }; +4.27 KVM_GET_CLOCK + +Capability: KVM_CAP_ADJUST_CLOCK +Architectures: x86 +Type: vm ioctl +Parameters: struct kvm_clock_data (out) +Returns: 0 on success, -1 on error + +Gets the current timestamp of kvmclock as seen by the current guest. In +conjunction with KVM_SET_CLOCK, it is used to ensure monotonicity on scenarios +such as migration. + +struct kvm_clock_data { + __u64 clock; /* kvmclock current value */ + __u32 flags; + __u32 pad[9]; +}; + +4.28 KVM_SET_CLOCK + +Capability: KVM_CAP_ADJUST_CLOCK +Architectures: x86 +Type: vm ioctl +Parameters: struct kvm_clock_data (in) +Returns: 0 on success, -1 on error + +Sets the current timestamp of kvmclock to the valued specific in its parameter. +In conjunction with KVM_GET_CLOCK, it is used to ensure monotonicity on scenarios +such as migration. + +struct kvm_clock_data { + __u64 clock; /* kvmclock current value */ + __u32 flags; + __u32 pad[9]; +}; + 5. The kvm_run structure Application code obtains a pointer to the kvm_run structure by
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 32 -EXTRAVERSION = .7 +EXTRAVERSION = .8 NAME = Man-Eating Seals of Antiquity # *DOCUMENTATION*
arch/blackfin/include/asm/page.h +5 -0
@@ -10,4 +10,9 @@#include <asm-generic/page.h> #define MAP_NR (addr) (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT) +#define VM_DATA_DEFAULT_FLAGS \ + (VM_READ | VM_WRITE | \ + ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ + VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) +#endif
arch/frv/include/asm/page.h +0 -2
@@ -63,12 +63,10 @@ extern unsigned long max_pfn;#define virt_addr_valid (kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT) -#ifdef CONFIG_MMU #define VM_DATA_DEFAULT_FLAGS \ (VM_READ | VM_WRITE | \ ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) -#endif #endif /* __ASSEMBLY__ */
arch/powerpc/include/asm/elf.h +2 -6
@@ -236,14 +236,10 @@ typedef elf_vrregset_t elf_fpxregset_t;#ifdef __powerpc64__# define SET_PERSONALITY (ex) \ do { \ - unsigned long new_flags = 0; \ if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ - new_flags = _TIF_32BIT; \ - if ((current_thread_info()->flags & _TIF_32BIT) \ - != new_flags) \ - set_thread_flag(TIF_ABI_PENDING); \ + set_thread_flag(TIF_32BIT); \ else \ - clear_thread_flag(TIF_ABI_PENDING); \ + clear_thread_flag(TIF_32BIT); \ if (personality(current->personality) != PER_LINUX32) \ set_personality(PER_LINUX | \ (current->personality & (~PER_MASK))); \
arch/powerpc/include/asm/thread_info.h +0 -2
@@ -111,7 +111,6 @@ static inline struct thread_info *current_thread_info(void)#define TIF_NOTIFY_RESUME 13/* callback before returning to user */ #define TIF_FREEZE 14/* Freezing for suspend */ #define TIF_RUNLATCH 15/* Is the runlatch enabled? */ -#define TIF_ABI_PENDING 16/* 32/64 bit switch needed */ /* as above, but as bit values */ #define _TIF_SYSCALL_TRACE (1<<TIF_SYSCALL_TRACE)
@@ -129,7 +128,6 @@ static inline struct thread_info *current_thread_info(void)#define _TIF_NOTIFY_RESUME (1<<TIF_NOTIFY_RESUME)#define _TIF_FREEZE (1<<TIF_FREEZE)#define _TIF_RUNLATCH (1<<TIF_RUNLATCH) -#define _TIF_ABI_PENDING (1<<TIF_ABI_PENDING)#define _TIF_SYSCALL_T_OR_A (_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT|_TIF_SECCOMP)#define _TIF_USER_WORK_MASK (_TIF_SIGPENDING | _TIF_NEED_RESCHED | \
arch/powerpc/kernel/process.c +0 -12
@@ -554,18 +554,6 @@ void exit_thread(void)void flush_thread (void ) { -#ifdef CONFIG_PPC64 -struct thread_info *t =current_thread_info (); - -if (test_ti_thread_flag (t,TIF_ABI_PENDING )) { -clear_ti_thread_flag (t,TIF_ABI_PENDING ); -if (test_ti_thread_flag (t,TIF_32BIT )) -clear_ti_thread_flag (t,TIF_32BIT ); -else -set_ti_thread_flag (t,TIF_32BIT ); - } -#endif -discard_lazy_cpu_state ();if (current->thread.dabr) {
arch/s390/kernel/entry.S +1 -0
@@ -571,6 +571,7 @@ pgm_svcper: mvc __THREAD_per+__PER_access_id(1,%r8),__LC_PER_ACCESS_ID oi __TI_flags+3(%r9),_TIF_SINGLE_STEP # set TIF_SINGLE_STEP TRACE_IRQS_ON + lm %r2,%r6,SP_R2(%r15) # load svc arguments stosm __SF_EMPTY(%r15),0x03 # reenable interrupts b BASED(sysc_do_svc)
arch/s390/kernel/entry64.S +1 -0
@@ -549,6 +549,7 @@ pgm_svcper: mvc __THREAD_per+__PER_access_id(1,%r8),__LC_PER_ACCESS_ID oi __TI_flags+7(%r9),_TIF_SINGLE_STEP # set TIF_SINGLE_STEP TRACE_IRQS_ON + lmg %r2,%r6,SP_R2(%r15) # load svc arguments stosm __SF_EMPTY(%r15),0x03 # reenable interrupts j sysc_do_svc
arch/sh/kernel/process_64.c +1 -1
@@ -367,7 +367,7 @@ void exit_thread(void)void flush_thread (void ) { -/* Called by fs/exec.c (flush_old_exec) to remove traces of a +/* Called by fs/exec.c (setup_new_exec) to remove traces of a * previously running executable. */ #ifdef CONFIG_SH_FPU if (last_task_used_math == current) {
arch/sparc/include/asm/elf_64.h +3 -10
@@ -196,17 +196,10 @@ static inline unsigned int sparc64_elf_hwcap(void)#define ELF_PLATFORM (NULL)#define SET_PERSONALITY (ex) \ -do { unsigned long new_flags = current_thread_info()->flags; \ - new_flags &= _TIF_32BIT; \ - if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ - new_flags |= _TIF_32BIT; \ +do { if ((ex).e_ident[EI_CLASS] == ELFCLASS32) \ + set_thread_flag(TIF_32BIT); \ else \ - new_flags &= ~_TIF_32BIT; \ - if ((current_thread_info()->flags & _TIF_32BIT) \ - != new_flags) \ - set_thread_flag(TIF_ABI_PENDING); \ - else \ - clear_thread_flag(TIF_ABI_PENDING); \ + clear_thread_flag(TIF_32BIT); \/* flush_thread will update pgd cache */ \ if (personality(current->personality) != PER_LINUX32) \ set_personality(PER_LINUX | \
arch/sparc/include/asm/thread_info_64.h +1 -3
@@ -227,12 +227,11 @@ register struct thread_info *current_thread_info_reg asm("g6");/* flag bit 8 is available */ #define TIF_SECCOMP 9/* secure computing */ #define TIF_SYSCALL_AUDIT 10/* syscall auditing active */ -/* flag bit 11 is available */ /* NOTE: Thread flags >= 12 should be ones we have no interest * in using in assembly, else we can't use the mask as * an immediate value in instructions such as andcc. */ -#define TIF_ABI_PENDING 12 +/* flag bit 12 is available */ #define TIF_MEMDIE 13#define TIF_POLLING_NRFLAG 14#define TIF_FREEZE 15/* is freezing for suspend */
@@ -246,7 +245,6 @@ register struct thread_info *current_thread_info_reg asm("g6");#define _TIF_32BIT (1<<TIF_32BIT)#define _TIF_SECCOMP (1<<TIF_SECCOMP)#define _TIF_SYSCALL_AUDIT (1<<TIF_SYSCALL_AUDIT) -#define _TIF_ABI_PENDING (1<<TIF_ABI_PENDING)#define _TIF_POLLING_NRFLAG (1<<TIF_POLLING_NRFLAG)#define _TIF_FREEZE (1<<TIF_FREEZE)
arch/sparc/kernel/process_64.c +0 -8
@@ -365,14 +365,6 @@ void flush_thread(void)struct thread_info *t =current_thread_info ();struct mm_struct *mm; -if (test_ti_thread_flag (t,TIF_ABI_PENDING )) { -clear_ti_thread_flag (t,TIF_ABI_PENDING ); -if (test_ti_thread_flag (t,TIF_32BIT )) -clear_ti_thread_flag (t,TIF_32BIT ); -else -set_ti_thread_flag (t,TIF_32BIT ); - } - mm = t->task->mm;if (mm)tsb_context_switch (mm);
arch/x86/Kconfig +0 -6
@@ -984,12 +984,6 @@ config X86_CPUID with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to /dev/cpu/31/cpuid. -config X86_CPU_DEBUG - tristate "/sys/kernel/debug/x86/cpu/* - CPU Debug support" - ---help--- - If you select this option, this will provide various x86 CPUs - information through debugfs. - choice prompt "High Memory Support" default HIGHMEM4G if !X86_NUMAQ
arch/x86/ia32/ia32_aout.c +6 -5
@@ -308,14 +308,15 @@ static int load_aout_binary(struct linux_binprm *bprm, struct pt_regs *regs)if (retval)return retval; - regs->cs = __USER32_CS; - regs->r8 = regs->r9 = regs->r10 = regs->r11 = regs->r12 = - regs->r13 = regs->r14 = regs->r15 =0 ; -/* OK, This is the point of no return */ set_personality (PER_LINUX );set_thread_flag (TIF_IA32 ); -clear_thread_flag (TIF_ABI_PENDING ); + +setup_new_exec (bprm); + + regs->cs = __USER32_CS; + regs->r8 = regs->r9 = regs->r10 = regs->r11 = regs->r12 = + regs->r13 = regs->r14 = regs->r15 =0 ; current->mm->end_code = ex.a_text + (current->mm->start_code =N_TXTADDR (ex));
arch/x86/include/asm/cpu_debug.h deleted +0 -127
127 lines not on this page · raw message
arch/x86/include/asm/elf.h +2 -8
@@ -197,14 +197,8 @@ do { \set_fs (USER_DS ); \ }while (0 ) -#define COMPAT_SET_PERSONALITY (ex) \ -do { \ - if (test_thread_flag(TIF_IA32)) \ - clear_thread_flag(TIF_ABI_PENDING); \ - else \ - set_thread_flag(TIF_ABI_PENDING); \ - current->personality |= force_personality32; \ -} while (0) +void set_personality_ia32(void); +#define COMPAT_SET_PERSONALITY (ex) set_personality_ia32()#define COMPAT_ELF_PLATFORM ("i686")
arch/x86/include/asm/hpet.h +1 -0
@@ -66,6 +66,7 @@extern unsigned long hpet_address;extern unsigned long force_hpet_address;extern int hpet_force_user; +extern u8 hpet_msi_disable;extern int is_hpet_enabled (void );extern int hpet_enable (void );extern void hpet_disable (void );
arch/x86/include/asm/kvm_host.h +1 -0
@@ -412,6 +412,7 @@ struct kvm_arch{unsigned long irq_sources_bitmap;unsigned long irq_states[KVM_IOAPIC_NUM_PINS ];u64 vm_init_tsc; +s64 kvmclock_offset; };struct kvm_vm_stat {
arch/x86/include/asm/thread_info.h +0 -2
@@ -86,7 +86,6 @@ struct thread_info {#define TIF_NOTSC 16/* TSC is not accessible in userland */ #define TIF_IA32 17/* 32bit process */ #define TIF_FORK 18/* ret_from_fork */ -#define TIF_ABI_PENDING 19#define TIF_MEMDIE 20#define TIF_DEBUG 21/* uses debug registers */ #define TIF_IO_BITMAP 22/* uses I/O bitmap */
@@ -110,7 +109,6 @@ struct thread_info {#define _TIF_NOTSC (1 << TIF_NOTSC)#define _TIF_IA32 (1 << TIF_IA32)#define _TIF_FORK (1 << TIF_FORK) -#define _TIF_ABI_PENDING (1 << TIF_ABI_PENDING)#define _TIF_DEBUG (1 << TIF_DEBUG)#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP)#define _TIF_FREEZE (1 << TIF_FREEZE)
arch/x86/kernel/amd_iommu.c +1 -1
@@ -540,7 +540,7 @@ static void flush_all_devices_for_iommu(struct amd_iommu *iommu)static void flush_devices_by_domain (struct protection_domain *domain) {struct amd_iommu *iommu; -int i; +unsigned long i;for (i =0 ; i <= amd_iommu_last_bdf; ++i) { if ((domain == NULL && amd_iommu_pd_table[i] == NULL) ||
arch/x86/kernel/cpu/Makefile +0 -2
@@ -18,8 +18,6 @@ obj-y += vmware.o hypervisor.o sched.o obj-$(CONFIG_X86_32) += bugs.o cmpxchg.o obj-$(CONFIG_X86_64) += bugs_64.o -obj-$(CONFIG_X86_CPU_DEBUG) += cpu_debug.o - obj-$(CONFIG_CPU_SUP_INTEL) += intel.o obj-$(CONFIG_CPU_SUP_AMD) += amd.o obj-$(CONFIG_CPU_SUP_CYRIX_32) += cyrix.o
arch/x86/kernel/cpu/cpu_debug.c deleted +0 -688
688 lines not on this page · raw message
arch/x86/kernel/hpet.c +8 -0
@@ -33,6 +33,8 @@* HPET address is set in acpi/boot.c, when an ACPI entry exists */ unsigned long hpet_address; +u8 hpet_msi_disable; +#ifdef CONFIG_PCI_MSI static unsigned long hpet_num_timers;#endif
@@ -584,6 +586,9 @@ static void hpet_msi_capability_lookup(unsigned int start_timer)unsigned int num_timers_used =0 ;int i; +if (hpet_msi_disable) +return ; + id =hpet_readl (HPET_ID ); num_timers = ((id &HPET_ID_NUMBER ) >>HPET_ID_NUMBER_SHIFT );
@@ -911,6 +916,9 @@ static __init int hpet_late_init(void)hpet_reserve_platform_timers (hpet_readl (HPET_ID ));hpet_print_config (); +if (hpet_msi_disable) +return 0 ; +for_each_online_cpu (cpu) {hpet_cpuhp_notify (NULL ,CPU_ONLINE , (void *)(long )cpu); }
arch/x86/kernel/process.c +0 -12
@@ -91,18 +91,6 @@ void flush_thread(void) {struct task_struct *tsk = current; -#ifdef CONFIG_X86_64 -if (test_tsk_thread_flag (tsk,TIF_ABI_PENDING )) { -clear_tsk_thread_flag (tsk,TIF_ABI_PENDING ); -if (test_tsk_thread_flag (tsk,TIF_IA32 )) { -clear_tsk_thread_flag (tsk,TIF_IA32 ); - }else { -set_tsk_thread_flag (tsk,TIF_IA32 ); -current_thread_info ()->status |=TS_COMPAT ; - } - } -#endif -clear_tsk_thread_flag (tsk,TIF_DEBUG ); tsk->thread.debugreg0 =0 ;
arch/x86/kernel/process_64.c +11 -0
@@ -540,6 +540,17 @@ sys_clone(unsigned long clone_flags, unsigned long newsp,return do_fork (clone_flags, newsp, regs,0 , parent_tid, child_tid); } +void set_personality_ia32 (void ) +{ +/* inherit personality from parent */ + +/* Make sure to be in 32bit mode */ +set_thread_flag (TIF_IA32 ); + +/* Prepare the first "return" to user space */ +current_thread_info ()->status |=TS_COMPAT ; +} +unsigned long get_wchan (struct task_struct *p) {unsigned long stack;
arch/x86/kernel/quirks.c +13 -0
@@ -491,6 +491,19 @@ void force_hpet_resume(void) break; } } + +/* +* HPET MSI on some boards (ATI SB700/SB800) has side effect on +* floppy DMA. Disable HPET MSI on such platforms. +*/ +static void force_disable_hpet_msi (struct pci_dev *unused) +{ + hpet_msi_disable =1 ; +} + +DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_ATI ,PCI_DEVICE_ID_ATI_SBX00_SMBUS , + force_disable_hpet_msi); +#endif #if defined(CONFIG_PCI ) && defined(CONFIG_NUMA )
arch/x86/kernel/reboot.c +9 -0
@@ -203,6 +203,15 @@ static struct dmi_system_id __initdata reboot_dmi_table[] = { DMI_MATCH(DMI_BOARD_NAME, "0T656F"), }, }, + { /* Handle problems with rebooting on Dell OptiPlex 760 with 0G919G*/ + .callback = set_bios_reboot, + .ident = "Dell OptiPlex 760", + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), +DMI_MATCH (DMI_PRODUCT_NAME ,"OptiPlex 760" ), + DMI_MATCH(DMI_BOARD_NAME, "0G919G"), + }, + }, { /* Handle problems with rebooting on Dell 2400's */ .callback = set_bios_reboot, .ident = "Dell PowerEdge 2400",
arch/x86/kernel/setup.c +11 -3
@@ -667,19 +667,27 @@ static struct dmi_system_id __initdata bad_bios_dmi_table[] = { DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix/MSC"), }, }, - { /* -* AMI BIOS with low memory corruption was found on Intel DG45ID board. -* It hase different DMI_BIOS_VENDOR = "Intel Corp.", for now we will + * AMI BIOS with low memory corruption was found on Intel DG45ID and + * DG45FC boards. + * It has a different DMI_BIOS_VENDOR = "Intel Corp.", for now we will * match only DMI_BOARD_NAME and see if there is more bad products * with this vendor. */ + { .callback = dmi_low_memory_corruption, .ident = "AMI BIOS", .matches = { DMI_MATCH(DMI_BOARD_NAME, "DG45ID"), }, }, + { + .callback = dmi_low_memory_corruption, + .ident = "AMI BIOS", + .matches = { + DMI_MATCH(DMI_BOARD_NAME, "DG45FC"), + }, + }, #endif {} };
arch/x86/kvm/x86.c +41 -1
60 lines not on this page · raw message
arch/x86/mm/srat_64.c +3 -1
@@ -229,9 +229,11 @@ update_nodes_add(int node, unsigned long start, unsigned long end)printk (KERN_ERR "SRAT: Hotplug zone not continuous. Partly ignored\n" ); } -if (changed) +if (changed) { +node_set (node, cpu_nodes_parsed);printk (KERN_INFO "SRAT: hot plug zone found %Lx - %Lx\n" , nd->start, nd->end); + } }/* Callback for parsing of the Proximity Domain <-> Memory Area mappings */
arch/x86/oprofile/nmi_int.c +2 -1
@@ -222,7 +222,7 @@ static void nmi_cpu_switch(void *dummy)/* move to next set */ si += model->num_counters; -if ((si > model->num_virt_counters) || (counter_config[si].count ==0 )) +if ((si >= model->num_virt_counters) || (counter_config[si].count ==0 ))per_cpu (switch_index, cpu) =0 ;else per_cpu (switch_index, cpu) = si;
@@ -598,6 +598,7 @@ static int __init ppro_init(char **cpu_type)case 15 :case 23 : *cpu_type ="i386/core_2" ;break ; +case 0x2e :case 26 : spec = &op_arch_perfmon_spec; *cpu_type ="i386/core_i7" ;
drivers/acpi/bus.c +163 -0
175 lines not on this page · raw message
drivers/ata/libata-core.c +31 -7
@@ -3790,21 +3790,45 @@ int sata_link_debounce(struct ata_link *link, const unsigned long *params,int sata_link_resume (struct ata_link *link,const unsigned long *params,unsigned long deadline) { +int tries =ATA_LINK_RESUME_TRIES ;u32 scontrol, serror;int rc;if ((rc =sata_scr_read (link,SCR_CONTROL , &scontrol)))return rc; - scontrol = (scontrol &0x0f0 ) |0x300 ; +/* +* Writes to SControl sometimes get ignored under certain +* controllers (ata_piix SIDPR). Make sure DET actually is +* cleared. +*/ +do { + scontrol = (scontrol &0x0f0 ) |0x300 ; +if ((rc =sata_scr_write (link,SCR_CONTROL , scontrol))) +return rc; +/* +* Some PHYs react badly if SStatus is pounded +* immediately after resuming. Delay 200ms before +* debouncing. +*/ +msleep (200 ); -if ((rc =sata_scr_write (link,SCR_CONTROL , scontrol))) -return rc; +/* is SControl restored correctly? */ +if ((rc =sata_scr_read (link,SCR_CONTROL , &scontrol))) +return rc; + }while ((scontrol &0xf0f ) !=0x300 && --tries); -/* Some PHYs react badly if SStatus is pounded immediately -* after resuming. Delay 200ms before debouncing. -*/ -msleep (200 ); +if ((scontrol &0xf0f ) !=0x300 ) { +ata_link_printk (link,KERN_ERR , +"failed to resume link (SControl %X)\n" , + scontrol); +return 0 ; + } + +if (tries <ATA_LINK_RESUME_TRIES ) +ata_link_printk (link,KERN_WARNING , +"link resume succeeded after %d retries\n" , +ATA_LINK_RESUME_TRIES - tries);if ((rc =sata_link_debounce (link, params, deadline)))return rc;
drivers/ata/libata-eh.c +3 -2
@@ -2019,8 +2019,9 @@ static void ata_eh_link_autopsy(struct ata_link *link) qc->err_mask &= ~(AC_ERR_DEV |AC_ERR_OTHER );/* determine whether the command is worth retrying */ -if (!(qc->err_mask &AC_ERR_INVALID ) && - ((qc->flags &ATA_QCFLAG_IO ) || qc->err_mask !=AC_ERR_DEV )) +if (qc->flags &ATA_QCFLAG_IO || + (!(qc->err_mask &AC_ERR_INVALID ) && + qc->err_mask !=AC_ERR_DEV )) qc->flags |=ATA_QCFLAG_RETRY ;/* accumulate error info */
drivers/block/pktcdvd.c +1 -1
@@ -322,7 +322,7 @@ static void pkt_sysfs_dev_remove(struct pktcdvd_device *pd)pkt_kobj_remove (pd->kobj_stat);pkt_kobj_remove (pd->kobj_wqueue);if (class_pktcdvd) -device_destroy (class_pktcdvd, pd->pkt_dev); +device_unregister (pd->dev); }
drivers/char/random.c +0 -9
@@ -1051,12 +1051,6 @@ random_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)/* like a named pipe */ } -/* -* If we gave the user some bytes, update the access time. -*/ -if (count) -file_accessed (file); -return (count ? count : retval); }
@@ -1107,7 +1101,6 @@ static ssize_t random_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { size_t ret; -struct inode *inode = file->f_path.dentry->d_inode; ret =write_pool (&blocking_pool, buffer, count);if (ret)
@@ -1116,8 +1109,6 @@ static ssize_t random_write(struct file *file, const char __user *buffer,if (ret)return ret; - inode->i_mtime =current_fs_time (inode->i_sb); -mark_inode_dirty (inode);return (ssize_t )count; }
drivers/connector/connector.c +0 -175
222 lines not on this page · raw message
drivers/firewire/core-card.c +29 -13
102 lines not on this page · raw message
drivers/firewire/ohci.c +3 -1
@@ -2412,6 +2412,7 @@ static void ohci_pmac_off(struct pci_dev *dev)#define PCI_VENDOR_ID_AGERE PCI_VENDOR_ID_ATT#define PCI_DEVICE_ID_AGERE_FW643 0x5901 +#define PCI_DEVICE_ID_TI_TSB43AB23 0x8024static int __devinit pci_probe (struct pci_dev *dev,const struct pci_device_id *ent)
@@ -2477,7 +2478,8 @@ static int __devinit pci_probe(struct pci_dev *dev,#if !defined(CONFIG_X86_32 )/* dual-buffer mode is broken with descriptor addresses above 2G */ if (dev->vendor ==PCI_VENDOR_ID_TI && - dev->device ==PCI_DEVICE_ID_TI_TSB43AB22 ) + (dev->device ==PCI_DEVICE_ID_TI_TSB43AB22 || + dev->device ==PCI_DEVICE_ID_TI_TSB43AB23 )) ohci->use_dualbuffer = false;#endif
drivers/gpu/drm/drm_gem.c +0 -13
@@ -142,19 +142,6 @@ drm_gem_object_alloc(struct drm_device *dev, size_t size)if (IS_ERR (obj->filp)) goto free; -/* Basically we want to disable the OOM killer and handle ENOMEM -* ourselves by sacrificing pages from cached buffers. -* XXX shmem_file_[gs]et_gfp_mask() -*/ -mapping_set_gfp_mask (obj->filp->f_path.dentry->d_inode->i_mapping, -GFP_HIGHUSER | - __GFP_COLD | - __GFP_FS | - __GFP_RECLAIMABLE | - __GFP_NORETRY | - __GFP_NOWARN | - __GFP_NOMEMALLOC); -kref_init (&obj->refcount);kref_init (&obj->handlecount); obj->size = size;
drivers/gpu/drm/i915/i915_debugfs.c +1 -1
@@ -288,7 +288,7 @@ static int i915_batchbuffer_info(struct seq_file *m, void *data)list_for_each_entry (obj_priv, &dev_priv->mm.active_list, list) { obj = obj_priv->obj;if (obj->read_domains &I915_GEM_DOMAIN_COMMAND ) { - ret =i915_gem_object_get_pages (obj); + ret =i915_gem_object_get_pages (obj,0 );if (ret) {DRM_ERROR ("Failed to get pages: %d\n" , ret);spin_unlock (&dev_priv->mm.active_list_lock);
drivers/gpu/drm/i915/i915_dma.c +2 -2
@@ -1252,6 +1252,8 @@ static int i915_load_modeset_init(struct drm_device *dev,if (ret) goto destroy_ringbuffer; +intel_modeset_init (dev); + ret =drm_irq_install (dev);if (ret) goto destroy_ringbuffer;
@@ -1266,8 +1268,6 @@ static int i915_load_modeset_init(struct drm_device *dev,I915_WRITE (INSTPM , (1 <<5 ) | (1 <<21 )); -intel_modeset_init (dev); -drm_helper_initial_config (dev);return 0 ;
drivers/gpu/drm/i915/i915_drv.h +1 -1
@@ -822,7 +822,7 @@ int i915_gem_attach_phys_object(struct drm_device *dev,void i915_gem_detach_phys_object (struct drm_device *dev,struct drm_gem_object *obj);void i915_gem_free_all_phys_object (struct drm_device *dev); -int i915_gem_object_get_pages (struct drm_gem_object *obj); +int i915_gem_object_get_pages (struct drm_gem_object *obj,gfp_t gfpmask);void i915_gem_object_put_pages (struct drm_gem_object *obj);void i915_gem_release (struct drm_device * dev,struct drm_file *file_priv);
drivers/gpu/drm/i915/i915_gem.c +17 -37
130 lines not on this page · raw message
drivers/gpu/drm/i915/i915_irq.c +21 -11
@@ -282,6 +282,8 @@ irqreturn_t igdng_irq_handler(struct drm_device *dev) dev_priv->mm.irq_gem_seqno = seqno;trace_i915_gem_request_complete (dev, seqno);DRM_WAKEUP (&dev_priv->irq_queue); + dev_priv->hangcheck_count =0 ; +mod_timer (&dev_priv->hangcheck_timer, jiffies +DRM_I915_HANGCHECK_PERIOD ); }I915_WRITE (GTIIR , gt_iir);
@@ -1042,6 +1044,10 @@ void i915_driver_irq_preinstall(struct drm_device * dev) (void )I915_READ (IER ); } +/* +* Must be called after intel_modeset_init or hotplug interrupts won't be +* enabled correctly. +*/ int i915_driver_irq_postinstall (struct drm_device *dev) {drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
@@ -1064,19 +1070,23 @@ int i915_driver_irq_postinstall(struct drm_device *dev)if (I915_HAS_HOTPLUG (dev)) {u32 hotplug_en =I915_READ (PORT_HOTPLUG_EN ); -/* Leave other bits alone */ - hotplug_en |=HOTPLUG_EN_MASK ; +/* Note HDMI and DP share bits */ +if (dev_priv->hotplug_supported_mask &HDMIB_HOTPLUG_INT_STATUS ) + hotplug_en |=HDMIB_HOTPLUG_INT_EN ; +if (dev_priv->hotplug_supported_mask &HDMIC_HOTPLUG_INT_STATUS ) + hotplug_en |=HDMIC_HOTPLUG_INT_EN ; +if (dev_priv->hotplug_supported_mask &HDMID_HOTPLUG_INT_STATUS ) + hotplug_en |=HDMID_HOTPLUG_INT_EN ; +if (dev_priv->hotplug_supported_mask &SDVOC_HOTPLUG_INT_STATUS ) + hotplug_en |=SDVOC_HOTPLUG_INT_EN ; +if (dev_priv->hotplug_supported_mask &SDVOB_HOTPLUG_INT_STATUS ) + hotplug_en |=SDVOB_HOTPLUG_INT_EN ; +if (dev_priv->hotplug_supported_mask &CRT_HOTPLUG_INT_STATUS ) + hotplug_en |=CRT_HOTPLUG_INT_EN ; +/* Ignore TV since it's buggy */ +I915_WRITE (PORT_HOTPLUG_EN , hotplug_en); - dev_priv->hotplug_supported_mask =CRT_HOTPLUG_INT_STATUS | -TV_HOTPLUG_INT_STATUS |SDVOC_HOTPLUG_INT_STATUS | -SDVOB_HOTPLUG_INT_STATUS ; -if (IS_G4X (dev)) { - dev_priv->hotplug_supported_mask |= -HDMIB_HOTPLUG_INT_STATUS | -HDMIC_HOTPLUG_INT_STATUS | -HDMID_HOTPLUG_INT_STATUS ; - }/* Enable in IER... */ enable_mask |=I915_DISPLAY_PORT_INTERRUPT ;/* and unmask in IMR */
drivers/gpu/drm/i915/i915_reg.h +0 -8
@@ -863,14 +863,6 @@#define CRT_HOTPLUG_DETECT_VOLTAGE_475MV (1 << 2)#define CRT_HOTPLUG_MASK (0x3fc)/* Bits 9-2 */ #define CRT_FORCE_HOTPLUG_MASK 0xfffffe1f -#define HOTPLUG_EN_MASK (HDMIB_HOTPLUG_INT_EN | \ - HDMIC_HOTPLUG_INT_EN | \ - HDMID_HOTPLUG_INT_EN | \ - SDVOB_HOTPLUG_INT_EN | \ - SDVOC_HOTPLUG_INT_EN | \ - TV_HOTPLUG_INT_EN | \ - CRT_HOTPLUG_INT_EN) -#define PORT_HOTPLUG_STAT 0x61114#define HDMIB_HOTPLUG_INT_STATUS (1 << 29)
drivers/gpu/drm/i915/intel_crt.c +2 -0
@@ -576,4 +576,6 @@ void intel_crt_init(struct drm_device *dev)drm_connector_helper_add (connector, &intel_crt_connector_helper_funcs);drm_sysfs_connector_add (connector); + + dev_priv->hotplug_supported_mask |=CRT_HOTPLUG_INT_STATUS ; }
drivers/gpu/drm/i915/intel_display.c +20 -6
@@ -4068,29 +4068,43 @@ static void intel_setup_outputs(struct drm_device *dev)bool found = false;if (I915_READ (SDVOB ) &SDVO_DETECTED ) { +DRM_DEBUG_KMS ("probing SDVOB\n" ); found =intel_sdvo_init (dev,SDVOB ); -if (!found &&SUPPORTS_INTEGRATED_HDMI (dev)) +if (!found &&SUPPORTS_INTEGRATED_HDMI (dev)) { +DRM_DEBUG_KMS ("probing HDMI on SDVOB\n" );intel_hdmi_init (dev,SDVOB ); + } -if (!found &&SUPPORTS_INTEGRATED_DP (dev)) +if (!found &&SUPPORTS_INTEGRATED_DP (dev)) { +DRM_DEBUG_KMS ("probing DP_B\n" );intel_dp_init (dev,DP_B ); + } }/* Before G4X SDVOC doesn't have its own detect register */ -if (I915_READ (SDVOB ) &SDVO_DETECTED ) +if (I915_READ (SDVOB ) &SDVO_DETECTED ) { +DRM_DEBUG_KMS ("probing SDVOC\n" ); found =intel_sdvo_init (dev,SDVOC ); + }if (!found && (I915_READ (SDVOC ) &SDVO_DETECTED )) { -if (SUPPORTS_INTEGRATED_HDMI (dev)) +if (SUPPORTS_INTEGRATED_HDMI (dev)) { +DRM_DEBUG_KMS ("probing HDMI on SDVOC\n" );intel_hdmi_init (dev,SDVOC ); -if (SUPPORTS_INTEGRATED_DP (dev)) + } +if (SUPPORTS_INTEGRATED_DP (dev)) { +DRM_DEBUG_KMS ("probing DP_C\n" );intel_dp_init (dev,DP_C ); + } } -if (SUPPORTS_INTEGRATED_DP (dev) && (I915_READ (DP_D ) &DP_DETECTED )) +if (SUPPORTS_INTEGRATED_DP (dev) && + (I915_READ (DP_D ) &DP_DETECTED )) { +DRM_DEBUG_KMS ("probing DP_D\n" );intel_dp_init (dev,DP_D ); + } }else if (IS_I8XX (dev))intel_dvo_init (dev);
drivers/gpu/drm/i915/intel_dp.c +6 -0
@@ -1290,14 +1290,20 @@ intel_dp_init(struct drm_device *dev, int output_reg)break ;case DP_B :case PCH_DP_B : + dev_priv->hotplug_supported_mask |= +HDMIB_HOTPLUG_INT_STATUS ; name ="DPDDC-B" ;break ;case DP_C :case PCH_DP_C : + dev_priv->hotplug_supported_mask |= +HDMIC_HOTPLUG_INT_STATUS ; name ="DPDDC-C" ;break ;case DP_D :case PCH_DP_D : + dev_priv->hotplug_supported_mask |= +HDMID_HOTPLUG_INT_STATUS ; name ="DPDDC-D" ;break ; }
drivers/gpu/drm/i915/intel_hdmi.c +5 -0
@@ -254,21 +254,26 @@ void intel_hdmi_init(struct drm_device *dev, int sdvox_reg)if (sdvox_reg ==SDVOB ) { intel_output->clone_mask = (1 <<INTEL_HDMIB_CLONE_BIT ); intel_output->ddc_bus =intel_i2c_create (dev,GPIOE ,"HDMIB" ); + dev_priv->hotplug_supported_mask |=HDMIB_HOTPLUG_INT_STATUS ; }else if (sdvox_reg ==SDVOC ) { intel_output->clone_mask = (1 <<INTEL_HDMIC_CLONE_BIT ); intel_output->ddc_bus =intel_i2c_create (dev,GPIOD ,"HDMIC" ); + dev_priv->hotplug_supported_mask |=HDMIC_HOTPLUG_INT_STATUS ; }else if (sdvox_reg ==HDMIB ) { intel_output->clone_mask = (1 <<INTEL_HDMID_CLONE_BIT ); intel_output->ddc_bus =intel_i2c_create (dev,PCH_GPIOE ,"HDMIB" ); + dev_priv->hotplug_supported_mask |=HDMIB_HOTPLUG_INT_STATUS ; }else if (sdvox_reg ==HDMIC ) { intel_output->clone_mask = (1 <<INTEL_HDMIE_CLONE_BIT ); intel_output->ddc_bus =intel_i2c_create (dev,PCH_GPIOD ,"HDMIC" ); + dev_priv->hotplug_supported_mask |=HDMIC_HOTPLUG_INT_STATUS ; }else if (sdvox_reg ==HDMID ) { intel_output->clone_mask = (1 <<INTEL_HDMIF_CLONE_BIT ); intel_output->ddc_bus =intel_i2c_create (dev,PCH_GPIOF ,"HDMID" ); + dev_priv->hotplug_supported_mask |=HDMID_HOTPLUG_INT_STATUS ; }if (!intel_output->ddc_bus) goto err_connector;
drivers/gpu/drm/i915/intel_sdvo.c +3 -0
@@ -2743,6 +2743,7 @@ static void intel_sdvo_create_enhance_property(struct drm_connector *connector)bool intel_sdvo_init (struct drm_device *dev,int output_device) { +struct drm_i915_private *dev_priv = dev->dev_private;struct drm_connector *connector;struct intel_output *intel_output;struct intel_sdvo_priv *sdvo_priv;
@@ -2789,10 +2790,12 @@ bool intel_sdvo_init(struct drm_device *dev, int output_device) intel_output->ddc_bus =intel_i2c_create (dev,GPIOE ,"SDVOB DDC BUS" ); sdvo_priv->analog_ddc_bus =intel_i2c_create (dev,GPIOA ,"SDVOB/VGA DDC BUS" ); + dev_priv->hotplug_supported_mask |=SDVOB_HOTPLUG_INT_STATUS ; }else { intel_output->ddc_bus =intel_i2c_create (dev,GPIOE ,"SDVOC DDC BUS" ); sdvo_priv->analog_ddc_bus =intel_i2c_create (dev,GPIOA ,"SDVOC/VGA DDC BUS" ); + dev_priv->hotplug_supported_mask |=SDVOC_HOTPLUG_INT_STATUS ; }if (intel_output->ddc_bus ==NULL )
drivers/gpu/drm/i915/intel_tv.c +2 -0
@@ -1801,6 +1801,8 @@ intel_tv_init(struct drm_device *dev)drm_connector_attach_property (connector, dev->mode_config.tv_bottom_margin_property, tv_priv->margin[TV_MARGIN_BOTTOM ]); + + dev_priv->hotplug_supported_mask |=TV_HOTPLUG_INT_STATUS ; out:drm_sysfs_connector_add (connector); }
drivers/infiniband/hw/ipath/ipath_fs.c +1 -3
@@ -346,10 +346,8 @@ static int ipathfs_fill_super(struct super_block *sb, void *data,list_for_each_entry_safe (dd, tmp, &ipath_dev_list, ipath_list) {spin_unlock_irqrestore (&ipath_devs_lock, flags); ret =create_device_files (sb, dd); -if (ret) { -deactivate_locked_super (sb); +if (ret) goto bail; - }spin_lock_irqsave (&ipath_devs_lock, flags); }
drivers/input/misc/winbond-cir.c +1 -1
@@ -768,7 +768,7 @@ wbcir_parse_rc6(struct device *dev, struct wbcir_data *data)return ; } - dev_info(dev, "IR-RC6 ad 0x%02X cm 0x%02X cu 0x%04X " + dev_dbg(dev, "IR-RC6 ad 0x%02X cm 0x%02X cu 0x%04X " "toggle %u mode %u scan 0x%08X\n", address, command,
drivers/message/fusion/mptbase.c +2 -0
@@ -4330,6 +4330,8 @@ initChainBuffers(MPT_ADAPTER *ioc)if (ioc->bus_type ==SPI ) num_chain *=MPT_SCSI_CAN_QUEUE ; +else if (ioc->bus_type ==SAS ) + num_chain *=MPT_SAS_CAN_QUEUE ;else num_chain *=MPT_FC_CAN_QUEUE ;
drivers/mtd/ubi/cdev.c +0 -1
@@ -853,7 +853,6 @@ static long ubi_cdev_ioctl(struct file *file, unsigned int cmd,break ; } - req.name[req.name_len] ='\0' ; err =verify_mkvol_req (ubi, &req);if (err)break ;
drivers/net/benet/be.h +5 -0
@@ -272,8 +272,13 @@ struct be_adapter {u32 cap;u32 rx_fc;/* Rx flow control */ u32 tx_fc;/* Tx flow control */ +u8 generation;/* BladeEngine ASIC generation */ }; +/* BladeEngine Generation numbers */ +#define BE_GEN2 2 +#define BE_GEN3 3 +extern const struct ethtool_ops be_ethtool_ops;#define drvr_stats (adapter) (&adapter->stats.drvr_stats)
drivers/net/benet/be_cmds.h +2 -1
@@ -154,7 +154,8 @@ struct be_cmd_req_hdr {u8 domain;/* dword 0 */ u32 timeout;/* dword 1 */ u32 request_length;/* dword 2 */ -u32 rsvd;/* dword 3 */ +u8 version;/* dword 3 */ +u8 rsvd[3 ];/* dword 3 */ };#define RESP_HDR_INFO_OPCODE_SHIFT 0/* bits 0 - 7 */
drivers/net/benet/be_main.c +23 -2
@@ -1944,6 +1944,7 @@ static void be_unmap_pci_bars(struct be_adapter *adapter)static int be_map_pci_bars (struct be_adapter *adapter) {u8 __iomem *addr; +int pcicfg_reg; addr =ioremap_nocache (pci_resource_start (adapter->pdev,2 ),pci_resource_len (adapter->pdev,2 ));
@@ -1957,8 +1958,13 @@ static int be_map_pci_bars(struct be_adapter *adapter) goto pci_map_err; adapter->db = addr; - addr =ioremap_nocache (pci_resource_start (adapter->pdev,1 ), -pci_resource_len (adapter->pdev,1 )); +if (adapter->generation ==BE_GEN2 ) + pcicfg_reg =1 ; +else + pcicfg_reg =0 ; + + addr =ioremap_nocache (pci_resource_start (adapter->pdev, pcicfg_reg), +pci_resource_len (adapter->pdev, pcicfg_reg));if (addr ==NULL ) goto pci_map_err; adapter->pcicfg = addr;
@@ -2028,6 +2034,7 @@ static int be_stats_init(struct be_adapter *adapter) cmd->va =pci_alloc_consistent (adapter->pdev, cmd->size, &cmd->dma);if (cmd->va ==NULL )return -1 ; +memset (cmd->va,0 , cmd->size);return 0 ; }
@@ -2101,6 +2108,20 @@ static int __devinit be_probe(struct pci_dev *pdev, goto rel_reg; } adapter =netdev_priv (netdev); + +switch (pdev->device) { +case BE_DEVICE_ID1 : +case OC_DEVICE_ID1 : + adapter->generation =BE_GEN2 ; +break ; +case BE_DEVICE_ID2 : +case OC_DEVICE_ID2 : + adapter->generation =BE_GEN3 ; +break ; +default : + adapter->generation =0 ; + } + adapter->pdev = pdev;pci_set_drvdata (pdev, adapter); adapter->netdev = netdev;
drivers/net/e1000/e1000.h +2 -0
@@ -326,6 +326,8 @@ struct e1000_adapter {/* for ioport free */ int bars;int need_ioport; + +bool discarding; };enum e1000_state_t {
drivers/net/e1000/e1000_main.c +12 -21
@@ -1698,18 +1698,6 @@ static void e1000_setup_rctl(struct e1000_adapter *adapter) rctl &= ~E1000_RCTL_SZ_4096 ; rctl |=E1000_RCTL_BSEX ;switch (adapter->rx_buffer_len) { -case E1000_RXBUFFER_256 : - rctl |=E1000_RCTL_SZ_256 ; - rctl &= ~E1000_RCTL_BSEX ; -break ; -case E1000_RXBUFFER_512 : - rctl |=E1000_RCTL_SZ_512 ; - rctl &= ~E1000_RCTL_BSEX ; -break ; -case E1000_RXBUFFER_1024 : - rctl |=E1000_RCTL_SZ_1024 ; - rctl &= ~E1000_RCTL_BSEX ; -break ;case E1000_RXBUFFER_2048 :default : rctl |=E1000_RCTL_SZ_2048 ;
@@ -3154,13 +3142,7 @@ static int e1000_change_mtu(struct net_device *netdev, int new_mtu)* however with the new *_jumbo_rx* routines, jumbo receives will use * fragmented skbs */ -if (max_frame <=E1000_RXBUFFER_256 ) - adapter->rx_buffer_len =E1000_RXBUFFER_256 ; -else if (max_frame <=E1000_RXBUFFER_512 ) - adapter->rx_buffer_len =E1000_RXBUFFER_512 ; -else if (max_frame <=E1000_RXBUFFER_1024 ) - adapter->rx_buffer_len =E1000_RXBUFFER_1024 ; -else if (max_frame <=E1000_RXBUFFER_2048 ) +if (max_frame <=E1000_RXBUFFER_2048 ) adapter->rx_buffer_len =E1000_RXBUFFER_2048 ;else #if (PAGE_SIZE >= E1000_RXBUFFER_16384)
@@ -3827,13 +3809,22 @@ static bool e1000_clean_rx_irq(struct e1000_adapter *adapter, length =le16_to_cpu (rx_desc->length);/* !EOP means multiple descriptors were used to store a single -* packet, also make sure the frame isn't just CRC only */ -if (unlikely (!(status &E1000_RXD_STAT_EOP ) || (length <=4 ))) { +* packet, if thats the case we need to toss it. In fact, we +* to toss every packet with the EOP bit clear and the next +* frame that _does_ have the EOP bit set, as it is by +* definition only a frame fragment +*/ +if (unlikely (!(status &E1000_RXD_STAT_EOP ))) + adapter->discarding = true; + +if (adapter->discarding) {/* All receives must fit into a single buffer */ E1000_DBG ("%s: Receive packet consumed multiple" " buffers\n" , netdev->name);/* recycle */ buffer_info->skb = skb; +if (status &E1000_RXD_STAT_EOP ) + adapter->discarding = false; goto next_desc; }
drivers/net/e1000e/e1000.h +1 -0
@@ -417,6 +417,7 @@ struct e1000_info {/* CRC Stripping defines */ #define FLAG2_CRC_STRIPPING (1 << 0)#define FLAG2_HAS_PHY_WAKEUP (1 << 1) +#define FLAG2_IS_DISCARDING (1 << 2)#define E1000_RX_DESC_PS (R , i) \ (&(((union e1000_rx_desc_packet_split *)((R).desc))[i]))
drivers/net/e1000e/netdev.c +22 -23
83 lines not on this page · raw message
drivers/net/sky2.c +2 -1
@@ -1806,7 +1806,8 @@ static void sky2_tx_complete(struct sky2_port *sky2, u16 done) sky2->tx_cons = idx;smp_mb (); -if (tx_avail (sky2) >MAX_SKB_TX_LE +4 ) +/* Wake unless it's detached, and called e.g. from sky2_down() */ +if (tx_avail (sky2) >MAX_SKB_TX_LE +4 &&netif_device_present (dev))netif_wake_queue (dev); }
drivers/net/starfire.c +4 -1
@@ -1063,7 +1063,7 @@ static int netdev_open(struct net_device *dev)if (retval) {printk (KERN_ERR "starfire: Failed to load firmware \"%s\"\n" ,FIRMWARE_RX ); -return retval; + goto out_init; }if (fw_rx->size %4 ) { printk(KERN_ERR "starfire: bogus length %zu in \"%s\"\n",
@@ -1108,6 +1108,9 @@ out_tx:release_firmware (fw_tx); out_rx:release_firmware (fw_rx); +out_init: +if (retval) +netdev_close (dev);return retval; }
drivers/net/wireless/ath/ath9k/hw.c +3 -4
@@ -880,12 +880,11 @@ static void ath9k_hw_init_mode_gain_regs(struct ath_hw *ah) } } -static void ath9k_hw_init_11a_eeprom_fix (struct ath_hw *ah) +static void ath9k_hw_init_eeprom_fix (struct ath_hw *ah) {u32 i, j; -if ((ah->hw_version.devid ==AR9280_DEVID_PCI ) && -test_bit (ATH9K_MODE_11A , ah->caps.wireless_modes)) { +if (ah->hw_version.devid ==AR9280_DEVID_PCI ) {/* EEPROM Fixup */ for (i =0 ; i < ah->iniModes.ia_rows; i++) {
@@ -980,7 +979,7 @@ int ath9k_hw_init(struct ath_hw *ah)ath9k_hw_init_mode_gain_regs (ah);ath9k_hw_fill_cap_info (ah); -ath9k_hw_init_11a_eeprom_fix (ah); +ath9k_hw_init_eeprom_fix (ah); r =ath9k_hw_init_macaddr (ah);if (r) {
drivers/net/wireless/ath/ath9k/main.c +1 -1
@@ -2285,10 +2285,10 @@ static void ath9k_remove_interface(struct ieee80211_hw *hw, (sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT)) {ath9k_ps_wakeup (sc);ath9k_hw_stoptxdma (sc->sc_ah, sc->beacon.beaconq); -ath_beacon_return (sc, avp);ath9k_ps_restore (sc); } +ath_beacon_return (sc, avp); sc->sc_flags &= ~SC_OP_BEACONS ;for (i =0 ; i <ARRAY_SIZE (sc->beacon.bslot); i++) {
drivers/net/wireless/iwlwifi/iwl-agn-rs.c +1 -1
@@ -2808,7 +2808,7 @@ static void rs_fill_link_cmd(struct iwl_priv *priv, repeat_rate--; } - lq_cmd->agg_params.agg_frame_cnt_limit =LINK_QUAL_AGG_FRAME_LIMIT_MAX ; + lq_cmd->agg_params.agg_frame_cnt_limit =LINK_QUAL_AGG_FRAME_LIMIT_DEF ; lq_cmd->agg_params.agg_dis_start_th =LINK_QUAL_AGG_DISABLE_START_DEF ; lq_cmd->agg_params.agg_time_limit =cpu_to_le16 (LINK_QUAL_AGG_TIME_LIMIT_DEF );
drivers/regulator/wm8350-regulator.c +3 -1
@@ -1504,7 +1504,8 @@ int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, led->isink_init.consumer_supplies = &led->isink_consumer; led->isink_init.constraints.min_uA =0 ; led->isink_init.constraints.max_uA = pdata->max_uA; - led->isink_init.constraints.valid_ops_mask =REGULATOR_CHANGE_CURRENT ; + led->isink_init.constraints.valid_ops_mask + =REGULATOR_CHANGE_CURRENT |REGULATOR_CHANGE_STATUS ; led->isink_init.constraints.valid_modes_mask =REGULATOR_MODE_NORMAL ; ret =wm8350_register_regulator (wm8350, isink, &led->isink_init);if (ret !=0 ) {
@@ -1517,6 +1518,7 @@ int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, led->dcdc_init.num_consumer_supplies =1 ; led->dcdc_init.consumer_supplies = &led->dcdc_consumer; led->dcdc_init.constraints.valid_modes_mask =REGULATOR_MODE_NORMAL ; + led->dcdc_init.constraints.valid_ops_mask =REGULATOR_CHANGE_STATUS ; ret =wm8350_register_regulator (wm8350, dcdc, &led->dcdc_init);if (ret !=0 ) {platform_device_put (pdev);
drivers/s390/block/dasd.c +4 -4
@@ -1005,8 +1005,8 @@ static void dasd_handle_killed_request(struct ccw_device *cdev,if (device ==NULL || device !=dasd_device_from_cdev_locked (cdev) ||strncmp (device->discipline->ebcname, (char *) &cqr->magic,4 )) { -DBF_DEV_EVENT (DBF_DEBUG , device,"invalid device in request: " -"bus_id %s" ,dev_name (&cdev->dev)); +DBF_EVENT_DEVID (DBF_DEBUG , cdev,"%s" , +"invalid device in request" );return ; }
@@ -1078,8 +1078,8 @@ void dasd_int_handler(struct ccw_device *cdev, unsigned long intparm, device = (struct dasd_device *) cqr->startdev;if (!device ||strncmp (device->discipline->ebcname, (char *) &cqr->magic,4 )) { -DBF_DEV_EVENT (DBF_DEBUG , device,"invalid device in request: " -"bus_id %s" ,dev_name (&cdev->dev)); +DBF_EVENT_DEVID (DBF_DEBUG , cdev,"%s" , +"invalid device in request" );return ; }
drivers/s390/block/dasd_eckd.c +1 -1
@@ -2980,7 +2980,7 @@ static void dasd_eckd_dump_sense_ccw(struct dasd_device *device, len += sprintf(page + len, KERN_ERR PRINTK_HEADER" in req: %p CS: 0x%02X DS: 0x%02X CC: 0x%02X RC: %d\n" , req,scsw_cstat (&irb->scsw),scsw_dstat (&irb->scsw), -scsw_cc (&irb->scsw), req->intrc); +scsw_cc (&irb->scsw), req ? req->intrc :0 ); len += sprintf(page + len, KERN_ERR PRINTK_HEADER " device %s: Failing CCW: %p\n", dev_name(&device->cdev->dev),
drivers/s390/block/dasd_ioctl.c +2 -5
@@ -260,7 +260,7 @@ static int dasd_ioctl_information(struct dasd_block *block,struct ccw_dev_id dev_id; base = block->base; -if (!base->discipline->fill_info) +if (!base->discipline || !base->discipline->fill_info)return -EINVAL ; dasd_info =kzalloc (sizeof (struct dasd_information2_t ),GFP_KERNEL );
@@ -303,10 +303,7 @@ static int dasd_ioctl_information(struct dasd_block *block, dasd_info->features |= ((base->features &DASD_FEATURE_READONLY ) !=0 ); -if (base->discipline) -memcpy (dasd_info->type, base->discipline->name,4 ); -else -memcpy (dasd_info->type,"none" ,4 ); +memcpy (dasd_info->type, base->discipline->name,4 );if (block->request_queue->request_fn) {struct list_head *l;
drivers/s390/block/dasd_proc.c +2 -5
@@ -71,7 +71,7 @@ dasd_devices_show(struct seq_file *m, void *v)/* Print device number. */ seq_printf (m,"%s" ,dev_name (&device->cdev->dev));/* Print discipline string. */ -if (device !=NULL && device->discipline !=NULL ) +if (device->discipline !=NULL )seq_printf (m,"(%s)" , device->discipline->name);else seq_printf (m,"(none)" );
@@ -91,10 +91,7 @@ dasd_devices_show(struct seq_file *m, void *v) substr = (device->features &DASD_FEATURE_READONLY ) ?"(ro)" :" " ;seq_printf (m,"%4s: " , substr);/* Print device status information. */ -switch ((device !=NULL ) ? device->state :-1 ) { -case -1 : -seq_printf (m,"unknown" ); -break ; +switch (device->state) {case DASD_STATE_NEW :seq_printf (m,"new" );break ;
drivers/s390/crypto/zcrypt_pcicc.c +2 -0
@@ -373,6 +373,8 @@ static int convert_type86(struct zcrypt_device *zdev, zdev->max_mod_size =PCICC_MAX_MOD_SIZE_OLD ;return -EAGAIN ; } +if (service_rc ==8 && service_rs ==72 ) +return -EINVAL ; zdev->online =0 ;return -EAGAIN ;/* repeat the request on a different device. */ }
drivers/s390/crypto/zcrypt_pcixcc.c +2 -0
@@ -462,6 +462,8 @@ static int convert_type86_ica(struct zcrypt_device *zdev, }if (service_rc ==12 && service_rs ==769 )return -EINVAL ; +if (service_rc ==8 && service_rs ==72 ) +return -EINVAL ; zdev->online =0 ;return -EAGAIN ;/* repeat the request on a different device. */ }
drivers/scsi/scsi_lib.c +1 -1
@@ -749,9 +749,9 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes)*/ req->next_rq->resid_len =scsi_in (cmd)->resid; +scsi_release_buffers (cmd);blk_end_request_all (req,0 ); -scsi_release_buffers (cmd);scsi_next_command (cmd);return ; }
drivers/serial/uartlite.c +1 -1
@@ -394,7 +394,7 @@ static void ulite_console_write(struct console *co, const char *s,spin_unlock_irqrestore (&port->lock, flags); } -static int __init ulite_console_setup (struct console *co,char *options) +static int __devinit ulite_console_setup (struct console *co,char *options) {struct uart_port *port;int baud =9600 ;
drivers/usb/host/r8a66597-hcd.c +16 -1
@@ -216,8 +216,17 @@ static void disable_controller(struct r8a66597 *r8a66597) {int port; +/* disable interrupts */ r8a66597_write (r8a66597,0 ,INTENB0 ); -r8a66597_write (r8a66597,0 ,INTSTS0 ); +r8a66597_write (r8a66597,0 ,INTENB1 ); +r8a66597_write (r8a66597,0 ,BRDYENB ); +r8a66597_write (r8a66597,0 ,BEMPENB ); +r8a66597_write (r8a66597,0 ,NRDYENB ); + +/* clear status */ +r8a66597_write (r8a66597,0 ,BRDYSTS ); +r8a66597_write (r8a66597,0 ,NRDYSTS ); +r8a66597_write (r8a66597,0 ,BEMPSTS );for (port =0 ; port < r8a66597->max_root_hub; port++)r8a66597_disable_port (r8a66597, port);
@@ -2470,6 +2479,12 @@ static int __devinit r8a66597_probe(struct platform_device *pdev) r8a66597->rh_timer.data = (unsigned long )r8a66597; r8a66597->reg = (unsigned long )reg; +/* make sure no interrupts are pending */ + ret =r8a66597_clock_enable (r8a66597); +if (ret <0 ) + goto clean_up3; +disable_controller (r8a66597); +for (i =0 ; i <R8A66597_MAX_NUM_PIPE ; i++) {INIT_LIST_HEAD (&r8a66597->pipe_queue[i]);init_timer (&r8a66597->td_timer[i]);
drivers/video/imxfb.c +4 -2
@@ -593,7 +593,8 @@ static int imxfb_activate_var(struct fb_var_screeninfo *var, struct fb_info *inf*/ static int imxfb_suspend (struct platform_device *dev,pm_message_t state) { -struct imxfb_info *fbi =platform_get_drvdata (dev); +struct fb_info *info =platform_get_drvdata (dev); +struct imxfb_info *fbi = info->par;pr_debug ("%s\n" , __func__);
@@ -603,7 +604,8 @@ static int imxfb_suspend(struct platform_device *dev, pm_message_t state)static int imxfb_resume (struct platform_device *dev) { -struct imxfb_info *fbi =platform_get_drvdata (dev); +struct fb_info *info =platform_get_drvdata (dev); +struct imxfb_info *fbi = info->par;pr_debug ("%s\n" , __func__);
drivers/video/mx3fb.c +8 -4
@@ -324,8 +324,11 @@ static void sdc_enable_channel(struct mx3fb_info *mx3_fbi)unsigned long flags;dma_cookie_t cookie; -dev_dbg (mx3fb->dev,"mx3fbi %p, desc %p, sg %p\n" , mx3_fbi, -to_tx_desc (mx3_fbi->txd),to_tx_desc (mx3_fbi->txd)->sg); +if (mx3_fbi->txd) +dev_dbg (mx3fb->dev,"mx3fbi %p, desc %p, sg %p\n" , mx3_fbi, +to_tx_desc (mx3_fbi->txd),to_tx_desc (mx3_fbi->txd)->sg); +else +dev_dbg (mx3fb->dev,"mx3fbi %p, txd = NULL\n" , mx3_fbi);/* This enables the channel */ if (mx3_fbi->cookie <0 ) {
@@ -646,6 +649,7 @@ static int sdc_set_global_alpha(struct mx3fb_data *mx3fb, bool enable, uint8_t astatic void sdc_set_brightness (struct mx3fb_data *mx3fb,uint8_t value) { +dev_dbg (mx3fb->dev,"%s: value = %d\n" , __func__, value);/* This might be board-specific */ mx3fb_write_reg (mx3fb,0x03000000UL | value <<16 ,SDC_PWM_CTRL );return ;
@@ -1486,12 +1490,12 @@ static int mx3fb_probe(struct platform_device *pdev) goto ersdc0; } + mx3fb->backlight_level =255 ; + ret =init_fb_chan (mx3fb,to_idmac_chan (chan));if (ret <0 ) goto eisdc0; - mx3fb->backlight_level =255 ; -return 0 ; eisdc0:
fs/9p/vfs_super.c +2 -1
@@ -188,7 +188,8 @@ static void v9fs_kill_super(struct super_block *s)P9_DPRINTK (P9_DEBUG_VFS ," %p\n" , s); -v9fs_dentry_release (s->s_root);/* clunk root */ +if (s->s_root) +v9fs_dentry_release (s->s_root);/* clunk root */ kill_anon_super (s);
fs/affs/affs.h +1 -1
@@ -106,8 +106,8 @@ struct affs_sb_info {u32 s_last_bmap;struct buffer_head *s_bmap_bh;char *s_prefix;/* Prefix for volumes and assigns. */ -int s_prefix_len;/* Length of prefix. */ char s_volume[32 ];/* Volume prefix for absolute symlinks. */ +spinlock_t symlink_lock;/* protects the previous two */ };#define SF_INTL 0x0001/* International filesystem. */
fs/affs/namei.c +5 -2
@@ -341,10 +341,13 @@ affs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) p = (char *)AFFS_HEAD (bh)->table; lc ='/' ;if (*symname =='/' ) { +struct affs_sb_info *sbi =AFFS_SB (sb);while (*symname =='/' ) symname++; -while (AFFS_SB (sb)->s_volume[i])/* Cannot overflow */ - *p++ =AFFS_SB (sb)->s_volume[i++]; +spin_lock (&sbi->symlink_lock); +while (sbi->s_volume[i])/* Cannot overflow */ + *p++ = sbi->s_volume[i++]; +spin_unlock (&sbi->symlink_lock); }while (i < maxlen && (c = *symname++)) {if (c =='.' && lc =='/' && *symname =='.' && symname[1 ] =='/' ) {
fs/affs/super.c +22 -9
@@ -203,7 +203,7 @@ parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, sswitch (token) {case Opt_bs:if (match_int (&args[0 ], &n)) -return -EINVAL ; +return 0 ;if (n !=512 && n !=1024 && n !=2048 && n !=4096 ) {printk ("AFFS: Invalid blocksize (512, 1024, 2048, 4096 allowed)\n" );
@@ -213,7 +213,7 @@ parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, sbreak ;case Opt_mode:if (match_octal (&args[0 ], &option)) -return 1 ; +return 0 ; *mode = option &0777 ; *mount_opts |=SF_SETMODE ;break ;
@@ -221,8 +221,6 @@ parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, s *mount_opts |=SF_MUFS ;break ;case Opt_prefix: -/* Free any previous prefix */ -kfree (*prefix); *prefix =match_strdup (&args[0 ]);if (!*prefix)return 0 ;
@@ -233,21 +231,21 @@ parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, sbreak ;case Opt_reserved:if (match_int (&args[0 ], reserved)) -return 1 ; +return 0 ;break ;case Opt_root:if (match_int (&args[0 ], root)) -return 1 ; +return 0 ;break ;case Opt_setgid:if (match_int (&args[0 ], &option)) -return 1 ; +return 0 ; *gid = option; *mount_opts |=SF_SETGID ;break ;case Opt_setuid:if (match_int (&args[0 ], &option)) -return -EINVAL ; +return 0 ; *uid = option; *mount_opts |=SF_SETUID ;break ;
@@ -311,11 +309,14 @@ static int affs_fill_super(struct super_block *sb, void *data, int silent)return -ENOMEM ; sb->s_fs_info = sbi;mutex_init (&sbi->s_bmlock); +spin_lock_init (&sbi->symlink_lock);if (!parse_options (data,&uid,&gid,&i,&reserved,&root_block, &blocksize,&sbi->s_prefix, sbi->s_volume, &mount_flags)) {printk (KERN_ERR "AFFS: Error parsing options\n" ); +kfree (sbi->s_prefix); +kfree (sbi);return -EINVAL ; }/* N.B. after this point s_prefix must be released */
@@ -516,14 +517,18 @@ affs_remount(struct super_block *sb, int *flags, char *data)unsigned long mount_flags;int res =0 ;char *new_opts =kstrdup (data,GFP_KERNEL ); +char volume[32 ]; +char *prefix =NULL ;pr_debug ("AFFS: remount(flags=0x%x,opts=\"%s\")\n" ,*flags,data); *flags |=MS_NODIRATIME ; +memcpy (volume, sbi->s_volume,32 );if (!parse_options (data, &uid, &gid, &mode, &reserved, &root_block, - &blocksize, &sbi->s_prefix, sbi->s_volume, + &blocksize, &prefix, volume, &mount_flags)) { +kfree (prefix);kfree (new_opts);return -EINVAL ; }
@@ -534,6 +539,14 @@ affs_remount(struct super_block *sb, int *flags, char *data) sbi->s_mode = mode; sbi->s_uid = uid; sbi->s_gid = gid; +/* protect against readers */ +spin_lock (&sbi->symlink_lock); +if (prefix) { +kfree (sbi->s_prefix); + sbi->s_prefix = prefix; + } +memcpy (sbi->s_volume, volume,32 ); +spin_unlock (&sbi->symlink_lock);if ((*flags &MS_RDONLY ) == (sb->s_flags &MS_RDONLY )) {unlock_kernel ();
fs/affs/symlink.c +5 -2
@@ -20,7 +20,6 @@ static int affs_symlink_readpage(struct file *file, struct page *page)int i, j;char c;char lc; -char *pf;pr_debug ("AFFS: follow_link(ino=%lu)\n" ,inode->i_ino);
@@ -32,11 +31,15 @@ static int affs_symlink_readpage(struct file *file, struct page *page) j =0 ; lf = (struct slink_front *)bh->b_data; lc =0 ; - pf =AFFS_SB (inode->i_sb)->s_prefix ?AFFS_SB (inode->i_sb)->s_prefix :"/" ;if (strchr (lf->symname,':' )) {/* Handle assign or volume name */ +struct affs_sb_info *sbi =AFFS_SB (inode->i_sb); +char *pf; +spin_lock (&sbi->symlink_lock); + pf = sbi->s_prefix ? sbi->s_prefix :"/" ;while (i <1023 && (c = pf[i])) link[i++] = c; +spin_unlock (&sbi->symlink_lock);while (i <1023 && lf->symname[j] !=':' ) link[i++] = lf->symname[j++];if (i <1023 )
fs/bfs/inode.c +21 -22
22 lines not on this page · raw message
mm/filemap.c +71 -32
103 lines not on this page · raw message
mm/vmalloc.c +85 -24
109 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.