Linux 3.9.5
Subsystems (2)
Greg KH
maintainerI'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/powerpc/transactional_memory.txt | 27 + Makefile | 2 arch/arc/include/asm/pgtable.h | 26 + arch/arc/include/asm/tlb.h | 2 arch/arc/mm/tlbex.S | 6 arch/arm/boot/dts/at91sam9260.dtsi | 2 arch/arm/boot/dts/at91sam9x25ek.dts | 2 arch/arm/crypto/sha1-armv4-large.S | 2 arch/arm/mach-at91/at91rm9200_time.c | 7 arch/arm/mach-kirkwood/ts219-setup.c | 2 arch/arm/mach-omap2/cclock33xx_data.c | 26 + arch/arm/mach-omap2/omap_hwmod.c | 2 arch/arm/plat-orion/common.c | 12 arch/arm/plat-samsung/setup-mipiphy.c | 3 arch/arm64/kernel/traps.c | 12 arch/avr32/kernel/module.c | 2 arch/m68k/kernel/head.S | 29 +- arch/powerpc/include/asm/processor.h | 13 arch/powerpc/include/asm/reg.h | 11 arch/powerpc/include/asm/signal.h | 3 arch/powerpc/include/asm/tm.h | 2 arch/powerpc/include/uapi/asm/Kbuild | 1 arch/powerpc/include/uapi/asm/tm.h | 18 + arch/powerpc/kernel/entry_32.S | 2 arch/powerpc/kernel/signal.c | 40 ++ arch/powerpc/kernel/signal.h | 2 arch/powerpc/kernel/signal_32.c | 10 arch/powerpc/kernel/signal_64.c | 23 - arch/powerpc/kernel/traps.c | 29 ++ arch/powerpc/platforms/pseries/Kconfig | 2 arch/s390/include/asm/pgtable.h | 15 - arch/x86/crypto/crc32-pclmul_asm.S | 2 arch/x86/include/asm/inst.h | 74 +++++ arch/x86/kernel/head_64.S | 6 arch/x86/kernel/i387.c | 14 arch/x86/kvm/emulate.c | 9 drivers/acpi/Makefile | 2 drivers/acpi/device_pm.c | 126 ++++---- drivers/acpi/video_detect.c | 8 drivers/ata/ata_piix.c | 15 + drivers/ata/libata-core.c | 6 drivers/ata/sata_rcar.c | 24 - drivers/block/brd.c | 4 drivers/char/random.c | 54 ++- drivers/crypto/caam/caamalg.c | 4 drivers/gpu/drm/i915/i915_drv.c | 46 ++- drivers/gpu/drm/nouveau/core/subdev/device/nvc0.c | 2 drivers/gpu/drm/radeon/radeon_device.c | 19 - drivers/gpu/drm/radeon/si.c | 2 drivers/hv/channel_mgmt.c | 2 drivers/infiniband/ulp/iser/iser_memory.c | 3 drivers/infiniband/ulp/srpt/ib_srpt.c | 32 +- drivers/infiniband/ulp/srpt/ib_srpt.h | 1 drivers/input/touchscreen/egalax_ts.c | 2 drivers/iommu/amd_iommu.c | 31 +- drivers/iommu/amd_iommu_types.h | 1 drivers/leds/leds-gpio.c | 9 drivers/leds/leds-ot200.c | 14 drivers/net/can/usb/kvaser_usb.c | 64 +++- drivers/net/ethernet/broadcom/tg3.c | 70 ++++ drivers/net/ethernet/broadcom/tg3.h | 5 drivers/net/wireless/ath/ath9k/ar9003_calib.c | 2 drivers/net/wireless/ath/ath9k/ar9003_eeprom.h | 9 drivers/net/wireless/ath/ath9k/ar9485_initvals.h | 2 drivers/net/wireless/ath/ath9k/debug.c | 8 drivers/net/wireless/ath/ath9k/debug.h | 5 drivers/net/wireless/ath/ath9k/init.c | 10 drivers/net/wireless/iwlwifi/dvm/sta.c | 2 drivers/net/wireless/iwlwifi/mvm/fw-api.h | 27 + drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | 12 drivers/net/wireless/iwlwifi/mvm/mac80211.c | 31 +- drivers/net/wireless/iwlwifi/mvm/mvm.h | 1 drivers/net/wireless/iwlwifi/mvm/ops.c | 1 drivers/net/wireless/iwlwifi/mvm/scan.c | 6 drivers/net/wireless/iwlwifi/mvm/sta.c | 13 drivers/net/wireless/iwlwifi/mvm/sta.h | 2 drivers/net/wireless/iwlwifi/mvm/tx.c | 48 ++- drivers/net/wireless/mac80211_hwsim.c | 4 drivers/net/xen-netback/netback.c | 311 ++++++++++++++++++---- drivers/net/xen-netfront.c | 17 + drivers/rapidio/devices/tsi721.c | 12 drivers/regulator/palmas-regulator.c | 2 drivers/scsi/ipr.c | 12 drivers/staging/vt6656/hostap.c | 2 drivers/staging/vt6656/iwctl.c | 6 drivers/target/iscsi/iscsi_target_parameters.c | 8 drivers/target/iscsi/iscsi_target_parameters.h | 4 drivers/target/target_core_file.c | 12 drivers/target/target_core_transport.c | 18 - drivers/tty/n_tty.c | 8 drivers/usb/atm/cxacru.c | 3 drivers/usb/chipidea/Kconfig | 2 drivers/usb/core/quirks.c | 3 drivers/usb/host/ohci-hcd.c | 34 +- drivers/usb/host/uhci-hub.c | 3 drivers/usb/host/uhci-q.c | 2 drivers/usb/host/xhci-mem.c | 17 - drivers/usb/serial/ftdi_sio.c | 2 drivers/usb/serial/ftdi_sio_ids.h | 2 drivers/usb/serial/option.c | 13 fs/cifs/cifs_dfs_ref.c | 4 fs/cifs/inode.c | 3 fs/fat/inode.c | 15 - fs/fuse/dir.c | 12 fs/fuse/inode.c | 7 fs/jfs/inode.c | 2 fs/jfs/jfs_logmgr.c | 3 fs/nfs/nfs4proc.c | 2 fs/nilfs2/inode.c | 27 + fs/ocfs2/extent_map.c | 2 fs/reiserfs/dir.c | 2 fs/reiserfs/inode.c | 9 fs/reiserfs/xattr.c | 14 fs/reiserfs/xattr_acl.c | 3 fs/xfs/xfs_iops.c | 47 ++- include/acpi/acpi_bus.h | 40 -- include/linux/cgroup.h | 2 include/linux/wait.h | 16 - include/target/target_core_base.h | 1 include/xen/interface/io/netif.h | 19 + kernel/cgroup.c | 18 - kernel/module.c | 13 kernel/range.c | 8 lib/klist.c | 2 mm/huge_memory.c | 7 mm/memcontrol.c | 14 mm/migrate.c | 2 mm/mmu_notifier.c | 79 ++--- mm/pagewalk.c | 70 ++-- net/mac80211/iface.c | 9 net/mac80211/mlme.c | 12 net/mac80211/rx.c | 3 net/mac80211/tkip.c | 4 net/sunrpc/sched.c | 8 net/sunrpc/svcauth_unix.c | 12 net/wireless/core.c | 16 - net/wireless/nl80211.c | 2 net/wireless/sme.c | 3 net/wireless/trace.h | 23 - sound/soc/codecs/cs42l52.c | 2 sound/soc/codecs/wm5110.c | 2 sound/soc/davinci/davinci-mcasp.c | 7 tools/perf/scripts/python/net_dropmonitor.py | 8 143 files changed, 1544 insertions(+), 672 deletions(-)
Alan Stern (4):
USB: OHCI: fix logic for scheduling isochronous URBs
USB: fix latency in uhci-hcd and ohci-hcd
USB: xHCI: override bogus bulk wMaxPacketSize values
USB: UHCI: fix for suspend of virtual HP controller
Alex Deucher (2):
drm/radeon: fix typo in cu_per_sh on verde drm/radeon: fix card_posted check for newer asics
Alexander Bondar (1):
iwlwifi: mvm: Prevent setting assoc flag in MAC_CONTEXT_CMD
Alexandre Bounine (1):
rapidio/tsi721: fix bug in MSI interrupt handling
Aneesh Kumar K.V (1):
mm/THP: use pmd_populate() to update the pmd with pgtable_t pointer
Ard Biesheuvel (1):
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
Bastian Triller (1):
ACPI / video: Add "Asus UL30A" to ACPI video detect blacklist
Ben Hutchings (2):
perf: net_dropmonitor: Fix trace parameter order
perf: net_dropmonitor: Fix symbol-relative addresses
Ben Skeggs (1):
drm/nvc0/ce: disable ce1 on a number of chipsets
Boris BREZILLON (1):
ARM: at91/dt: fix macb pinctrl_macb_rmii_mii_alt definition
Brian Behlendorf (1):
drivers/block/brd.c: fix brd_lookup_page() race
Charles Keepax (1):
ASoC: wm5110: Correct DSP4R Mixer control name
Chew, Chiau Ee (1):
ata_piix: add PCI IDs for Intel BayTail
Christian Borntraeger (1):
s390/pgtable: Fix check for pgste/storage key handling
Christian Gmeiner (1):
drivers/leds/leds-ot200.c: fix error caused by shifted mask
Cliff Wickman (1):
mm/pagewalk.c: walk_page_range should avoid VM_PFNMAP areas
Dan Carpenter (1):
USB: cxacru: potential underflow in cxacru_cm_get_array()
Dan Williams (1):
USB: option: add device IDs for Dell 5804 (Novatel E371) WWAN card
Daniel Mack (1):
ASoC: davinci: fix sample rotation
Dave Chinner (1):
xfs: kill suid/sgid through the truncate path.
Dave Kleikamp (1):
jfs: fix a couple races
David Rientjes (1):
usb, chipidea: fix link error when USB_EHCI_HCD is a module
Emmanuel Grumbach (3):
iwlwifi: mvm: fix aggregation drain flow
iwlwifi: dvm: fix zero LQ CMD sending avoidance
iwlwifi: mvm: tell firmware to let multicast frames in
Finn Thain (1):
m68k/mac: Fix unexpected interrupt with CONFIG_EARLY_PRINTK
Gabor Juhos (1):
ath9k: use correct OTP register offsets for AR9550
Gomella, Andrew (NIH/NHLBI) [F] (1):
USB: ftdi_sio: Add support for Newport CONEX motor drivers
Greg Kroah-Hartman (1):
Linux 3.9.5
Gregory CLEMENT (1):
ARM: plat-orion: Fix num_resources and id for ge10 and ge11
Hans-Christian Egtvedt (1):
avr32: fix relocation check for signed 18-bit offset
Heiko Abraham (1):
Input: egalax_ts - ABS_MT_POSITION_Y not reported well
Hema Prathaban (1):
staging: vt6656: use free_netdev instead of kfree
Horia Geanta (1):
crypto: caam - fix inconsistent assoc dma mapping direction
Ilan Peer (1):
iwlwifi: mvm: Always use SCAN_TYPE_FORCED
Imre Deak (1):
wait: fix false timeouts when using wait_event_timeout()
J. Bruce Fields (1):
svcrpc: fix failures to handle -1 uid's and gid's
Jan Beulich (1):
x86, crc32-pclmul: Fix build with older binutils
Jarod Wilson (1):
drivers/char/random.c: fix priming of last_data
Jean-Christophe PLAGNIOL-VILLARD (2):
ARM: at91/trivial: fix model name for SAM9X25-EK
ARM: at91: rm9200 fix time support
Jeff Layton (2):
cifs: only set ops for inodes in I_NEW state
cifs: fix potential buffer overrun when composing a new options string
Jeff Mahoney (3):
reiserfs: fix deadlock with nfs racing on create/lookup
reiserfs: fix problems with chowning setuid file w/ xattrs
reiserfs: fix spurious multiple-fill in reiserfs_readdir_dentry
Jiri Kosina (1):
random: fix accounting race condition with lockless irq entropy_count update
Joerg Roedel (1):
iommu/amd: Workaround for ERBT1312
Johannes Berg (9):
cfg80211: fix WoWLAN wakeup tracing
cfg80211: fix wiphy_register error path
cfg80211: fix sending WoWLAN TCP wakeup settings
mac80211: use just spin_lock() in ieee80211_get_tkip_p2k()
mac80211: fix AP-mode frame matching
mac80211: close AP_VLAN interfaces before unregistering all
cfg80211: check wdev->netdev in connection work
iwlwifi: mvm: remove P2P_DEVICE support
mac80211_hwsim: remove P2P_DEVICE support
Johannes Weiner (1):
mm: memcg: remove incorrect VM_BUG_ON for swap cache pages in uncharge
Jonas Peterson (1):
net: can: kvaser_usb: fix reception on "USBcan Pro" and "USBcan R" type hardware.
Joseph Qi (1):
ocfs2: goto out_unlock if ocfs2_get_clusters_nocache() failed in ocfs2_fiemap()
K. Y. Srinivasan (1):
Drivers: hv: Fix a bug in get_vp_index()
Kees Cook (1):
iscsi-target: fix heap buffer overflow on error
Kishon Vijay Abraham I (1):
regulator: palmas: Fix "enable_reg" to point to the correct reg for SMPS10
Leonid Yegoshin (1):
mm compaction: fix of improper cache flush in migration code
Li Zefan (1):
cgroup: initialize xattr before calling d_instantiate()
Malcolm Priestley (1):
staging: vt6656: [bug] Fix missing spin lock in iwctl_siwpower.
Mark Rutland (1):
arm64: don't kill the kernel on a bad esr from el0
Martin Michlmayr (1):
Kirkwood: Enable PCIe port 1 on QNAP TS-11x/TS-21x
Michael Chan (1):
tg3: Fix data corruption on 5725 with TSO
Michael Neuling (5):
powerpc/tm: Make room for hypervisor in abort cause codes
powerpc/tm: Update cause codes documentation
powerpc/tm: Fix userspace stack corruption on signal delivery for active transactions powerpc/tm: Abort on emulation and alignment faults
powerpc/tm: Move TM abort cause codes to uapi
Miklos Szeredi (1):
fuse: fix readdirplus Oops in fuse_dentry_revalidate
Nicholas Bellinger (3):
ib_srpt: Call target_sess_cmd_list_set_waiting during shutdown_session
target: Re-instate sess_wait_list for target_wait_for_sess_cmds target/file: Fix off-by-one READ_CAPACITY bug for !S_ISBLK export
Nicolas Schichan (1):
ASoC: cs42l52: fix default value for MASTERA_VOL.
Nithin Sujir (2):
tg3: Skip powering down function 0 on certain serdes devices
tg3: Add read dma workaround for 5720
OGAWA Hirofumi (1):
fat: fix possible overflow for fat_clusters
Oliver Neukum (1):
USB: reset resume quirk needed by a hub
Or Gerlitz (1):
IB/iser: Return error to upper layers on EAGAIN registration failures
Paolo Bonzini (2):
KVM: Emulate multibyte NOP
KVM: fix sil/dil/bpl/spl in the mod/rm fields
Pekka Riikonen (1):
x86: Allow FPU to be used at interrupt time even with eagerfpu
Priyanka Jain (1):
powerpc/32bit:Store temporary result in r0 instead of r8
Rafael J. Wysocki (1):
ACPI / PM: Allow device power states to be used for CONFIG_PM unset
Rodrigo Vivi (1):
drm/i915: Adding more reserved PCI IDs for Haswell.
Rusty Russell (1):
module: don't unlink the module until we've removed all exposure.
Ryusuke Konishi (1):
nilfs2: fix issue of nilfs_set_page_dirty() for page at EOF boundary
Schemmel Hans-Christoph (1):
USB: Blacklisted Cinterion's PLxx WWAN Interface
Sergei Shtylyov (2):
sata_rcar: clear STOP bit in bmdma_start() method
sata_rcar: fix interrupt handling
Srivatsa S. Bhat (1):
powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES SMP
Stanislaw Gruszka (1):
mac80211: fix direct probe auth
Sujith Manoharan (2):
ath9k: Fix crash on module unload
ath9k_hw: Enable manual peak calibration for AR9485
Suravee Suthikulpanit (1):
iommu/amd: Re-enable IOMMU event log interrupt after handling.
Sylwester Nawrocki (1):
ARM: SAMSUNG: Export MIPI CSIS/DSIM PHY control functions
Tejun Heo (1):
cgroup: fix a subtle bug in descendant pre-order walk
Teppo Kotilainen (1):
usb: option: Add Telewell TW-LTE 4G
Timo Teräs (1):
leds: leds-gpio: reserve gpio before using it
Trond Myklebust (2):
SUNRPC: Prevent an rpc_task wakeup race
NFSv4: Fix a thinko in nfs4_try_open_cached
Vaibhav Hiremath (1):
ARM: AM33XX: Add missing .clkdm_name to clkdiv32k_ick clock
Vincent Pelletier (1):
libata: make ata_exec_internal_sg honor DMADIR
Vineet Gupta (1):
ARC: copy_(to|from)_user() to honor usermode-access permissions
Wang YanQing (1):
TTY: Fix tty miss restart after we turn off flow-control
Wei Liu (7):
xen-netback: remove skb in xen_netbk_alloc_page
xen-netback: coalesce slots in TX path and fix regressions
xen-netback: don't disconnect frontend when seeing oversize packet
xen-netback: remove redundent parameter in netbk_count_requests
xen-netback: avoid allocating variable size array on stack
xen-netfront: reduce gso_max_size to account for max TCP header
xen-netback: better names for thresholds
Xiao Guangrong (1):
mm: mmu_notifier: re-fix freed page still mapped in secondary MMU
Yinghai Lu (1):
x86, range: fix missing merge during add range
Zhang Yanfei (1):
x86-64, init: Fix a possible wraparound bug in switchover in head_64.S
jean-philippe francois (1):
ARM: OMAP: fix __init section mismatch for _enable_preprogram
wang, biao (1):
klist: del waiter from klist_remove_waiters before wakeup waitting process
[email protected] (1):
SCSI: ipr: Need to reset adapter after the 6th EEH error
Greg KH
maintainerDocumentation/powerpc/transactional_memory.txt +25 -2
@@ -147,6 +147,25 @@ Example signal handler: fix_the_problem(ucp->dar); } +When in an active transaction that takes a signal, we need to be careful with +the stack. It's possible that the stack has moved back up after the tbegin. +The obvious case here is when the tbegin is called inside a function that +returns before a tend. In this case, the stack is part of the checkpointed +transactional memory state. If we write over this non transactionally or in +suspend, we are in trouble because if we get a tm abort, the program counter and +stack pointer will be back at the tbegin but our in memory stack won't be valid +anymore. + +To avoid this, when taking a signal in an active transaction, we need to use +the stack pointer from the checkpointed state, rather than the speculated +state. This ensures that the signal context (written tm suspended) will be +written below the stack required for the rollback. The transaction is aborted +becuase of the treclaim, so any memory written between the tbegin and the +signal will be rolled back anyway. + +For signals taken in non-TM or suspended mode, we use the +normal/non-checkpointed stack pointer. + Failure cause codes used by kernel ==================================
@@ -155,14 +174,18 @@ These are defined in <asm/reg.h>, and distinguish different reasons why the kernel aborted a transaction: TM_CAUSE_RESCHED Thread was rescheduled. + TM_CAUSE_TLBI Software TLB invalide. TM_CAUSE_FAC_UNAV FP/VEC/VSX unavailable trap. TM_CAUSE_SYSCALL Currently unused; future syscalls that must abort transactions for consistency will use this. TM_CAUSE_SIGNAL Signal delivered. TM_CAUSE_MISC Currently unused. + TM_CAUSE_ALIGNMENT Alignment fault. + TM_CAUSE_EMULATE Emulation that touched memory. -These can be checked by the user program's abort handler as TEXASR[0:7]. - +These can be checked by the user program's abort handler as TEXASR[0:7]. If +bit 7 is set, it indicates that the error is consider persistent. For example +a TM_CAUSE_ALIGNMENT will be persistent while a TM_CAUSE_RESCHED will not.q GDB ===
Makefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 9 -SUBLEVEL = 4 +SUBLEVEL = 5 EXTRAVERSION = NAME = Unicycling Gorilla
arch/arc/include/asm/pgtable.h +15 -11
@@ -57,9 +57,9 @@#define _PAGE_ACCESSED (1<<1)/* Page is accessed (S) */ #define _PAGE_CACHEABLE (1<<2)/* Page is cached (H) */ -#define _PAGE_EXECUTE (1<<3)/* Page has user execute perm (H) */ -#define _PAGE_WRITE (1<<4)/* Page has user write perm (H) */ -#define _PAGE_READ (1<<5)/* Page has user read perm (H) */ +#define _PAGE_U_EXECUTE (1<<3)/* Page has user execute perm (H) */ +#define _PAGE_U_WRITE (1<<4)/* Page has user write perm (H) */ +#define _PAGE_U_READ (1<<5)/* Page has user read perm (H) */ #define _PAGE_K_EXECUTE (1<<6)/* Page has kernel execute perm (H) */ #define _PAGE_K_WRITE (1<<7)/* Page has kernel write perm (H) */ #define _PAGE_K_READ (1<<8)/* Page has kernel perm (H) */
@@ -72,9 +72,9 @@/* PD1 */ #define _PAGE_CACHEABLE (1<<0)/* Page is cached (H) */ -#define _PAGE_EXECUTE (1<<1)/* Page has user execute perm (H) */ -#define _PAGE_WRITE (1<<2)/* Page has user write perm (H) */ -#define _PAGE_READ (1<<3)/* Page has user read perm (H) */ +#define _PAGE_U_EXECUTE (1<<1)/* Page has user execute perm (H) */ +#define _PAGE_U_WRITE (1<<2)/* Page has user write perm (H) */ +#define _PAGE_U_READ (1<<3)/* Page has user read perm (H) */ #define _PAGE_K_EXECUTE (1<<4)/* Page has kernel execute perm (H) */ #define _PAGE_K_WRITE (1<<5)/* Page has kernel write perm (H) */ #define _PAGE_K_READ (1<<6)/* Page has kernel perm (H) */
@@ -93,7 +93,8 @@#endif /* Kernel allowed all permissions for all pages */ -#define _K_PAGE_PERMS (_PAGE_K_EXECUTE | _PAGE_K_WRITE | _PAGE_K_READ) +#define _K_PAGE_PERMS (_PAGE_K_EXECUTE | _PAGE_K_WRITE | _PAGE_K_READ | \ + _PAGE_GLOBAL | _PAGE_PRESENT)#ifdef CONFIG_ARC_CACHE_PAGES #define _PAGE_DEF_CACHEABLE _PAGE_CACHEABLE
@@ -106,7 +107,11 @@* -by default cached, unless config otherwise * -present in memory */ -#define ___DEF (_PAGE_PRESENT | _K_PAGE_PERMS | _PAGE_DEF_CACHEABLE) +#define ___DEF (_PAGE_PRESENT | _PAGE_DEF_CACHEABLE) + +#define _PAGE_READ (_PAGE_U_READ | _PAGE_K_READ) +#define _PAGE_WRITE (_PAGE_U_WRITE | _PAGE_K_WRITE) +#define _PAGE_EXECUTE (_PAGE_U_EXECUTE | _PAGE_K_EXECUTE)/* Set of bits not changed in pte_modify */ #define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_MODIFIED)
@@ -125,11 +130,10 @@* kernel vaddr space - visible in all addr spaces, but kernel mode only * Thus Global, all-kernel-access, no-user-access, cached */ -#define PAGE_KERNEL __pgprot(___DEF | _PAGE_GLOBAL) +#define PAGE_KERNEL __pgprot(_K_PAGE_PERMS | _PAGE_DEF_CACHEABLE)/* ioremap */ -#define PAGE_KERNEL_NO_CACHE __pgprot(_PAGE_PRESENT | _K_PAGE_PERMS | \ - _PAGE_GLOBAL) +#define PAGE_KERNEL_NO_CACHE __pgprot(_K_PAGE_PERMS)/************************************************************************** * Mapping of vm_flags (Generic VM) to PTE flags (arch specific)
arch/arc/include/asm/tlb.h +1 -1
@@ -16,7 +16,7 @@/* Masks for actual TLB "PD"s */ #define PTE_BITS_IN_PD0 (_PAGE_GLOBAL | _PAGE_PRESENT)#define PTE_BITS_IN_PD1 (PAGE_MASK | _PAGE_CACHEABLE | \ - _PAGE_EXECUTE | _PAGE_WRITE | _PAGE_READ | \ + _PAGE_U_EXECUTE | _PAGE_U_WRITE | _PAGE_U_READ | \ _PAGE_K_EXECUTE | _PAGE_K_WRITE | _PAGE_K_READ)#ifndef __ASSEMBLY__
arch/arc/mm/tlbex.S +3 -3
@@ -277,7 +277,7 @@ ARC_ENTRY EV_TLBMissI ;---------------------------------------------------------------- ; VERIFY_PTE: Check if PTE permissions approp for executing code cmp_s r2, VMALLOC_START - mov.lo r2, (_PAGE_PRESENT | _PAGE_READ | _PAGE_EXECUTE) + mov.lo r2, (_PAGE_PRESENT | _PAGE_U_READ | _PAGE_U_EXECUTE) mov.hs r2, (_PAGE_PRESENT | _PAGE_K_READ | _PAGE_K_EXECUTE) and r3, r0, r2 ; Mask out NON Flag bits from PTE
@@ -320,9 +320,9 @@ ARC_ENTRY EV_TLBMissD mov_s r2, 0 lr r3, [ecr] btst_s r3, ECR_C_BIT_DTLB_LD_MISS ; Read Access - or.nz r2, r2, _PAGE_READ ; chk for Read flag in PTE + or.nz r2, r2, _PAGE_U_READ ; chk for Read flag in PTE btst_s r3, ECR_C_BIT_DTLB_ST_MISS ; Write Access - or.nz r2, r2, _PAGE_WRITE ; chk for Write flag in PTE + or.nz r2, r2, _PAGE_U_WRITE ; chk for Write flag in PTE ; Above laddering takes care of XCHG access ; which is both Read and Write
arch/arm/boot/dts/at91sam9260.dtsi +1 -1
@@ -264,7 +264,7 @@ atmel,pins = <0 10 0x2 0x0 /* PA10 periph B */ 0 11 0x2 0x0 /* PA11 periph B */ - 0 24 0x2 0x0 /* PA24 periph B */ + 0 22 0x2 0x0 /* PA22 periph B */ 0 25 0x2 0x0 /* PA25 periph B */ 0 26 0x2 0x0 /* PA26 periph B */ 0 27 0x2 0x0 /* PA27 periph B */
arch/arm/boot/dts/at91sam9x25ek.dts +1 -1
@@ -11,6 +11,6 @@ /include/ "at91sam9x5ek.dtsi" / { - model = "Atmel AT91SAM9G25-EK"; + model = "Atmel AT91SAM9X25-EK"; compatible = "atmel,at91sam9x25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9"; };
arch/arm/crypto/sha1-armv4-large.S +1 -1
@@ -195,6 +195,7 @@ ENTRY(sha1_block_data_order) add r3,r3,r10 @ E+=F_00_19(B,C,D) cmp r14,sp bne .L_00_15 @ [((11+4)*5+2)*3] + sub sp,sp,#25*4 #if __ARM_ARCH__<7 ldrb r10,[r1,#2] ldrb r9,[r1,#3]
@@ -290,7 +291,6 @@ ENTRY(sha1_block_data_order) add r3,r3,r10 @ E+=F_00_19(B,C,D) ldr r8,.LK_20_39 @ [+15+16*4] - sub sp,sp,#25*4 cmn sp,#0 @ [+3], clear carry to denote 20_39 .L_20_39_or_60_79: ldr r9,[r14,#15*4]
arch/arm/mach-at91/at91rm9200_time.c +5 -2
@@ -174,6 +174,7 @@ clkevt32k_next_event(unsigned long delta, struct clock_event_device *dev)static struct clock_event_device clkevt = { .name ="at91_tick" , .features =CLOCK_EVT_FEAT_PERIODIC |CLOCK_EVT_FEAT_ONESHOT , + .shift =32 , .rating =150 , .set_next_event = clkevt32k_next_event, .set_mode = clkevt32k_mode,
@@ -264,9 +265,11 @@ void __init at91rm9200_timer_init(void)at91_st_write (AT91_ST_RTMR ,1 );/* Setup timer clockevent, with minimum of two ticks (important!!) */ + clkevt.mult =div_sc (AT91_SLOW_CLOCK ,NSEC_PER_SEC , clkevt.shift); + clkevt.max_delta_ns =clockevent_delta2ns (AT91_ST_ALMV , &clkevt); + clkevt.min_delta_ns =clockevent_delta2ns (2 , &clkevt) +1 ; clkevt.cpumask =cpumask_of (0 ); -clockevents_config_and_register (&clkevt,AT91_SLOW_CLOCK , -2 ,AT91_ST_ALMV ); +clockevents_register_device (&clkevt);/* register clocksource */ clocksource_register_hz (&clk32k,AT91_SLOW_CLOCK );
arch/arm/mach-kirkwood/ts219-setup.c +1 -1
@@ -124,7 +124,7 @@ static void __init qnap_ts219_init(void)static int __init ts219_pci_init (void ) {if (machine_is_ts219 ()) -kirkwood_pcie_init (KW_PCIE0 ); +kirkwood_pcie_init (KW_PCIE1 |KW_PCIE0 );return 0 ; }
arch/arm/mach-omap2/cclock33xx_data.c +23 -3
@@ -446,9 +446,29 @@ DEFINE_CLK_GATE(cefuse_fck, "sys_clkin_ck", &sys_clkin_ck, 0x0,*/ DEFINE_CLK_FIXED_FACTOR (clkdiv32k_ck,"clk_24mhz" , &clk_24mhz,0x0 ,1 ,732 ); -DEFINE_CLK_GATE (clkdiv32k_ick,"clkdiv32k_ck" , &clkdiv32k_ck,0x0 , -AM33XX_CM_PER_CLKDIV32K_CLKCTRL ,AM33XX_MODULEMODE_SWCTRL_SHIFT , -0x0 ,NULL ); +static struct clk clkdiv32k_ick; + +static const char *clkdiv32k_ick_parent_names[] = { +"clkdiv32k_ck" , +}; + +static const struct clk_ops clkdiv32k_ick_ops = { + .enable = &omap2_dflt_clk_enable, + .disable = &omap2_dflt_clk_disable, + .is_enabled = &omap2_dflt_clk_is_enabled, + .init = &omap2_init_clk_clkdm, +}; + +static struct clk_hw_omap clkdiv32k_ick_hw = { + .hw = { + .clk = &clkdiv32k_ick, + }, + .enable_reg =AM33XX_CM_PER_CLKDIV32K_CLKCTRL , + .enable_bit =AM33XX_MODULEMODE_SWCTRL_SHIFT , + .clkdm_name ="clk_24mhz_clkdm" , +}; + +DEFINE_STRUCT_CLK (clkdiv32k_ick, clkdiv32k_ick_parent_names, clkdiv32k_ick_ops);/* "usbotg_fck" is an additional clock and not really a modulemode */ DEFINE_CLK_GATE(usbotg_fck, "dpll_per_ck", &dpll_per_ck, 0x0,
arch/arm/mach-omap2/omap_hwmod.c +1 -1
@@ -2066,7 +2066,7 @@ static int _omap4_get_context_lost(struct omap_hwmod *oh)* do so is present in the hwmod data, then call it and pass along the * return value; otherwise, return 0. */ -static int __init _enable_preprogram (struct omap_hwmod *oh) +static int _enable_preprogram (struct omap_hwmod *oh) {if (!oh->class->enable_preprogram)return 0 ;
arch/arm/plat-orion/common.c +6 -6
@@ -373,7 +373,7 @@ static struct resource orion_ge10_shared_resources[] = {static struct platform_device orion_ge10_shared = { .name =MV643XX_ETH_SHARED_NAME , - .id =1 , + .id =2 , .dev = { .platform_data = &orion_ge10_shared_data, },
@@ -388,8 +388,8 @@ static struct resource orion_ge10_resources[] = {static struct platform_device orion_ge10 = { .name =MV643XX_ETH_NAME , - .id =1 , - .num_resources =2 , + .id =2 , + .num_resources =1 , .resource = orion_ge10_resources, .dev = { .coherent_dma_mask =DMA_BIT_MASK (32 ),
@@ -425,7 +425,7 @@ static struct resource orion_ge11_shared_resources[] = {static struct platform_device orion_ge11_shared = { .name =MV643XX_ETH_SHARED_NAME , - .id =1 , + .id =3 , .dev = { .platform_data = &orion_ge11_shared_data, },
@@ -440,8 +440,8 @@ static struct resource orion_ge11_resources[] = {static struct platform_device orion_ge11 = { .name =MV643XX_ETH_NAME , - .id =1 , - .num_resources =2 , + .id =3 , + .num_resources =1 , .resource = orion_ge11_resources, .dev = { .coherent_dma_mask =DMA_BIT_MASK (32 ),
arch/arm/plat-samsung/setup-mipiphy.c +3 -0
@@ -8,6 +8,7 @@* published by the Free Software Foundation. */ +#include <linux/export.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/io.h>
@@ -50,8 +51,10 @@ int s5p_csis_phy_enable(int id, bool on) {return __s5p_mipi_phy_control (id, on,S5P_MIPI_DPHY_SRESETN ); } +EXPORT_SYMBOL (s5p_csis_phy_enable);int s5p_dsim_phy_enable (struct platform_device *pdev,bool on) {return __s5p_mipi_phy_control (pdev->id, on,S5P_MIPI_DPHY_MRESETN ); } +EXPORT_SYMBOL (s5p_dsim_phy_enable);
arch/arm64/kernel/traps.c +9 -3
@@ -317,14 +317,20 @@ asmlinkage long do_ni_syscall(struct pt_regs *regs)*/ asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr) { +siginfo_t info; +void __user *pc = (void __user *)instruction_pointer (regs);console_verbose ();pr_crit ("Bad mode in %s handler detected, code 0x%08x\n" , handler[reason], esr); +__show_regs (regs); + + info.si_signo =SIGILL ; + info.si_errno =0 ; + info.si_code =ILL_ILLOPC ; + info.si_addr = pc; -die ("Oops - bad mode" , regs,0 ); -local_irq_disable (); -panic ("bad mode" ); +arm64_notify_die ("Oops - bad mode" , regs, &info,0 ); }void __pte_error (const char *file,int line,unsigned long val)
arch/avr32/kernel/module.c +1 -1
@@ -264,7 +264,7 @@ int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab,break ;case R_AVR32_GOT18SW :if ((relocation &0xfffe0003 ) !=0 - && (relocation &0xfffc0003 ) !=0xffff0000 ) + && (relocation &0xfffc0000 ) !=0xfffc0000 )return reloc_overflow (module,"R_AVR32_GOT18SW" , relocation); relocation >>=2 ;
arch/m68k/kernel/head.S +19 -10
@@ -2752,11 +2752,9 @@ func_return get_new_page #ifdef CONFIG_MAC L(scc_initable_mac): - .byte 9,12 /* Reset */ .byte 4,0x44 /* x16, 1 stopbit, no parity */ .byte 3,0xc0 /* receiver: 8 bpc */ .byte 5,0xe2 /* transmitter: 8 bpc, assert dtr/rts */ - .byte 9,0 /* no interrupts */ .byte 10,0 /* NRZ */ .byte 11,0x50 /* use baud rate generator */ .byte 12,1,13,0 /* 38400 baud */
@@ -2899,6 +2897,7 @@ func_start serial_init,%d0/%d1/%a0/%a1 is_not_mac(L(serial_init_not_mac)) #ifdef SERIAL_DEBUG + /* You may define either or both of these. */ #define MAC_USE_SCC_A /* Modem port */ #define MAC_USE_SCC_B /* Printer port */
@@ -2908,9 +2907,21 @@ func_start serial_init,%d0/%d1/%a0/%a1 #define mac_scc_cha_b_data_offset 0x4 #define mac_scc_cha_a_data_offset 0x6 +#if defined(MAC_USE_SCC_A) || defined(MAC_USE_SCC_B) + movel %pc@(L(mac_sccbase)),%a0 + /* Reset SCC device */ + moveb #9,%a0@(mac_scc_cha_a_ctrl_offset) + moveb #0xc0,%a0@(mac_scc_cha_a_ctrl_offset) + /* Wait for 5 PCLK cycles, which is about 68 CPU cycles */ + /* 5 / 3.6864 MHz = approx. 1.36 us = 68 / 50 MHz */ + movel #35,%d0 +5: + subq #1,%d0 + jne 5b +#endif + #ifdef MAC_USE_SCC_A /* Initialize channel A */ - movel %pc@(L(mac_sccbase)),%a0 lea %pc@(L(scc_initable_mac)),%a1 5: moveb %a1@+,%d0 jmi 6f
@@ -2922,9 +2933,6 @@ func_start serial_init,%d0/%d1/%a0/%a1 #ifdef MAC_USE_SCC_B /* Initialize channel B */ -#ifndef MAC_USE_SCC_A /* Load mac_sccbase only if needed */ - movel %pc@(L(mac_sccbase)),%a0 -#endif /* MAC_USE_SCC_A */ lea %pc@(L(scc_initable_mac)),%a1 7: moveb %a1@+,%d0 jmi 8f
@@ -2933,6 +2941,7 @@ func_start serial_init,%d0/%d1/%a0/%a1 jra 7b 8: #endif /* MAC_USE_SCC_B */ + #endif /* SERIAL_DEBUG */ jra L(serial_init_done)
@@ -3006,17 +3015,17 @@ func_start serial_putc,%d0/%d1/%a0/%a1 #ifdef SERIAL_DEBUG -#ifdef MAC_USE_SCC_A +#if defined(MAC_USE_SCC_A) || defined(MAC_USE_SCC_B) movel %pc@(L(mac_sccbase)),%a1 +#endif + +#ifdef MAC_USE_SCC_A 3: btst #2,%a1@(mac_scc_cha_a_ctrl_offset) jeq 3b moveb %d0,%a1@(mac_scc_cha_a_data_offset) #endif /* MAC_USE_SCC_A */ #ifdef MAC_USE_SCC_B -#ifndef MAC_USE_SCC_A /* Load mac_sccbase only if needed */ - movel %pc@(L(mac_sccbase)),%a1 -#endif /* MAC_USE_SCC_A */ 4: btst #2,%a1@(mac_scc_cha_b_ctrl_offset) jeq 4b moveb %d0,%a1@(mac_scc_cha_b_data_offset)
arch/powerpc/include/asm/processor.h +4 -9
@@ -407,21 +407,16 @@ static inline void prefetchw(const void *x)#endif #ifdef CONFIG_PPC64 -static inline unsigned long get_clean_sp (struct pt_regs *regs,int is_32) +static inline unsigned long get_clean_sp (unsigned long sp,int is_32) { -unsigned long sp; -if (is_32) - sp = regs->gpr[1 ] &0x0ffffffffUL ; -else - sp = regs->gpr[1 ]; - +return sp &0x0ffffffffUL ;return sp; }#else -static inline unsigned long get_clean_sp (struct pt_regs *regs,int is_32) +static inline unsigned long get_clean_sp (unsigned long sp,int is_32) { -return regs->gpr[1 ]; +return sp; }#endif
arch/powerpc/include/asm/reg.h +0 -11
@@ -111,17 +111,6 @@#define MSR_TM_TRANSACTIONAL (x) (((x) & MSR_TS_MASK) == MSR_TS_T)#define MSR_TM_SUSPENDED (x) (((x) & MSR_TS_MASK) == MSR_TS_S) -/* Reason codes describing kernel causes for transaction aborts. By -convention, bit0 is copied to TEXASR[56] (IBM bit 7) which is set if -the failure is persistent. -*/ -#define TM_CAUSE_RESCHED 0xfe -#define TM_CAUSE_TLBI 0xfc -#define TM_CAUSE_FAC_UNAV 0xfa -#define TM_CAUSE_SYSCALL 0xf9/* Persistent */ -#define TM_CAUSE_MISC 0xf6 -#define TM_CAUSE_SIGNAL 0xf4 -#if defined(CONFIG_PPC_BOOK3S_64 )#define MSR_64BIT MSR_SF
arch/powerpc/include/asm/signal.h +3 -0
@@ -3,5 +3,8 @@#define __ARCH_HAS_SA_RESTORER#include <uapi/asm/signal.h> +#include <uapi/asm/ptrace.h> + +extern unsigned long get_tm_stackpointer (struct pt_regs *regs);#endif /* _ASM_POWERPC_SIGNAL_H */
arch/powerpc/include/asm/tm.h +2 -0
@@ -5,6 +5,8 @@* Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation. */ +#include <uapi/asm/tm.h> +#ifdef CONFIG_PPC_TRANSACTIONAL_MEM extern void do_load_up_transact_fpu (struct thread_struct *thread);extern void do_load_up_transact_altivec (struct thread_struct *thread);
arch/powerpc/include/uapi/asm/Kbuild +1 -0
@@ -40,6 +40,7 @@ header-y += statfs.h header-y += swab.h header-y += termbits.h header-y += termios.h +header-y += tm.h header-y += types.h header-y += ucontext.h header-y += unistd.h
arch/powerpc/include/uapi/asm/tm.h new file +18 -0
@@ -0,0 +1,18 @@ +#ifndef _ASM_POWERPC_TM_H +#define _ASM_POWERPC_TM_H + +/* Reason codes describing kernel causes for transaction aborts. By +* convention, bit0 is copied to TEXASR[56] (IBM bit 7) which is set if +* the failure is persistent. PAPR saves 0xff-0xe0 for the hypervisor. +*/ +#define TM_CAUSE_PERSISTENT 0x01 +#define TM_CAUSE_RESCHED 0xde +#define TM_CAUSE_TLBI 0xdc +#define TM_CAUSE_FAC_UNAV 0xda +#define TM_CAUSE_SYSCALL 0xd8/* future use */ +#define TM_CAUSE_MISC 0xd6/* future use */ +#define TM_CAUSE_SIGNAL 0xd4 +#define TM_CAUSE_ALIGNMENT 0xd2 +#define TM_CAUSE_EMULATE 0xd0 + +#endif
arch/powerpc/kernel/entry_32.S +1 -1
@@ -851,7 +851,7 @@ resume_kernel: /* check current_thread_info, _TIF_EMULATE_STACK_STORE */ CURRENT_THREAD_INFO(r9, r1) lwz r8,TI_FLAGS(r9) - andis. r8,r8,_TIF_EMULATE_STACK_STORE@h + andis. r0,r8,_TIF_EMULATE_STACK_STORE@h beq+ 1f addi r8,r1,INT_FRAME_SIZE /* Get the kprobed function entry */
arch/powerpc/kernel/signal.c +38 -2
@@ -17,6 +17,7 @@#include <asm/uaccess.h> #include <asm/unistd.h> #include <asm/debug.h> +#include <asm/tm.h> #include "signal.h"
@@ -29,13 +30,13 @@ int show_unhandled_signals = 0;/* * Allocate space for the signal frame */ -void __user *get_sigframe (struct k_sigaction *ka,struct pt_regs *regs, +void __user *get_sigframe (struct k_sigaction *ka,unsigned long sp,size_t frame_size,int is_32) {unsigned long oldsp, newsp;/* Default to using normal stack */ - oldsp =get_clean_sp (regs, is_32); + oldsp =get_clean_sp (sp, is_32);/* Check for alt stack */ if ((ka->sa.sa_flags & SA_ONSTACK) &&
@@ -170,3 +171,38 @@ void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags)tracehook_notify_resume (regs); } } + +unsigned long get_tm_stackpointer (struct pt_regs *regs) +{ +/* When in an active transaction that takes a signal, we need to be +* careful with the stack. It's possible that the stack has moved back +* up after the tbegin. The obvious case here is when the tbegin is +* called inside a function that returns before a tend. In this case, +* the stack is part of the checkpointed transactional memory state. +* If we write over this non transactionally or in suspend, we are in +* trouble because if we get a tm abort, the program counter and stack +* pointer will be back at the tbegin but our in memory stack won't be +* valid anymore. +* +* To avoid this, when taking a signal in an active transaction, we +* need to use the stack pointer from the checkpointed state, rather +* than the speculated state. This ensures that the signal context +* (written tm suspended) will be written below the stack required for +* the rollback. The transaction is aborted becuase of the treclaim, +* so any memory written between the tbegin and the signal will be +* rolled back anyway. +* +* For signals taken in non-TM or suspended mode, we use the +* normal/non-checkpointed stack pointer. +*/ + +#ifdef CONFIG_PPC_TRANSACTIONAL_MEM +if (MSR_TM_ACTIVE (regs->msr)) { +tm_enable (); +tm_reclaim (¤t->thread, regs->msr,TM_CAUSE_SIGNAL ); +if (MSR_TM_TRANSACTIONAL (regs->msr)) +return current->thread.ckpt_regs.gpr[1 ]; + } +#endif +return regs->gpr[1 ]; +}
arch/powerpc/kernel/signal.h +1 -1
@@ -12,7 +12,7 @@extern void do_notify_resume (struct pt_regs *regs,unsigned long thread_info_flags); -extern void __user *get_sigframe (struct k_sigaction *ka,struct pt_regs *regs, +extern void __user *get_sigframe (struct k_sigaction *ka,unsigned long sp,size_t frame_size,int is_32); extern int handle_signal32(unsigned long sig, struct k_sigaction *ka,
arch/powerpc/kernel/signal_32.c +2 -8
@@ -503,12 +503,6 @@ static int save_tm_user_regs(struct pt_regs *regs, {unsigned long msr = regs->msr; -/* tm_reclaim rolls back all reg states, updating thread.ckpt_regs, -* thread.transact_fpr[], thread.transact_vr[], etc. -*/ -tm_enable (); -tm_reclaim (¤t->thread, msr,TM_CAUSE_SIGNAL ); -/* Make sure floating point registers are stored in regs */ flush_fp_to_thread (current);
@@ -965,7 +959,7 @@ int handle_rt_signal32(unsigned long sig, struct k_sigaction *ka,/* Set up Signal Frame */ /* Put a Real Time Context onto stack */ - rt_sf =get_sigframe (ka, regs,sizeof (*rt_sf),1 ); + rt_sf =get_sigframe (ka,get_tm_stackpointer (regs),sizeof (*rt_sf),1 ); addr = rt_sf;if (unlikely (rt_sf ==NULL )) goto badframe;
@@ -1403,7 +1397,7 @@ int handle_signal32(unsigned long sig, struct k_sigaction *ka,unsigned long tramp;/* Set up Signal Frame */ - frame =get_sigframe (ka, regs,sizeof (*frame),1 ); + frame =get_sigframe (ka,get_tm_stackpointer (regs),sizeof (*frame),1 );if (unlikely (frame ==NULL )) goto badframe; sc = (struct sigcontext __user *) &frame->sctx;
arch/powerpc/kernel/signal_64.c +7 -16
@@ -154,11 +154,12 @@ static long setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs,* As above, but Transactional Memory is in use, so deliver sigcontexts * containing checkpointed and transactional register states. * -* To do this, we treclaim to gather both sets of registers and set up the -* 'normal' sigcontext registers with rolled-back register values such that a -* simple signal handler sees a correct checkpointed register state. -* If interested, a TM-aware sighandler can examine the transactional registers -* in the 2nd sigcontext to determine the real origin of the signal. +* To do this, we treclaim (done before entering here) to gather both sets of +* registers and set up the 'normal' sigcontext registers with rolled-back +* register values such that a simple signal handler sees a correct +* checkpointed register state. If interested, a TM-aware sighandler can +* examine the transactional registers in the 2nd sigcontext to determine the +* real origin of the signal. */ static long setup_tm_sigcontexts(struct sigcontext __user *sc, struct sigcontext __user *tm_sc,
@@ -184,16 +185,6 @@ static long setup_tm_sigcontexts(struct sigcontext __user *sc,BUG_ON (!MSR_TM_ACTIVE (regs->msr)); -/* tm_reclaim rolls back all reg states, saving checkpointed (older) -* GPRs to thread.ckpt_regs and (if used) FPRs to (newer) -* thread.transact_fp and/or VRs to (newer) thread.transact_vr. -* THEN we save out FP/VRs, if necessary, to the checkpointed (older) -* thread.fr[]/vr[]s. The transactional (newer) GPRs are on the -* stack, in *regs. -*/ -tm_enable (); -tm_reclaim (¤t->thread, msr,TM_CAUSE_SIGNAL ); -flush_fp_to_thread (current);#ifdef CONFIG_ALTIVEC
@@ -711,7 +702,7 @@ int handle_rt_signal64(int signr, struct k_sigaction *ka, siginfo_t *info,unsigned long newsp =0 ;long err =0 ; - frame =get_sigframe (ka, regs,sizeof (*frame),0 ); + frame =get_sigframe (ka,get_tm_stackpointer (regs),sizeof (*frame),0 );if (unlikely (frame ==NULL )) goto badframe;
arch/powerpc/kernel/traps.c +29 -0
@@ -52,6 +52,7 @@#ifdef CONFIG_PPC64 #include <asm/firmware.h> #include <asm/processor.h> +#include <asm/tm.h> #endif #include <asm/kexec.h> #include <asm/ppc-opcode.h>
@@ -913,6 +914,28 @@ static int emulate_isel(struct pt_regs *regs, u32 instword)return 0 ; } +#ifdef CONFIG_PPC_TRANSACTIONAL_MEM +static inline bool tm_abort_check (struct pt_regs *regs,int cause) +{ +/* If we're emulating a load/store in an active transaction, we cannot +* emulate it as the kernel operates in transaction suspended context. +* We need to abort the transaction. This creates a persistent TM +* abort so tell the user what caused it with a new code. +*/ +if (MSR_TM_TRANSACTIONAL (regs->msr)) { +tm_enable (); +tm_abort (cause); +return true; + } +return false; +} +#else +static inline bool tm_abort_check (struct pt_regs *regs,int reason) +{ +return false; +} +#endif +static int emulate_instruction (struct pt_regs *regs) {u32 instword;
@@ -952,6 +975,9 @@ static int emulate_instruction(struct pt_regs *regs)/* Emulate load/store string insn. */ if ((instword &PPC_INST_STRING_GEN_MASK ) ==PPC_INST_STRING ) { +if (tm_abort_check (regs, +TM_CAUSE_EMULATE |TM_CAUSE_PERSISTENT )) +return -EINVAL ;PPC_WARN_EMULATED (string, regs);return emulate_string_inst (regs, instword); }
@@ -1124,6 +1150,9 @@ void alignment_exception(struct pt_regs *regs)if (!arch_irq_disabled_regs (regs))local_irq_enable (); +if (tm_abort_check (regs,TM_CAUSE_ALIGNMENT |TM_CAUSE_PERSISTENT )) + goto bail; +/* we don't implement logging of alignment exceptions */ if (!(current->thread.align_ctl &PR_UNALIGN_SIGBUS )) fixed =fix_alignment (regs);
arch/powerpc/platforms/pseries/Kconfig +2 -0
@@ -18,6 +18,8 @@ config PPC_PSERIES select PPC_PCI_CHOICE if EXPERT select ZLIB_DEFLATE select PPC_DOORBELL + select HOTPLUG if SMP + select HOTPLUG_CPU if SMP default y config PPC_SPLPAR
arch/s390/include/asm/pgtable.h +11 -4
@@ -637,7 +637,7 @@ static inline pgste_t pgste_update_all(pte_t *ptep, pgste_t pgste)unsigned long address, bits;unsigned char skey; -if (!pte_present (*ptep)) +if (pte_val (*ptep) & _PAGE_INVALID)return pgste; address =pte_val (*ptep) &PAGE_MASK ; skey =page_get_storage_key (address);
@@ -671,7 +671,7 @@ static inline pgste_t pgste_update_young(pte_t *ptep, pgste_t pgste)#ifdef CONFIG_PGSTE int young; -if (!pte_present (*ptep)) +if (pte_val (*ptep) & _PAGE_INVALID)return pgste;/* Get referenced bit from storage key */ young =page_reset_referenced (pte_val (*ptep) &PAGE_MASK );
@@ -697,7 +697,7 @@ static inline void pgste_set_key(pte_t *ptep, pgste_t pgste, pte_t entry)unsigned long address;unsigned long okey, nkey; -if (!pte_present (entry)) +if (pte_val (entry) & _PAGE_INVALID)return ; address =pte_val (entry) &PAGE_MASK ; okey = nkey =page_get_storage_key (address);
@@ -1072,6 +1072,9 @@ static inline pte_t ptep_modify_prot_start(struct mm_struct *mm, pte = *ptep;if (!mm_exclusive (mm))__ptep_ipte (address, ptep); + +if (mm_has_pgste (mm)) + pgste =pgste_update_all (&pte, pgste);return pte; }
@@ -1079,9 +1082,13 @@ static inline void ptep_modify_prot_commit(struct mm_struct *mm,unsigned long address, pte_t *ptep, pte_t pte) { + pgste_t pgste; +if (mm_has_pgste (mm)) { + pgste = *(pgste_t *)(ptep +PTRS_PER_PTE ); +pgste_set_key (ptep, pgste, pte);pgste_set_pte (ptep, pte); -pgste_set_unlock (ptep, *(pgste_t *)(ptep +PTRS_PER_PTE )); +pgste_set_unlock (ptep, pgste); }else *ptep = pte; }
arch/x86/crypto/crc32-pclmul_asm.S +1 -1
@@ -241,6 +241,6 @@ fold_64: pand %xmm3, %xmm1 PCLMULQDQ 0x00, CONSTANT, %xmm1 pxor %xmm2, %xmm1 - pextrd $0x01, %xmm1, %eax + PEXTRD 0x01, %xmm1, %eax ret
arch/x86/include/asm/inst.h +72 -2
106 lines not on this page · raw message
arch/x86/kernel/head_64.S +4 -2
@@ -115,8 +115,10 @@ startup_64: movq %rdi, %rax shrq $PUD_SHIFT, %rax andl $(PTRS_PER_PUD-1), %eax - movq %rdx, (4096+0)(%rbx,%rax,8) - movq %rdx, (4096+8)(%rbx,%rax,8) + movq %rdx, 4096(%rbx,%rax,8) + incl %eax + andl $(PTRS_PER_PUD-1), %eax + movq %rdx, 4096(%rbx,%rax,8) addq $8192, %rbx movq %rdi, %rax
arch/x86/kernel/i387.c +5 -9
@@ -22,23 +22,19 @@/* * Were we in an interrupt that interrupted kernel mode? * -* For now, with eagerfpu we will return interrupted kernel FPU -* state as not-idle. TBD: Ideally we can change the return value -* to something like __thread_has_fpu(current). But we need to -* be careful of doing __thread_clear_has_fpu() before saving -* the FPU etc for supporting nested uses etc. For now, take -* the simple route! -* * On others, we can do a kernel_fpu_begin/end() pair *ONLY* if that * pair does nothing at all: the thread must not have fpu (so * that we don't try to save the FPU state), and TS must * be set (so that the clts/stts pair does nothing that is * visible in the interrupted kernel thread). +* +* Except for the eagerfpu case when we return 1 unless we've already +* been eager and saved the state in kernel_fpu_begin(). */ static inline bool interrupted_kernel_fpu_idle (void ) {if (use_eager_fpu ()) -return 0 ; +return __thread_has_fpu (current);return !__thread_has_fpu (current) && (read_cr0 () &X86_CR0_TS );
@@ -78,8 +74,8 @@ void __kernel_fpu_begin(void)struct task_struct *me = current;if (__thread_has_fpu (me)) { -__save_init_fpu (me);__thread_clear_has_fpu (me); +__save_init_fpu (me);/* We do 'stts()' in __kernel_fpu_end() */ }else if (!use_eager_fpu ()) {this_cpu_write (fpu_owner_task,NULL );
arch/x86/kvm/emulate.c +7 -2
@@ -1239,9 +1239,12 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt, ctxt->modrm_seg =VCPU_SREG_DS ;if (ctxt->modrm_mod ==3 ) { +int highbyte_regs = ctxt->rex_prefix ==0 ; + op->type =OP_REG ; op->bytes = (ctxt->d & ByteOp) ?1 : ctxt->op_bytes; - op->addr.reg =decode_register (ctxt, ctxt->modrm_rm, ctxt->d & ByteOp); + op->addr.reg =decode_register (ctxt, ctxt->modrm_rm, + highbyte_regs && (ctxt->d & ByteOp));if (ctxt->d & Sse) { op->type =OP_XMM ; op->bytes =16 ;
@@ -3987,7 +3990,8 @@ static const struct opcode twobyte_table[256] = {DI (ImplicitOps | Priv, invd),DI (ImplicitOps | Priv, wbinvd),N ,N ,N ,D (ImplicitOps | ModRM),N ,N ,/* 0x10 - 0x1F */ -N ,N ,N ,N ,N ,N ,N ,N ,D (ImplicitOps | ModRM),N ,N ,N ,N ,N ,N ,N , +N ,N ,N ,N ,N ,N ,N ,N , +D (ImplicitOps | ModRM),N ,N ,N ,N ,N ,N ,D (ImplicitOps | ModRM),/* 0x20 - 0x2F */ DIP (ModRM | DstMem | Priv | Op3264, cr_read, check_cr_read), DIP(ModRM | DstMem | Priv | Op3264, dr_read, check_dr_read),
@@ -4825,6 +4829,7 @@ twobyte_insn:case 0x08 :/* invd */ case 0x0d :/* GrpP (prefetch) */ case 0x18 :/* Grp16 (prefetch/nop) */ +case 0x1f :/* nop */ break ;case 0x20 :/* mov cr, reg */ ctxt->dst.val = ops->get_cr (ctxt, ctxt->modrm_reg);
drivers/acpi/Makefile +1 -1
@@ -24,7 +24,7 @@ acpi-y += nvs.o # Power management related files acpi-y += wakeup.o acpi-y += sleep.o -acpi-$(CONFIG_PM) += device_pm.o +acpi-y += device_pm.o acpi-$(CONFIG_ACPI_SLEEP) += proc.o
drivers/acpi/device_pm.c +64 -62
141 lines not on this page · raw message
drivers/acpi/video_detect.c +8 -0
@@ -164,6 +164,14 @@ static struct dmi_system_id video_detect_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "UL30VT"), }, }, + { + .callback = video_detect_force_vendor, + .ident = "Asus UL30A", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"), + }, + }, { }, };
drivers/ata/ata_piix.c +15 -0
@@ -151,6 +151,7 @@ enum piix_controller_ids { piix_pata_vmw,/* PIIX4 for VMware, spurious DMA_ERR */ ich8_sata_snb, ich8_2port_sata_snb, + ich8_2port_sata_byt, }; struct piix_map_db {
@@ -334,6 +335,9 @@ static const struct pci_device_id piix_pci_tbl[] = { { 0x8086, 0x8d60, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },/* SATA Controller IDE (Wellsburg) */ { 0x8086, 0x8d68, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata }, +/* SATA Controller IDE (BayTrail) */ + { 0x8086, 0x0F20, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_byt }, + { 0x8086, 0x0F21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_byt }, { } /* terminate list */ };
@@ -441,6 +445,7 @@ static const struct piix_map_db *piix_map_db_table[] = { [tolapai_sata] = &tolapai_map_db, [ich8_sata_snb] = &ich8_map_db, [ich8_2port_sata_snb] = &ich8_2port_map_db, + [ich8_2port_sata_byt] = &ich8_2port_map_db, };static struct pci_bits piix_enable_bits[] = {
@@ -1254,6 +1259,16 @@ static struct ata_port_info piix_port_info[] = { .udma_mask = ATA_UDMA6, .port_ops = &piix_sata_ops, }, + + [ich8_2port_sata_byt] = + { + .flags = PIIX_SATA_FLAGS | PIIX_FLAG_SIDPR | PIIX_FLAG_PIO16, + .pio_mask = ATA_PIO4, + .mwdma_mask = ATA_MWDMA2, + .udma_mask = ATA_UDMA6, + .port_ops = &piix_sata_ops, + }, + };#define AHCI_PCI_BAR 5
drivers/ata/libata-core.c +6 -0
@@ -1602,6 +1602,12 @@ unsigned ata_exec_internal_sg(struct ata_device *dev, qc->tf = *tf;if (cdb)memcpy (qc->cdb, cdb,ATAPI_CDB_LEN ); + +/* some SATA bridges need us to indicate data xfer direction */ +if (tf->protocol ==ATAPI_PROT_DMA && (dev->flags &ATA_DFLAG_DMADIR ) && + dma_dir ==DMA_FROM_DEVICE ) + qc->tf.feature |=ATAPI_DMADIR ; + qc->flags |=ATA_QCFLAG_RESULT_TF ; qc->dma_dir = dma_dir;if (dma_dir !=DMA_NONE ) {
drivers/ata/sata_rcar.c +12 -12
@@ -548,6 +548,7 @@ static void sata_rcar_bmdma_start(struct ata_queued_cmd *qc)/* start host DMA transaction */ dmactl =ioread32 (priv->base +ATAPI_CONTROL1_REG ); + dmactl &= ~ATAPI_CONTROL1_STOP ; dmactl |=ATAPI_CONTROL1_START ;iowrite32 (dmactl, priv->base +ATAPI_CONTROL1_REG ); }
@@ -617,17 +618,16 @@ static struct ata_port_operations sata_rcar_port_ops = { .bmdma_status = sata_rcar_bmdma_status, }; -static int sata_rcar_serr_interrupt (struct ata_port *ap) +static void sata_rcar_serr_interrupt (struct ata_port *ap) {struct sata_rcar_priv *priv = ap->host->private_data;struct ata_eh_info *ehi = &ap->link.eh_info;int freeze =0 ; -int handled =0 ;u32 serror; serror =ioread32 (priv->base +SCRSERR_REG );if (!serror) -return 0 ; +return ;DPRINTK ("SError @host_intr: 0x%x\n" , serror);
@@ -640,7 +640,6 @@ static int sata_rcar_serr_interrupt(struct ata_port *ap)ata_ehi_push_desc (ehi,"%s" ,"hotplug" ); freeze = serror &SERR_COMM_WAKE ?0 :1 ; - handled =1 ; }/* freeze or abort */
@@ -648,11 +647,9 @@ static int sata_rcar_serr_interrupt(struct ata_port *ap)ata_port_freeze (ap); elseata_port_abort (ap ); - -return handled; } -static int sata_rcar_ata_interrupt (struct ata_port *ap) +static void sata_rcar_ata_interrupt (struct ata_port *ap) {struct ata_queued_cmd *qc;int handled =0 ;
@@ -661,7 +658,9 @@ static int sata_rcar_ata_interrupt(struct ata_port *ap)if (qc) handled |=ata_bmdma_port_intr (ap, qc); -return handled; +/* be sure to clear ATA interrupt */ +if (!handled) +sata_rcar_check_status (ap); }static irqreturn_t sata_rcar_interrupt (int irq,void *dev_instance)
@@ -676,20 +675,21 @@ static irqreturn_t sata_rcar_interrupt(int irq, void *dev_instance)spin_lock_irqsave (&host->lock, flags); sataintstat =ioread32 (priv->base +SATAINTSTAT_REG ); + sataintstat &=SATA_RCAR_INT_MASK ;if (!sataintstat) goto done;/* ack */ -iowrite32 (sataintstat & ~SATA_RCAR_INT_MASK , - priv->base +SATAINTSTAT_REG ); +iowrite32 (~sataintstat &0x7ff , priv->base +SATAINTSTAT_REG ); ap = host->ports[0 ];if (sataintstat &SATAINTSTAT_ATA ) - handled |=sata_rcar_ata_interrupt (ap); +sata_rcar_ata_interrupt (ap);if (sataintstat &SATAINTSTAT_SERR ) - handled |=sata_rcar_serr_interrupt (ap); +sata_rcar_serr_interrupt (ap); + handled =1 ; done:spin_unlock_irqrestore (&host->lock, flags);
drivers/block/brd.c +2 -2
@@ -117,13 +117,13 @@ static struct page *brd_insert_page(struct brd_device *brd, sector_t sector)spin_lock (&brd->brd_lock); idx = sector >>PAGE_SECTORS_SHIFT ; + page->index = idx;if (radix_tree_insert (&brd->brd_pages, idx, page)) {__free_page (page); page =radix_tree_lookup (&brd->brd_pages, idx);BUG_ON (!page);BUG_ON (page->index != idx); - }else - page->index = idx; + }spin_unlock (&brd->brd_lock);radix_tree_preload_end ();
drivers/char/random.c +31 -23
76 lines not on this page · raw message
drivers/crypto/caam/caamalg.c +2 -2
@@ -1154,7 +1154,7 @@ static struct aead_edesc *aead_edesc_alloc(struct aead_request *req, dst_nents =sg_count (req->dst, req->cryptlen, &dst_chained); sgc =dma_map_sg_chained (jrdev, req->assoc, assoc_nents ? :1 , -DMA_BIDIRECTIONAL , assoc_chained); +DMA_TO_DEVICE , assoc_chained);if (likely (req->src == req->dst)) { sgc =dma_map_sg_chained (jrdev, req->src, src_nents ? :1 ,DMA_BIDIRECTIONAL , src_chained);
@@ -1336,7 +1336,7 @@ static struct aead_edesc *aead_giv_edesc_alloc(struct aead_givcrypt_request dst_nents =sg_count (req->dst, req->cryptlen, &dst_chained); sgc =dma_map_sg_chained (jrdev, req->assoc, assoc_nents ? :1 , -DMA_BIDIRECTIONAL , assoc_chained); +DMA_TO_DEVICE , assoc_chained);if (likely (req->src == req->dst)) { sgc =dma_map_sg_chained (jrdev, req->src, src_nents ? :1 ,DMA_BIDIRECTIONAL , src_chained);
drivers/gpu/drm/i915/i915_drv.c +35 -11
75 lines not on this page · raw message
drivers/gpu/drm/nouveau/core/subdev/device/nvc0.c +0 -2
@@ -138,7 +138,6 @@ nvc0_identify(struct nouveau_device *device) device->oclass[NVDEV_ENGINE_BSP ] = &nvc0_bsp_oclass; device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass; device->oclass[NVDEV_ENGINE_COPY0 ] = &nvc0_copy0_oclass; - device->oclass[NVDEV_ENGINE_COPY1 ] = &nvc0_copy1_oclass; device->oclass[NVDEV_ENGINE_DISP ] = &nva3_disp_oclass;break ;case 0xce :
@@ -225,7 +224,6 @@ nvc0_identify(struct nouveau_device *device) device->oclass[NVDEV_ENGINE_BSP ] = &nvc0_bsp_oclass; device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass; device->oclass[NVDEV_ENGINE_COPY0 ] = &nvc0_copy0_oclass; - device->oclass[NVDEV_ENGINE_COPY1 ] = &nvc0_copy1_oclass; device->oclass[NVDEV_ENGINE_DISP ] = &nva3_disp_oclass;break ;case 0xc8 :
drivers/gpu/drm/radeon/radeon_device.c +9 -10
@@ -435,18 +435,17 @@ bool radeon_card_posted(struct radeon_device *rdev)return false;/* first check CRTCs */ -if (ASIC_IS_DCE41 (rdev)) { +if (ASIC_IS_DCE4 (rdev)) { reg =RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC0_REGISTER_OFFSET ) |RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC1_REGISTER_OFFSET ); -if (reg &EVERGREEN_CRTC_MASTER_EN ) -return true; - }else if (ASIC_IS_DCE4 (rdev)) { - reg =RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC0_REGISTER_OFFSET ) | -RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC1_REGISTER_OFFSET ) | -RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC2_REGISTER_OFFSET ) | -RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC3_REGISTER_OFFSET ) | -RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC4_REGISTER_OFFSET ) | -RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC5_REGISTER_OFFSET ); +if (rdev->num_crtc >=4 ) { + reg |=RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC2_REGISTER_OFFSET ) | +RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC3_REGISTER_OFFSET ); + } +if (rdev->num_crtc >=6 ) { + reg |=RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC4_REGISTER_OFFSET ) | +RREG32 (EVERGREEN_CRTC_CONTROL +EVERGREEN_CRTC5_REGISTER_OFFSET ); + }if (reg &EVERGREEN_CRTC_MASTER_EN )return true; }else if (ASIC_IS_AVIVO (rdev)) {
drivers/gpu/drm/radeon/si.c +1 -1
@@ -1645,7 +1645,7 @@ static void si_gpu_init(struct radeon_device *rdev)default : rdev->config.si.max_shader_engines =1 ; rdev->config.si.max_tile_pipes =4 ; - rdev->config.si.max_cu_per_sh =2 ; + rdev->config.si.max_cu_per_sh =5 ; rdev->config.si.max_sh_per_se =2 ; rdev->config.si.max_backends_per_se =4 ; rdev->config.si.max_texture_channel_caches =4 ;
drivers/hv/channel_mgmt.c +1 -1
@@ -318,7 +318,7 @@ static u32 get_vp_index(uuid_le *type_guid)return 0 ; } cur_cpu = (++next_vp % max_cpus); -return cur_cpu; +return hv_context.vp_index[cur_cpu]; }/*
drivers/infiniband/ulp/iser/iser_memory.c +2 -1
@@ -416,8 +416,9 @@ int iser_reg_rdma_mem(struct iscsi_iser_task *iser_task,for (i=0 ; i<ib_conn->page_vec->length ; i++)iser_err ("page_vec[%d] = 0x%llx\n" , i, (unsigned long long ) ib_conn->page_vec->pages[i]); -return err; } +if (err) +return err; }return 0 ; }
drivers/infiniband/ulp/srpt/ib_srpt.c +24 -8
@@ -2227,6 +2227,27 @@ static void srpt_close_ch(struct srpt_rdma_ch *ch) }/** +* srpt_shutdown_session() - Whether or not a session may be shut down. +*/ +static int srpt_shutdown_session (struct se_session *se_sess) +{ +struct srpt_rdma_ch *ch = se_sess->fabric_sess_ptr; +unsigned long flags; + +spin_lock_irqsave (&ch->spinlock, flags); +if (ch->in_shutdown) { +spin_unlock_irqrestore (&ch->spinlock, flags); +return true; + } + + ch->in_shutdown = true; +target_sess_cmd_list_set_waiting (se_sess); +spin_unlock_irqrestore (&ch->spinlock, flags); + +return true; +} + +/** * srpt_drain_channel() - Drain a channel by resetting the IB queue pair. * @cm_id: Pointer to the CM ID of the channel to be drained. *
@@ -2264,6 +2285,9 @@ static void srpt_drain_channel(struct ib_cm_id *cm_id)spin_unlock_irq (&sdev->spinlock);if (do_reset) { +if (ch->sess) +srpt_shutdown_session (ch->sess); + ret =srpt_ch_qp_err (ch);if (ret <0 ) printk(KERN_ERR "Setting queue pair in error state"
@@ -3467,14 +3491,6 @@ static void srpt_release_cmd(struct se_cmd *se_cmd) }/** -* srpt_shutdown_session() - Whether or not a session may be shut down. -*/ -static int srpt_shutdown_session (struct se_session *se_sess) -{ -return true; -} - -/** * srpt_close_session() - Forcibly close a session. * * Callback function invoked by the TCM core to clean up sessions associated
drivers/infiniband/ulp/srpt/ib_srpt.h +1 -0
@@ -325,6 +325,7 @@ struct srpt_rdma_ch {u8 sess_name[36 ];struct work_struct release_work;struct completion *release_done; +bool in_shutdown; };/**
drivers/input/touchscreen/egalax_ts.c +1 -1
@@ -216,7 +216,7 @@ static int egalax_ts_probe(struct i2c_client *client,input_set_abs_params (input_dev,ABS_MT_POSITION_X ,0 ,EGALAX_MAX_X ,0 ,0 );input_set_abs_params (input_dev, -ABS_MT_POSITION_X ,0 ,EGALAX_MAX_Y ,0 ,0 ); +ABS_MT_POSITION_Y ,0 ,EGALAX_MAX_Y ,0 ,0 );input_mt_init_slots (input_dev,MAX_SUPPORT_POINTS ,0 );input_set_drvdata (input_dev, ts);
drivers/iommu/amd_iommu.c +26 -5
@@ -700,11 +700,23 @@ retry:static void iommu_poll_events (struct amd_iommu *iommu) { -u32 head, tail; +u32 head, tail, status;unsigned long flags;spin_lock_irqsave (&iommu->lock, flags); +/* enable event interrupts again */ +do { +/* +* Workaround for Erratum ERBT1312 +* Clearing the EVT_INT bit may race in the hardware, so read +* it again and make sure it was really cleared +*/ + status =readl (iommu->mmio_base +MMIO_STATUS_OFFSET ); +writel (MMIO_STATUS_EVT_INT_MASK , + iommu->mmio_base +MMIO_STATUS_OFFSET ); + }while (status &MMIO_STATUS_EVT_INT_MASK ); + head =readl (iommu->mmio_base +MMIO_EVT_HEAD_OFFSET ); tail =readl (iommu->mmio_base +MMIO_EVT_TAIL_OFFSET );
@@ -741,16 +753,25 @@ static void iommu_handle_ppr_entry(struct amd_iommu *iommu, u64 *raw)static void iommu_poll_ppr_log (struct amd_iommu *iommu) {unsigned long flags; -u32 head, tail; +u32 head, tail, status;if (iommu->ppr_log ==NULL )return ; -/* enable ppr interrupts again */ -writel (MMIO_STATUS_PPR_INT_MASK , iommu->mmio_base +MMIO_STATUS_OFFSET ); -spin_lock_irqsave (&iommu->lock, flags); +/* enable ppr interrupts again */ +do { +/* +* Workaround for Erratum ERBT1312 +* Clearing the PPR_INT bit may race in the hardware, so read +* it again and make sure it was really cleared +*/ + status =readl (iommu->mmio_base +MMIO_STATUS_OFFSET ); +writel (MMIO_STATUS_PPR_INT_MASK , + iommu->mmio_base +MMIO_STATUS_OFFSET ); + }while (status &MMIO_STATUS_PPR_INT_MASK ); + head =readl (iommu->mmio_base +MMIO_PPR_HEAD_OFFSET ); tail =readl (iommu->mmio_base +MMIO_PPR_TAIL_OFFSET );
drivers/iommu/amd_iommu_types.h +1 -0
@@ -99,6 +99,7 @@#define PASID_MASK 0x000fffff/* MMIO status bits */ +#define MMIO_STATUS_EVT_INT_MASK (1 << 1)#define MMIO_STATUS_COM_WAIT_INT_MASK (1 << 2)#define MMIO_STATUS_PPR_INT_MASK (1 << 6)
drivers/leds/leds-gpio.c +5 -4
@@ -107,6 +107,10 @@ static int create_gpio_led(const struct gpio_led *template,return 0 ; } + ret =devm_gpio_request (parent, template->gpio, template->name); +if (ret <0 ) +return ret; + led_dat->cdev.name = template->name; led_dat->cdev.default_trigger = template->default_trigger; led_dat->gpio = template->gpio;
@@ -126,10 +130,7 @@ static int create_gpio_led(const struct gpio_led *template,if (!template->retain_state_suspended) led_dat->cdev.flags |=LED_CORE_SUSPENDRESUME ; - ret =devm_gpio_request_one (parent, template->gpio, - (led_dat->active_low ^ state) ? -GPIOF_OUT_INIT_HIGH :GPIOF_OUT_INIT_LOW , - template->name); + ret =gpio_direction_output (led_dat->gpio, led_dat->active_low ^ state);if (ret <0 )return ret;
drivers/leds/leds-ot200.c +7 -7
@@ -47,37 +47,37 @@ static struct ot200_led leds[] = { { .name = "led_1", .port = 0x49, - .mask = BIT(7), + .mask = BIT(6), }, { .name = "led_2", .port = 0x49, - .mask = BIT(6), + .mask = BIT(5), }, { .name = "led_3", .port = 0x49, - .mask = BIT(5), + .mask = BIT(4), }, { .name = "led_4", .port = 0x49, - .mask = BIT(4), + .mask = BIT(3), }, { .name = "led_5", .port = 0x49, - .mask = BIT(3), + .mask = BIT(2), }, { .name = "led_6", .port = 0x49, - .mask = BIT(2), + .mask = BIT(1), }, { .name = "led_7", .port = 0x49, - .mask = BIT(1), + .mask = BIT(0), } };
drivers/net/can/usb/kvaser_usb.c +43 -21
96 lines not on this page · raw message
drivers/net/ethernet/broadcom/tg3.c +58 -12
125 lines not on this page · raw message
drivers/net/ethernet/broadcom/tg3.h +3 -2
@@ -1422,7 +1422,8 @@#define TG3_LSO_RD_DMA_CRPTEN_CTRL 0x00004910#define TG3_LSO_RD_DMA_CRPTEN_CTRL_BLEN_BD_4K 0x00030000#define TG3_LSO_RD_DMA_CRPTEN_CTRL_BLEN_LSO_4K 0x000c0000 -#define TG3_LSO_RD_DMA_TX_LENGTH_WA 0x02000000 +#define TG3_LSO_RD_DMA_TX_LENGTH_WA_5719 0x02000000 +#define TG3_LSO_RD_DMA_TX_LENGTH_WA_5720 0x00200000/* 0x4914 --> 0x4be0 unused */ #define TG3_NUM_RDMA_CHANNELS 4
@@ -3043,7 +3044,7 @@ enum TG3_FLAGS {TG3_FLAG_APE_HAS_NCSI ,TG3_FLAG_TX_TSTAMP_EN ,TG3_FLAG_4K_FIFO_LIMIT , -TG3_FLAG_5719_RDMA_BUG , +TG3_FLAG_5719_5720_RDMA_BUG ,TG3_FLAG_RESET_TASK_PENDING ,TG3_FLAG_PTP_CAPABLE , TG3_FLAG_5705_PLUS,
drivers/net/wireless/ath/ath9k/ar9003_calib.c +1 -1
@@ -965,7 +965,7 @@ static void ar9003_hw_do_manual_peak_cal(struct ath_hw *ah, {int i; -if (!AR_SREV_9462 (ah) && !AR_SREV_9565 (ah)) +if (!AR_SREV_9462 (ah) && !AR_SREV_9565 (ah) && !AR_SREV_9485 (ah))return ;for (i =0 ; i <AR9300_MAX_CHAINS ; i++) {
drivers/net/wireless/ath/ath9k/ar9003_eeprom.h +6 -3
@@ -68,13 +68,16 @@#define AR9300_BASE_ADDR 0x3ff#define AR9300_BASE_ADDR_512 0x1ff -#define AR9300_OTP_BASE (AR_SREV_9340(ah) ? 0x30000 : 0x14000) -#define AR9300_OTP_STATUS (AR_SREV_9340(ah) ? 0x30018 : 0x15f18) +#define AR9300_OTP_BASE \ + ((AR_SREV_9340(ah) || AR_SREV_9550(ah)) ? 0x30000 : 0x14000) +#define AR9300_OTP_STATUS \ + ((AR_SREV_9340(ah) || AR_SREV_9550(ah)) ? 0x30018 : 0x15f18)#define AR9300_OTP_STATUS_TYPE 0x7#define AR9300_OTP_STATUS_VALID 0x4#define AR9300_OTP_STATUS_ACCESS_BUSY 0x2#define AR9300_OTP_STATUS_SM_BUSY 0x1 -#define AR9300_OTP_READ_DATA (AR_SREV_9340(ah) ? 0x3001c : 0x15f1c) +#define AR9300_OTP_READ_DATA \ + ((AR_SREV_9340(ah) || AR_SREV_9550(ah)) ? 0x3001c : 0x15f1c)enum targetPowerHTRates {HT_TARGET_RATE_0_8_16 ,
drivers/net/wireless/ath/ath9k/ar9485_initvals.h +1 -1
@@ -1020,7 +1020,7 @@ static const u32 ar9485_1_1_baseband_postamble[][5] = { {0x0000a284, 0x00000000, 0x00000000, 0x000002a0, 0x000002a0}, {0x0000a288, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, {0x0000a28c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, - {0x0000a2c4, 0x00158d18, 0x00158d18, 0x00158d18, 0x00158d18}, + {0x0000a2c4, 0x00158d18, 0x00158d18, 0x00058d18, 0x00058d18}, {0x0000a2d0, 0x00071981, 0x00071981, 0x00071982, 0x00071982}, {0x0000a2d8, 0xf999a83a, 0xf999a83a, 0xf999a83a, 0xf999a83a}, {0x0000a358, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
drivers/net/wireless/ath/ath9k/debug.c +8 -0
@@ -2003,6 +2003,14 @@ void ath9k_get_et_stats(struct ieee80211_hw *hw,WARN_ON (i !=ATH9K_SSTATS_LEN ); } +void ath9k_deinit_debug (struct ath_softc *sc) +{ +if (config_enabled (CONFIG_ATH9K_DEBUGFS ) && sc->rfs_chan_spec_scan) { +relay_close (sc->rfs_chan_spec_scan); + sc->rfs_chan_spec_scan =NULL ; + } +} +int ath9k_init_debug (struct ath_hw *ah) {struct ath_common *common =ath9k_hw_common (ah);
drivers/net/wireless/ath/ath9k/debug.h +5 -0
@@ -302,6 +302,7 @@ struct ath9k_debug { };int ath9k_init_debug (struct ath_hw *ah); +void ath9k_deinit_debug (struct ath_softc *sc);void ath_debug_stat_interrupt (struct ath_softc *sc,enum ath9k_int status); void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
@@ -337,6 +338,10 @@ static inline int ath9k_init_debug(struct ath_hw *ah)return 0 ; } +static inline void ath9k_deinit_debug (struct ath_softc *sc) +{ +} +static inline void ath_debug_stat_interrupt (struct ath_softc *sc,enum ath9k_int status) {
drivers/net/wireless/ath/ath9k/init.c +4 -6
@@ -885,7 +885,7 @@ int ath9k_init_device(u16 devid, struct ath_softc *sc,if (!ath_is_world_regd (reg)) { error =regulatory_hint (hw->wiphy, reg->alpha2);if (error) - goto unregister; + goto debug_cleanup; }ath_init_leds (sc);
@@ -893,6 +893,8 @@ int ath9k_init_device(u16 devid, struct ath_softc *sc,return 0 ; +debug_cleanup: +ath9k_deinit_debug (sc); unregister:ieee80211_unregister_hw (hw); rx_cleanup:
@@ -921,11 +923,6 @@ static void ath9k_deinit_softc(struct ath_softc *sc) sc->dfs_detector->exit (sc->dfs_detector);ath9k_eeprom_release (sc); - -if (config_enabled (CONFIG_ATH9K_DEBUGFS ) && sc->rfs_chan_spec_scan) { -relay_close (sc->rfs_chan_spec_scan); - sc->rfs_chan_spec_scan =NULL ; - } }void ath9k_deinit_device (struct ath_softc *sc)
@@ -939,6 +936,7 @@ void ath9k_deinit_device(struct ath_softc *sc)ath9k_ps_restore (sc); +ath9k_deinit_debug (sc);ieee80211_unregister_hw (hw);ath_rx_cleanup (sc);ath9k_deinit_softc (sc);
drivers/net/wireless/iwlwifi/dvm/sta.c +1 -1
@@ -735,7 +735,7 @@ void iwl_restore_stations(struct iwl_priv *priv, struct iwl_rxon_context *ctx)memcpy (&lq, priv->stations[i].lq,sizeof (struct iwl_link_quality_cmd )); -if (!memcmp (&lq, &zero_lq,sizeof (lq))) +if (memcmp (&lq, &zero_lq,sizeof (lq))) send_lq = true; }spin_unlock_bh (&priv->sta_lock);
drivers/net/wireless/iwlwifi/mvm/fw-api.h +27 -0
@@ -165,6 +165,8 @@ enum {REPLY_DEBUG_CMD =0xf0 ,DEBUG_LOG_MSG =0xf7 , +MCAST_FILTER_CMD =0xd0 , +/* D3 commands/notifications */ D3_CONFIG_CMD =0xd3 , PROT_OFFLOAD_CONFIG_CMD = 0xd4,
@@ -951,4 +953,29 @@ struct iwl_set_calib_default_cmd { u8 data[0]; } __packed;/* PHY_CALIB_OVERRIDE_VALUES_S */ +#define MAX_PORT_ID_NUM 2 + +/** +* struct iwl_mcast_filter_cmd - configure multicast filter. +* @filter_own: Set 1 to filter out multicast packets sent by station itself +* @port_id: Multicast MAC addresses array specifier. This is a strange way +* to identify network interface adopted in host-device IF. +* It is used by FW as index in array of addresses. This array has +* MAX_PORT_ID_NUM members. +* @count: Number of MAC addresses in the array +* @pass_all: Set 1 to pass all multicast packets. +* @bssid: current association BSSID. +* @addr_list: Place holder for array of MAC addresses. +* IMPORTANT: add padding if necessary to ensure DWORD alignment. +*/ +struct iwl_mcast_filter_cmd { +u8 filter_own; +u8 port_id; +u8 count; +u8 pass_all; +u8 bssid[6 ]; +u8 reserved[2 ]; +u8 addr_list[0 ]; +} __packed;/* MCAST_FILTERING_CMD_API_S_VER_1 */ +#endif /* __fw_api_h__ */
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c +8 -4
@@ -586,10 +586,12 @@ static int iwl_mvm_mac_ctxt_send_cmd(struct iwl_mvm *mvm,*/ static void iwl_mvm_mac_ctxt_cmd_fill_sta (struct iwl_mvm *mvm,struct ieee80211_vif *vif, -struct iwl_mac_data_sta *ctxt_sta) +struct iwl_mac_data_sta *ctxt_sta, +bool force_assoc_off) {/* We need the dtim_period to set the MAC as associated */ -if (vif->bss_conf.assoc && vif->bss_conf.dtim_period) { +if (vif->bss_conf.assoc && vif->bss_conf.dtim_period && + !force_assoc_off) {u32 dtim_offs;/*
@@ -652,7 +654,8 @@ static int iwl_mvm_mac_ctxt_cmd_station(struct iwl_mvm *mvm,iwl_mvm_mac_ctxt_cmd_common (mvm, vif, &cmd, action);/* Fill the data specific for station mode */ -iwl_mvm_mac_ctxt_cmd_fill_sta (mvm, vif, &cmd.sta); +iwl_mvm_mac_ctxt_cmd_fill_sta (mvm, vif, &cmd.sta, + action ==FW_CTXT_ACTION_ADD );return iwl_mvm_mac_ctxt_send_cmd (mvm, &cmd); }
@@ -669,7 +672,8 @@ static int iwl_mvm_mac_ctxt_cmd_p2p_client(struct iwl_mvm *mvm,iwl_mvm_mac_ctxt_cmd_common (mvm, vif, &cmd, action);/* Fill the data specific for station mode */ -iwl_mvm_mac_ctxt_cmd_fill_sta (mvm, vif, &cmd.p2p_sta.sta); +iwl_mvm_mac_ctxt_cmd_fill_sta (mvm, vif, &cmd.p2p_sta.sta, + action ==FW_CTXT_ACTION_ADD ); cmd.p2p_sta.ctwin =cpu_to_le32 (vif->bss_conf.p2p_ctwindow);
drivers/net/wireless/iwlwifi/mvm/mac80211.c +17 -14
@@ -82,15 +82,6 @@ static const struct ieee80211_iface_limit iwl_mvm_limits[] = { .types = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP), }, - { - .max = 1, - .types = BIT(NL80211_IFTYPE_P2P_CLIENT) | - BIT(NL80211_IFTYPE_P2P_GO), - }, - { - .max = 1, - .types = BIT(NL80211_IFTYPE_P2P_DEVICE), - }, }; static const struct ieee80211_iface_combination iwl_mvm_iface_combinations[] = {
@@ -136,10 +127,7 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm) hw->chanctx_data_size =sizeof (struct iwl_mvm_phy_ctxt ); hw->wiphy->interface_modes =BIT (NL80211_IFTYPE_STATION ) | -BIT (NL80211_IFTYPE_P2P_CLIENT ) | -BIT (NL80211_IFTYPE_AP ) | -BIT (NL80211_IFTYPE_P2P_GO ) | -BIT (NL80211_IFTYPE_P2P_DEVICE ); +BIT (NL80211_IFTYPE_AP ); hw->wiphy->flags |=WIPHY_FLAG_CUSTOM_REGULATORY | WIPHY_FLAG_DISABLE_BEACON_HINTS |
@@ -657,6 +645,20 @@ static void iwl_mvm_configure_filter(struct ieee80211_hw *hw, *total_flags =0 ; } +static int iwl_mvm_configure_mcast_filter (struct iwl_mvm *mvm, +struct ieee80211_vif *vif) +{ +struct iwl_mcast_filter_cmd mcast_filter_cmd = { + .pass_all =1 , + }; + +memcpy (mcast_filter_cmd.bssid, vif->bss_conf.bssid,ETH_ALEN ); + +return iwl_mvm_send_cmd_pdu (mvm,MCAST_FILTER_CMD ,CMD_SYNC , +sizeof (mcast_filter_cmd), + &mcast_filter_cmd); +} + static void iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct ieee80211_bss_conf *bss_conf,
@@ -677,6 +679,7 @@ static void iwl_mvm_bss_info_changed_station(struct iwl_mvm *mvm,IWL_ERR (mvm,"failed to update quotas\n" );return ; } +iwl_mvm_configure_mcast_filter (mvm, vif); }else if (mvmvif->ap_sta_id !=IWL_MVM_STATION_COUNT ) {/* remove AP station now that the MAC is unassoc */ ret =iwl_mvm_rm_sta_id (mvm, vif, mvmvif->ap_sta_id);
@@ -886,7 +889,7 @@ static void iwl_mvm_mac_sta_notify(struct ieee80211_hw *hw,switch (cmd) {case STA_NOTIFY_SLEEP : -if (atomic_read (&mvmsta->pending_frames) >0 ) +if (atomic_read (&mvm->pending_frames[mvmsta->sta_id]) >0 )ieee80211_sta_block_awake (hw, sta, true);/* * The fw updates the STA to be asleep. Tx packets on the Tx
drivers/net/wireless/iwlwifi/mvm/mvm.h +1 -0
@@ -293,6 +293,7 @@ struct iwl_mvm {struct ieee80211_sta __rcu *fw_id_to_mac_id[IWL_MVM_STATION_COUNT ];struct work_struct sta_drained_wk;unsigned long sta_drained[BITS_TO_LONGS (IWL_MVM_STATION_COUNT )]; +atomic_t pending_frames[IWL_MVM_STATION_COUNT ];/* configured by mac80211 */ u32 rts_threshold;
drivers/net/wireless/iwlwifi/mvm/ops.c +1 -0
@@ -293,6 +293,7 @@ static const char *iwl_mvm_cmd_strings[REPLY_MAX] = {CMD (NET_DETECT_PROFILES_CMD ),CMD (NET_DETECT_HOTSPOTS_CMD ),CMD (NET_DETECT_HOTSPOTS_QUERY_CMD ), + CMD(MCAST_FILTER_CMD), };#undef CMD
drivers/net/wireless/iwlwifi/mvm/scan.c +6 -0
@@ -298,6 +298,12 @@ int iwl_mvm_scan_request(struct iwl_mvm *mvm,else cmd->type =cpu_to_le32 (SCAN_TYPE_FORCED ); +/* +* TODO: This is a WA due to a bug in the FW AUX framework that does not +* properly handle time events that fail to be scheduled +*/ + cmd->type =cpu_to_le32 (SCAN_TYPE_FORCED ); + cmd->repeats =cpu_to_le32 (1 );/*
drivers/net/wireless/iwlwifi/mvm/sta.c +10 -3
@@ -172,7 +172,7 @@ int iwl_mvm_add_sta(struct iwl_mvm *mvm, mvm_sta->max_agg_bufsize =LINK_QUAL_AGG_FRAME_LIMIT_DEF ;/* HW restart, don't assume the memory has been zeroed */ -atomic_set (&mvm_sta->pending_frames,0 ); +atomic_set (&mvm->pending_frames[sta_id],0 ); mvm_sta->tid_disable_agg =0 ; mvm_sta->tfd_queue_msk =0 ;for (i =0 ; i <IEEE80211_NUM_ACS ; i++)
@@ -360,14 +360,21 @@ int iwl_mvm_rm_sta(struct iwl_mvm *mvm, }/* +* Make sure that the tx response code sees the station as -EBUSY and +* calls the drain worker. +*/ +spin_lock_bh (&mvm_sta->lock); +/* * There are frames pending on the AC queues for this station. * We need to wait until all the frames are drained... */ -if (atomic_read (&mvm_sta->pending_frames)) { - ret =iwl_mvm_drain_sta (mvm, mvm_sta, true); +if (atomic_read (&mvm->pending_frames[mvm_sta->sta_id])) {rcu_assign_pointer (mvm->fw_id_to_mac_id[mvm_sta->sta_id],ERR_PTR (-EBUSY )); +spin_unlock_bh (&mvm_sta->lock); + ret =iwl_mvm_drain_sta (mvm, mvm_sta, true); }else { +spin_unlock_bh (&mvm_sta->lock); ret =iwl_mvm_rm_sta_common (mvm, mvm_sta->sta_id);rcu_assign_pointer (mvm->fw_id_to_mac_id[mvm_sta->sta_id],NULL ); }
drivers/net/wireless/iwlwifi/mvm/sta.h +0 -2
@@ -273,7 +273,6 @@ struct iwl_mvm_tid_data {* @max_agg_bufsize: the maximal size of the AGG buffer for this station * @lock: lock to protect the whole struct. Since %tid_data is access from Tx * and from Tx response flow, it needs a spinlock. -* @pending_frames: number of frames for this STA on the shared Tx queues. * @tid_data: per tid data. Look at %iwl_mvm_tid_data. * * When mac80211 creates a station it reserves some space (hw->sta_data_size)
@@ -288,7 +287,6 @@ struct iwl_mvm_sta {u16 tid_disable_agg;u8 max_agg_bufsize;spinlock_t lock; -atomic_t pending_frames;struct iwl_mvm_tid_data tid_data[IWL_MAX_TID_COUNT ];struct iwl_lq_sta lq_sta;struct ieee80211_vif *vif;
drivers/net/wireless/iwlwifi/mvm/tx.c +36 -12
61 lines not on this page · raw message
drivers/net/wireless/mac80211_hwsim.c +1 -3
@@ -2118,7 +2118,6 @@ static const struct ieee80211_iface_limit hwsim_if_limits[] = {#endif BIT (NL80211_IFTYPE_AP ) | BIT(NL80211_IFTYPE_P2P_GO) }, - { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_DEVICE) }, }; static struct ieee80211_iface_combination hwsim_if_comb = {
@@ -2230,8 +2229,7 @@ static int __init init_mac80211_hwsim(void)BIT (NL80211_IFTYPE_P2P_CLIENT ) |BIT (NL80211_IFTYPE_P2P_GO ) |BIT (NL80211_IFTYPE_ADHOC ) | -BIT (NL80211_IFTYPE_MESH_POINT ) | -BIT (NL80211_IFTYPE_P2P_DEVICE ); +BIT (NL80211_IFTYPE_MESH_POINT ); hw->flags =IEEE80211_HW_MFP_CAPABLE | IEEE80211_HW_SIGNAL_DBM |
drivers/net/xen-netback/netback.c +256 -55
477 lines not on this page · raw message
drivers/net/xen-netfront.c +15 -2
@@ -36,7 +36,7 @@#include <linux/skbuff.h> #include <linux/ethtool.h> #include <linux/if_ether.h> -#include <linux/tcp.h> +#include <net/tcp.h> #include <linux/udp.h> #include <linux/moduleparam.h> #include <linux/mm.h>
@@ -548,6 +548,16 @@ static int xennet_start_xmit(struct sk_buff *skb, struct net_device *dev)unsigned int len =skb_headlen (skb);unsigned long flags; +/* If skb->len is too big for wire format, drop skb and alert +* user about misconfiguration. +*/ +if (unlikely (skb->len >XEN_NETIF_MAX_TX_SIZE )) { +net_alert_ratelimited ( +"xennet: skb->len = %u, too big for wire format\n" , + skb->len); + goto drop; + } + slots =DIV_ROUND_UP (offset + len,PAGE_SIZE ) +xennet_count_skb_frag_slots (skb);if (unlikely (slots >MAX_SKB_FRAGS +1 )) {
@@ -1064,7 +1074,8 @@ err:static int xennet_change_mtu (struct net_device *dev,int mtu) { -int max =xennet_can_sg (dev) ?65535 -ETH_HLEN :ETH_DATA_LEN ; +int max =xennet_can_sg (dev) ? +XEN_NETIF_MAX_TX_SIZE -MAX_TCP_HEADER :ETH_DATA_LEN ;if (mtu > max)return -EINVAL ;
@@ -1368,6 +1379,8 @@ static struct net_device *xennet_create_dev(struct xenbus_device *dev)SET_ETHTOOL_OPS (netdev, &xennet_ethtool_ops);SET_NETDEV_DEV (netdev, &dev->dev); +netif_set_gso_max_size (netdev,XEN_NETIF_MAX_TX_SIZE -MAX_TCP_HEADER ); + np->netdev = netdev;netif_carrier_off (netdev);
drivers/rapidio/devices/tsi721.c +12 -0
@@ -471,6 +471,10 @@ static irqreturn_t tsi721_irqhandler(int irq, void *ptr)u32 intval;u32 ch_inte; +/* For MSI mode disable all device-level interrupts */ +if (priv->flags &TSI721_USING_MSI ) +iowrite32 (0 , priv->regs +TSI721_DEV_INTE ); + dev_int =ioread32 (priv->regs +TSI721_DEV_INT );if (!dev_int)return IRQ_NONE ;
@@ -560,6 +564,14 @@ static irqreturn_t tsi721_irqhandler(int irq, void *ptr) } }#endif + +/* For MSI mode re-enable device-level interrupts */ +if (priv->flags &TSI721_USING_MSI ) { + dev_int =TSI721_DEV_INT_SR2PC_CH |TSI721_DEV_INT_SRIO | +TSI721_DEV_INT_SMSG_CH |TSI721_DEV_INT_BDMA_CH ; +iowrite32 (dev_int, priv->regs +TSI721_DEV_INTE ); + } +return IRQ_HANDLED ; }
drivers/regulator/palmas-regulator.c +1 -1
@@ -677,7 +677,7 @@ static int palmas_probe(struct platform_device *pdev) pmic->desc[id].vsel_mask =SMPS10_VSEL ; pmic->desc[id].enable_reg =PALMAS_BASE_TO_REG (PALMAS_SMPS_BASE , -PALMAS_SMPS10_STATUS ); +PALMAS_SMPS10_CTRL ); pmic->desc[id].enable_mask =SMPS10_BOOST_EN ; pmic->desc[id].min_uV =3750000 ; pmic->desc[id].uV_step =1250000 ;
drivers/scsi/ipr.c +10 -2
@@ -4777,7 +4777,7 @@ static int ipr_eh_host_reset(struct scsi_cmnd *cmd) ioa_cfg = (struct ipr_ioa_cfg *) cmd->device->host->hostdata;spin_lock_irqsave (ioa_cfg->host->host_lock, lock_flags); -if (!ioa_cfg->in_reset_reload) { +if (!ioa_cfg->in_reset_reload && !ioa_cfg->hrrq[IPR_INIT_HRRQ ].ioa_is_dead) {ipr_initiate_ioa_reset (ioa_cfg,IPR_SHUTDOWN_ABBREV );dev_err (&ioa_cfg->pdev->dev,"Adapter being reset as a result of error recovery.\n" );
@@ -6739,6 +6739,7 @@ static int ipr_invalid_adapter(struct ipr_ioa_cfg *ioa_cfg)static int ipr_ioa_bringdown_done (struct ipr_cmnd *ipr_cmd) {struct ipr_ioa_cfg *ioa_cfg = ipr_cmd->ioa_cfg; +int i;ENTER ;if (!ioa_cfg->hrrq[IPR_INIT_HRRQ ].removing_ioa) {
@@ -6750,6 +6751,13 @@ static int ipr_ioa_bringdown_done(struct ipr_cmnd *ipr_cmd) ioa_cfg->in_reset_reload =0 ; ioa_cfg->reset_retries =0 ; +for (i =0 ; i < ioa_cfg->hrrq_num; i++) { +spin_lock (&ioa_cfg->hrrq[i]._lock); + ioa_cfg->hrrq[i].ioa_is_dead =1 ; +spin_unlock (&ioa_cfg->hrrq[i]._lock); + } +wmb (); +list_add_tail (&ipr_cmd->queue, &ipr_cmd->hrrq->hrrq_free_q);wake_up_all (&ioa_cfg->reset_wait_q);LEAVE ;
@@ -8651,7 +8659,7 @@ static void ipr_pci_perm_failure(struct pci_dev *pdev)spin_lock_irqsave (ioa_cfg->host->host_lock, flags);if (ioa_cfg->sdt_state ==WAIT_FOR_DUMP ) ioa_cfg->sdt_state =ABORT_DUMP ; - ioa_cfg->reset_retries =IPR_NUM_RESET_RELOAD_RETRIES ; + ioa_cfg->reset_retries =IPR_NUM_RESET_RELOAD_RETRIES -1 ; ioa_cfg->in_ioa_bringdown =1 ;for (i =0 ; i < ioa_cfg->hrrq_num; i++) {spin_lock (&ioa_cfg->hrrq[i]._lock);
drivers/staging/vt6656/hostap.c +1 -1
@@ -133,7 +133,7 @@ static int hostap_disable_hostapd(struct vnt_private *pDevice, int rtnl_locked)DBG_PRT (MSG_LEVEL_DEBUG ,KERN_INFO "%s: Netdevice %s unregistered\n" , pDevice->dev->name, pDevice->apdev->name); } -kfree (pDevice->apdev); +free_netdev (pDevice->apdev); pDevice->apdev =NULL ; pDevice->bEnable8021x = false; pDevice->bEnableHostWEP = false;
drivers/staging/vt6656/iwctl.c +6 -0
@@ -1348,9 +1348,12 @@ int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info,return rc; } +spin_lock_irq (&pDevice->lock); +if (wrq->disabled) { pDevice->ePSMode =WMAC_POWER_CAM ;PSvDisablePowerSaving (pDevice); +spin_unlock_irq (&pDevice->lock);return rc; }if ((wrq->flags &IW_POWER_TYPE ) ==IW_POWER_TIMEOUT ) {
@@ -1361,6 +1364,9 @@ int iwctl_siwpower(struct net_device *dev, struct iw_request_info *info, pDevice->ePSMode =WMAC_POWER_FAST ;PSvEnablePowerSaving ((void *)pDevice, pMgmt->wListenInterval); } + +spin_unlock_irq (&pDevice->lock); +switch (wrq->flags &IW_POWER_MODE ) {case IW_POWER_UNICAST_R :DBG_PRT (MSG_LEVEL_DEBUG ,KERN_INFO " SIOCSIWPOWER: IW_POWER_UNICAST_R \n" );
drivers/target/iscsi/iscsi_target_parameters.c +3 -5
@@ -712,9 +712,9 @@ static int iscsi_add_notunderstood_response( }INIT_LIST_HEAD (&extra_response->er_list); -strncpy (extra_response->key, key,strlen (key) +1 ); -strncpy (extra_response->value,NOTUNDERSTOOD , -strlen (NOTUNDERSTOOD ) +1 ); +strlcpy (extra_response->key, key,sizeof (extra_response->key)); +strlcpy (extra_response->value,NOTUNDERSTOOD , +sizeof (extra_response->value));list_add_tail (&extra_response->er_list, ¶m_list->extra_response_list);
@@ -1583,8 +1583,6 @@ int iscsi_decode_text_input(if (phase &PHASE_SECURITY ) {if (iscsi_check_for_auth_key (key) >0 ) { -char *tmpptr = key +strlen (key); - *tmpptr ='=' ;kfree (tmpbuf);return 1 ; }
drivers/target/iscsi/iscsi_target_parameters.h +3 -1
@@ -1,8 +1,10 @@#ifndef ISCSI_PARAMETERS_H #define ISCSI_PARAMETERS_H +#include <scsi/iscsi_proto.h> +struct iscsi_extra_response { -char key[64 ]; +char key[KEY_MAXLEN ];char value[32 ];struct list_head er_list; }____cacheline_aligned ;
drivers/target/target_core_file.c +7 -5
@@ -150,6 +150,7 @@ static int fd_configure_device(struct se_device *dev)if (S_ISBLK (inode->i_mode)) {unsigned long long dev_size; + fd_dev->fd_block_size =bdev_logical_block_size (inode->i_bdev);/* * Determine the number of bytes from i_size_read() minus * one (1) logical sector from underlying struct block_device
@@ -168,11 +169,11 @@ static int fd_configure_device(struct se_device *dev) " block_device\n"); goto fail; } - } - fd_dev->fd_block_size = dev->dev_attrib.hw_block_size; + fd_dev->fd_block_size =FD_BLOCKSIZE ; + } - dev->dev_attrib.hw_block_size =FD_BLOCKSIZE ; + dev->dev_attrib.hw_block_size = fd_dev->fd_block_size; dev->dev_attrib.hw_max_sectors =FD_MAX_SECTORS ; dev->dev_attrib.hw_queue_depth =FD_MAX_DEVICE_QUEUE_DEPTH ;
@@ -583,11 +584,12 @@ static sector_t fd_get_blocks(struct se_device *dev)* to handle underlying block_device resize operations. */ if (S_ISBLK (i->i_mode)) - dev_size = (i_size_read (i) - fd_dev->fd_block_size); + dev_size =i_size_read (i);else dev_size = fd_dev->fd_dev_size; -return div_u64 (dev_size, dev->dev_attrib.block_size); +return div_u64 (dev_size - dev->dev_attrib.block_size, + dev->dev_attrib.block_size); }static struct sbc_ops fd_sbc_ops = {
drivers/target/target_core_transport.c +14 -4
@@ -222,6 +222,7 @@ struct se_session *transport_init_session(void)INIT_LIST_HEAD (&se_sess->sess_list);INIT_LIST_HEAD (&se_sess->sess_acl_list);INIT_LIST_HEAD (&se_sess->sess_cmd_list); +INIT_LIST_HEAD (&se_sess->sess_wait_list);spin_lock_init (&se_sess->sess_cmd_lock);kref_init (&se_sess->sess_kref);
@@ -2252,11 +2253,14 @@ void target_sess_cmd_list_set_waiting(struct se_session *se_sess)unsigned long flags;spin_lock_irqsave (&se_sess->sess_cmd_lock, flags); - -WARN_ON (se_sess->sess_tearing_down); +if (se_sess->sess_tearing_down) { +spin_unlock_irqrestore (&se_sess->sess_cmd_lock, flags); +return ; + } se_sess->sess_tearing_down =1 ; +list_splice_init (&se_sess->sess_cmd_list, &se_sess->sess_wait_list); -list_for_each_entry (se_cmd, &se_sess->sess_cmd_list, se_cmd_list) +list_for_each_entry (se_cmd, &se_sess->sess_wait_list, se_cmd_list) se_cmd->cmd_wait_set =1 ;spin_unlock_irqrestore (&se_sess->sess_cmd_lock, flags);
@@ -2273,9 +2277,10 @@ void target_wait_for_sess_cmds( {struct se_cmd *se_cmd, *tmp_cmd;bool rc = false; +unsigned long flags;list_for_each_entry_safe (se_cmd, tmp_cmd, - &se_sess->sess_cmd_list, se_cmd_list) { + &se_sess->sess_wait_list, se_cmd_list) {list_del (&se_cmd->se_cmd_list); pr_debug("Waiting for se_cmd: %p t_state: %d, fabric state:"
@@ -2303,6 +2308,11 @@ void target_wait_for_sess_cmds( se_cmd->se_tfo->release_cmd (se_cmd); } + +spin_lock_irqsave (&se_sess->sess_cmd_lock, flags); +WARN_ON (!list_empty (&se_sess->sess_cmd_list));
Lines of this file are not shown. View the raw message.
fs/xfs/xfs_iops.c +32 -15
47 lines not on this page · raw message
mm/mmu_notifier.c +39 -40
79 lines not on this page · raw message
mm/pagewalk.c +36 -34
70 lines not on this page · raw message
tools/perf/scripts/python/net_dropmonitor.py +4 -4
Lines of this file are not shown. View the 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.
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
Quoted 9 lines
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
powerpc build fails:
arch/powerpc/kernel/traps.c: In function 'alignment_exception':arch/powerpc/kernel/traps.c:1154:3: error: label 'bail' used but not defined make[1]: *** [arch/powerpc/kernel/traps.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Due to commit 6ce6c629 (powerpc/tm: Abort on emulation and alignment faults).
Guenter
Greg KH
maintainerQuoted 14 lines · Guenter Roeck
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
Quoted 9 lines
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
Quoted 8 lines
powerpc build fails:
arch/powerpc/kernel/traps.c: In function 'alignment_exception':arch/powerpc/kernel/traps.c:1154:3: error: label 'bail' used but not defined make[1]: *** [arch/powerpc/kernel/traps.o] Error 1
make[1]: *** Waiting for unfinished jobs....Due to commit
6ce6c629(powerpc/tm: Abort on emulation and alignment faults).
Is there a upstream patch that fixes this problem that I should apply?
thanks,
greg k-h
Quoted 17 lines · Greg KH
Quoted 16 lines · Guenter Roeck
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
Quoted 9 lines
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
powerpc build fails:
Quoted 9 lines
Quoted 6 lines
arch/powerpc/kernel/traps.c: In function 'alignment_exception':arch/powerpc/kernel/traps.c:1154:3: error: label 'bail' used but not defined make[1]: *** [arch/powerpc/kernel/traps.o] Error 1
make[1]: *** Waiting for unfinished jobs....Due to commit
6ce6c629(powerpc/tm: Abort on emulation and alignment faults).Is there a upstream patch that fixes this problem that I should apply?
No, this is not a problem upstream. The missing label was introduced by patch ba12eedee (powerpc: Exception hooks for context tracking subsystem) which, if I understand correctly, was necessary due to 6ba3c97a388 (x86: Exception hooks for userspace RCU extended QS) and a couple of other patches. All that doesn't look like stable material to me.
Guenter
Quoted 25 lines · Guenter Roeck
Quoted 24 lines · Greg KH
Quoted 22 lines · Guenter Roeck
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
Quoted 9 lines
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
powerpc build fails:
arch/powerpc/kernel/traps.c: In function 'alignment_exception':arch/powerpc/kernel/traps.c:1154:3: error: label 'bail' used but not defined make[1]: *** [arch/powerpc/kernel/traps.o] Error 1
make[1]: *** Waiting for unfinished jobs....Due to commit
6ce6c629(powerpc/tm: Abort on emulation and alignment faults).
Quoted 7 lines
Quoted 2 lines
Is there a upstream patch that fixes this problem that I should apply?
No, this is not a problem upstream. The missing label was introduced by patch
ba12eedee(powerpc: Exception hooks for context tracking subsystem) which, if I understand correctly, was necessary due to6ba3c97a388(x86: Exception hooks for userspace RCU extended QS) and a couple of other patches. All that doesn't look like stable material to me.
This can probably be fixed just by replacing 'goto bail' with 'return' on that line.
Mikey, does that sound right?
josh
Quoted 34 lines · Josh Boyer
Quoted 25 lines · Guenter Roeck
Quoted 24 lines · Greg KH
Quoted 22 lines · Guenter Roeck
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
Quoted 9 lines
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
powerpc build fails:
arch/powerpc/kernel/traps.c: In function 'alignment_exception':arch/powerpc/kernel/traps.c:1154:3: error: label 'bail' used but not defined make[1]: *** [arch/powerpc/kernel/traps.o] Error 1
make[1]: *** Waiting for unfinished jobs....Due to commit
6ce6c629(powerpc/tm: Abort on emulation and alignment faults).Quoted 7 lines
Quoted 2 lines
Is there a upstream patch that fixes this problem that I should apply?
No, this is not a problem upstream. The missing label was introduced by patch
ba12eedee(powerpc: Exception hooks for context tracking subsystem) which, if I understand correctly, was necessary due to6ba3c97a388(x86: Exception hooks for userspace RCU extended QS) and a couple of other patches. All that doesn't look like stable material to me.
Quoted 4 lines
This can probably be fixed just by replacing 'goto bail' with 'return' on that line.
Mikey, does that sound right?
I submitted a patch doing just that.
Guenter
Greg KH
maintainerQuoted 35 lines · Guenter Roeck
Quoted 34 lines · Josh Boyer
Quoted 32 lines · Guenter Roeck
Quoted 17 lines · Greg KH
Quoted 16 lines · Guenter Roeck
Quoted 4 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
Quoted 9 lines
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summarythanks,
greg k-h
powerpc build fails:
Quoted 9 lines
Quoted 6 lines
arch/powerpc/kernel/traps.c: In function 'alignment_exception':arch/powerpc/kernel/traps.c:1154:3: error: label 'bail' used but not defined make[1]: *** [arch/powerpc/kernel/traps.o] Error 1
make[1]: *** Waiting for unfinished jobs....Due to commit
6ce6c629(powerpc/tm: Abort on emulation and alignment faults).Is there a upstream patch that fixes this problem that I should apply?
No, this is not a problem upstream. The missing label was introduced by patch
ba12eedee(powerpc: Exception hooks for context tracking subsystem) which, if I understand correctly, was necessary due to6ba3c97a388(x86: Exception hooks for userspace RCU extended QS) and a couple of other patches. All that doesn't look like stable material to me.
Quoted 5 lines
Quoted 4 lines
This can probably be fixed just by replacing 'goto bail' with 'return' on that line.
Mikey, does that sound right?I submitted a patch doing just that.
I'll queue that up today and do a new review round with the other stable patches we have.
thanks,
greg k-h
Re: Linux 3.9.5 [patch to fix powerpc build error attached]
In reply to Greg KHQuoted 9 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
Powerpc build is fixed with the following patch.
Quoted 1 line
From
8ce3edac0a86f103bd1037110662d5d80a42dd5bMon Sep 17 00:00:00 2001
From: Guenter Roeck <[email protected]>
Date: Sat, 8 Jun 2013 07:23:47 -0700
Subject: [PATCH] powerpc: Fix build error in stable/3.9
Commit e71c42189 (powerpc/tm: Abort on emulation and alignment faults) introduced a powerpc build error in 3.9.5.
---
No upstream commit. Compile tested only.
arch/powerpc/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/traps.c +1 -1
@@ -1151,7 +1151,7 @@ void alignment_exception(struct pt_regs *regs)local_irq_enable ();if (tm_abort_check (regs,TM_CAUSE_ALIGNMENT |TM_CAUSE_PERSISTENT )) - goto bail; +return ;/* we don't implement logging of alignment exceptions */ if (!(current->thread.align_ctl &PR_UNALIGN_SIGBUS ))
Signature · 1 line
1.7.9.7
Re: Linux 3.9.5 [patch to fix powerpc build error attached]
Quoted 12 lines · Guenter Roeck
Quoted 9 lines · Greg KH
I'm announcing the release of the 3.9.5 kernel.
All users of the 3.9 kernel series must upgrade.
The updated 3.9.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-3.9.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summaryPowerpc build is fixed with the following patch.
Quoted 7 lines
From
8ce3edac0a86f103bd1037110662d5d80a42dd5bMon Sep 17 00:00:00 2001
From: Guenter Roeck <[email protected]>
Date: Sat, 8 Jun 2013 07:23:47 -0700
Subject: [PATCH] powerpc: Fix build error in stable/3.9Commit
e71c42189(powerpc/tm: Abort on emulation and alignment faults) introduced a powerpc build error in 3.9.5.
ACK.
Looks like ba12eed (powerpc: Exception hooks for context tracking subsyste) was the cause (but not a prerequisite) that was introduced post 3.9.
Thanks,
Mikey
Quoted 24 lines
Signed-off-by Guenter Roeck <[email protected]>---
No upstream commit. Compile tested only.arch/powerpc/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/kernel/traps.c +1
-1@@ -1151,7 +1151,7 @@ void alignment_exception(struct pt_regs *regs)local_irq_enable ();if (tm_abort_check (regs,TM_CAUSE_ALIGNMENT |TM_CAUSE_PERSISTENT )) - goto bail; +return ;/* we don't implement logging of alignment exceptions */ if (!(current->thread.align_ctl &PR_UNALIGN_SIGBUS ))Signature · 1 line
1.7.9.7