Linux 2.6.33.7
Subsystems (78)
I'm announcing the release of the 2.6.33.7 kernel.
All users of the 2.6.33 kernel series should upgrade.
This is the last 2.6.33 release, so everyone should be moved to the .34 kernel at this point in time, hopefully the .35 kernel instead of .34 as .34 is not going to be maintained for much longer.
The updated 2.6.33.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.33.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.33.y.git;a=summarythanks,
greg k-h
------------
Makefile | 2 arch/arm/kernel/kprobes-decode.c | 5 arch/arm/mach-omap2/board-rx51-peripherals.c | 17 ++ arch/arm/mach-realview/Kconfig | 2 arch/arm/mach-realview/include/mach/barriers.h | 8 + arch/ia64/mm/tlb.c | 2 arch/mips/include/asm/mipsregs.h | 9 + arch/mips/math-emu/cp1emu.c | 15 +- arch/powerpc/include/asm/cpm.h | 24 +++ arch/powerpc/kernel/irq.c | 5 arch/powerpc/sysdev/micropatch.c | 12 + arch/sparc/include/asm/stat.h | 4 arch/x86/include/asm/msr-index.h | 1 arch/x86/include/asm/suspend_32.h | 2 arch/x86/include/asm/suspend_64.h | 2 arch/x86/include/asm/system.h | 2 arch/x86/kernel/acpi/cstate.c | 9 + arch/x86/kernel/acpi/sleep.c | 2 arch/x86/kernel/apic/apic.c | 2 arch/x86/kernel/hpet.c | 2 arch/x86/kernel/pci-calgary_64.c | 17 +- arch/x86/kernel/traps.c | 11 + arch/x86/kvm/mmu.c | 5 arch/x86/kvm/svm.c | 96 ++++++++++++++ arch/x86/power/cpu.c | 4 block/cfq-iosched.c | 13 + drivers/acpi/processor_idle.c | 2 drivers/acpi/sleep.c | 157 ------------------------ drivers/ata/ahci.c | 10 + drivers/ata/ata_generic.c | 6 drivers/base/firmware_class.c | 26 +++ drivers/char/agp/amd64-agp.c | 27 ++-- drivers/char/tpm/tpm.h | 1 drivers/char/tpm/tpm_tis.c | 9 + drivers/cpufreq/cpufreq.c | 11 - drivers/edac/Kconfig | 2 drivers/edac/amd64_edac.c | 24 +-- drivers/gpu/drm/i915/i915_drv.c | 1 drivers/gpu/drm/i915/i915_gem.c | 13 + drivers/gpu/drm/i915/i915_reg.h | 64 +++++++++ drivers/gpu/drm/i915/intel_display.c | 4 drivers/gpu/drm/radeon/r100.c | 61 +++++---- drivers/gpu/drm/radeon/r200.c | 5 drivers/gpu/drm/radeon/r300.c | 5 drivers/gpu/drm/radeon/radeon_atombios.c | 20 ++- drivers/gpu/drm/radeon/radeon_connectors.c | 27 +--- drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 1 drivers/gpu/drm/radeon/radeon_legacy_tv.c | 4 drivers/hwmon/coretemp.c | 32 ++++ drivers/hwmon/it87.c | 22 +++ drivers/hwmon/k10temp.c | 14 +- drivers/hwmon/k8temp.c | 12 + drivers/ide/cmd640.c | 6 drivers/ide/ide-taskfile.c | 6 drivers/infiniband/ulp/ipoib/ipoib_main.c | 4 drivers/input/keyboard/twl4030_keypad.c | 17 +- drivers/input/serio/i8042-x86ia64io.h | 7 + drivers/md/raid10.c | 12 - drivers/media/dvb/dvb-core/dvb_net.c | 12 + drivers/media/dvb/ttpci/Kconfig | 5 drivers/media/video/cx23885/cx23885-i2c.c | 12 + drivers/media/video/cx88/cx88-i2c.c | 16 ++ drivers/media/video/uvc/uvc_driver.c | 30 ++++ drivers/media/video/uvc/uvcvideo.h | 7 - drivers/mmc/host/sdhci-s3c.c | 20 +++ drivers/net/3c503.c | 42 ++++-- drivers/net/cpmac.c | 3 drivers/net/cxgb3/ael1002.c | 2 drivers/net/dm9000.c | 38 ++++- drivers/net/forcedeth.c | 2 drivers/net/r8169.c | 11 + drivers/net/sky2.c | 19 ++ drivers/net/usb/pegasus.h | 2 drivers/net/veth.c | 1 drivers/net/wireless/ath/ath5k/attach.c | 1 drivers/net/wireless/ath/ath5k/base.c | 7 - drivers/net/wireless/ath/ath9k/initvals.h | 8 - drivers/net/wireless/hostap/hostap_cs.c | 15 +- drivers/net/wireless/hostap/hostap_hw.c | 13 + drivers/net/wireless/hostap/hostap_wlan.h | 2 drivers/net/wireless/iwlwifi/iwl-scan.c | 1 drivers/net/wireless/iwlwifi/iwl-tx.c | 5 drivers/net/wireless/libertas/if_sdio.c | 22 +++ drivers/net/wireless/p54/p54pci.c | 2 drivers/rtc/rtc-ds1307.c | 4 drivers/scsi/aacraid/commctrl.c | 4 drivers/serial/cpm_uart/cpm_uart_core.c | 143 ++++++++++++--------- drivers/spi/spi_mpc8xxx.c | 22 --- drivers/ssb/driver_chipcommon.c | 3 drivers/ssb/driver_chipcommon_pmu.c | 17 +- drivers/ssb/pci.c | 46 ++++++- drivers/ssb/sprom.c | 15 ++ drivers/staging/rtl8192su/r8192U_core.c | 1 drivers/usb/core/driver.c | 15 -- drivers/usb/core/quirks.c | 7 + drivers/usb/gadget/u_serial.c | 16 -- drivers/usb/host/ehci-mxc.c | 13 + drivers/usb/misc/sisusbvga/sisusb.c | 5 drivers/usb/serial/ftdi_sio.c | 9 + drivers/usb/serial/ftdi_sio_ids.h | 15 ++ drivers/usb/serial/option.c | 4 drivers/usb/serial/sierra.c | 1 fs/btrfs/ioctl.c | 4 fs/cifs/cifsfs.c | 6 fs/cifs/dns_resolve.c | 69 ++++++++++ fs/cifs/dns_resolve.h | 4 fs/cifs/inode.c | 4 fs/cifs/sess.c | 10 - fs/ecryptfs/messaging.c | 17 +- fs/nfs/nfs4xdr.c | 4 fs/nfs/super.c | 22 ++- include/acpi/processor.h | 3 include/linux/acpi.h | 1 include/linux/ethtool.h | 2 include/linux/fb.h | 4 include/linux/firmware.h | 1 include/linux/ieee80211.h | 2 include/linux/mmc/sdio.h | 2 include/linux/pci_ids.h | 1 include/linux/ssb/ssb.h | 1 include/linux/ssb/ssb_driver_chipcommon.h | 2 include/linux/ssb/ssb_regs.h | 3 include/math-emu/op-common.h | 2 include/net/sock.h | 7 - kernel/futex.c | 17 -- kernel/irq/manage.c | 3 kernel/module.c | 4 kernel/sched.c | 9 - net/bridge/br_fdb.c | 6 net/core/dev.c | 17 +- net/core/ethtool.c | 43 ++++-- net/core/neighbour.c | 5 net/core/skbuff.c | 1 net/dccp/input.c | 6 net/ipv4/arp.c | 6 net/ipv4/syncookies.c | 2 net/ipv4/tcp_output.c | 12 + net/ipv6/af_inet6.c | 2 net/ipv6/ndisc.c | 2 net/ipv6/netfilter/ip6t_REJECT.c | 6 net/llc/llc_sap.c | 2 net/mac80211/mlme.c | 17 +- net/mac80211/rx.c | 5 net/mac80211/scan.c | 21 +-- net/netfilter/ipvs/ip_vs_conn.c | 4 net/sunrpc/xprtsock.c | 38 +++-- scripts/mod/modpost.c | 2 sound/pci/echoaudio/echoaudio.c | 4 sound/pci/hda/patch_realtek.c | 1 sound/soc/codecs/wm8776.c | 1 tools/perf/util/callchain.h | 3 virt/kvm/ioapic.c | 3 152 files changed, 1298 insertions(+), 638 deletions(-)
Adam Jackson (1):
drm/i915: Make G4X-style PLL search more permissive
Alan Stern (1):
USB: obey the sysfs power/wakeup setting
Alex Deucher (6):
drm/radeon/kms: fix shared ddc handling
drm/radeon/kms: fix shared ddc harder
drm/radeon/kms: add quirk for ASUS HD 3600 board drm/radeon/kms: fix possible mis-detection of sideport on rs690/rs740 drm/radeon/kms: fix legacy LVDS dpms sequence drm/radeon/kms: fix legacy tv-out pal mode
Alex,Shi (1):
sched: Fix over-scheduling bug
Andi Kleen (1):
x86: Fix vsyscall on gcc 4.5 with -Os
Andre Osterhues (1):
ecryptfs: Bugfix for error related to ecryptfs_hash_buckets
Andreas Herrmann (1):
hwmon: (k8temp) Fix temperature reporting for ASB1 processor revisions
Andrej Gelenberg (1):
revert "[CPUFREQ] remove rwsem lock from CPUFREQ_GOV_STOP call (second call site)"
Ang Way Chuang (1):
V4L/DVB: dvb-core: Fix ULE decapsulation bug
Anton Vorontsov (3):
powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue) powerpc/cpm1: Fix build with various CONFIG_*_UCODE_PATCH combinations
edac: mpc85xx: fix MPC85xx dependency
Avi Kivity (1):
KVM: MMU: Remove user access when allowing kernel access to gpte.w=0 page
Ayaz Abdulla (1):
forcedeth: fix tx limit2 flag check
Baruch Siach (1):
dm9000: fix "BUG: spinlock recursion"
Ben Hutchings (5):
amd64-agp: Probe unknown AGP devices the right way
ethtool: Fix potential kernel buffer overflow in ETHTOOL_GRXCLSRLALL
ethtool: Fix potential user buffer overflow for ETHTOOL_{G, S}RXFH V4L/DVB: budget: Select correct frontends
3c503: Fix IRQ probing
Bob Copeland (1):
ath5k: initialize ah->ah_current_channel
Borislav Petkov (1):
amd64_edac: Fix syndrome calculation on K8
Brandon Philips (1):
sky2: enable rx/tx in sky2_phy_reinit()
Catalin Marinas (1):
ARM: 6201/1: RealView: Do not use outer_sync() on ARM11MPCore boards with L220
Christoph Fritz (1):
ssb: Handle Netbook devices where the SPROM address is changed
Colin Leitner (1):
USB: ftdi_sio: support for Signalyzer tools based on FTDI chips
Corey Minyard (1):
USB: FTDI: Add support for the RT System VX-7 radio programming cable
Dan Rosenberg (1):
Btrfs: fix checks in BTRFS_IOC_CLONE_RANGE
Daniel J Blueman (1):
i915: fix lock imbalance on error path...
Daniel Mack (1):
libertas/sdio: 8686: set ECSI bit for 1-bit transfers
Daniel Ritz (1):
V4L/DVB (13830): uvcvideo: add another YUYV format GUID for iSight cameras
Darrick J. Wong (2):
x86, Calgary: Increase max PHB number x86, Calgary: Limit the max PHB number to 256
Dave Airlie (2):
fb: fix colliding defines for fb flags. drm/i915: enable low power render writes on GEN3 hardware.
David Howells (1):
CIFS: Fix a malicious redirect problem in the DNS lookup code
David S. Miller (2):
ipv6: Fix default multicast hops setting.
net: Fix FDDI and TR config checks in ipv4 arp and LLC.
David Woodhouse (1):
firmware_class: fix memory leak - free allocated pages
Dennis Jansen (1):
USB: option: Add support for AMOI Skypephone S2
Dmitry Torokhov (2):
Input: twl40300-keypad - fix handling of "all ground" rows
Input: RX51 keymap - fix recent compile breakage
Dongdong Deng (1):
serial: cpm_uart: implement the cpm_uart_early_write() function for console poll
Doug Kehn (1):
net/core: neighbour update Oops
Eric Dumazet (4):
tcp: tcp_synack_options() fix
tcp: use correct net ns in cookie_v4_check()
veth: Dont kfree_skb() after dev_forward_skb()
netfilter: ip6t_REJECT: fix a dst leak in ipv6 REJECT
Florian Fainelli (1):
cpmac: do not leak struct net_device on phy_connect errors
Frederic Weisbecker (2):
perf: Resurrect flat callchains
x86: Send a SIGTRAP for user icebp traps
Giuliano Pochini (1):
ALSA: Echoaudio, fix Guru Meditation #00000005.48454C50
Greg Kroah-Hartman (1):
Linux 2.6.33.7
Herbert Xu (1):
gro: Fix bogus gso_size on the first fraglist entry
Hiroshi Shimamoto (1):
cxgb3: fix linkup issue
Ilpo Järvinen (1):
tcp: fix crash in tcp_xmit_retransmit_queue
Jason Baron (1):
dynamic debug: move ddebug_remove_module() down into free_module()
Javier Cardona (1):
mac80211: Handle mesh action frames in ieee80211_rx_h_action
Jean Delvare (6):
hwmon: (k8temp) Bypass core swapping on single-core processors
hwmon: (k10temp) Do not blacklist known working CPU models
hwmon: (coretemp) Properly label the sensors
hwmon: (coretemp) Skip duplicate CPU entries
hwmon: (it87) Fix in7 on IT8720F
V4L/DVB: FusionHDTV: Use quick reads for I2C IR device probing
Jeff Layton (2):
cifs: remove bogus first_time check in NTLMv2 session setup code
cifs: don't attempt busy-file rename unless it's in same directory
Jeff Moyer (1):
cfq: Don't allow queue merges for queues that have no process references
Joakim Tjernlund (1):
rtc: fix ds1388 time corruption
Joerg Albert (1):
p54pci: add Symbol AP-300 minipci adapters pciid
Joerg Roedel (2):
KVM: SVM: Handle MCEs early in the vmexit process
KVM: SVM: Implement workaround for Erratum 383
Johannes Berg (1):
powerpc: Fix logic error in fixup_irqs
John W. Linville (1):
iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
Jon Povey (2):
USB: g_serial: don't set low_latency flag
USB: g_serial: fix tty cleanup on unload
Julia Lawall (1):
SCSI: aacraid: Eliminate use after free
Kamal Mostafa (1):
Input: i8042 - add Gigabyte Spring Peak to dmi_noloop_table
Keith Packard (1):
drm/i915: Define MI_ARB_STATE bits
Krzysztof Halasa (1):
kbuild: Fix modpost segfault
Laurent Pinchart (3):
V4L/DVB: uvcvideo: Add support for unbranded Arkmicro 18ec:3290 webcams V4L/DVB: uvcvideo: Add support for Packard Bell EasyNote MX52 integrated webcam V4L/DVB: uvcvideo: Add support for V4L2_PIX_FMT_Y16
Len Brown (1):
ACPI: skip checking BM_STS if the BIOS doesn't ask for it
Linus Torvalds (2):
drm/i915: fix hibernation since i915 self-reclaim fixes drm/i915: add 'reclaimable' to i915 self-reclaimable page allocations
Luis R. Rodriguez (1):
ath5k: drop warning on jumbo frames
Luke Yelavich (1):
ALSA: hda - Add Macbook 5,2 quirk
Marcelo Tosatti (2):
KVM: MMU: invalidate and flush on spte small->large page size change
KVM: read apic->irr with ioapic lock heldMarek Szyprowski (1):
sdhci-s3c: add missing remove function
Mark Brown (1):
ASoC: Remove duplicate AUX definition from WM8776
Matthew Garrett (1):
ACPI: Unconditionally set SCI_EN on resume
Michal Hocko (1):
futex: futex_find_get_task remove credentails check
Mikael Pettersson (1):
math-emu: correct test for downshifting fraction in _FP_FROM_INT()
Mikulas Patocka (1):
ide: Fix IDE taskfile with cfq scheduler
Nicolas Pitre (1):
ARM: 6226/1: fix kprobe bug in ldr instruction emulation
Oliver Neukum (2):
USB: sisusbvga: Fix for USB 3.0
USB: add quirk for Broadcom BT dongle
Ondrej Zary (1):
PM / x86: Save/restore MISC_ENABLE register
Or Gerlitz (1):
IPoIB: Fix world-writable child interface control sysfs attributes
Paul Mortier (1):
USB: adds Artisman USB dongle to list of quirky devices
Prasanna S. Panchamukhi (1):
md: raid10: Fix null pointer dereference in fix_read_error()
Rajiv Andrade (2):
TPM: ReadPubEK output struct fix
tpm_tis: fix subsequent suspend failures
Richard Airlie (1):
staging: rtl8192su: add Support for Belkin F5D8053 v6
Rob Landley (1):
sparc: Fix use of uid16_t and gid16_t in asm/stat.h
Roland Scheidegger (3):
drm/radeon/r200: handle more hw tex coord types drm/radeon/r100/r200: fix calculation of compressed cube maps drm/radeon/kms: CS checker texture fixes for r1xx/r2xx/r3xx
Sergei Shtylyov (1):
cmd640: fix kernel oops in test_irq() method
Shane McDonald (1):
MIPS FPU emulator: allow Cause bits of FCSR to be writeable by ctc1
Shanyu Zhao (1):
iwlagn: verify flow id in compressed BA packet
Stanislaw Gruszka (2):
mac80211: do not wip out old supported rates
mac80211: fix supported rates IE if AP doesn't give us it's rates
Stefano Stabellini (1):
x86: Do not try to disable hpet if it hasn't been initialized before
Sven Wegener (1):
ipvs: Add missing locking during connection table hashing and unhashing
Tadashi Abe (1):
pegasus: fix USB device ID for ETX-US2
Tejun Heo (1):
ahci,ata_generic: let ata_generic handle new MBP w/ MCP89
Thomas Gleixner (1):
genirq: Deal with desc->set_type() changing desc->chip
Tim Gardner (1):
hostap: Protect against initialization interrupt
Timo Teräs (2):
r8169: fix random mdio_write failures
r8169: fix mdio_read and update mdio_write according to hw specs
Tom Herbert (1):
net: fix problem in reading sock TX queue
Tony Luck (1):
Fix spinaphore down_spin()
Trond Myklebust (3):
NFSv4: Fix an embarassing typo in encode_attrs()
NFSv4: Ensure that /proc/self/mountinfo displays the minor version number
SUNRPC: Fix a re-entrancy bug in xs_tcp_read_calldir()
Vivek Natarajan (1):
ath9k: Avoid corrupt frames being forwarded to mac80211.
Will Deacon (1):
sched: Prevent compiler from optimising the sched_avg_update() loop
Wolfram Sang (1):
USB: ehci-mxc: bail out on transceiver problems
Yinghai Lu (1):
x86: Fix x2apic preenabled system with kexec
Yoichi Yuasa (1):
net/dccp: expansion of error code size
august huber (1):
USB: Add PID for Sierra 250U to drivers/usb/serial/sierra.c
stephen hemminger (2):
bridge: fdb cleanup runs too often
ipv6: fix NULL reference in proxy neighbor discovery
Ömer Sezgin Ugurlu (1):
USB: option: add support for 1da5:4518
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 33 -EXTRAVERSION = .6 +EXTRAVERSION = .7 NAME = Man-Eating Seals of Antiquity # *DOCUMENTATION*
arch/arm/kernel/kprobes-decode.c +3 -2
@@ -583,13 +583,14 @@ static void __kprobes emulate_ldr(struct kprobe *p, struct pt_regs *regs) {insn_llret_3arg_fn_t *i_fn = (insn_llret_3arg_fn_t *)&p->ainsn.insn[0 ];kprobe_opcode_t insn = p->opcode; +long ppc = (long )p->addr +8 ;union reg_pair fnr;int rd = (insn >>12 ) &0xf ;int rn = (insn >>16 ) &0xf ;int rm = insn &0xf ;long rdv; -long rnv = regs->uregs[rn]; -long rmv = regs->uregs[rm];/* rm/rmv may be invalid, don't care. */ +long rnv = (rn ==15 ) ? ppc : regs->uregs[rn]; +long rmv = (rm ==15 ) ? ppc : regs->uregs[rm];long cpsr = regs->ARM_cpsr; fnr.dr =insnslot_llret_3arg_rflags (rnv,0 , rmv, cpsr, i_fn);
arch/arm/mach-omap2/board-rx51-peripherals.c +14 -3
@@ -147,6 +147,10 @@ static void __init rx51_add_gpio_keys(void)#endif /* CONFIG_KEYBOARD_GPIO || CONFIG_KEYBOARD_GPIO_MODULE */ static int board_keymap[] = { +/* +* Note that KEY(x, 8, KEY_XXX) entries represent "entrire row +* connected to the ground" matrix state. +*/ KEY (0 ,0 ,KEY_Q ),KEY (0 ,1 ,KEY_O ),KEY (0 ,2 ,KEY_P ),
@@ -154,6 +158,7 @@ static int board_keymap[] = {KEY (0 ,4 ,KEY_BACKSPACE ),KEY (0 ,6 ,KEY_A ),KEY (0 ,7 ,KEY_S ), +KEY (1 ,0 ,KEY_W ),KEY (1 ,1 ,KEY_D ), KEY(1, 2, KEY_F),
@@ -162,6 +167,7 @@ static int board_keymap[] = {KEY (1 ,5 ,KEY_J ),KEY (1 ,6 ,KEY_K ),KEY (1 ,7 ,KEY_L ), +KEY (2 ,0 ,KEY_E ),KEY (2 ,1 ,KEY_DOT ), KEY(2, 2, KEY_UP),
@@ -169,6 +175,8 @@ static int board_keymap[] = {KEY (2 ,5 ,KEY_Z ),KEY (2 ,6 ,KEY_X ),KEY (2 ,7 ,KEY_C ), +KEY (2 ,8 ,KEY_F9 ), +KEY (3 ,0 ,KEY_R ),KEY (3 ,1 ,KEY_V ), KEY(3, 2, KEY_B),
@@ -177,20 +185,23 @@ static int board_keymap[] = {KEY (3 ,5 ,KEY_SPACE ),KEY (3 ,6 ,KEY_SPACE ),KEY (3 ,7 ,KEY_LEFT ), +KEY (4 ,0 ,KEY_T ),KEY (4 ,1 ,KEY_DOWN ),KEY (4 ,2 ,KEY_RIGHT ),KEY (4 ,4 ,KEY_LEFTCTRL ),KEY (4 ,5 ,KEY_RIGHTALT ),KEY (4 ,6 ,KEY_LEFTSHIFT ), +KEY (4 ,8 ,KEY_F10 ), +KEY (5 ,0 ,KEY_Y ), +KEY (5 ,8 ,KEY_F11 ), +KEY (6 ,0 ,KEY_U ), +KEY (7 ,0 ,KEY_I ),KEY (7 ,1 ,KEY_F7 ), KEY(7, 2, KEY_F8), -KEY (0xff ,2 ,KEY_F9 ), -KEY (0xff ,4 ,KEY_F10 ), - KEY(0xff, 5, KEY_F11), }; static struct matrix_keymap_data board_map_data = {
arch/arm/mach-realview/Kconfig +2 -0
@@ -18,6 +18,7 @@ config REALVIEW_EB_ARM11MP bool "Support ARM11MPCore tile" depends on MACH_REALVIEW_EB select CPU_V6 + select ARCH_HAS_BARRIERS if SMP help Enable support for the ARM11MPCore tile on the Realview platform.
@@ -35,6 +36,7 @@ config MACH_REALVIEW_PB11MP select CPU_V6 select ARM_GIC select HAVE_PATA_PLATFORM + select ARCH_HAS_BARRIERS if SMP help Include support for the ARM(R) RealView MPCore Platform Baseboard. PB11MPCore is a platform with an on-board ARM11MPCore and has
arch/arm/mach-realview/include/mach/barriers.h new file +8 -0
@@ -0,0 +1,8 @@ +/* +* Barriers redefined for RealView ARM11MPCore platforms with L220 cache +* controller to work around hardware errata causing the outer_sync() +* operation to deadlock the system. +*/ +#define mb () dsb() +#define rmb () dmb() +#define wmb () mb()
arch/ia64/mm/tlb.c +1 -1
@@ -120,7 +120,7 @@ static inline void down_spin(struct spinaphore *ss)ia64_invala ();for (;;) { - asmvolatile ("ld4.c.nc %0=[%1]" :"=r" (serve) :"r" (&ss->serve) :"memory" ); + asmvolatile ("ld8.c.nc %0=[%1]" :"=r" (serve) :"r" (&ss->serve) :"memory" );if (time_before (t, serve))return ;cpu_relax ();
arch/mips/include/asm/mipsregs.h +8 -1
@@ -135,6 +135,12 @@#define FPU_CSR_COND7 0x80000000/* $fcc7 */ /* +* Bits 18 - 20 of the FPU Status Register will be read as 0, +* and should be written as zero. +*/ +#define FPU_CSR_RSVD 0x001c0000 + +/* * X the exception cause indicator * E the exception enable * S the sticky/flag bit
@@ -161,7 +167,8 @@#define FPU_CSR_UDF_S 0x00000008#define FPU_CSR_INE_S 0x00000004 -/* rounding mode */ +/* Bits 0 and 1 of FPU Status Register specify the rounding mode */ +#define FPU_CSR_RM 0x00000003#define FPU_CSR_RN 0x0/* nearest */ #define FPU_CSR_RZ 0x1/* towards zero */ #define FPU_CSR_RU 0x2/* towards +Infinity */
arch/mips/math-emu/cp1emu.c +11 -4
@@ -78,6 +78,9 @@ DEFINE_PER_CPU(struct mips_fpu_emulator_stats, fpuemustats);#define FPCREG_RID 0/* $0 = revision id */ #define FPCREG_CSR 31/* $31 = csr */ +/* Determine rounding mode from the RM bits of the FCSR */ +#define modeindex (v) ((v) & FPU_CSR_RM) +/* Convert Mips rounding mode (0..3) to IEEE library modes. */ static const unsigned char ieee_rm[4 ] = { [FPU_CSR_RN ] =IEEE754_RN ,
@@ -384,10 +387,14 @@ static int cop1Emulate(struct pt_regs *xcp, struct mips_fpu_struct *ctx) (void *) (xcp->cp0_epc), MIPSInst_RT(ir), value);#endif - value &= (FPU_CSR_FLUSH |FPU_CSR_ALL_E |FPU_CSR_ALL_S |0x03 ); - ctx->fcr31 &= ~(FPU_CSR_FLUSH |FPU_CSR_ALL_E |FPU_CSR_ALL_S |0x03 ); -/* convert to ieee library modes */ - ctx->fcr31 |= (value & ~0x3 ) | ieee_rm[value &0x3 ]; + +/* +* Don't write reserved bits, +* and convert to ieee library modes +*/ + ctx->fcr31 = (value & + ~(FPU_CSR_RSVD |FPU_CSR_RM )) | + ieee_rm[modeindex (value)]; }if ((ctx->fcr31 >>5 ) & ctx->fcr31 &FPU_CSR_ALL_E ) {return SIGFPE ;
arch/powerpc/include/asm/cpm.h +24 -0
@@ -7,6 +7,30 @@#include <linux/of.h> /* +* SPI Parameter RAM common to QE and CPM. +*/ +struct spi_pram { +__be16 rbase;/* Rx Buffer descriptor base address */ +__be16 tbase;/* Tx Buffer descriptor base address */ +u8 rfcr;/* Rx function code */ +u8 tfcr;/* Tx function code */ +__be16 mrblr;/* Max receive buffer length */ +__be32 rstate;/* Internal */ +__be32 rdp;/* Internal */ +__be16 rbptr;/* Internal */ +__be16 rbc;/* Internal */ +__be32 rxtmp;/* Internal */ +__be32 tstate;/* Internal */ +__be32 tdp;/* Internal */ +__be16 tbptr;/* Internal */ +__be16 tbc;/* Internal */ +__be32 txtmp;/* Internal */ +__be32 res;/* Tx temp. */ +__be16 rpbase;/* Relocation pointer (CPM1 only) */ +__be16 res1;/* Reserved */ +}; + +/* * USB Controller pram common to QE and CPM. */ struct usb_ctlr {
arch/powerpc/kernel/irq.c +4 -1
@@ -247,7 +247,10 @@ void fixup_irqs(cpumask_t map)cpumask_t mask; desc =irq_to_desc (irq); -if (desc && desc->status &IRQ_PER_CPU ) +if (!desc) +continue ; + +if (desc->status &IRQ_PER_CPU )continue ;cpumask_and (&mask, desc->affinity, &map);
arch/powerpc/sysdev/micropatch.c +9 -3
@@ -16,6 +16,7 @@#include <asm/page.h> #include <asm/pgtable.h> #include <asm/8xx_immap.h> +#include <asm/cpm.h> #include <asm/cpm1.h> /*
@@ -625,9 +626,14 @@ cpm_load_patch(cpm8xx_t *cp) {volatile uint *dp;/* Dual-ported RAM. */ volatile cpm8xx_t *commproc; +#if defined(CONFIG_I2C_SPI_UCODE_PATCH ) || \ + defined(CONFIG_I2C_SPI_SMC1_UCODE_PATCH )volatile iic_t *iip; -volatile spi_t *spp; +volatile struct spi_pram *spp; +#ifdef CONFIG_I2C_SPI_SMC1_UCODE_PATCH volatile smc_uart_t *smp; +#endif +#endif int i; commproc = cp;
@@ -668,8 +674,8 @@ cpm_load_patch(cpm8xx_t *cp)/* Put SPI above the IIC, also 32-byte aligned. */ i = (RPBASE +sizeof (iic_t) +31 ) & ~31 ; - spp = (spi_t *)&commproc->cp_dparam[PROFF_SPI ]; - spp->spi_rpbase = i; + spp = (struct spi_pram *)&commproc->cp_dparam[PROFF_SPI ]; + spp->rpbase = i;# if defined(CONFIG_I2C_SPI_UCODE_PATCH ) commproc->cp_cpmcr1 =0x802a ;
arch/sparc/include/asm/stat.h +2 -2
@@ -53,8 +53,8 @@ struct stat {ino_t st_ino;mode_t st_mode;short st_nlink; -uid16_t st_uid; -gid16_t st_gid; +unsigned short st_uid; +unsigned short st_gid;unsigned short st_rdev;off_t st_size;time_t st_atime;
arch/x86/include/asm/msr-index.h +1 -0
@@ -107,6 +107,7 @@#define MSR_AMD64_PATCH_LOADER 0xc0010020#define MSR_AMD64_OSVW_ID_LENGTH 0xc0010140#define MSR_AMD64_OSVW_STATUS 0xc0010141 +#define MSR_AMD64_DC_CFG 0xc0011022#define MSR_AMD64_IBSFETCHCTL 0xc0011030#define MSR_AMD64_IBSFETCHLINAD 0xc0011031#define MSR_AMD64_IBSFETCHPHYSAD 0xc0011032
arch/x86/include/asm/suspend_32.h +2 -0
@@ -15,6 +15,8 @@ static inline int arch_prepare_suspend(void) { return 0; }struct saved_context {u16 es, fs, gs, ss;unsigned long cr0, cr2, cr3, cr4; +u64 misc_enable; +bool misc_enable_saved;struct desc_ptr gdt;struct desc_ptr idt;u16 ldt;
arch/x86/include/asm/suspend_64.h +2 -0
@@ -27,6 +27,8 @@ struct saved_context {u16 ds, es, fs, gs, ss;unsigned long gs_base, gs_kernel_base, fs_base;unsigned long cr0, cr2, cr3, cr4, cr8; +u64 misc_enable; +bool misc_enable_saved;unsigned long efer;u16 gdt_pad;u16 gdt_limit;
arch/x86/include/asm/system.h +1 -1
@@ -451,7 +451,7 @@ void stop_this_cpu(void *dummy);* * (Could use an alternative three way for this if there was one.) */ -static inline void rdtsc_barrier (void ) +static __always_inline void rdtsc_barrier(void) {alternative (ASM_NOP3 ,"mfence" ,X86_FEATURE_MFENCE_RDTSC );alternative (ASM_NOP3 ,"lfence" ,X86_FEATURE_LFENCE_RDTSC );
arch/x86/kernel/acpi/cstate.c +9 -0
@@ -145,6 +145,15 @@ int acpi_processor_ffh_cstate_probe(unsigned int cpu, percpu_entry->states[cx->index].eax = cx->address; percpu_entry->states[cx->index].ecx =MWAIT_ECX_INTERRUPT_BREAK ; } + +/* +* For _CST FFH on Intel, if GAS.access_size bit 1 is cleared, +* then we should skip checking BM_STS for this C-state. +* ref: "Intel Processor Vendor-Specific ACPI Interface Specification" +*/ +if ((c->x86_vendor ==X86_VENDOR_INTEL ) && !(reg->access_size &0x2 )) + cx->bm_sts_skip =1 ; +return retval; }EXPORT_SYMBOL_GPL (acpi_processor_ffh_cstate_probe);
arch/x86/kernel/acpi/sleep.c +0 -2
@@ -162,8 +162,6 @@ static int __init acpi_sleep_setup(char *str)#endif if (strncmp (str,"old_ordering" ,12 ) ==0 )acpi_old_suspend_ordering (); -if (strncmp (str,"sci_force_enable" ,16 ) ==0 ) -acpi_set_sci_en_on_resume (); str =strchr (str,',' );if (str !=NULL ) str +=strspn (str,", \t" );
arch/x86/kernel/apic/apic.c +1 -1
@@ -920,7 +920,7 @@ void disable_local_APIC(void)unsigned int value;/* APIC hasn't been mapped yet */ -if (!apic_phys) +if (!x2apic_mode && !apic_phys)return ;clear_local_APIC ();
arch/x86/kernel/hpet.c +1 -1
@@ -958,7 +958,7 @@ fs_initcall(hpet_late_init);void hpet_disable (void ) { -if (is_hpet_capable ()) { +if (is_hpet_capable () && hpet_virt_address) {unsigned int cfg =hpet_readl (HPET_CFG );if (hpet_legacy_int_enabled) {
arch/x86/kernel/pci-calgary_64.c +10 -7
@@ -103,11 +103,16 @@ int use_calgary __read_mostly = 0;#define PMR_SOFTSTOPFAULT 0x40000000#define PMR_HARDSTOP 0x20000000 -#define MAX_NUM_OF_PHBS 8/* how many PHBs in total? */ -#define MAX_NUM_CHASSIS 8/* max number of chassis */ -/* MAX_PHB_BUS_NUM is the maximal possible dev->bus->number */ -#define MAX_PHB_BUS_NUM (MAX_NUM_OF_PHBS * MAX_NUM_CHASSIS * 2) -#define PHBS_PER_CALGARY 4 +/* +* The maximum PHB bus number. +* x3950M2 (rare): 8 chassis, 48 PHBs per chassis = 384 +* x3950M2: 4 chassis, 48 PHBs per chassis = 192 +* x3950 (PCIE): 8 chassis, 32 PHBs per chassis = 256 +* x3950 (PCIX): 8 chassis, 16 PHBs per chassis = 128 +*/ +#define MAX_PHB_BUS_NUM 256 + +#define PHBS_PER_CALGARY 4/* register offsets in Calgary's internal register space */ static const unsigned long tar_offsets[] = {
@@ -1051,8 +1056,6 @@ static int __init calgary_init_one(struct pci_dev *dev)struct iommu_table *tbl;int ret; -BUG_ON (dev->bus->number >=MAX_PHB_BUS_NUM ); - bbar =busno_to_bbar (dev->bus->number); ret =calgary_setup_tar (dev, bbar);if (ret)
arch/x86/kernel/traps.c +10 -1
@@ -529,11 +529,20 @@ asmlinkage __kprobes struct pt_regs *sync_regs(struct pt_regs *eregs) dotraplinkage void __kprobes do_debug(struct pt_regs *regs, long error_code) {struct task_struct *tsk = current; +int user_icebp =0 ;unsigned long dr6;int si_code;get_debugreg (dr6,6 ); +/* +* If dr6 has no reason to give us about the origin of this trap, +* then it's very likely the result of an icebp/int01 trap. +* User wants a sigtrap for that. +*/ +if (!(dr6 & ~0xffff0ff0 ) &&user_mode (regs)) + user_icebp =1 ; +/* Catch kmemcheck conditions first of all! */ if ((dr6 &DR_STEP ) &&kmemcheck_trap (regs))return ;
@@ -575,7 +584,7 @@ dotraplinkage void __kprobes do_debug(struct pt_regs *regs, long error_code) regs->flags &= ~X86_EFLAGS_TF ; } si_code =get_si_code (tsk->thread.debugreg6); -if (tsk->thread.debugreg6 & (DR_STEP |DR_TRAP_BITS )) +if (tsk->thread.debugreg6 & (DR_STEP |DR_TRAP_BITS ) || user_icebp)send_sigtrap (tsk, regs, error_code, si_code);preempt_conditional_cli (regs);
arch/x86/kvm/mmu.c +5 -0
@@ -1849,6 +1849,9 @@ static int set_spte(struct kvm_vcpu *vcpu, u64 *sptep, spte |=PT_WRITABLE_MASK ; +if (!tdp_enabled && !(pte_access &ACC_WRITE_MASK )) + spte &= ~PT_USER_MASK ; +/* * Optimization: for pte sync, if spte was writable the hash * lookup is unnecessary (and expensive). Write protection
@@ -1904,6 +1907,8 @@ static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep, child =page_header (pte &PT64_BASE_ADDR_MASK );mmu_page_remove_parent_pte (child, sptep); +__set_spte (sptep, shadow_trap_nonpresent_pte); +kvm_flush_remote_tlbs (vcpu->kvm); }else if (pfn !=spte_to_pfn (*sptep)) {pgprintk ("hfn old %lx new %lx\n" ,spte_to_pfn (*sptep), pfn);
arch/x86/kvm/svm.c +95 -1
139 lines not on this page · raw message
arch/x86/power/cpu.c +4 -0
@@ -105,6 +105,8 @@ static void __save_processor_state(struct saved_context *ctxt) ctxt->cr4 =read_cr4 (); ctxt->cr8 =read_cr8 ();#endif + ctxt->misc_enable_saved = !rdmsrl_safe (MSR_IA32_MISC_ENABLE , + &ctxt->misc_enable); }/* Needed by apm.c */
@@ -152,6 +154,8 @@ static void fix_processor_context(void)*/ static void __restore_processor_state (struct saved_context *ctxt) { +if (ctxt->misc_enable_saved) +wrmsrl (MSR_IA32_MISC_ENABLE , ctxt->misc_enable);/* * control registers */
block/cfq-iosched.c +11 -2
@@ -1934,6 +1934,15 @@ static void cfq_setup_merge(struct cfq_queue *cfqq, struct cfq_queue *new_cfqq)int process_refs, new_process_refs;struct cfq_queue *__cfqq; +/* +* If there are no process references on the new_cfqq, then it is +* unsafe to follow the ->new_cfqq chain as other cfqq's in the +* chain may have dropped their last reference (not just their +* last process reference). +*/ +if (!cfqq_process_refs (new_cfqq)) +return ; +/* Avoid a circular list and skip interim queue merges */ while ((__cfqq = new_cfqq->new_cfqq)) {if (__cfqq == cfqq)
@@ -1942,17 +1951,17 @@ static void cfq_setup_merge(struct cfq_queue *cfqq, struct cfq_queue *new_cfqq) } process_refs =cfqq_process_refs (cfqq); + new_process_refs =cfqq_process_refs (new_cfqq);/* * If the process for the cfqq has gone away, there is no * sense in merging the queues. */ -if (process_refs ==0 ) +if (process_refs ==0 || new_process_refs ==0 )return ;/* * Merge in the direction of the lesser amount of work. */ - new_process_refs =cfqq_process_refs (new_cfqq);if (new_process_refs >= process_refs) { cfqq->new_cfqq = new_cfqq;atomic_add (process_refs, &new_cfqq->ref);
drivers/acpi/processor_idle.c +1 -1
@@ -954,7 +954,7 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev,if (acpi_idle_suspend)return (acpi_idle_enter_c1 (dev, state)); -if (acpi_idle_bm_check ()) { +if (!cx->bm_sts_skip &&acpi_idle_bm_check ()) {if (dev->safe_state) { dev->last_state = dev->safe_state;return dev->safe_state->enter (dev, dev->safe_state);
drivers/acpi/sleep.c +2 -155
193 lines not on this page · raw message
drivers/ata/ahci.c +10 -0
@@ -3037,6 +3037,16 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)if (pdev->vendor ==PCI_VENDOR_ID_MARVELL && !marvell_enable)return -ENODEV ; +/* +* For some reason, MCP89 on MacBook 7,1 doesn't work with +* ahci, use ata_generic instead. +*/ +if (pdev->vendor ==PCI_VENDOR_ID_NVIDIA && + pdev->device ==PCI_DEVICE_ID_NVIDIA_NFORCE_MCP89_SATA && + pdev->subsystem_vendor ==PCI_VENDOR_ID_APPLE && + pdev->subsystem_device ==0xcb89 ) +return -ENODEV ; +/* Promise's PDC42819 is a SAS/SATA controller that has an AHCI mode. * At the moment, we can only use the AHCI mode. Let the users know * that for SAS drives they're out of luck.
drivers/ata/ata_generic.c +6 -0
@@ -168,6 +168,12 @@ static struct pci_device_id ata_generic[] = { { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C561), }, { PCI_DEVICE(PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C558), }, { PCI_DEVICE(PCI_VENDOR_ID_CENATEK,PCI_DEVICE_ID_CENATEK_IDE), }, + /* + * For some reason, MCP89 on MacBook 7,1 doesn't work with + * ahci, use ata_generic instead. + */ + { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP89_SATA, + PCI_VENDOR_ID_APPLE, 0xcb89, }, #if !defined(CONFIG_PATA_TOSHIBA) && !defined(CONFIG_PATA_TOSHIBA_MODULE) { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_1), }, { PCI_DEVICE(PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_2), },
drivers/base/firmware_class.c +20 -6
@@ -125,6 +125,17 @@ static ssize_t firmware_loading_show(struct device *dev,return sprintf (buf,"%d\n" , loading); } +static void firmware_free_data (const struct firmware *fw) +{ +int i; +vunmap (fw->data); +if (fw->pages) { +for (i =0 ; i <PFN_UP (fw->size); i++) +__free_page (fw->pages[i]); +kfree (fw->pages); + } +} +/* Some architectures don't have PAGE_KERNEL_RO */ #ifndef PAGE_KERNEL_RO #define PAGE_KERNEL_RO PAGE_KERNEL
@@ -157,21 +168,21 @@ static ssize_t firmware_loading_store(struct device *dev,mutex_unlock (&fw_lock);break ; } -vfree (fw_priv->fw->data); - fw_priv->fw->data =NULL ; +firmware_free_data (fw_priv->fw); +memset (fw_priv->fw,0 ,sizeof (struct firmware )); +/* If the pages are not owned by 'struct firmware' */ for (i =0 ; i < fw_priv->nr_pages; i++)__free_page (fw_priv->pages[i]);kfree (fw_priv->pages); fw_priv->pages =NULL ; fw_priv->page_array_size =0 ; fw_priv->nr_pages =0 ; - fw_priv->fw->size =0 ;set_bit (FW_STATUS_LOADING , &fw_priv->status);mutex_unlock (&fw_lock);break ;case 0 :if (test_bit (FW_STATUS_LOADING , &fw_priv->status)) { -vfree (fw_priv->fw->data); +vunmap (fw_priv->fw->data); fw_priv->fw->data =vmap (fw_priv->pages, fw_priv->nr_pages,0 ,PAGE_KERNEL_RO );
@@ -179,7 +190,10 @@ static ssize_t firmware_loading_store(struct device *dev,dev_err (dev,"%s: vmap() failed\n" , __func__); goto err; } -/* Pages will be freed by vfree() */ +/* Pages are now owned by 'struct firmware' */ + fw_priv->fw->pages = fw_priv->pages; + fw_priv->pages =NULL ; + fw_priv->page_array_size =0 ; fw_priv->nr_pages =0 ;complete (&fw_priv->completion);
@@ -572,7 +586,7 @@ release_firmware(const struct firmware *fw)if (fw->data == builtin->data) goto free_fw; } -vfree (fw->data); +firmware_free_data (fw); free_fw:kfree (fw); }
drivers/char/agp/amd64-agp.c +15 -12
@@ -499,6 +499,10 @@ static int __devinit agp_amd64_probe(struct pci_dev *pdev,u8 cap_ptr;int err; +/* The Highlander principle */ +if (agp_bridges_found) +return -ENODEV ; + cap_ptr =pci_find_capability (pdev,PCI_CAP_ID_AGP );if (!cap_ptr)return -ENODEV ;
@@ -562,6 +566,8 @@ static void __devexit agp_amd64_remove(struct pci_dev *pdev) amd64_aperture_sizes[bridge->aperture_size_idx].size);agp_remove_bridge (bridge);agp_put_bridge (bridge); + + agp_bridges_found--; }#ifdef CONFIG_PM
@@ -709,6 +715,11 @@ static struct pci_device_id agp_amd64_pci_table[] = {MODULE_DEVICE_TABLE (pci, agp_amd64_pci_table); +static DEFINE_PCI_DEVICE_TABLE (agp_amd64_pci_promisc_table) = { + {PCI_DEVICE_CLASS (0 ,0 ) }, + { } +}; +static struct pci_driver agp_amd64_pci_driver = { .name ="agpgart-amd64" , .id_table = agp_amd64_pci_table,
@@ -734,7 +745,6 @@ int __init agp_amd64_init(void)return err;if (agp_bridges_found ==0 ) { -struct pci_dev *dev;if (!agp_try_unsupported && !agp_try_unsupported_boot) { printk(KERN_INFO PFX "No supported AGP bridge found.\n");#ifdef MODULE
@@ -750,17 +760,10 @@ int __init agp_amd64_init(void)return -ENODEV ;/* Look for any AGP bridge */ - dev =NULL ; - err = -ENODEV ; -for_each_pci_dev (dev) { -if (!pci_find_capability (dev,PCI_CAP_ID_AGP )) -continue ; -/* Only one bridge supported right now */ -if (agp_amd64_probe (dev,NULL ) ==0 ) { - err =0 ; -break ; - } - } + agp_amd64_pci_driver.id_table = agp_amd64_pci_promisc_table; + err =driver_attach (&agp_amd64_pci_driver.driver); +if (err ==0 && agp_bridges_found ==0 ) + err = -ENODEV ; }return err; }
drivers/char/tpm/tpm.h +1 -0
@@ -224,6 +224,7 @@ struct tpm_readpubek_params_out {u8 algorithm[4 ];u8 encscheme[2 ];u8 sigscheme[2 ]; +__be32 paramsize;u8 parameters[12 ];/*assuming RSA*/ __be32 keysize;u8 modulus[256 ];
drivers/char/tpm/tpm_tis.c +8 -1
@@ -622,7 +622,14 @@ static int tpm_tis_pnp_suspend(struct pnp_dev *dev, pm_message_t msg)static int tpm_tis_pnp_resume (struct pnp_dev *dev) { -return tpm_pm_resume (&dev->dev); +struct tpm_chip *chip =pnp_get_drvdata (dev); +int ret; + + ret =tpm_pm_resume (&dev->dev); +if (!ret) +tpm_continue_selftest (chip); + +return ret; }static struct pnp_device_id tpm_pnp_tbl[]__devinitdata = {
drivers/cpufreq/cpufreq.c +1 -10
@@ -1765,17 +1765,8 @@ static int __cpufreq_set_policy(struct cpufreq_policy *data,dprintk ("governor switch\n" );/* end old governor */ -if (data->governor) { -/* -* Need to release the rwsem around governor -* stop due to lock dependency between -* cancel_delayed_work_sync and the read lock -* taken in the delayed work handler. -*/ -unlock_policy_rwsem_write (data->cpu); +if (data->governor)__cpufreq_governor (data,CPUFREQ_GOV_STOP ); -lock_policy_rwsem_write (data->cpu); - }/* start new governor */ data->governor = policy->governor;
drivers/edac/Kconfig +1 -1
@@ -196,7 +196,7 @@ config EDAC_I5100 config EDAC_MPC85XX tristate "Freescale MPC83xx / MPC85xx" - depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || MPC85xx) + depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || PPC_85xx) help Support for error detection and correction on the Freescale MPC8349, MPC8560, MPC8540, MPC8548
drivers/edac/amd64_edac.c +12 -12
@@ -1958,20 +1958,20 @@ static int get_channel_from_ecc_syndrome(struct mem_ctl_info *mci, u16 syndrome)u32 value =0 ;int err_sym =0 ; -amd64_read_pci_cfg (pvt->misc_f3_ctl,0x180 , &value); +if (boot_cpu_data.x86 ==0x10 ) { -/* F3x180[EccSymbolSize]=1, x8 symbols */ -if (boot_cpu_data.x86 ==0x10 && - boot_cpu_data.x86_model >7 && - value &BIT (25 )) { - err_sym =decode_syndrome (syndrome, x8_vectors, -ARRAY_SIZE (x8_vectors),8 ); -return map_err_sym_to_channel (err_sym,8 ); - }else { - err_sym =decode_syndrome (syndrome, x4_vectors, -ARRAY_SIZE (x4_vectors),4 ); -return map_err_sym_to_channel (err_sym,4 ); +amd64_read_pci_cfg (pvt->misc_f3_ctl,0x180 , &value); + +/* F3x180[EccSymbolSize]=1 => x8 symbols */ +if (boot_cpu_data.x86_model >7 && + value &BIT (25 )) { + err_sym =decode_syndrome (syndrome, x8_vectors, +ARRAY_SIZE (x8_vectors),8 ); +return map_err_sym_to_channel (err_sym,8 ); + } } + err_sym =decode_syndrome (syndrome, x4_vectors,ARRAY_SIZE (x4_vectors),4 ); +return map_err_sym_to_channel (err_sym,4 ); }/*
drivers/gpu/drm/i915/i915_drv.c +1 -0
@@ -328,6 +328,7 @@ int i965_reset(struct drm_device *dev, u8 flags) } }else {DRM_ERROR ("Error occurred. Don't know how to reset this chip.\n" ); +mutex_unlock (&dev->struct_mutex);return -ENODEV ; }
drivers/gpu/drm/i915/i915_gem.c +12 -1
@@ -2288,8 +2288,9 @@ i915_gem_object_get_pages(struct drm_gem_object *obj, mapping = inode->i_mapping;for (i =0 ; i < page_count; i++) { page =read_cache_page_gfp (mapping, i, -mapping_gfp_mask (mapping) | +GFP_HIGHUSER | __GFP_COLD | + __GFP_RECLAIMABLE | gfpmask);if (IS_ERR (page)) goto err_pages;
@@ -4998,6 +4999,16 @@ i915_gem_load(struct drm_device *dev)list_add (&dev_priv->mm.shrink_list, &shrink_list);spin_unlock (&shrink_list_lock); +/* On GEN3 we really need to make sure the ARB C3 LP bit is set */ +if (IS_GEN3 (dev)) { +u32 tmp =I915_READ (MI_ARB_STATE ); +if (!(tmp &MI_ARB_C3_LP_WRITE_ENABLE )) { +/* arb state is a masked write, so set bit + bit in mask */ + tmp =MI_ARB_C3_LP_WRITE_ENABLE | (MI_ARB_C3_LP_WRITE_ENABLE <<MI_ARB_MASK_SHIFT ); +I915_WRITE (MI_ARB_STATE , tmp); + } + } +/* Old X drivers will take 0-2 for front, back, depth buffers */ dev_priv->fence_reg_start =3 ;
drivers/gpu/drm/i915/i915_reg.h +64 -0
70 lines not on this page · raw message
drivers/gpu/drm/i915/intel_display.c +2 -2
@@ -879,8 +879,8 @@ intel_g4x_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc,intel_clock_t clock;int max_n;bool found; -/* approximately equals target * 0.00488 */ -int err_most = (target >>8 ) + (target >>10 ); +/* approximately equals target * 0.00585 */ +int err_most = (target >>8 ) + (target >>9 ); found = false;if (intel_pipe_has_type (crtc,INTEL_OUTPUT_LVDS )) {
drivers/gpu/drm/radeon/r100.c +34 -27
91 lines not on this page · raw message
drivers/gpu/drm/radeon/r200.c +5 -0
@@ -368,6 +368,8 @@ int r200_packet0_check(struct radeon_cs_parser *p,/* 2D, 3D, CUBE */ switch (tmp) {case 0 : +case 3 : +case 4 :case 5 :case 6 :case 7 :
@@ -403,6 +405,7 @@ int r200_packet0_check(struct radeon_cs_parser *p,case R200_TXFORMAT_RGB332 :case R200_TXFORMAT_Y8 : track->textures[i].cpp =1 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R200_TXFORMAT_AI88 :case R200_TXFORMAT_ARGB1555 :
@@ -414,6 +417,7 @@ int r200_packet0_check(struct radeon_cs_parser *p,case R200_TXFORMAT_DVDU88 :case R200_TXFORMAT_AVYU4444 : track->textures[i].cpp =2 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R200_TXFORMAT_ARGB8888 :case R200_TXFORMAT_RGBA8888 :
@@ -421,6 +425,7 @@ int r200_packet0_check(struct radeon_cs_parser *p,case R200_TXFORMAT_BGR111110 :case R200_TXFORMAT_LDVDU8888 : track->textures[i].cpp =4 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R200_TXFORMAT_DXT1 : track->textures[i].cpp =1 ;
drivers/gpu/drm/radeon/r300.c +5 -0
@@ -870,6 +870,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,case R300_TX_FORMAT_Y4X4 :case R300_TX_FORMAT_Z3Y3X2 : track->textures[i].cpp =1 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R300_TX_FORMAT_X16 :case R300_TX_FORMAT_Y8X8 :
@@ -881,6 +882,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,case R300_TX_FORMAT_B8G8_B8G8 :case R300_TX_FORMAT_G8R8_G8B8 : track->textures[i].cpp =2 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R300_TX_FORMAT_Y16X16 :case R300_TX_FORMAT_Z11Y11X10 :
@@ -891,14 +893,17 @@ static int r300_packet0_check(struct radeon_cs_parser *p,case R300_TX_FORMAT_FL_I32 :case 0x1e : track->textures[i].cpp =4 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R300_TX_FORMAT_W16Z16Y16X16 :case R300_TX_FORMAT_FL_R16G16B16A16 :case R300_TX_FORMAT_FL_I32A32 : track->textures[i].cpp =8 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R300_TX_FORMAT_FL_R32G32B32A32 : track->textures[i].cpp =16 ; + track->textures[i].compress_format =R100_TRACK_COMP_NONE ;break ;case R300_TX_FORMAT_DXT1 : track->textures[i].cpp =1 ;
drivers/gpu/drm/radeon/radeon_atombios.c +18 -2
@@ -268,6 +268,15 @@ static bool radeon_atom_apply_quirks(struct drm_device *dev, } } +/* ASUS HD 3600 board lists the DVI port as HDMI */ +if ((dev->pdev->device ==0x9598 ) && + (dev->pdev->subsystem_vendor ==0x1043 ) && + (dev->pdev->subsystem_device ==0x01e4 )) { +if (*connector_type ==DRM_MODE_CONNECTOR_HDMIA ) { + *connector_type =DRM_MODE_CONNECTOR_DVII ; + } + } +/* ASUS HD 3450 board lists the DVI port as HDMI */ if ((dev->pdev->device == 0x95C5) && (dev->pdev->subsystem_vendor == 0x1043) &&
@@ -977,8 +986,15 @@ bool radeon_atombios_sideport_present(struct radeon_device *rdev)if (igp_info) {switch (crev) {case 1 : -if (igp_info->info.ucMemoryType &0xf0 ) -return true; +/* AMD IGPS */ +if ((rdev->family ==CHIP_RS690 ) || + (rdev->family ==CHIP_RS740 )) { +if (igp_info->info.ulBootUpMemoryClock) +return true; + }else { +if (igp_info->info.ucMemoryType &0xf0 ) +return true; + }break ;case 2 :if (igp_info->info_2.ucMemoryType &0x0f )
drivers/gpu/drm/radeon/radeon_connectors.c +12 -15
@@ -779,30 +779,27 @@ static enum drm_connector_status radeon_dvi_detect(struct drm_connector *connect }else ret = connector_status_connected; -/* multiple connectors on the same encoder with the same ddc line -* This tends to be HDMI and DVI on the same encoder with the -* same ddc line. If the edid says HDMI, consider the HDMI port -* connected and the DVI port disconnected. If the edid doesn't -* say HDMI, vice versa. +/* This gets complicated. We have boards with VGA + HDMI with a +* shared DDC line and we have boards with DVI-D + HDMI with a shared +* DDC line. The latter is more complex because with DVI<->HDMI adapters +* you don't really know what's connected to which port as both are digital. */ if (radeon_connector->shared_ddc && (ret == connector_status_connected)) {struct drm_device *dev = connector->dev; +struct radeon_device *rdev = dev->dev_private;struct drm_connector *list_connector;struct radeon_connector *list_radeon_connector;list_for_each_entry (list_connector, &dev->mode_config.connector_list, head) {if (connector == list_connector)continue ; list_radeon_connector =to_radeon_connector (list_connector); -if (radeon_connector->devices == list_radeon_connector->devices) { -if (drm_detect_hdmi_monitor (radeon_connector->edid)) { -if (connector->connector_type ==DRM_MODE_CONNECTOR_DVID ) { -kfree (radeon_connector->edid); - radeon_connector->edid =NULL ; - ret = connector_status_disconnected; - } - }else { -if ((connector->connector_type ==DRM_MODE_CONNECTOR_HDMIA ) || - (connector->connector_type ==DRM_MODE_CONNECTOR_HDMIB )) { +if (list_radeon_connector->shared_ddc && + (list_radeon_connector->ddc_bus->rec.i2c_id == + radeon_connector->ddc_bus->rec.i2c_id)) { +/* cases where both connectors are digital */ +if (list_connector->connector_type !=DRM_MODE_CONNECTOR_VGA ) { +/* hpd is our only option in this case */ +if (!radeon_hpd_sense (rdev, radeon_connector->hpd.hpd)) {kfree (radeon_connector->edid); radeon_connector->edid =NULL ; ret = connector_status_disconnected;
drivers/gpu/drm/radeon/radeon_legacy_encoders.c +1 -0
@@ -108,6 +108,7 @@ static void radeon_legacy_lvds_dpms(struct drm_encoder *encoder, int mode)udelay (panel_pwr_delay *1000 );WREG32 (RADEON_LVDS_GEN_CNTL , lvds_gen_cntl);WREG32_PLL (RADEON_PIXCLKS_CNTL , pixclks_cntl); +udelay (panel_pwr_delay *1000 );break ; }
drivers/gpu/drm/radeon/radeon_legacy_tv.c +2 -2
@@ -642,8 +642,8 @@ void radeon_legacy_tv_mode_set(struct drm_encoder *encoder, } flicker_removal = (tmp +500 ) /1000 ; -if (flicker_removal <2 ) - flicker_removal =2 ; +if (flicker_removal <3 ) + flicker_removal =3 ;for (i =0 ; i <ARRAY_SIZE (SLOPE_limit); ++i) {if (flicker_removal == SLOPE_limit[i])break ;
drivers/hwmon/coretemp.c +30 -2
@@ -53,6 +53,7 @@ struct coretemp_data {struct mutex update_lock;const char *name;u32 id; +u16 core_id;char valid;/* zero until following fields are valid */ unsigned long last_updated;/* in jiffies */ int temp;
@@ -75,7 +76,7 @@ static ssize_t show_name(struct device *dev, struct device_attributeif (attr->index ==SHOW_NAME ) ret =sprintf (buf,"%s\n" , data->name);else /* show label */ - ret =sprintf (buf,"Core %d\n" , data->id); + ret =sprintf (buf,"Core %d\n" , data->core_id);return ret; }
@@ -255,6 +256,9 @@ static int __devinit coretemp_probe(struct platform_device *pdev) } data->id = pdev->id; +#ifdef CONFIG_SMP + data->core_id = c->cpu_core_id; +#endif data->name ="coretemp" ;mutex_init (&data->update_lock);
@@ -352,6 +356,10 @@ struct pdev_entry {struct list_head list;struct platform_device *pdev;unsigned int cpu; +#ifdef CONFIG_SMP +u16 phys_proc_id; +u16 cpu_core_id; +#endif };static LIST_HEAD (pdev_list);
@@ -362,6 +370,22 @@ static int __cpuinit coretemp_device_add(unsigned int cpu)int err;struct platform_device *pdev;struct pdev_entry *pdev_entry; +#ifdef CONFIG_SMP +struct cpuinfo_x86 *c = &cpu_data (cpu); +#endif + +mutex_lock (&pdev_list_mutex); + +#ifdef CONFIG_SMP +/* Skip second HT entry of each core */ +list_for_each_entry (pdev_entry, &pdev_list, list) { +if (c->phys_proc_id == pdev_entry->phys_proc_id && + c->cpu_core_id == pdev_entry->cpu_core_id) { + err =0 ;/* Not an error */ + goto exit; + } + } +#endif pdev =platform_device_alloc (DRVNAME , cpu);if (!pdev) {
@@ -385,7 +409,10 @@ static int __cpuinit coretemp_device_add(unsigned int cpu) pdev_entry->pdev = pdev; pdev_entry->cpu = cpu; -mutex_lock (&pdev_list_mutex); +#ifdef CONFIG_SMP + pdev_entry->phys_proc_id = c->phys_proc_id; + pdev_entry->cpu_core_id = c->cpu_core_id; +#endif list_add_tail (&pdev_entry->list, &pdev_list);mutex_unlock (&pdev_list_mutex);
@@ -396,6 +423,7 @@ exit_device_free: exit_device_put:platform_device_put (pdev); exit: +mutex_unlock (&pdev_list_mutex);return err; }
drivers/hwmon/it87.c +22 -0
@@ -80,6 +80,13 @@ superio_inb(int reg)return inb (VAL ); } +static inline void +superio_outb (int reg,int val) +{ +outb (reg,REG ); +outb (val,VAL ); +} +static int superio_inw (int reg) {int val;
@@ -1064,6 +1071,21 @@ static int __init it87_find(unsigned short *address, sio_data->vid_value =superio_inb (IT87_SIO_VID_REG ); reg =superio_inb (IT87_SIO_PINX2_REG ); +/* +* The IT8720F has no VIN7 pin, so VCCH should always be +* routed internally to VIN7 with an internal divider. +* Curiously, there still is a configuration bit to control +* this, which means it can be set incorrectly. And even +* more curiously, many boards out there are improperly +* configured, even though the IT8720F datasheet claims +* that the internal routing of VCCH to VIN7 is the default +* setting. So we force the internal routing in this case. +*/ +if (sio_data->type == it8720 && !(reg & (1 <<1 ))) { + reg |= (1 <<1 ); +superio_outb (IT87_SIO_PINX2_REG , reg); +pr_notice ("it87: Routing internal VCCH to in7\n" ); + }if (reg & (1 <<0 ))pr_info ("it87: in3 is VCC (+5V)\n" );if (reg & (1 <<1 ))
drivers/hwmon/k10temp.c +12 -2
@@ -112,11 +112,21 @@ static bool __devinit has_erratum_319(struct pci_dev *pdev)if (pkg_type !=CPUID_PKGTYPE_AM2R2_AM3 )return false; -/* Differentiate between AM2+ (bad) and AM3 (good) */ +/* DDR3 memory implies socket AM3, which is good */ pci_bus_read_config_dword (pdev->bus,PCI_DEVFN (PCI_SLOT (pdev->devfn),2 ),REG_DCT0_CONFIG_HIGH , ®_dram_cfg); -return !(reg_dram_cfg &DDR3_MODE ); +if (reg_dram_cfg &DDR3_MODE ) +return false; + +/* +* Unfortunately it is possible to run a socket AM3 CPU with DDR2 +* memory. We blacklist all the cores which do exist in socket AM2+ +* format. It still isn't perfect, as RB-C2 cores exist in both AM2+ +* and AM3 formats, but that's the best we can do. +*/ +return boot_cpu_data.x86_model <4 || + (boot_cpu_data.x86_model ==4 && boot_cpu_data.x86_mask <=2 ); } static int __devinit k10temp_probe(struct pci_dev *pdev,
drivers/hwmon/k8temp.c +7 -5
@@ -120,7 +120,7 @@ static ssize_t show_temp(struct device *dev,int temp;struct k8temp_data *data =k8temp_update_device (dev); -if (data->swap_core_select) +if (data->swap_core_select && (data->sensorsp &SEL_CORE )) core = core ?0 :1 ; temp =TEMP_FROM_REG (data->temp[core][place]) + data->temp_offset;
@@ -180,11 +180,13 @@ static int __devinit k8temp_probe(struct pci_dev *pdev, }if ((model >=0x69 ) && - !(model ==0xc1 || model ==0x6c || model ==0x7c )) { + !(model ==0xc1 || model ==0x6c || model ==0x7c || + model ==0x6b || model ==0x6f || model ==0x7f )) {/* -* RevG desktop CPUs (i.e. no socket S1G1 parts) -* need additional offset, otherwise reported -* temperature is below ambient temperature +* RevG desktop CPUs (i.e. no socket S1G1 or +* ASB1 parts) need additional offset, +* otherwise reported temperature is below +* ambient temperature */ data->temp_offset =21000 ; }
drivers/ide/cmd640.c +2 -4
@@ -632,12 +632,10 @@ static void cmd640_init_dev(ide_drive_t *drive)static int cmd640_test_irq (ide_hwif_t *hwif) { -struct pci_dev *dev =to_pci_dev (hwif->dev);int irq_reg = hwif->channel ?ARTTIM23 :CFR ; -u8 irq_stat, irq_mask = hwif->channel ?ARTTIM23_IDE23INTR : +u8 irq_mask = hwif->channel ?ARTTIM23_IDE23INTR :CFR_IDE01INTR ; - -pci_read_config_byte (dev, irq_reg, &irq_stat); +u8 irq_stat =get_cmd640_reg (irq_reg);return (irq_stat & irq_mask) ?1 :0 ; }
drivers/ide/ide-taskfile.c +2 -4
@@ -428,13 +428,11 @@ int ide_raw_taskfile(ide_drive_t *drive, struct ide_cmd *cmd, u8 *buf, {struct request *rq;int error; +int rw = !(cmd->tf_flags &IDE_TFLAG_WRITE ) ?READ :WRITE ; - rq =blk_get_request (drive->queue,READ , __GFP_WAIT); + rq =blk_get_request (drive->queue, rw, __GFP_WAIT); rq->cmd_type =REQ_TYPE_ATA_TASKFILE ; -if (cmd->tf_flags &IDE_TFLAG_WRITE ) - rq->cmd_flags |=REQ_RW ; -/* * (ks) We transfer currently only whole sectors. * This is suffient for now. But, it would be great,
drivers/infiniband/ulp/ipoib/ipoib_main.c +2 -2
@@ -1163,7 +1163,7 @@ static ssize_t create_child(struct device *dev,return ret ? ret : count; } -static DEVICE_ATTR(create_child, S_IWUGO, NULL, create_child); +static DEVICE_ATTR(create_child, S_IWUSR, NULL, create_child); static ssize_t delete_child(struct device *dev, struct device_attribute *attr,
@@ -1183,7 +1183,7 @@ static ssize_t delete_child(struct device *dev,return ret ? ret : count; } -static DEVICE_ATTR(delete_child, S_IWUGO, NULL, delete_child); +static DEVICE_ATTR(delete_child, S_IWUSR, NULL, delete_child);int ipoib_add_pkey_attr (struct net_device *dev) {
drivers/input/keyboard/twl4030_keypad.c +11 -6
@@ -50,8 +50,12 @@*/ #define TWL4030_MAX_ROWS 8/* TWL4030 hard limit */ #define TWL4030_MAX_COLS 8 -#define TWL4030_ROW_SHIFT 3 -#define TWL4030_KEYMAP_SIZE (TWL4030_MAX_ROWS * TWL4030_MAX_COLS) +/* +* Note that we add space for an extra column so that we can handle +* row lines connected to the gnd (see twl4030_col_xlate()). +*/ +#define TWL4030_ROW_SHIFT 4 +#define TWL4030_KEYMAP_SIZE (TWL4030_MAX_ROWS << TWL4030_ROW_SHIFT)struct twl4030_keypad {unsigned short keymap[TWL4030_KEYMAP_SIZE ];
@@ -181,7 +185,7 @@ static int twl4030_read_kp_matrix_state(struct twl4030_keypad *kp, u16 *state)return ret; } -static int twl4030_is_in_ghost_state (struct twl4030_keypad *kp,u16 *key_state) +static bool twl4030_is_in_ghost_state (struct twl4030_keypad *kp,u16 *key_state) {int i;u16 check =0 ;
@@ -190,12 +194,12 @@ static int twl4030_is_in_ghost_state(struct twl4030_keypad *kp, u16 *key_state)u16 col = key_state[i];if ((col & check) &&hweight16 (col) >1 ) -return 1 ; +return true; check |= col; } -return 0 ; +return false; }static void twl4030_kp_scan (struct twl4030_keypad *kp,bool release_all)
@@ -224,7 +228,8 @@ static void twl4030_kp_scan(struct twl4030_keypad *kp, bool release_all)if (!changed)continue ; -for (col =0 ; col < kp->n_cols; col++) { +/* Extra column handles "all gnd" rows */ +for (col =0 ; col < kp->n_cols +1 ; col++) {int code;if (!(changed & (1 << col)))
drivers/input/serio/i8042-x86ia64io.h +7 -0
@@ -166,6 +166,13 @@ static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = { }, }, { +/* Gigabyte Spring Peak - defines wrong chassis type */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"GIGABYTE" ), + DMI_MATCH(DMI_PRODUCT_NAME, "Spring Peak"), + }, + }, + { .matches = {DMI_MATCH (DMI_SYS_VENDOR ,"Hewlett-Packard" ), DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion dv9700"),
drivers/md/raid10.c +6 -6
@@ -1486,14 +1486,14 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio)int sectors = r10_bio->sectors;mdk_rdev_t *rdev;int max_read_errors =atomic_read (&mddev->max_corr_read_errors); +int d = r10_bio->devs[r10_bio->read_slot].devnum;rcu_read_lock (); - { -int d = r10_bio->devs[r10_bio->read_slot].devnum; + rdev =rcu_dereference (conf->mirrors[d].rdev); +if (rdev) {/* If rdev is not NULL */ char b[BDEVNAME_SIZE ];int cur_read_error_count =0 ; - rdev =rcu_dereference (conf->mirrors[d].rdev);bdevname (rdev->bdev, b);if (test_bit (Faulty, &rdev->flags)) {
@@ -1533,7 +1533,7 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio)rcu_read_lock (); do { - int d = r10_bio->devs[sl].devnum; + d = r10_bio->devs[sl].devnum; rdev = rcu_dereference(conf->mirrors[d].rdev); if (rdev && test_bit(In_sync, &rdev->flags)) {
@@ -1567,7 +1567,7 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio)rcu_read_lock ();while (sl != r10_bio->read_slot) {char b[BDEVNAME_SIZE ]; -int d; +if (sl==0 ) sl = conf->copies; sl--;
@@ -1603,7 +1603,7 @@ static void fix_read_error(conf_t *conf, mddev_t *mddev, r10bio_t *r10_bio) } sl = start;while (sl != r10_bio->read_slot) { -int d; +if (sl==0 ) sl = conf->copies; sl--;
drivers/media/dvb/dvb-core/dvb_net.c +11 -1
@@ -350,6 +350,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len )const u8 *ts, *ts_end, *from_where =NULL ;u8 ts_remain =0 , how_much =0 , new_ts =1 ;struct ethhdr *ethh =NULL ; +bool error = false;#ifdef ULE_DEBUG /* The code inside ULE_DEBUG keeps a history of the last 100 TS cells processed. */
@@ -459,10 +460,16 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len )/* Drop partly decoded SNDU, reset state, resync on PUSI. */ if (priv->ule_skb) { -dev_kfree_skb ( priv->ule_skb ); + error = true; +dev_kfree_skb (priv->ule_skb); + } + +if (error || priv->ule_sndu_remain) { dev->stats.rx_errors++; dev->stats.rx_frame_errors++; + error = false; } +reset_ule (priv); priv->need_pusi =1 ;continue ;
@@ -534,6 +541,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len ) from_where +=2 ; } + priv->ule_sndu_remain = priv->ule_sndu_len +2 ;/* * State of current TS: * ts_remain (remaining bytes in the current TS cell)
@@ -543,6 +551,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len )*/ switch (ts_remain) {case 1 : + priv->ule_sndu_remain--; priv->ule_sndu_type = from_where[0 ] <<8 ; priv->ule_sndu_type_1 =1 ;/* first byte of ule_type is set. */ ts_remain -=1 ; from_where +=1 ;
@@ -556,6 +565,7 @@ static void dvb_net_ule( struct net_device *dev, const u8 *buf, size_t buf_len )default :/* complete ULE header is present in current TS. */ /* Extract ULE type field. */ if (priv->ule_sndu_type_1) { + priv->ule_sndu_type_1 =0 ; priv->ule_sndu_type |= from_where[0 ]; from_where +=1 ;/* points to payload start. */ ts_remain -=1 ;
drivers/media/dvb/ttpci/Kconfig +3 -2
@@ -68,13 +68,14 @@ config DVB_BUDGET select DVB_VES1820 if !DVB_FE_CUSTOMISE select DVB_L64781 if !DVB_FE_CUSTOMISE select DVB_TDA8083 if !DVB_FE_CUSTOMISE - select DVB_TDA10021 if !DVB_FE_CUSTOMISE - select DVB_TDA10023 if !DVB_FE_CUSTOMISE select DVB_S5H1420 if !DVB_FE_CUSTOMISE select DVB_TDA10086 if !DVB_FE_CUSTOMISE select DVB_TDA826X if !DVB_FE_CUSTOMISE select DVB_LNBP21 if !DVB_FE_CUSTOMISE select DVB_TDA1004X if !DVB_FE_CUSTOMISE + select DVB_ISL6423 if !DVB_FE_CUSTOMISE + select DVB_STV090x if !DVB_FE_CUSTOMISE + select DVB_STV6110x if !DVB_FE_CUSTOMISE help Support for simple SAA7146 based DVB cards (so called Budget- or Nova-PCI cards) without onboard MPEG2 decoder, and without
drivers/media/video/cx23885/cx23885-i2c.c +11 -1
@@ -365,7 +365,17 @@ int cx23885_i2c_register(struct cx23885_i2c *bus)memset (&info,0 ,sizeof (struct i2c_board_info ));strlcpy (info.type,"ir_video" ,I2C_NAME_SIZE ); -i2c_new_probed_device (&bus->i2c_adap, &info, addr_list); +/* +* We can't call i2c_new_probed_device() because it uses +* quick writes for probing and the IR receiver device only +* replies to reads. +*/ +if (i2c_smbus_xfer (&bus->i2c_adap, addr_list[0 ],0 , +I2C_SMBUS_READ ,0 ,I2C_SMBUS_QUICK , +NULL ) >=0 ) { + info.addr = addr_list[0 ]; +i2c_new_device (&bus->i2c_adap, &info); + } }return bus->i2c_rc;
drivers/media/video/cx88/cx88-i2c.c +15 -1
@@ -188,10 +188,24 @@ int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci)0x18 ,0x6b ,0x71 , I2C_CLIENT_END }; +const unsigned short *addrp;memset (&info,0 ,sizeof (struct i2c_board_info ));strlcpy (info.type,"ir_video" ,I2C_NAME_SIZE ); -i2c_new_probed_device (&core->i2c_adap, &info, addr_list); +/* +* We can't call i2c_new_probed_device() because it uses +* quick writes for probing and at least some R receiver +* devices only reply to reads. +*/ +for (addrp = addr_list; *addrp !=I2C_CLIENT_END ; addrp++) { +if (i2c_smbus_xfer (&core->i2c_adap, *addrp,0 , +I2C_SMBUS_READ ,0 , +I2C_SMBUS_QUICK ,NULL ) >=0 ) { + info.addr = *addrp; +i2c_new_device (&core->i2c_adap, &info); +break ; + } + } }return core->i2c_rc; }
drivers/media/video/uvc/uvc_driver.c +29 -1
@@ -59,6 +59,11 @@ static struct uvc_format_desc uvc_fmts[] = { .fcc = V4L2_PIX_FMT_YUYV, }, { + .name = "YUV 4:2:2 (YUYV)", + .guid = UVC_GUID_FORMAT_YUY2_ISIGHT, + .fcc = V4L2_PIX_FMT_YUYV, + }, + { .name = "YUV 4:2:0 (NV12)", .guid = UVC_GUID_FORMAT_NV12, .fcc = V4L2_PIX_FMT_NV12,
@@ -84,11 +89,16 @@ static struct uvc_format_desc uvc_fmts[] = { .fcc = V4L2_PIX_FMT_UYVY, }, { - .name = "Greyscale", + .name = "Greyscale (8-bit)", .guid = UVC_GUID_FORMAT_Y800, .fcc = V4L2_PIX_FMT_GREY, }, { + .name = "Greyscale (16-bit)", + .guid = UVC_GUID_FORMAT_Y16, + .fcc = V4L2_PIX_FMT_Y16, + }, + { .name = "RGB Bayer", .guid = UVC_GUID_FORMAT_BY8, .fcc = V4L2_PIX_FMT_SBGGR8,
@@ -2059,6 +2069,15 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_STREAM_NO_FID }, +/* Syntek (Packard Bell EasyNote MX52 */ + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x174f, + .idProduct = 0x8a12, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_STREAM_NO_FID }, /* Syntek (Asus F9SG) */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO,
@@ -2123,6 +2142,15 @@ static struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = UVC_QUIRK_PROBE_MINMAX }, +/* Arkmicro unbranded */ + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x18ec, + .idProduct = 0x3290, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_QUIRK_PROBE_DEF }, /* Bodelin ProScopeHR */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE |USB_DEVICE_ID_MATCH_DEV_HI
drivers/media/video/uvc/uvcvideo.h +6 -1
@@ -113,6 +113,9 @@ struct uvc_xu_control {#define UVC_GUID_FORMAT_YUY2 \ { 'Y', 'U', 'Y', '2', 0x00, 0x00, 0x10, 0x00, \ 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} +#define UVC_GUID_FORMAT_YUY2_ISIGHT \ + { 'Y', 'U', 'Y', '2', 0x00, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0x00, 0x00, 0x38, 0x9b, 0x71}#define UVC_GUID_FORMAT_NV12 \ { 'N', 'V', '1', '2', 0x00, 0x00, 0x10, 0x00, \ 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}
@@ -128,11 +131,13 @@ struct uvc_xu_control {#define UVC_GUID_FORMAT_Y800 \ { 'Y', '8', '0', '0', 0x00, 0x00, 0x10, 0x00, \ 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} +#define UVC_GUID_FORMAT_Y16 \ + { 'Y', '1', '6', ' ', 0x00, 0x00, 0x10, 0x00, \ + 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}#define UVC_GUID_FORMAT_BY8 \ { 'B', 'Y', '8', ' ', 0x00, 0x00, 0x10, 0x00, \ 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71} -/* ------------------------------------------------------------------------ * Driver specific constants. */
drivers/mmc/host/sdhci-s3c.c +20 -0
@@ -372,6 +372,26 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) static int __devexit sdhci_s3c_remove(struct platform_device *pdev) { +struct sdhci_host *host =platform_get_drvdata (pdev); +struct sdhci_s3c *sc =sdhci_priv (host); +int ptr; + +sdhci_remove_host (host,1 ); + +for (ptr =0 ; ptr <3 ; ptr++) { +clk_disable (sc->clk_bus[ptr]); +clk_put (sc->clk_bus[ptr]); + } +clk_disable (sc->clk_io); +clk_put (sc->clk_io); + +iounmap (host->ioaddr); +release_resource (sc->ioarea); +kfree (sc->ioarea); + +sdhci_free_host (host); +platform_set_drvdata (pdev,NULL ); +return 0 ; }
drivers/net/3c503.c +30 -12
59 lines not on this page · raw message
drivers/net/cpmac.c +2 -1
@@ -1174,7 +1174,8 @@ static int __devinit cpmac_probe(struct platform_device *pdev)if (netif_msg_drv (priv))printk (KERN_ERR "%s: Could not attach to PHY\n" , dev->name); -return PTR_ERR (priv->phy); + rc =PTR_ERR (priv->phy); + goto fail; }if ((rc =register_netdev (dev))) {
drivers/net/cxgb3/ael1002.c +1 -1
@@ -934,7 +934,7 @@ static struct cphy_ops xaui_direct_ops = {int t3_xaui_direct_phy_prep (struct cphy *phy,struct adapter *adapter,int phy_addr,const struct mdio_ops *mdio_ops) { -cphy_init (phy, adapter,MDIO_PRTAD_NONE , &xaui_direct_ops, mdio_ops, +cphy_init (phy, adapter, phy_addr, &xaui_direct_ops, mdio_ops, SUPPORTED_10000baseT_Full |SUPPORTED_AUI |SUPPORTED_TP ,"10GBASE-CX4" );return 0 ;
drivers/net/dm9000.c +27 -11
@@ -475,17 +475,13 @@ static uint32_t dm9000_get_rx_csum(struct net_device *dev)return dm->rx_csum; } -static int dm9000_set_rx_csum (struct net_device *dev,uint32_t data) +static int dm9000_set_rx_csum_unlocked (struct net_device *dev,uint32_t data) {board_info_t *dm =to_dm9000_board (dev); -unsigned long flags;if (dm->can_csum) { dm->rx_csum = data; - -spin_lock_irqsave (&dm->lock, flags);iow (dm,DM9000_RCSR , dm->rx_csum ?RCSR_CSUM :0 ); -spin_unlock_irqrestore (&dm->lock, flags);return 0 ; }
@@ -493,6 +489,19 @@ static int dm9000_set_rx_csum(struct net_device *dev, uint32_t data)return -EOPNOTSUPP ; } +static int dm9000_set_rx_csum (struct net_device *dev,uint32_t data) +{ +board_info_t *dm =to_dm9000_board (dev); +unsigned long flags; +int ret; + +spin_lock_irqsave (&dm->lock, flags); + ret =dm9000_set_rx_csum_unlocked (dev, data); +spin_unlock_irqrestore (&dm->lock, flags); + +return ret; +} +static int dm9000_set_tx_csum (struct net_device *dev,uint32_t data) {board_info_t *dm =to_dm9000_board (dev);
@@ -721,7 +730,7 @@ static unsigned char dm9000_type_to_char(enum dm9000_type type)* Set DM9000 multicast address */ static void -dm9000_hash_table (struct net_device *dev) +dm9000_hash_table_unlocked (struct net_device *dev) {board_info_t *db =netdev_priv (dev);struct dev_mc_list *mcptr = dev->mc_list;
@@ -730,12 +739,9 @@ dm9000_hash_table(struct net_device *dev)u32 hash_val;u16 hash_table[4 ];u8 rcr =RCR_DIS_LONG |RCR_DIS_CRC |RCR_RXEN ; -unsigned long flags;dm9000_dbg (db,1 ,"entering %s\n" , __func__); -spin_lock_irqsave (&db->lock, flags); -for (i =0 , oft =DM9000_PAR ; i <6 ; i++, oft++)iow (db, oft, dev->dev_addr[i]);
@@ -765,6 +771,16 @@ dm9000_hash_table(struct net_device *dev) }iow (db,DM9000_RCR , rcr); +} + +static void +dm9000_hash_table (struct net_device *dev) +{ +board_info_t *db =netdev_priv (dev); +unsigned long flags; + +spin_lock_irqsave (&db->lock, flags); +dm9000_hash_table_unlocked (dev);spin_unlock_irqrestore (&db->lock, flags); }
@@ -784,7 +800,7 @@ dm9000_init_dm9000(struct net_device *dev) db->io_mode =ior (db,DM9000_ISR ) >>6 ;/* ISR bit7:6 keeps I/O mode */ /* Checksum mode */ -dm9000_set_rx_csum (dev, db->rx_csum); +dm9000_set_rx_csum_unlocked (dev, db->rx_csum);/* GPIO0 on pre-activate PHY */ iow (db,DM9000_GPR ,0 );/* REG_1F bit0 activate phyxcer */
@@ -811,7 +827,7 @@ dm9000_init_dm9000(struct net_device *dev)iow (db,DM9000_ISR ,ISR_CLR_STATUS );/* Clear interrupt status */ /* Set address filter table */ -dm9000_hash_table (dev); +dm9000_hash_table_unlocked (dev); imr =IMR_PAR |IMR_PTM |IMR_PRM ;if (db->type !=TYPE_DM9000E )
drivers/net/forcedeth.c +1 -1
@@ -5900,7 +5900,7 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i/* Limit the number of tx's outstanding for hw bug */ if (id->driver_data &DEV_NEED_TX_LIMIT ) { np->tx_limit =1 ; -if ((id->driver_data &DEV_NEED_TX_LIMIT2 ) && +if (((id->driver_data &DEV_NEED_TX_LIMIT2 ) ==DEV_NEED_TX_LIMIT2 ) && pci_dev->revision >=0xA2 ) np->tx_limit =0 ; }
drivers/net/r8169.c +11 -0
@@ -557,6 +557,11 @@ static void mdio_write(void __iomem *ioaddr, int reg_addr, int value)break ;udelay (25 ); } +/* +* According to hardware specs a 20us delay is required after write +* complete indication, but before sending next command. +*/ +udelay (20 ); }static int mdio_read (void __iomem *ioaddr,int reg_addr)
@@ -576,6 +581,12 @@ static int mdio_read(void __iomem *ioaddr, int reg_addr) }udelay (25 ); } +/* +* According to hardware specs a 20us delay is required after read +* complete indication, but before sending next command. +*/ +udelay (20 ); +return value; }
drivers/net/sky2.c +14 -5
@@ -716,11 +716,24 @@ static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port)sky2_write8 (hw,B2_TST_CTRL1 ,TST_CFG_WRITE_OFF ); } +/* Enable Rx/Tx */ +static void sky2_enable_rx_tx (struct sky2_port *sky2) +{ +struct sky2_hw *hw = sky2->hw; +unsigned port = sky2->port; +u16 reg; + + reg =gma_read16 (hw, port,GM_GP_CTRL ); + reg |=GM_GPCR_RX_ENA |GM_GPCR_TX_ENA ; +gma_write16 (hw, port,GM_GP_CTRL , reg); +} +/* Force a renegotiation */ static void sky2_phy_reinit (struct sky2_port *sky2) {spin_lock_bh (&sky2->phy_lock);sky2_phy_init (sky2->hw, sky2->port); +sky2_enable_rx_tx (sky2);spin_unlock_bh (&sky2->phy_lock); }
@@ -1971,7 +1984,6 @@ static void sky2_link_up(struct sky2_port *sky2) {struct sky2_hw *hw = sky2->hw;unsigned port = sky2->port; -u16 reg;static const char *fc_name[] = { [FC_NONE ] ="none" , [FC_TX ] ="tx" ,
@@ -1979,10 +1991,7 @@ static void sky2_link_up(struct sky2_port *sky2) [FC_BOTH ] ="both" , }; -/* enable Rx/Tx */ - reg =gma_read16 (hw, port,GM_GP_CTRL ); - reg |=GM_GPCR_RX_ENA |GM_GPCR_TX_ENA ; -gma_write16 (hw, port,GM_GP_CTRL , reg); +sky2_enable_rx_tx (sky2);gm_phy_write (hw, port,PHY_MARV_INT_MASK ,PHY_M_DEF_MSK );
drivers/net/usb/pegasus.h +1 -1
@@ -254,7 +254,7 @@ PEGASUS_DEV( "IO DATA USB ET/TX", VENDOR_IODATA, 0x0904, DEFAULT_GPIO_RESET ) PEGASUS_DEV( "IO DATA USB ET/TX-S", VENDOR_IODATA, 0x0913, DEFAULT_GPIO_RESET | PEGASUS_II ) -PEGASUS_DEV( "IO DATA USB ETX-US2", VENDOR_IODATA, 0x092a, +PEGASUS_DEV( "IO DATA USB ETX-US2", VENDOR_IODATA, 0x093a, DEFAULT_GPIO_RESET | PEGASUS_II )PEGASUS_DEV ("Kingston KNU101TX Ethernet" ,VENDOR_KINGSTON ,0x000a ,DEFAULT_GPIO_RESET )
drivers/net/veth.c +0 -1
@@ -186,7 +186,6 @@ tx_drop:return NETDEV_TX_OK ; rx_drop: -kfree_skb (skb); rcv_stats->rx_dropped++;return NETDEV_TX_OK ; }
drivers/net/wireless/ath/ath5k/attach.c +1 -0
@@ -123,6 +123,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc) ah->ah_cw_min =AR5K_TUNE_CWMIN ; ah->ah_limit_tx_retries =AR5K_INIT_TX_RETRY ; ah->ah_software_retry = false; + ah->ah_current_channel = &sc->channels[0 ];/* * Find the mac version
drivers/net/wireless/ath/ath5k/base.c +2 -5
@@ -1851,11 +1851,6 @@ ath5k_tasklet_rx(unsigned long data)return ; } -if (unlikely (rs.rs_more)) { -ATH5K_WARN (sc,"unsupported jumbo\n" ); - goto next; - } -if (unlikely (rs.rs_status)) {if (rs.rs_status &AR5K_RXERR_PHY ) goto next;
@@ -1885,6 +1880,8 @@ ath5k_tasklet_rx(unsigned long data) sc->opmode != NL80211_IFTYPE_MONITOR) goto next; } +if (unlikely (rs.rs_more)) + goto next; accept: next_skb =ath5k_rx_skb_alloc (sc, &next_skb_addr);
drivers/net/wireless/ath/ath9k/initvals.h +4 -4
@@ -246,7 +246,7 @@ static const u32 ar5416Common[][2] = { { 0x00008258, 0x00000000 }, { 0x0000825c, 0x400000ff }, { 0x00008260, 0x00080922 }, - { 0x00008264, 0xa8000010 }, + { 0x00008264, 0x88000010 }, { 0x00008270, 0x00000000 }, { 0x00008274, 0x40000000 }, { 0x00008278, 0x003e4180 },
@@ -2766,7 +2766,7 @@ static const u32 ar9280Common_9280_2[][2] = { { 0x00008258, 0x00000000 }, { 0x0000825c, 0x400000ff }, { 0x00008260, 0x00080922 }, - { 0x00008264, 0xa8a00010 }, + { 0x00008264, 0x88a00010 }, { 0x00008270, 0x00000000 }, { 0x00008274, 0x40000000 }, { 0x00008278, 0x003e4180 },
@@ -3936,7 +3936,7 @@ static const u_int32_t ar9285Common_9285[][2] = { { 0x00008258, 0x00000000 }, { 0x0000825c, 0x400000ff }, { 0x00008260, 0x00080922 }, - { 0x00008264, 0xa8a00010 }, + { 0x00008264, 0x88a00010 }, { 0x00008270, 0x00000000 }, { 0x00008274, 0x40000000 }, { 0x00008278, 0x003e4180 },
@@ -5073,7 +5073,7 @@ static const u_int32_t ar9287Common_9287_1_0[][2] = { { 0x00008258, 0x00000000 }, { 0x0000825c, 0x400000ff }, { 0x00008260, 0x00080922 }, - { 0x00008264, 0xa8a00010 }, + { 0x00008264, 0x88a00010 }, { 0x00008270, 0x00000000 }, { 0x00008274, 0x40000000 }, { 0x00008278, 0x003e4180 },
drivers/net/wireless/hostap/hostap_cs.c +13 -2
@@ -602,6 +602,7 @@ static int prism2_config(struct pcmcia_device *link)local_info_t *local;int ret =1 ;struct hostap_cs_priv *hw_priv; +unsigned long flags;PDEBUG (DEBUG_FLOW ,"prism2_config()\n" );
@@ -636,6 +637,12 @@ static int prism2_config(struct pcmcia_device *link) link->dev_node = &hw_priv->node;/* +* Make sure the IRQ handler cannot proceed until at least +* dev->base_addr is initialized. +*/ +spin_lock_irqsave (&local->irq_init_lock, flags); + +/* * Allocate an interrupt line. Note that this does not assign a * handler to the interrupt, unless the 'Handler' member of the * irq structure is initialized.
@@ -645,7 +652,7 @@ static int prism2_config(struct pcmcia_device *link) link->irq.Handler = prism2_interrupt; ret =pcmcia_request_irq (link, &link->irq);if (ret) - goto failed; + goto failed_unlock; }/*
@@ -655,11 +662,13 @@ static int prism2_config(struct pcmcia_device *link)*/ ret =pcmcia_request_configuration (link, &link->conf);if (ret) - goto failed; + goto failed_unlock; dev->irq = link->irq.AssignedIRQ; dev->base_addr = link->io.BasePort1; +spin_unlock_irqrestore (&local->irq_init_lock, flags); +/* Finally, report what we've done */ printk (KERN_INFO "%s: index 0x%02x: " , dev_info, link->conf.ConfigIndex);
@@ -688,6 +697,8 @@ static int prism2_config(struct pcmcia_device *link) }return ret; + failed_unlock: +spin_unlock_irqrestore (&local->irq_init_lock, flags); failed:kfree (hw_priv);prism2_release ((u_long )link);
drivers/net/wireless/hostap/hostap_hw.c +13 -0
@@ -2621,6 +2621,18 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id) iface =netdev_priv (dev); local = iface->local; +/* Detect early interrupt before driver is fully configued */ +spin_lock (&local->irq_init_lock); +if (!dev->base_addr) { +if (net_ratelimit ()) { +printk (KERN_DEBUG "%s: Interrupt, but dev not configured\n" , + dev->name); + } +spin_unlock (&local->irq_init_lock); +return IRQ_HANDLED ; + } +spin_unlock (&local->irq_init_lock); +prism2_io_debug_add (dev,PRISM2_IO_DEBUG_CMD_INTERRUPT ,0 ,0 );if (local->func->card_present && !local->func->card_present (local)) {
@@ -3138,6 +3150,7 @@ prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx,spin_lock_init (&local->cmdlock);spin_lock_init (&local->baplock);spin_lock_init (&local->lock); +spin_lock_init (&local->irq_init_lock);mutex_init (&local->rid_bap_mtx);if (card_idx <0 || card_idx >=MAX_PARM_DEVICES )
drivers/net/wireless/hostap/hostap_wlan.h +1 -1
@@ -654,7 +654,7 @@ struct local_info {rwlock_t iface_lock;/* hostap_interfaces read lock; use write lock * when removing entries from the list. * TX and RX paths can use read lock. */ -spinlock_t cmdlock, baplock, lock; +spinlock_t cmdlock, baplock, lock, irq_init_lock;struct mutex rid_bap_mtx;u16 infofid;/* MAC buffer id for info frame */ /* txfid, intransmitfid, next_txtid, and next_alloc are protected by
drivers/net/wireless/iwlwifi/iwl-scan.c +1 -0
@@ -812,6 +812,7 @@ void iwl_bg_abort_scan(struct work_struct *work)mutex_lock (&priv->mutex); +cancel_delayed_work_sync (&priv->scan_check);set_bit (STATUS_SCAN_ABORTING , &priv->status);iwl_send_scan_abort (priv);
drivers/net/wireless/iwlwifi/iwl-tx.c +5 -0
@@ -1553,6 +1553,11 @@ void iwl_rx_reply_compressed_ba(struct iwl_priv *priv, sta_id = ba_resp->sta_id; tid = ba_resp->tid; agg = &priv->stations[sta_id].tid[tid].agg; +if (unlikely (agg->txq_id != scd_flow)) { +IWL_ERR (priv,"BA scd_flow %d does not match txq_id %d\n" , + scd_flow, agg->txq_id); +return ; + }/* Find index just before block-ack window */ index =iwl_queue_dec_wrap (ba_resp_scd_ssn &0xff , txq->q.n_bd);
drivers/net/wireless/libertas/if_sdio.c +22 -0
@@ -34,6 +34,8 @@#include <linux/mmc/card.h> #include <linux/mmc/sdio_func.h> #include <linux/mmc/sdio_ids.h> +#include <linux/mmc/sdio.h> +#include <linux/mmc/host.h> #include "host.h" #include "decl.h"
@@ -942,6 +944,7 @@ static int if_sdio_probe(struct sdio_func *func,int ret, i;unsigned int model;struct if_sdio_packet *packet; +struct mmc_host *host = func->card->host;lbs_deb_enter (LBS_DEB_SDIO );
@@ -1022,6 +1025,25 @@ static int if_sdio_probe(struct sdio_func *func,if (ret) goto disable; +/* For 1-bit transfers to the 8686 model, we need to enable the +* interrupt flag in the CCCR register. Set the MMC_QUIRK_LENIENT_FN0 +* bit to allow access to non-vendor registers. */ +if ((card->model ==IF_SDIO_MODEL_8686 ) && + (host->caps &MMC_CAP_SDIO_IRQ ) && + (host->ios.bus_width ==MMC_BUS_WIDTH_1 )) { +u8 reg; + + func->card->quirks |=MMC_QUIRK_LENIENT_FN0 ; + reg =sdio_f0_readb (func,SDIO_CCCR_IF , &ret); +if (ret) + goto release_int; + + reg |=SDIO_BUS_ECSI ; +sdio_f0_writeb (func, reg,SDIO_CCCR_IF , &ret); +if (ret) + goto release_int; + } + card->ioport =sdio_readb (func,IF_SDIO_IOPORT , &ret);if (ret) goto release_int;
drivers/net/wireless/p54/p54pci.c +2 -0
@@ -40,6 +40,8 @@ static struct pci_device_id p54p_table[] __devinitdata = { { PCI_DEVICE(0x1260, 0x3877) },/* Intersil PRISM Javelin/Xbow Wireless LAN adapter */ { PCI_DEVICE(0x1260, 0x3886) }, +/* Intersil PRISM Xbow Wireless LAN adapter (Symbol AP-300) */ + { PCI_DEVICE(0x1260, 0xffff) }, { }, };
drivers/rtc/rtc-ds1307.c +2 -2
@@ -775,7 +775,7 @@ static int __devinit ds1307_probe(struct i2c_client *client, read_rtc:/* read RTC registers */ - tmp = ds1307->read_block_data (ds1307->client,0 ,8 , buf); + tmp = ds1307->read_block_data (ds1307->client, ds1307->offset,8 , buf);if (tmp !=8 ) {pr_debug ("read error %d\n" , tmp); err = -EIO ;
@@ -860,7 +860,7 @@ read_rtc:if (ds1307->regs[DS1307_REG_HOUR ] &DS1307_BIT_PM ) tmp +=12 ;i2c_smbus_write_byte_data (client, -DS1307_REG_HOUR , + ds1307->offset +DS1307_REG_HOUR ,bin2bcd (tmp)); }
drivers/scsi/aacraid/commctrl.c +2 -2
@@ -655,9 +655,9 @@ static int aac_send_raw_srb(struct aac_dev* dev, void __user * arg)/* Does this really need to be GFP_DMA? */ p =kmalloc (usg->sg[i].count,GFP_KERNEL |__GFP_DMA);if (!p) { -kfree (usg); -dprintk ((KERN_DEBUG "aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n" , +dprintk ((KERN_DEBUG "aacraid: Could not allocate SG buffer - size = %d buffer number %d of %d\n" , usg->sg[i].count,i,usg->count)); +kfree (usg); rcode = -ENOMEM ; goto cleanup; }
drivers/serial/cpm_uart/cpm_uart_core.c +79 -64
167 lines not on this page · raw message
drivers/spi/spi_mpc8xxx.c +0 -22
@@ -65,28 +65,6 @@ struct mpc8xxx_spi_reg {__be32 receive; }; -/* SPI Parameter RAM */ -struct spi_pram { -__be16 rbase;/* Rx Buffer descriptor base address */ -__be16 tbase;/* Tx Buffer descriptor base address */ -u8 rfcr;/* Rx function code */ -u8 tfcr;/* Tx function code */ -__be16 mrblr;/* Max receive buffer length */ -__be32 rstate;/* Internal */ -__be32 rdp;/* Internal */ -__be16 rbptr;/* Internal */ -__be16 rbc;/* Internal */ -__be32 rxtmp;/* Internal */ -__be32 tstate;/* Internal */ -__be32 tdp;/* Internal */ -__be16 tbptr;/* Internal */ -__be16 tbc;/* Internal */ -__be32 txtmp;/* Internal */ -__be32 res;/* Tx temp. */ -__be16 rpbase;/* Relocation pointer (CPM1 only) */ -__be16 res1;/* Reserved */ -}; -/* SPI Controller mode register definitions */ #define SPMODE_LOOP (1 << 30)#define SPMODE_CI_INACTIVEHIGH (1 << 29)
drivers/ssb/driver_chipcommon.c +3 -0
@@ -233,6 +233,9 @@ void ssb_chipcommon_init(struct ssb_chipcommon *cc) {if (!cc->dev)return ;/* We don't have a ChipCommon */ +if (cc->dev->id.revision >=11 ) + cc->status =chipco_read32 (cc,SSB_CHIPCO_CHIPSTAT ); + ssb_dprintk(KERN_INFO PFX "chipcommon status is 0x%x\n", cc->status);ssb_pmu_init (cc);chipco_powercontrol_init (cc);ssb_chipco_set_clockmode (cc,SSB_CLKMODE_FAST );
drivers/ssb/driver_chipcommon_pmu.c +7 -10
@@ -495,9 +495,9 @@ static void ssb_pmu_resources_init(struct ssb_chipcommon *cc)chipco_write32 (cc,SSB_CHIPCO_PMU_MAXRES_MSK , max_msk); } +/* http://bcm-v4.sipsolutions.net/802.11/SSB/PmuInit */ void ssb_pmu_init (struct ssb_chipcommon *cc) { -struct ssb_bus *bus = cc->dev->bus;u32 pmucap;if (!(cc->capabilities &SSB_CHIPCO_CAP_PMU ))
@@ -509,15 +509,12 @@ void ssb_pmu_init(struct ssb_chipcommon *cc) ssb_dprintk(KERN_DEBUG PFX "Found rev %u PMU (capabilities 0x%08X)\n", cc->pmu.rev, pmucap); -if (cc->pmu.rev >=1 ) { -if ((bus->chip_id ==0x4325 ) && (bus->chip_rev <2 )) { -chipco_mask32 (cc,SSB_CHIPCO_PMU_CTL , - ~SSB_CHIPCO_PMU_CTL_NOILPONW ); - }else { -chipco_set32 (cc,SSB_CHIPCO_PMU_CTL , -SSB_CHIPCO_PMU_CTL_NOILPONW ); - } - } +if (cc->pmu.rev ==1 ) +chipco_mask32 (cc,SSB_CHIPCO_PMU_CTL , + ~SSB_CHIPCO_PMU_CTL_NOILPONW ); +else +chipco_set32 (cc,SSB_CHIPCO_PMU_CTL , +SSB_CHIPCO_PMU_CTL_NOILPONW );ssb_pmu_pll_init (cc);ssb_pmu_resources_init (cc); }
drivers/ssb/pci.c +40 -6
89 lines not on this page · raw message
drivers/ssb/sprom.c +15 -0
@@ -175,3 +175,18 @@ const struct ssb_sprom *ssb_get_fallback_sprom(void) {return fallback_sprom; } + +/* http://bcm-v4.sipsolutions.net/802.11/IsSpromAvailable */ +bool ssb_is_sprom_available (struct ssb_bus *bus) +{ +/* status register only exists on chipcomon rev >= 11 and we need check +for >= 31 only */ +/* this routine differs from specs as we do not access SPROM directly +on PCMCIA */ +if (bus->bustype ==SSB_BUSTYPE_PCI && + bus->chipco.dev &&/* can be unavailible! */ + bus->chipco.dev->id.revision >=31 ) +return bus->chipco.capabilities &SSB_CHIPCO_CAP_SPROM ; + +return true; +}
drivers/staging/rtl8192su/r8192U_core.c +1 -0
@@ -118,6 +118,7 @@ static struct usb_device_id rtl8192_usb_id_tbl[] = { {USB_DEVICE(0x07aa, 0x0043)},/* Belkin */ {USB_DEVICE(0x050d, 0x805E)}, + {USB_DEVICE(0x050d, 0x815F)}, /* Belkin F5D8053 v6 *//* Sitecom */ {USB_DEVICE(0x0df6, 0x0031)}, {USB_DEVICE(0x0df6, 0x004b)}, /* WL-349 */
drivers/usb/core/driver.c +2 -13
@@ -1790,9 +1790,6 @@ int usb_external_resume_device(struct usb_device *udev, pm_message_t msg)static void choose_wakeup (struct usb_device *udev,pm_message_t msg) { -int w, i; -struct usb_interface *intf; -/* Remote wakeup is needed only when we actually go to sleep. * For things like FREEZE and QUIESCE, if the device is already * autosuspended then its current wakeup setting is okay.
@@ -1802,18 +1799,10 @@ static void choose_wakeup(struct usb_device *udev, pm_message_t msg)return ; } -/* If remote wakeup is permitted, see whether any interface drivers +/* Allow remote wakeup if it is enabled, even if no interface drivers * actually want it. */ - w =0 ; -if (device_may_wakeup (&udev->dev) && udev->actconfig) { -for (i =0 ; i < udev->actconfig->desc.bNumInterfaces; i++) { - intf = udev->actconfig->interface[i]; - w |= intf->needs_remote_wakeup; - } - } - - udev->do_remote_wakeup = w; + udev->do_remote_wakeup =device_may_wakeup (&udev->dev); }int usb_suspend (struct device *dev,pm_message_t msg)
drivers/usb/core/quirks.c +7 -0
@@ -41,6 +41,10 @@ static const struct usb_device_id usb_quirk_list[] = {/* Philips PSC805 audio device */ { USB_DEVICE(0x0471, 0x0155), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Artisman Watchdog Dongle */ + { USB_DEVICE(0x04b4, 0x0526), .driver_info = + USB_QUIRK_CONFIG_INTF_STRINGS }, + /* Roland SC-8820 */ { USB_DEVICE(0x0582, 0x0007), .driver_info = USB_QUIRK_RESET_RESUME },
@@ -64,6 +68,9 @@ static const struct usb_device_id usb_quirk_list[] = {/* X-Rite/Gretag-Macbeth Eye-One Pro display colorimeter */ { USB_DEVICE(0x0971, 0x2000), .driver_info = USB_QUIRK_NO_SET_INTF }, + /* Broadcom BCM92035DGROM BT dongle */ + { USB_DEVICE(0x0a5c, 0x2021), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Action Semiconductor flash disk */ { USB_DEVICE(0x10d6, 0x2200), .driver_info = USB_QUIRK_STRING_FETCH_255 },
drivers/usb/gadget/u_serial.c +3 -13
@@ -535,17 +535,11 @@ recycle:list_move (&req->list, &port->read_pool); } -/* Push from tty to ldisc; this is immediate with low_latency, and -* may trigger callbacks to this driver ... so drop the spinlock. +/* Push from tty to ldisc; without low_latency set this is handled by +* a workqueue, so we won't get callbacks and can hold port_lock */ if (tty && do_push) { -spin_unlock_irq (&port->port_lock);tty_flip_buffer_push (tty); -wake_up_interruptible (&tty->read_wait); -spin_lock_irq (&port->port_lock); - -/* tty may have been closed */ - tty = port->port_tty; }
@@ -783,11 +777,6 @@ static int gs_open(struct tty_struct *tty, struct file *file) port->open_count =1 ; port->openclose = false; -/* low_latency means ldiscs work in tasklet context, without -* needing a workqueue schedule ... easier to keep up. -*/ - tty->low_latency =1 ; -/* if connected, start the I/O stream */ if (port->port_usb) {struct gserial *gser = port->port_usb;
@@ -1194,6 +1183,7 @@ void gserial_cleanup(void) n_ports =0 ;tty_unregister_driver (gs_tty_driver); +put_tty_driver (gs_tty_driver); gs_tty_driver =NULL ;pr_debug ("%s: cleaned up ttyGS* support\n" , __func__);
drivers/usb/host/ehci-mxc.c +10 -3
@@ -207,10 +207,17 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)/* Initialize the transceiver */ if (pdata->otg) { pdata->otg->io_priv = hcd->regs +ULPI_VIEWPORT_OFFSET ; -if (otg_init (pdata->otg) !=0 ) -dev_err (dev,"unable to init transceiver\n" ); -else if (otg_set_vbus (pdata->otg,1 ) !=0 ) + ret =otg_init (pdata->otg); +if (ret) { +dev_err (dev,"unable to init transceiver, probably missing\n" ); + ret = -ENODEV ; + goto err_add; + } + ret =otg_set_vbus (pdata->otg,1 ); +if (ret) {dev_err (dev,"unable to enable vbus on transceiver\n" ); + goto err_add; + } } priv->hcd = hcd;
drivers/usb/misc/sisusbvga/sisusb.c +3 -2
@@ -2435,7 +2435,8 @@ sisusb_open(struct inode *inode, struct file *file) }if (!sisusb->devinit) { -if (sisusb->sisusb_dev->speed ==USB_SPEED_HIGH ) { +if (sisusb->sisusb_dev->speed ==USB_SPEED_HIGH || + sisusb->sisusb_dev->speed ==USB_SPEED_SUPER ) {if (sisusb_init_gfxdevice (sisusb,0 )) {mutex_unlock (&sisusb->lock);dev_err (&sisusb->sisusb_dev->dev,"Failed to initialize device\n" );
@@ -3167,7 +3168,7 @@ static int sisusb_probe(struct usb_interface *intf, sisusb->present =1 ; -if (dev->speed ==USB_SPEED_HIGH ) { +if (dev->speed ==USB_SPEED_HIGH || dev->speed ==USB_SPEED_SUPER ) {int initscreen =1 ;#ifdef INCL_SISUSB_CON if (sisusb_first_vc > 0 &&
drivers/usb/serial/ftdi_sio.c +9 -0
@@ -697,6 +697,7 @@ static struct usb_device_id id_table_combined [] = { { USB_DEVICE(FTDI_VID, FTDI_NDI_AURORA_SCU_PID), .driver_info = (kernel_ulong_t)&ftdi_NDI_device_quirk }, { USB_DEVICE(TELLDUS_VID, TELLDUS_TELLSTICK_PID) }, + { USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_SERIAL_VX7_PID) }, { USB_DEVICE(FTDI_VID, FTDI_MAXSTREAM_PID) }, { USB_DEVICE(FTDI_VID, FTDI_PHI_FISCO_PID) }, { USB_DEVICE(TML_VID, TML_USB_SERIAL_PID) },
@@ -743,6 +744,14 @@ static struct usb_device_id id_table_combined [] = { { USB_DEVICE(FTDI_VID, MJSG_SR_RADIO_PID) }, { USB_DEVICE(FTDI_VID, MJSG_HD_RADIO_PID) }, { USB_DEVICE(FTDI_VID, MJSG_XM_RADIO_PID) }, + { USB_DEVICE(FTDI_VID, XVERVE_SIGNALYZER_ST_PID), + .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, + { USB_DEVICE(FTDI_VID, XVERVE_SIGNALYZER_SLITE_PID), + .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, + { USB_DEVICE(FTDI_VID, XVERVE_SIGNALYZER_SH2_PID), + .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, + { USB_DEVICE(FTDI_VID, XVERVE_SIGNALYZER_SH4_PID), + .driver_info = (kernel_ulong_t)&ftdi_jtag_quirk }, { }, /* Optional parameter entry */ { } /* Terminating entry */ };
drivers/usb/serial/ftdi_sio_ids.h +15 -0
@@ -703,6 +703,12 @@#define TELLDUS_TELLSTICK_PID 0x0C30/* RF control dongle 433 MHz using FT232RL */ /* +* RT Systems programming cables for various ham radios +*/ +#define RTSYSTEMS_VID 0x2100/* Vendor ID */ +#define RTSYSTEMS_SERIAL_VX7_PID 0x9e52/* Serial converter for VX-7 Radios using FT232RL */ + +/* * Bayer Ascensia Contour blood glucose meter USB-converter cable. * http://winglucofacts.com/cables/ */
@@ -1024,3 +1030,12 @@#define MJSG_SR_RADIO_PID 0x9379#define MJSG_XM_RADIO_PID 0x937A#define MJSG_HD_RADIO_PID 0x937C + +/* +* Xverve Signalyzer tools (http://www.signalyzer.com/) +*/ +#define XVERVE_SIGNALYZER_ST_PID 0xBCA0 +#define XVERVE_SIGNALYZER_SLITE_PID 0xBCA1 +#define XVERVE_SIGNALYZER_SH2_PID 0xBCA2 +#define XVERVE_SIGNALYZER_SH4_PID 0xBCA4 +
drivers/usb/serial/option.c +4 -0
@@ -226,6 +226,7 @@ static int option_resume(struct usb_serial *serial);#define AMOI_PRODUCT_H01 0x0800#define AMOI_PRODUCT_H01A 0x7002#define AMOI_PRODUCT_H02 0x0802 +#define AMOI_PRODUCT_SKYPEPHONE_S2 0x0407#define DELL_VENDOR_ID 0x413C
@@ -316,6 +317,7 @@ static int option_resume(struct usb_serial *serial);#define QISDA_PRODUCT_H21_4512 0x4512#define QISDA_PRODUCT_H21_4523 0x4523#define QISDA_PRODUCT_H20_4515 0x4515 +#define QISDA_PRODUCT_H20_4518 0x4518#define QISDA_PRODUCT_H20_4519 0x4519/* TLAYTECH PRODUCTS */
@@ -503,6 +505,7 @@ static struct usb_device_id option_ids[] = { { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H01) }, { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H01A) }, { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_H02) }, + { USB_DEVICE(AMOI_VENDOR_ID, AMOI_PRODUCT_SKYPEPHONE_S2) }, { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5700_MINICARD) }, /* Dell Wireless 5700 Mobile Broadband CDMA/EVDO Mini-Card == Novatel Expedite EV620 CDMA/EV-DO */ { USB_DEVICE(DELL_VENDOR_ID, DELL_PRODUCT_5500_MINICARD) }, /* Dell Wireless 5500 Mobile Broadband HSDPA Mini-Card == Novatel Expedite EU740 HSDPA/3G */
@@ -836,6 +839,7 @@ static struct usb_device_id option_ids[] = { { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4512) }, { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H21_4523) }, { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4515) }, + { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4518) }, { USB_DEVICE(QISDA_VENDOR_ID, QISDA_PRODUCT_H20_4519) }, { USB_DEVICE(TOSHIBA_VENDOR_ID, TOSHIBA_PRODUCT_G450) }, { USB_DEVICE(TOSHIBA_VENDOR_ID, TOSHIBA_PRODUCT_HSDPA_MINICARD ) }, /* Toshiba 3G HSDPA == Novatel Expedite EU870D MiniCard */
drivers/usb/serial/sierra.c +1 -0
@@ -244,6 +244,7 @@ static struct usb_device_id id_table [] = { { USB_DEVICE(0x1199, 0x0021) }, /* Sierra Wireless AirCard 597E */ { USB_DEVICE(0x1199, 0x0112) }, /* Sierra Wireless AirCard 580 */ { USB_DEVICE(0x1199, 0x0120) }, /* Sierra Wireless USB Dongle 595U */ + { USB_DEVICE(0x1199, 0x0301) }, /* Sierra Wireless USB Dongle 250U *//* Sierra Wireless C597 */ { USB_DEVICE_AND_INTERFACE_INFO(0x1199, 0x0023, 0xFF, 0xFF, 0xFF) },/* Sierra Wireless T598 */
fs/btrfs/ioctl.c +2 -2
@@ -952,7 +952,7 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd,*/ /* the destination must be opened for writing */ -if (!(file->f_mode &FMODE_WRITE )) +if (!(file->f_mode &FMODE_WRITE ) || (file->f_flags &O_APPEND ))return -EINVAL ; ret =mnt_want_write (file->f_path.mnt);
@@ -1005,7 +1005,7 @@ static noinline long btrfs_ioctl_clone(struct file *file, unsigned long srcfd,/* determine range to clone */ ret = -EINVAL ; -if (off >= src->i_size || off + len > src->i_size) +if (off + len > src->i_size || off + len < off) goto out_unlock;if (len ==0 ) olen = len = src->i_size - off;
fs/cifs/cifsfs.c +3 -3
@@ -1034,7 +1034,7 @@ init_cifs(void) goto out_unregister_filesystem;#endif #ifdef CONFIG_CIFS_DFS_UPCALL - rc =register_key_type (&key_type_dns_resolver); + rc =cifs_init_dns_resolver ();if (rc) goto out_unregister_key_type;#endif
@@ -1046,7 +1046,7 @@ init_cifs(void) out_unregister_resolver_key: #ifdef CONFIG_CIFS_DFS_UPCALL -unregister_key_type (&key_type_dns_resolver); +cifs_exit_dns_resolver (); out_unregister_key_type:#endif #ifdef CONFIG_CIFS_UPCALL
@@ -1072,7 +1072,7 @@ exit_cifs(void)cifs_proc_clean ();#ifdef CONFIG_CIFS_DFS_UPCALL cifs_dfs_release_automount_timer (); -unregister_key_type (&key_type_dns_resolver); +cifs_exit_dns_resolver ();#endif #ifdef CONFIG_CIFS_UPCALL unregister_key_type (&cifs_spnego_key_type);
fs/cifs/dns_resolve.c +69 -0
54 lines not on this page · raw message
include/linux/ssb/ssb_driver_chipcommon.h +2 -0
Lines of this file are not shown. View the raw message.
net/core/ethtool.c +32 -11
43 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.