Linux 3.16.35
I'm announcing the release of the 3.16.35 kernel (belatedly, sorry).
All users of the 3.16 kernel series should upgrade.
The updated 3.16.y git tree can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.16.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git
The diff from 3.16.7-ckt27 is attached to this message.
Ben.
------------
MAINTAINERS | 92 +++++++------- Makefile | 4 +- arch/arm/boot/dts/armada-375.dtsi | 2 +- arch/arm/mach-davinci/Kconfig | 14 +-- arch/arm/mach-davinci/board-dm644x-evm.c | 8 +- arch/arm/mach-davinci/board-dm646x-evm.c | 7 ++ arch/arm/mach-omap2/cpuidle34xx.c | 69 ++++++++++- arch/parisc/include/asm/uaccess.h | 1 + arch/parisc/kernel/asm-offsets.c | 1 + arch/parisc/kernel/parisc_ksyms.c | 10 +- arch/parisc/kernel/traps.c | 3 + arch/parisc/lib/fixup.S | 6 + arch/parisc/mm/fault.c | 1 + arch/s390/include/asm/mmu_context.h | 20 +-- arch/s390/include/asm/pci.h | 10 +- arch/s390/include/asm/pgalloc.h | 24 +++- arch/s390/pci/pci.c | 10 +- arch/s390/pci/pci_debug.c | 21 +++- arch/s390/pci/pci_dma.c | 8 +- arch/um/drivers/mconsole_kern.c | 2 +- arch/x86/include/asm/apic.h | 2 +- arch/x86/include/asm/perf_event.h | 2 + arch/x86/kernel/cpu/perf_event.c | 13 ++ arch/x86/kernel/cpu/perf_event.h | 3 + arch/x86/kernel/cpu/perf_event_intel.c | 28 ++++- arch/x86/kernel/cpu/perf_event_intel_ds.c | 24 +++- arch/x86/kernel/cpu/perf_event_knc.c | 4 +- arch/x86/kernel/ioport.c | 12 +- arch/x86/kvm/i8254.c | 12 +- arch/x86/kvm/vmx.c | 1 + arch/x86/kvm/x86.c | 20 +-- arch/x86/mm/mmap.c | 44 +++---- arch/x86/pci/fixup.c | 7 ++ arch/xtensa/kernel/head.S | 2 +- arch/xtensa/platforms/iss/console.c | 10 +- crypto/gcm.c | 3 + drivers/block/mtip32xx/mtip32xx.c | 35 +++--- drivers/block/mtip32xx/mtip32xx.h | 5 + drivers/block/nbd.c | 4 +- drivers/block/paride/pd.c | 4 +- drivers/block/paride/pt.c | 4 +- drivers/bluetooth/ath3k.c | 8 ++ drivers/bluetooth/btusb.c | 4 + drivers/bus/imx-weim.c | 2 +- drivers/clk/clk-xgene.c | 4 +- drivers/clk/versatile/clk-sp810.c | 4 +- drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 36 ++++++ drivers/crypto/ccp/ccp-crypto-sha.c | 40 ++++++ drivers/crypto/ccp/ccp-crypto.h | 22 ++++ drivers/edac/amd64_edac.c | 2 +- drivers/gpio/gpio-pca953x.c | 3 +- drivers/gpio/gpiolib.c | 4 +- drivers/gpu/drm/drm_dp_helper.c | 27 ++-- drivers/gpu/drm/radeon/atombios_encoders.c | 6 +- drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_device.c | 74 ++++++++--- drivers/gpu/drm/radeon/si_dpm.c | 6 + drivers/gpu/drm/udl/udl_fb.c | 2 +- drivers/gpu/drm/udl/udl_gem.c | 2 +- drivers/hid/hid-core.c | 7 +- drivers/hid/i2c-hid/i2c-hid.c | 16 ++- drivers/hwmon/max1111.c | 6 + drivers/infiniband/ulp/srpt/ib_srpt.c | 59 +-------- drivers/input/misc/ims-pcu.c | 4 + drivers/input/mouse/synaptics.c | 5 +- drivers/md/bcache/super.c | 42 ++++--- drivers/md/multipath.c | 4 +- drivers/md/raid5.c | 4 +- drivers/media/i2c/adv7511.c | 21 +++- drivers/media/pci/bt8xx/bttv-driver.c | 26 +++- drivers/media/pci/saa7134/saa7134-video.c | 18 ++- drivers/media/tuners/tuner-xc2028.c | 6 +- drivers/media/usb/pwc/pwc-if.c | 6 + drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 21 ++-- drivers/misc/Kconfig | 2 +- drivers/misc/ad525x_dpot.c | 2 +- drivers/misc/mei/amthif.c | 5 +- drivers/misc/mei/client.c | 4 +- drivers/misc/mei/interrupt.c | 24 ++-- drivers/misc/mei/main.c | 5 +- drivers/misc/mei/mei_dev.h | 4 +- drivers/mmc/host/sdhci.c | 17 ++- drivers/mtd/onenand/onenand_base.c | 3 +- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 6 +- drivers/net/ethernet/jme.c | 26 ++-- drivers/net/ethernet/marvell/mvneta.c | 2 +- .../net/ethernet/mellanox/mlx4/resource_tracker.c | 3 +- drivers/net/ethernet/micrel/ks8842.c | 10 +- drivers/net/ethernet/qlogic/qlge/qlge_main.c | 11 ++ drivers/net/ethernet/renesas/sh_eth.c | 3 +- drivers/net/irda/irtty-sir.c | 10 -- drivers/net/macvtap.c | 9 +- drivers/net/phy/mdio-sun4i.c | 4 +- drivers/net/ppp/ppp_generic.c | 35 +++--- drivers/net/rionet.c | 4 +- drivers/net/tun.c | 8 +- drivers/net/usb/cdc_ncm.c | 6 +- drivers/net/usb/qmi_wwan.c | 34 +++++ drivers/net/usb/usbnet.c | 7 ++ drivers/net/wan/farsync.c | 2 +- drivers/net/wireless/ath/ath9k/eeprom.c | 7 +- drivers/net/wireless/mwifiex/sta_ioctl.c | 1 + drivers/net/wireless/rt2x00/rt2800usb.c | 1 + drivers/of/of_reserved_mem.c | 4 +- drivers/pci/host/pci-imx6.c | 107 ++++++++-------- drivers/pci/probe.c | 14 +++ drivers/platform/x86/ideapad-laptop.c | 14 +++ drivers/regulator/s5m8767.c | 13 +- drivers/rtc/rtc-hym8563.c | 2 +- drivers/rtc/rtc-vr41xx.c | 13 +- drivers/scsi/aacraid/commsup.c | 9 +- drivers/scsi/be2iscsi/be_main.c | 1 + drivers/scsi/lpfc/lpfc_init.c | 5 +- drivers/scsi/sd.c | 23 ++-- drivers/scsi/sd.h | 7 +- drivers/scsi/sg.c | 3 +- drivers/staging/usbip/usbip_common.c | 11 ++ drivers/target/target_core_transport.c | 2 - drivers/tty/serial/8250/8250_core.c | 18 +-- drivers/tty/serial/sh-sci.c | 39 ------ drivers/usb/core/driver.c | 6 +- drivers/usb/core/hub.c | 16 ++- drivers/usb/dwc3/dwc3-keystone.c | 5 - drivers/usb/renesas_usbhs/fifo.c | 4 +- drivers/usb/serial/cp210x.c | 1 + drivers/usb/serial/cypress_m8.c | 11 +- drivers/usb/serial/digi_acceleport.c | 19 +++ drivers/usb/serial/ftdi_sio.c | 4 + drivers/usb/serial/ftdi_sio_ids.h | 8 ++ drivers/usb/serial/mct_u232.c | 9 +- drivers/usb/serial/option.c | 2 + drivers/usb/storage/uas.c | 6 +- drivers/video/fbdev/Kconfig | 1 - drivers/video/fbdev/da8xx-fb.c | 7 +- drivers/watchdog/rc32434_wdt.c | 2 +- drivers/xen/events/events_base.c | 28 ++++- fs/btrfs/tree-log.c | 137 +++++++++++++++++++++ fs/coredump.c | 30 ++++- fs/ext4/ext4.h | 23 ++++ fs/ext4/inode.c | 6 +- fs/ext4/move_extent.c | 11 +- fs/ext4/super.c | 25 +++- fs/fhandle.c | 2 +- fs/fuse/file.c | 5 +- fs/jbd2/journal.c | 17 ++- fs/nfsd/nfs4proc.c | 1 + fs/nfsd/nfs4xdr.c | 13 +- fs/ocfs2/dlm/dlmconvert.c | 24 +++- fs/ocfs2/dlm/dlmrecovery.c | 1 - fs/open.c | 6 +- fs/proc_namespace.c | 3 + fs/splice.c | 3 + fs/xfs/xfs_attr_list.c | 19 +-- include/asm-generic/bitops/lock.h | 14 +-- include/linux/compiler-gcc4.h | 2 +- include/linux/compiler-gcc5.h | 2 +- include/linux/filter.h | 3 + include/linux/fs.h | 2 +- include/linux/kernel.h | 6 +- include/linux/mlx5/driver.h | 2 +- include/linux/mtd/map.h | 7 +- include/linux/netdevice.h | 25 +++- include/linux/pci.h | 1 + include/linux/tty.h | 2 +- kernel/events/core.c | 7 +- kernel/sched/core.c | 1 + kernel/sched/cputime.c | 14 +-- kernel/sched/sched.h | 13 ++ kernel/sysctl_binary.c | 2 +- kernel/trace/trace.c | 5 +- kernel/trace/trace_irqsoff.c | 8 +- kernel/trace/trace_printk.c | 3 + mm/page_isolation.c | 8 +- net/ax25/ax25_ip.c | 15 +++ net/core/dev.c | 2 +- net/core/filter.c | 25 ++-- net/ipv4/gre_offload.c | 5 + net/ipv4/netfilter/arp_tables.c | 41 +++--- net/ipv4/netfilter/ip_tables.c | 46 +++---- net/ipv4/udp_offload.c | 6 +- net/ipv6/ip6_output.c | 9 +- net/ipv6/ip6_tunnel.c | 2 +- net/ipv6/netfilter/ip6_tables.c | 46 +++---- net/ipv6/udp.c | 6 +- net/l2tp/l2tp_ip.c | 8 +- net/l2tp/l2tp_ip6.c | 8 +- net/mac80211/rx.c | 5 +- net/mac80211/sta_info.c | 16 ++- net/netfilter/ipvs/ip_vs_pe_sip.c | 2 +- net/sctp/associola.c | 2 +- net/sctp/ipv6.c | 2 + net/sctp/transport.c | 2 +- net/socket.c | 38 +++--- net/sunrpc/cache.c | 6 +- net/xfrm/xfrm_input.c | 3 + scripts/coccinelle/iterators/use_after_iter.cocci | 2 +- scripts/kconfig/confdata.c | 14 +-- scripts/package/mkspec | 8 +- sound/core/timer.c | 4 +- sound/pci/hda/patch_cirrus.c | 8 +- sound/pci/hda/patch_hdmi.c | 2 + sound/pci/hda/patch_realtek.c | 19 ++- sound/pci/intel8x0.c | 1 + sound/soc/samsung/s3c-i2s-v2.c | 2 +- sound/soc/samsung/s3c-i2s-v2.h | 2 +- sound/usb/quirks.c | 26 ++-- sound/usb/stream.c | 6 +- tools/perf/Documentation/perf-stat.txt | 8 ++ tools/perf/util/event.c | 2 +- tools/perf/util/pmu.c | 17 +-- virt/kvm/kvm_main.c | 21 ++-- 211 files changed, 1755 insertions(+), 848 deletions(-)
Aaro Koskinen (1):
mtd: onenand: fix deadlock in onenand_block_markbad
Aaron Plattner (2):
ALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda
ALSA: hda - Add new GPU codec ID 0x10de0082 to snd-hdaAl Viro (1):
unbreak allmodconfig KCONFIG_ALLCONFIG=...
Alex Deucher (5):
drm/radeon: add a PX quirk list
drm/radeon: add PX quirk for asus K53TK drm/radeon: add a dpm quirk for sapphire Dual-X R7 370 2G D5 drm/radeon: add another R7 370 quirk
drm/radeon: add a dpm quirk for all R7 370 parts
Alexander Kochetkov (1):
rtc: hym8563: fix invalid year calculation
Alexander Shishkin (1):
perf/core: Fix perf_sched_count derailment
Alexander Usyskin (1):
mei: fix format string in debug prints
Amitkumar Karwar (1):
mwifiex: fix corner case association failure
Andi Kleen (2):
perf tools: Dont stop PMU parsing on alias parse error perf/x86/intel: Fix PEBS data source interpretation on Nehalem/Westmere
Andy Lutomirski (1):
x86/iopl: Fix iopl capability check on Xen PV
Anthony Wong (1):
rt2x00: add new rt2800usb device Buffalo WLI-UC-G450
Arnaldo Carvalho de Melo (1):
net: Fix use after free in the recvmmsg exit path
Arnd Bergmann (10):
ASoC: s3c24xx: use const snd_soc_component_driver pointer
regulator: s5m8767: fix get_register() error handling
ARM: davinci: make I2C support optional
mac80211: avoid excessive stack usage in sta_info xen kconfig: don't "select INPUT_XEN_KBDDEV_FRONTEND"
mlx4: add missing braces in verify_qp_parameters
ath9k: fix buffer overrun for ar9287
paride: make 'verbose' parameter an 'int' again
lpfc: fix misleading indentation
farsync: fix off-by-one bug in fst_add_one
Asai Thambi SP (3):
mtip32xx: Fix broken service thread handling
mtip32xx: Remove unwanted code from taskfile error handler
mtip32xx: Avoid issuing standby immediate cmd during FTL rebuild
Aurelien Jacquiot (1):
rapidio/rionet: fix deadlock on SMP
Bart Van Assche (1):
IB/srpt: Simplify srpt_handle_tsk_mgmt()
Ben Hutchings (2):
misc/bmp085: Enable building as a module
Linux 3.16.35
Benjamin Tissoires (3):
HID: core: do not scan reports if the group is already set
HID: fix hid_ignore_special_drivers module parameter
Input: synaptics - handle spurious release of trackstick buttons, again
Bill Sommerfeld (1):
udp6: fix UDP/IPv6 encap resubmit path
Bjorn Helgaas (2):
PCI: Disable IO/MEM decoding for devices with non-compliant BARs x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs
Bjørn Mork (6):
USB: option: add "D-Link DWM-221 B1" device id
qmi_wwan: add Sierra Wireless MC74xx/EM74xx
qmi_wwan: add Sierra Wireless EM74xx device ID
net: qmi_wwan: remove 1199:9070 device id
cdc_ncm: toggle altsetting to force reset before setup
qmi_wwan: add "D-Link DWM-221 B1" device id
Bobi Mihalca (3):
ALSA: hda - Asus N750JV external subwoofer fixup
ALSA: hda - Fix white noise on Asus N750JV headphone
ALSA: hda - Apply fix for white noise on Asus N550JV, too
Boris Ostrovsky (1):
xen/events: Mask a moving irq
Borislav Petkov (1):
perf stat: Document --detailed option
Chris Friesen (1):
sched/cputime: Fix steal_account_process_tick() to always return jiffies
Dan Carpenter (4):
EDAC, amd64_edac: Shift wrapping issue in f1x_get_norm_dct_addr()
xc2028: unlock on error in xc2028_set_config()
ethernet: micrel: fix some error codes
mdio-sun4i: oops in error handling in probe
Dan Streetman (1):
nbd: ratelimit error msgs after socket close
Daniel Borkmann (1):
tun, bpf: fix suspicious RCU usage in tun_{attach, detach}_filter
Daniel Vetter (1):
drm/udl: Use unlocked gem unreferencing
Dave Jones (1):
x86/apic: Fix suspicious RCU usage in smp_trace_call_function_interrupt()
Diego Viola (1):
net: jme: fix suspend/resume on JMC260
Dmitri Epshtein (1):
net: mvneta: enable change MAC address when interface is up
Dmitry Torokhov (1):
HID: i2c-hid: fix OOB write in i2c_hid_set_or_send_report()
Dmitry Tunin (4):
Bluetooth: btusb: Add new AR3012 ID 13d3:3395
Bluetooth: Add new AR3012 ID 0489:e095
Bluetooth: btusb: Add a new AR3012 ID 04ca:3014
Bluetooth: btusb: Add a new AR3012 ID 13d3:3472Dmitry V. Levin (1):
vfs: show_vfsstat: do not ignore errors from show_devname method
Douglas Gilbert (1):
sg: fix dxferp in from_to case
Eric Dumazet (1):
net: bcmgenet: fix dma api length mismatch
Eric Wheeler (2):
bcache: cleaned up error handling around register_cache()
bcache: fix cache_set_flush() NULL pointer dereference on OOM
Eryu Guan (1):
ext4: fix NULL pointer dereference in ext4_mark_inode_dirty()
Fabio Estevam (1):
bus: imx-weim: Take the 'status' property value into account
Filipe Manana (1):
Btrfs: fix file/data loss caused by fsync after rename and new inode
Florian Westphal (3):
netfilter: x_tables: validate e->target_offset early
netfilter: x_tables: make sure e->next_offset covers remaining blob size
netfilter: x_tables: fix unconditional helperGeert Uytterhoeven (3):
rtc: vr41xx: Wire up alarm_irq_enable
gpiolib: Fix comment referring to gpio_*() in gpiod_*()
serial: sh-sci: Remove cpufreq notifier to fix crash/deadlock
Grazvydas Ignotas (1):
HID: logitech: fix Dual Action gamepad support
Grygorii Strashko (1):
usb: dwc3: keystone: drop dma_mask configuration
Guenter Roeck (2):
MAINTAINERS: Update mailing list and web page for hwmon subsystem
hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated
Guillaume Nault (2):
ppp: ensure file->private_data can't be overridden
ppp: take reference on channels netns
Guo-Fu Tseng (2):
jme: Do not enable NIC WoL functions on S0
jme: Fix device PM wakeup API usage
Haishuang Yan (2):
ipv4: l2tp: fix a potential issue in l2tp_ip_recv
ipv6: l2tp: fix a potential issue in l2tp_ip6_recv
Hans Verkuil (1):
adv7511: TX_EDID_PRESENT is still 1 after a disconnect
Hans de Goede (4):
pwc: Add USB id for Philips Spc880nc webcam
saa7134: Fix bytesperline not being set correctly for planar formats
bttv: Width must be a multiple of 16 when capturing planar formats
USB: uas: Reduce can_queue to MAX_CMNDS
Hector Marco-Gisbert (1):
x86/mm/32: Enable full randomization on i386 and X86_32
Helge Deller (3):
parisc: Avoid function pointers for kernel exception routines
parisc: Fix kernel crash with reversed copy_from_user()
parisc: Unbreak handling exceptions from kernel modules
Herbert Xu (1):
crypto: gcm - Fix rfc4543 decryption crash
Himanshu Madhani (1):
target: Fix target_release_cmd_kref shutdown comp leak
Hui Wang (1):
ALSA: hda - fix front mic problem for a HP desktop
Ignat Korchagin (1):
USB: usbip: fix potential out-of-bounds write
J. Bruce Fields (2):
nfsd4: fix bad bounds checking
nfsd: fix deadlock secinfo+readdir compound
Jakub Sitnicki (1):
ipv6: Count in extension headers in skb->network_header
Jann Horn (1):
fs/coredump: prevent fsuid=0 dumps into user-controlled directories
Jes Sorensen (1):
md/raid5: Compare apples to apples (or sectors to sectors)
Jesse Gross (1):
tunnels: Don't apply GRO to multiple layers of encapsulation.
Jiri Kosina (1):
kbuild/mkspec: fix grub2 installkernel issue
Jiri Olsa (1):
perf/x86/intel: Use PAGE_SIZE for PEBS buffer size on Core2
John Dahlstrom (1):
ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list
Joseph Qi (2):
ocfs2/dlm: fix race between convert and recovery ocfs2/dlm: fix BUG in dlm_move_lockres_to_recovery_list
Josh Boyer (1):
USB: serial: ftdi_sio: Add support for ICP DAS I-756xU devices
Julia Lawall (1):
scripts/coccinelle: modernize &
Kan Liang (1):
perf/x86/intel: Fix PEBS warning by only restoring active PMU in pmi
Kees Cook (1):
x86: standardize mmap_rnd() usage
Kent Overstreet (1):
bcache: Fix more early shutdown bugs
Kristian Evensen (2):
net: qmi_wwan: Add WeTelecom-WPD600N
net: qmi_wwan: Add SIMCom 7230E
Linus Walleij (2):
mtd: map: fix .set_vpp() documentation
clk: versatile: sp810: support reentrance
Lior Amsalem (1):
ARM: dts: armada-375: use armada-370-sata for SATA
Loc Ho (1):
clk: xgene: Add missing parenthesis when clearing divider value
Lucas Stach (4):
PCI: imx6: Move imx6_pcie_reset_phy() near other PHY handling functions
PCI: imx6: Move PHY reset into imx6_pcie_establish_link()
PCI: imx6: Remove broken Gen2 workaround
PCI: imx6: Move link up check into imx6_pcie_wait_for_link()
Manish Chopra (1):
qlge: Fix receive packets drop.
Marcin Ślusarz (1):
perf tools: handle spaces in file names obtained from /proc/pid/maps
Marco Angaroni (1):
ipvs: correct initial offset of Call-ID header search in SIP persistence engine
Mario Kleiner (1):
drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards.
Markus Trippelsdorf (1):
perf pmu: Fix misleadingly indented assignment (whitespace)
Martin K. Petersen (1):
sd: Fix excessive capacity printing on devices with blocks bigger than 512 bytes
Martin Schwidefsky (1):
s390/mm: four page table levels vs. fork
Martyn Welch (1):
USB: serial: cp210x: Adding GE Healthcare Device ID
Mateusz Guzik (1):
xfs: fix two memory leaks in xfs_attr_list.c error paths
Maurizio Lombardi (1):
be2iscsi: set the boot_kset pointer to NULL in case of failure
Mauro Carvalho Chehab (1):
xc2028: avoid use after free
Max Filippov (2):
xtensa: ISS: don't hang if stdin EOF is reached
xtensa: clear all DBREAKC registers on start
Michael Hennerich (1):
drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors
Michael S. Tsirkin (1):
watchdog: rc32434_wdt: fix ioctl error handling
Michal Kazior (1):
mac80211: fix unnecessary frame drops in mesh fwding
Ming Lei (1):
md: multipath: don't hardcopy bio in .make_request path
NeilBrown (1):
sunrpc/cache: drop reference when sunrpc_cache_pipe_upcall() detects a race
OGAWA Hirofumi (1):
jbd2: fix FS corruption possibility in jbd2_journal_destroy() on umount path
Oliver Neukum (8):
usb: retry reset if a device times out
usb: hub: fix a typo in hub_port_init() leading to wrong logic
Input: ims-pcu - sanity check against missing interfaces
USB: usb_driver_claim_interface: add sanity checking
USB: mct_u232: add sanity checking in probe
USB: cypress_m8: add endpoint sanity check
USB: digi_acceleport: do sanity checking for the number of ports
usbnet: cleanup after bind() in probe()
Or Gerlitz (1):
net/mlx5: Make command timeout way shorter
Pali Rohár (1):
ARM: OMAP3: Add cpuidle parameters table for omap3430
Paolo Bonzini (3):
KVM: VMX: avoid guest hang on invalid invept instruction
KVM: fix spin_lock_init order on x86
compiler-gcc: disable -ftracer for __noclone functions
Patrik Halfar (1):
Add Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card (rev3) to qmi_wwan
Peter Hurley (2):
tty: Fix GPF in flush_to_ldisc(), part 2
net: irda: Fix use-after-free in irtty_open()
Peter Zijlstra (1):
bitops: Do not default to __clear_bit() for __clear_bit_unlock()
Petr Štetiar (1):
USB: qmi_wwan: Add quirk for Quectel EC20 Mini PCIe module
Petri Gynther (1):
net: bcmgenet: fix skb_len in bcmgenet_xmit_single()
Pieter Hollants (1):
qmi_wwan: Add support for Dell Wireless 5809e 4G Modem
Rabin Vincent (1):
splice: handle zero nr_pages in splice_to_pipe()
Radim Krčmář (1):
KVM: i8254: change PIT discard tick policy
Raghava Aditya Renukunta (1):
aacraid: Fix memory leak in aac_fib_map_free
Reinhard Speyerer (1):
qmi_wwan: add the second QMI/network interface for Sierra Wireless MC7305/MC7355
Rob Clark (1):
drm/dp: move hw_mutex up the call stack
Robert Doebbelin (1):
fuse: do not use iocb after it may have been freed
Russell King (2):
mmc: sdhci: fix data timeout (part 1)
mmc: sdhci: fix data timeout (part 2)
Schemmel Hans-Christoph (1):
qmi_wwan: Added support for Gemalto's Cinterion PHxx WWAN interface
Sebastian Frias (1):
8250: use callbacks to access UART_DLL/UART_DLM
Sebastian Ott (2):
s390/pci: extract software counters from fmb s390/pci: enforce fmb page boundary rule
Sergei Shtylyov (1):
sh_eth: fix NULL pointer dereference in sh_eth_ring_format()
Stephane Eranian (2):
perf/x86/intel: Add definition for PT PMI bit perf/x86/pebs: Add workaround for broken OVFL status on HSW+
Steven Rostedt (Red Hat) (3):
tracing: Have preempt(irqs)off trace preempt disabled functions
tracing: Fix crash from reading trace_pipe with sendfile
tracing: Fix trace_printk() to print when not using bprintk()
Sudip Mukherjee (1):
mac80211: fix memory leak
Sushaanth Srirangapathi (1):
fbdev: da8xx-fb: fix videomodes of lcd panels
Takashi Iwai (3):
ALSA: hda - Fix unconditional GPIO toggle via automute
ALSA: usb-audio: Minor code cleanup in create_fixed_stream_quirk()
ALSA: timer: Use mod_timer() for rearming the system timer
Thadeu Lima de Souza Cascardo (1):
ip6_tunnel: set rtnl_link_ops before calling register_netdevice
Theodore Ts'o (1):
ext4: add lockdep annotations for i_data_sem
Thomas Gleixner (1):
sched/cputime: Fix steal time accounting vs. CPU hotplug
Tiffany Lin (1):
media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32
Tom Lendacky (4):
crypto: ccp - Add hash state import and export support
crypto: ccp - Limit the amount of information exported
crypto: ccp - Don't assume export/import areas are aligned
crypto: ccp - memset request context to zero during import
Tomas Winkler (1):
mei: fix possible integer overflow issue
Vinayak Menon (1):
of: alloc anywhere from memblock if range not specified
Vittorio Gambaletta (VittGam) (1):
ALSA: intel8x0: Add clock quirk entry for AD1981B on IBM ThinkPad X41.
Vladis Dronov (1):
ALSA: usb-audio: Fix double-free in error paths after snd_usb_add_audio_stream() call
Willem de Bruijn (3):
net: validate variable length ll headers
ax25: add link layer header validation function
macvtap: always pass ethernet header in linear
Xin Long (2):
sctp: fix the transports round robin issue when init is retransmitted
sctp: lack the check for ports in sctp_v6_cmp_addr
Xishi Qiu (1):
mm: fix invalid node in alloc_migrate_target()
Yong Li (1):
gpio: pca953x: Use correct u16 value for register word write
Yoshihiro Shimoda (2):
usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()
usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer
Yuki Shibuya (1):
KVM: x86: Inject pending interrupt even if pending nmi exist
[email protected] (1):
xfrm: Fix crash observed during device unregistration and decryption
MAINTAINERS +46 -46
@@ -218,13 +218,13 @@ F: kernel/sys_ni.c ABIT UGURU 1,2 HARDWARE MONITOR DRIVER M: Hans de Goede <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/abituguru.c ABIT UGURU 3 HARDWARE MONITOR DRIVER M: Alistair John Strachan <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/abituguru3.c
@@ -355,14 +355,14 @@ S: Maintained ADM1025 HARDWARE MONITOR DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/adm1025 F: drivers/hwmon/adm1025.c ADM1029 HARDWARE MONITOR DRIVER M: Corentin Labbe <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/adm1029.c
@@ -407,7 +407,7 @@ F: drivers/video/backlight/adp8860_bl.c ADS1015 HARDWARE MONITOR DRIVER M: Dirk Eibach <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/ads1015 F: drivers/hwmon/ads1015.c
@@ -420,7 +420,7 @@ F: drivers/macintosh/therm_adt746x.c ADT7475 HARDWARE MONITOR DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/adt7475 F: drivers/hwmon/adt7475.c
@@ -568,7 +568,7 @@ F: include/linux/ccp.h AMD FAM15H PROCESSOR POWER MONITORING DRIVER M: Andreas Herrmann <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/fam15h_power F: drivers/hwmon/fam15h_power.c
@@ -689,7 +689,7 @@ F: drivers/input/mouse/bcm5974.c APPLE SMC DRIVER M: Henrik Rydberg <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/applesmc.c
@@ -1504,7 +1504,7 @@ F: include/media/as3645a.h ASC7621 HARDWARE MONITOR DRIVER M: George Joseph <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/asc7621 F: drivers/hwmon/asc7621.c
@@ -1583,7 +1583,7 @@ F: drivers/net/wireless/ath/carl9170/ ATK0110 HWMON DRIVER M: Luca Tettamanti <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/asus_atk0110.c
@@ -2459,7 +2459,7 @@ F: mm/page_cgroup.c CORETEMP HARDWARE MONITORING DRIVER M: Fenghua Yu <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/coretemp F: drivers/hwmon/coretemp.c
@@ -2931,7 +2931,7 @@ T: git git://git.infradead.org/users/vkoul/slave-dma.git (slave-dma) DME1737 HARDWARE MONITOR DRIVER M: Juerg Haefliger <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/dme1737 F: drivers/hwmon/dme1737.c
@@ -3559,7 +3559,7 @@ F: include/video/exynos_mipi* F71805F HARDWARE MONITORING DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/f71805f F: drivers/hwmon/f71805f.c
@@ -3632,7 +3632,7 @@ F: fs/* FINTEK F75375S HARDWARE MONITOR AND FAN CONTROLLER DRIVER M: Riku Voipio <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/f75375s.c F: include/linux/f75375s.h
@@ -4093,8 +4093,8 @@ F: drivers/tty/hvc/ HARDWARE MONITORING M: Jean Delvare <[email protected]> M: Guenter Roeck <[email protected]> -L: [email protected] -W: http://www.lm-sensors.org/ +L: [email protected] +W: http://hwmon.wiki.kernel.org/ T: quilt kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-hwmon/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git S: Maintained
@@ -4540,7 +4540,7 @@ F: drivers/usb/atm/ueagle-atm.c INA209 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/ina209 F: Documentation/devicetree/bindings/i2c/ina209.txt
@@ -4548,7 +4548,7 @@ F: drivers/hwmon/ina209.c INA2XX HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/ina2xx F: drivers/hwmon/ina2xx.c
@@ -4967,7 +4967,7 @@ F: drivers/isdn/hardware/eicon/ IT87 HARDWARE MONITORING DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/it87 F: drivers/hwmon/it87.c
@@ -5003,7 +5003,7 @@ F: drivers/media/dvb-frontends/ix2505v* JC42.4 TEMPERATURE SENSOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/jc42.c F: Documentation/hwmon/jc42
@@ -5054,14 +5054,14 @@ F: drivers/tty/serial/jsm/ K10TEMP HARDWARE MONITORING DRIVER M: Clemens Ladisch <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/k10temp F: drivers/hwmon/k10temp.c K8TEMP HARDWARE MONITORING DRIVER M: Rudolf Marek <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/k8temp F: drivers/hwmon/k8temp.c
@@ -5467,27 +5467,27 @@ F: net/llc/ LM73 HARDWARE MONITOR DRIVER M: Guillaume Ligneul <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/lm73.c LM78 HARDWARE MONITOR DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/lm78 F: drivers/hwmon/lm78.c LM83 HARDWARE MONITOR DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/lm83 F: drivers/hwmon/lm83.c LM90 HARDWARE MONITOR DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/lm90 F: Documentation/devicetree/bindings/hwmon/lm90.txt
@@ -5495,7 +5495,7 @@ F: drivers/hwmon/lm90.c LM95234 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/lm95234 F: drivers/hwmon/lm95234.c
@@ -5562,7 +5562,7 @@ F: drivers/scsi/sym53c8xx_2/ LTC4261 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/ltc4261 F: drivers/hwmon/ltc4261.c
@@ -5733,21 +5733,21 @@ F: include/uapi/linux/matroxfb.h MAX16065 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/max16065 F: drivers/hwmon/max16065.c MAX6650 HARDWARE MONITOR AND FAN CONTROLLER DRIVER M: "Hans J. Koch" <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/max6650 F: drivers/hwmon/max6650.c MAX6697 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/max6697 F: Documentation/devicetree/bindings/i2c/max6697.txt
@@ -6105,7 +6105,7 @@ F: drivers/scsi/NCR_D700.* NCT6775 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/nct6775 F: drivers/hwmon/nct6775.c
@@ -6745,7 +6745,7 @@ F: drivers/video/logo/logo_parisc* PC87360 HARDWARE MONITORING DRIVER M: Jim Cromie <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/pc87360 F: drivers/hwmon/pc87360.c
@@ -6757,7 +6757,7 @@ F: drivers/char/pc8736x_gpio.c PC87427 HARDWARE MONITORING DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/pc87427 F: drivers/hwmon/pc87427.c
@@ -6999,8 +6999,8 @@ F: drivers/rtc/rtc-puv3.c PMBUS HARDWARE MONITORING DRIVERS M: Guenter Roeck <[email protected]> -L: [email protected] -W: http://www.lm-sensors.org/ +L: [email protected] +W: http://hwmon.wiki.kernel.org/ W: http://www.roeck-us.net/linux/drivers/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git S: Maintained
@@ -8290,28 +8290,28 @@ F: drivers/media/i2c/smiapp-pll.h SMM665 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/smm665 F: drivers/hwmon/smm665.c SMSC EMC2103 HARDWARE MONITOR DRIVER M: Steve Glendinning <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/emc2103 F: drivers/hwmon/emc2103.c SMSC SCH5627 HARDWARE MONITOR DRIVER M: Hans de Goede <[email protected]> -L: [email protected] +L: [email protected] S: Supported F: Documentation/hwmon/sch5627 F: drivers/hwmon/sch5627.c SMSC47B397 HARDWARE MONITOR DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/smsc47b397 F: drivers/hwmon/smsc47b397.c
@@ -9175,7 +9175,7 @@ F: include/linux/mmc/sh_mobile_sdhi.h TMP401 HARDWARE MONITOR DRIVER M: Guenter Roeck <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/tmp401 F: drivers/hwmon/tmp401.c
@@ -9813,14 +9813,14 @@ F: include/linux/regulator/ VT1211 HARDWARE MONITOR DRIVER M: Juerg Haefliger <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/vt1211 F: drivers/hwmon/vt1211.c VT8231 HARDWARE MONITOR DRIVER M: Roger Lucas <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/vt8231.c
@@ -9839,21 +9839,21 @@ F: drivers/w1/ W83791D HARDWARE MONITORING DRIVER M: Marc Hulsman <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/w83791d F: drivers/hwmon/w83791d.c W83793 HARDWARE MONITORING DRIVER M: Rudolf Marek <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: Documentation/hwmon/w83793 F: drivers/hwmon/w83793.c W83795 HARDWARE MONITORING DRIVER M: Jean Delvare <[email protected]> -L: [email protected] +L: [email protected] S: Maintained F: drivers/hwmon/w83795.c
Makefile +2 -2
@@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 16 -SUBLEVEL = 7 -EXTRAVERSION =-ckt27 +SUBLEVEL = 35 +EXTRAVERSION = NAME = Museum of Fishiegoodies # *DOCUMENTATION*
arch/arm/boot/dts/armada-375.dtsi +1 -1
@@ -410,7 +410,7 @@ }; sata@a0000 { - compatible = "marvell,orion-sata"; + compatible = "marvell,armada-370-sata"; reg = <0xa0000 0x5000>; interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; clocks = <&gateclk 14>, <&gateclk 20>;
arch/arm/mach-davinci/Kconfig +1 -13
@@ -65,8 +65,6 @@ config MACH_DAVINCI_EVM bool "TI DM644x EVM" default ARCH_DAVINCI_DM644x depends on ARCH_DAVINCI_DM644x - select EEPROM_AT24 - select I2C help Configure this option to specify the whether the board used for development is a DM644x EVM
@@ -74,8 +72,6 @@ config MACH_DAVINCI_EVM config MACH_SFFSDR bool "Lyrtech SFFSDR" depends on ARCH_DAVINCI_DM644x - select EEPROM_AT24 - select I2C help Say Y here to select the Lyrtech Small Form Factor Software Defined Radio (SFFSDR) board.
@@ -106,8 +102,6 @@ config MACH_DAVINCI_DM6467_EVM bool "TI DM6467 EVM" default ARCH_DAVINCI_DM646x depends on ARCH_DAVINCI_DM646x - select EEPROM_AT24 - select I2C select MACH_DAVINCI_DM6467TEVM help Configure this option to specify the whether the board used
@@ -120,8 +114,6 @@ config MACH_DAVINCI_DM365_EVM bool "TI DM365 EVM" default ARCH_DAVINCI_DM365 depends on ARCH_DAVINCI_DM365 - select EEPROM_AT24 - select I2C help Configure this option to specify whether the board used for development is a DM365 EVM
@@ -130,9 +122,7 @@ config MACH_DAVINCI_DA830_EVM bool "TI DA830/OMAP-L137/AM17x Reference Platform" default ARCH_DAVINCI_DA830 depends on ARCH_DAVINCI_DA830 - select EEPROM_AT24 - select GPIO_PCF857X - select I2C + select GPIO_PCF857X if I2C help Say Y here to select the TI DA830/OMAP-L137/AM17x Evaluation Module.
@@ -212,8 +202,6 @@ config DA850_WL12XX config MACH_MITYOMAPL138 bool "Critical Link MityDSP-L138/MityARM-1808 SoM" depends on ARCH_DAVINCI_DA850 - select EEPROM_AT24 - select I2C help Say Y here to select the Critical Link MityDSP-L138/MityARM-1808 System on Module. Information on this SoM may be found at
arch/arm/mach-davinci/board-dm644x-evm.c +6 -2
@@ -267,7 +267,7 @@ static struct platform_device rtc_dev = {static struct snd_platform_data dm644x_evm_snd_data;/*----------------------------------------------------------------------*/ - +#ifdef CONFIG_I2C /* * I2C GPIO expanders */
@@ -614,6 +614,7 @@ static void __init evm_init_i2c(void)i2c_add_driver (&dm6446evm_msp_driver); i2c_register_board_info(1, i2c_info, ARRAY_SIZE(i2c_info)); } +#endif #define VENC_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
@@ -783,7 +784,9 @@ static __init void davinci_evm_init(void)pr_warn ("%s: Cannot configure AEMIF.\n" , __func__); +#ifdef CONFIG_I2C evm_leds[7 ].default_trigger ="nand-disk" ; +#endif if (HAS_NOR )pr_warning ("WARNING: both NAND and NOR flash " "are enabled; disable one of them.\n" );
@@ -793,9 +796,10 @@ static __init void davinci_evm_init(void)platform_add_devices (davinci_evm_devices,ARRAY_SIZE (davinci_evm_devices)); +#ifdef CONFIG_I2C evm_init_i2c (); -davinci_setup_mmc (0 , &dm6446evm_mmc_config); +#endif dm644x_init_video (&dm644xevm_capture_cfg, &dm644xevm_display_cfg);davinci_serial_init (dm644x_serial_device);
arch/arm/mach-davinci/board-dm646x-evm.c +7 -0
@@ -122,6 +122,7 @@ static struct platform_device davinci_nand_device = {#define HAS_ATA IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) +#ifdef CONFIG_I2C /* CPLD Register 0 bits to control ATA */ #define DM646X_EVM_ATA_RST BIT(0)#define DM646X_EVM_ATA_PWD BIT(1)
@@ -317,6 +318,7 @@ static struct at24_platform_data eeprom_info = { .setup = davinci_get_mac_addr, .context = (void *)0x7f00, }; +#endif static u8 dm646x_iis_serializer_direction[] = {TX_MODE ,RX_MODE ,INACTIVE_MODE ,INACTIVE_MODE ,
@@ -347,6 +349,7 @@ static struct snd_platform_data dm646x_evm_snd_data[] = { }, }; +#ifdef CONFIG_I2C static struct i2c_client *cpld_client; static int cpld_video_probe(struct i2c_client *client,
@@ -714,6 +717,7 @@ static void __init evm_init_i2c(void)evm_init_cpld (); evm_init_video(); } +#endif #define CDCE949_XIN_RATE 27000000
@@ -795,7 +799,10 @@ static __init void evm_init(void)if (ret)pr_warn ("%s: GPIO init failed: %d\n" , __func__, ret); +#ifdef CONFIG_I2C evm_init_i2c (); +#endif +davinci_serial_init (dm646x_serial_device);dm646x_init_mcasp0 (&dm646x_evm_snd_data[0 ]);dm646x_init_mcasp1 (&dm646x_evm_snd_data[1 ]);
arch/arm/mach-omap2/cpuidle34xx.c +68 -1
85 lines not on this page · raw message
arch/parisc/include/asm/uaccess.h +1 -0
@@ -79,6 +79,7 @@ struct exception_table_entry {*/ struct exception_data {unsigned long fault_ip; +unsigned long fault_gp;unsigned long fault_space;unsigned long fault_addr; };
arch/parisc/kernel/asm-offsets.c +1 -0
@@ -292,6 +292,7 @@ int main(void)DEFINE (ASM_PT_INITIAL ,PT_INITIAL );BLANK ();DEFINE (EXCDATA_IP , offsetof(struct exception_data , fault_ip)); +DEFINE (EXCDATA_GP , offsetof(struct exception_data , fault_gp));DEFINE (EXCDATA_SPACE , offsetof(struct exception_data , fault_space));DEFINE (EXCDATA_ADDR , offsetof(struct exception_data , fault_addr));BLANK ();
arch/parisc/kernel/parisc_ksyms.c +5 -5
@@ -47,11 +47,11 @@ EXPORT_SYMBOL(__cmpxchg_u64);EXPORT_SYMBOL (lclear_user);EXPORT_SYMBOL (lstrnlen_user); -/* Global fixups */ -extern void fixup_get_user_skip_1 (void ); -extern void fixup_get_user_skip_2 (void ); -extern void fixup_put_user_skip_1 (void ); -extern void fixup_put_user_skip_2 (void ); +/* Global fixups - defined as int to avoid creation of function pointers */ +extern int fixup_get_user_skip_1; +extern int fixup_get_user_skip_2; +extern int fixup_put_user_skip_1; +extern int fixup_put_user_skip_2;EXPORT_SYMBOL (fixup_get_user_skip_1);EXPORT_SYMBOL (fixup_get_user_skip_2);EXPORT_SYMBOL (fixup_put_user_skip_1);
arch/parisc/kernel/traps.c +3 -0
@@ -802,6 +802,9 @@ void notrace handle_interruption(int code, struct pt_regs *regs)if (fault_space ==0 && !in_atomic ()) { +/* Clean up and return if in exception table. */ +if (fixup_exception (regs)) +return ;pdc_chassis_send_status (PDC_CHASSIS_DIRECT_PANIC );parisc_terminate ("Kernel Fault" , regs, code, fault_address); }
arch/parisc/lib/fixup.S +6 -0
@@ -26,6 +26,7 @@ #ifdef CONFIG_SMP .macro get_fault_ip t1 t2 + loadgp addil LT%__per_cpu_offset,%r27 LDREG RT%__per_cpu_offset(%r1),\t1 /* t2 = smp_processor_id() */
@@ -40,14 +41,19 @@ LDREG RT%exception_data(%r1),\t1 /* t1 = &__get_cpu_var(exception_data) */ add,l \t1,\t2,\t1 + /* %r27 = t1->fault_gp - restore gp */ + LDREG EXCDATA_GP(\t1), %r27 /* t1 = t1->fault_ip */ LDREG EXCDATA_IP(\t1), \t1 .endm #else .macro get_fault_ip t1 t2 + loadgp /* t1 = &__get_cpu_var(exception_data) */ addil LT%exception_data,%r27 LDREG RT%exception_data(%r1),\t2 + /* %r27 = t2->fault_gp - restore gp */ + LDREG EXCDATA_GP(\t2), %r27 /* t1 = t2->fault_ip */ LDREG EXCDATA_IP(\t2), \t1 .endm
arch/parisc/mm/fault.c +1 -0
@@ -151,6 +151,7 @@ int fixup_exception(struct pt_regs *regs)struct exception_data *d; d =this_cpu_ptr (&exception_data); d->fault_ip = regs->iaoq[0 ]; + d->fault_gp = regs->gr[27 ]; d->fault_space = regs->isr; d->fault_addr = regs->ior;
arch/s390/include/asm/mmu_context.h +11 -9
@@ -15,16 +15,22 @@static inline int init_new_context (struct task_struct *tsk,struct mm_struct *mm) { +spin_lock_init (&mm->context.list_lock); +INIT_LIST_HEAD (&mm->context.pgtable_list); +INIT_LIST_HEAD (&mm->context.gmap_list);cpumask_clear (&mm->context.cpu_attach_mask);atomic_set (&mm->context.attach_count,0 ); mm->context.flush_mm =0 ; - mm->context.asce_bits = _ASCE_TABLE_LENGTH | _ASCE_USER_BITS; -#ifdef CONFIG_64BIT - mm->context.asce_bits |= _ASCE_TYPE_REGION3; -#endif mm->context.has_pgste =0 ; mm->context.use_skey =0 ; - mm->context.asce_limit =STACK_TOP_MAX ; +if (mm->context.asce_limit ==0 ) { +/* context created by exec, set asce limit to 4TB */ + mm->context.asce_bits = _ASCE_TABLE_LENGTH | _ASCE_USER_BITS; +#ifdef CONFIG_64BIT + mm->context.asce_bits |= _ASCE_TYPE_REGION3; +#endif + mm->context.asce_limit =STACK_TOP_MAX ; + }crst_table_init ((unsigned long *) mm->pgd,pgd_entry_type (mm));return 0 ; }
@@ -110,10 +116,6 @@ static inline void activate_mm(struct mm_struct *prev,static inline void arch_dup_mmap (struct mm_struct *oldmm,struct mm_struct *mm) { -#ifdef CONFIG_64BIT -if (oldmm->context.asce_limit < mm->context.asce_limit) -crst_table_downgrade (mm, oldmm->context.asce_limit); -#endif }static inline void arch_exit_mmap (struct mm_struct *mm)
arch/s390/include/asm/pci.h +5 -5
@@ -44,11 +44,7 @@ struct zpci_fmb {u64 rpcit_ops;u64 dma_rbytes;u64 dma_wbytes; -/* software counters */ -atomic64_t allocated_pages; -atomic64_t mapped_pages; -atomic64_t unmapped_pages; -} __packed__aligned(16) ; +} __packed__aligned(64) ;#define ZPCI_MSI_VEC_BITS 11#define ZPCI_MSI_VEC_MAX (1 << ZPCI_MSI_VEC_BITS)
@@ -114,6 +110,10 @@ struct zpci_dev {/* Function measurement block */ struct zpci_fmb *fmb;u16 fmb_update;/* update interval */ +/* software counters */ +atomic64_t allocated_pages; +atomic64_t mapped_pages; +atomic64_t unmapped_pages;enum pci_bus_speed max_bus_speed;
arch/s390/include/asm/pgalloc.h +19 -5
@@ -124,12 +124,26 @@ static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd)static inline pgd_t *pgd_alloc (struct mm_struct *mm) { -spin_lock_init (&mm->context.list_lock); -INIT_LIST_HEAD (&mm->context.pgtable_list); -INIT_LIST_HEAD (&mm->context.gmap_list); -return (pgd_t *)crst_table_alloc (mm); +unsigned long *table =crst_table_alloc (mm); + +if (!table) +return NULL ; +if (mm->context.asce_limit == (1UL <<31 )) { +/* Forking a compat process with 2 page table levels */ +if (!pgtable_pmd_page_ctor (virt_to_page (table))) { +crst_table_free (mm, table); +return NULL ; + } + } +return (pgd_t *) table; +} + +static inline void pgd_free (struct mm_struct *mm,pgd_t *pgd) +{ +if (mm->context.asce_limit == (1UL <<31 )) +pgtable_pmd_page_dtor (virt_to_page (pgd)); +crst_table_free (mm, (unsigned long *) pgd); } -#define pgd_free (mm, pgd) crst_table_free(mm, (unsigned long *) pgd)static inline void pmd_populate (struct mm_struct *mm,pmd_t *pmd,pgtable_t pte)
arch/s390/pci/pci.c +9 -1
@@ -190,6 +190,11 @@ int zpci_fmb_enable_device(struct zpci_dev *zdev)return -ENOMEM ;WARN_ON ((u64 ) zdev->fmb &0xf ); +/* reset software counters */ +atomic64_set (&zdev->allocated_pages,0 ); +atomic64_set (&zdev->mapped_pages,0 ); +atomic64_set (&zdev->unmapped_pages,0 ); + args.fmb_addr =virt_to_phys (zdev->fmb);return mod_pci (zdev,ZPCI_MOD_FC_SET_MEASURE ,0 , &args); }
@@ -840,8 +845,11 @@ static inline int barsize(u8 size)static int zpci_mem_init (void ) { +BUILD_BUG_ON (!is_power_of_2 (__alignof__(struct zpci_fmb )) || + __alignof__(struct zpci_fmb ) <sizeof (struct zpci_fmb )); + zdev_fmb_cache =kmem_cache_create ("PCI_FMB_cache" ,sizeof (struct zpci_fmb ), -16 ,0 ,NULL ); + __alignof__(struct zpci_fmb ),0 ,NULL );if (!zdev_fmb_cache) goto error_zdev;
arch/s390/pci/pci_debug.c +15 -6
@@ -31,12 +31,25 @@ static char *pci_perf_names[] = {"Refresh operations" ,"DMA read bytes" , "DMA write bytes", -/* software counters */ +}; + +static char *pci_sw_names[] = {"Allocated pages" ,"Mapped pages" ,"Unmapped pages" , }; +static void pci_sw_counter_show (struct seq_file *m) +{ +struct zpci_dev *zdev = m->private; +atomic64_t *counter = &zdev->allocated_pages; +int i; + +for (i =0 ; i <ARRAY_SIZE (pci_sw_names); i++, counter++) +seq_printf (m,"%26s:\t%llu\n" , pci_sw_names[i], +atomic64_read (counter)); +} +static int pci_perf_show (struct seq_file *m,void *v) {struct zpci_dev *zdev = m->private;
@@ -63,12 +76,8 @@ static int pci_perf_show(struct seq_file *m, void *v)for (i =4 ; i <6 ; i++)seq_printf (m,"%26s:\t%llu\n" , pci_perf_names[i], *(stat + i)); -/* software counters */ -for (i =6 ; i <ARRAY_SIZE (pci_perf_names); i++) -seq_printf (m,"%26s:\t%llu\n" , - pci_perf_names[i], -atomic64_read ((atomic64_t *) (stat + i))); +pci_sw_counter_show (m);return 0 ; }
arch/s390/pci/pci_dma.c +4 -4
@@ -287,7 +287,7 @@ static dma_addr_t s390_dma_map_pages(struct device *dev, struct page *page, flags |=ZPCI_TABLE_PROTECTED ;if (!dma_update_trans (zdev, pa, dma_addr, size, flags)) { -atomic64_add (nr_pages, &zdev->fmb->mapped_pages); +atomic64_add (nr_pages, &zdev->mapped_pages);return dma_addr + (offset & ~PAGE_MASK ); }
@@ -315,7 +315,7 @@ static void s390_dma_unmap_pages(struct device *dev, dma_addr_t dma_addr,zpci_err_hex (&dma_addr,sizeof (dma_addr)); } -atomic64_add (npages, &zdev->fmb->unmapped_pages); +atomic64_add (npages, &zdev->unmapped_pages); iommu_page_index = (dma_addr - zdev->start_dma) >>PAGE_SHIFT ;dma_free_iommu (zdev, iommu_page_index, npages); }
@@ -344,7 +344,7 @@ static void *s390_dma_alloc(struct device *dev, size_t size,return NULL ; } -atomic64_add (size /PAGE_SIZE , &zdev->fmb->allocated_pages); +atomic64_add (size /PAGE_SIZE , &zdev->allocated_pages);if (dma_handle) *dma_handle = map;return (void *) pa;
@@ -357,7 +357,7 @@ static void s390_dma_free(struct device *dev, size_t size,struct zpci_dev *zdev =get_zdev (to_pci_dev (dev)); size =PAGE_ALIGN (size); -atomic64_sub (size /PAGE_SIZE , &zdev->fmb->allocated_pages); +atomic64_sub (size /PAGE_SIZE , &zdev->allocated_pages);s390_dma_unmap_pages (dev, dma_handle, size,DMA_BIDIRECTIONAL ,NULL );free_pages ((unsigned long ) pa,get_order (size)); }
arch/um/drivers/mconsole_kern.c +1 -1
@@ -133,7 +133,7 @@ void mconsole_proc(struct mc_request *req) ptr +=strlen ("proc" ); ptr =skip_spaces (ptr); - file =file_open_root (mnt->mnt_root, mnt, ptr,O_RDONLY ); + file =file_open_root (mnt->mnt_root, mnt, ptr,O_RDONLY ,0 );if (IS_ERR (file)) {mconsole_reply (req,"Failed to open file" ,1 ,0 );printk (KERN_ERR "open /proc/%s: %ld\n" , ptr,PTR_ERR (file));
arch/x86/include/asm/apic.h +1 -1
@@ -687,8 +687,8 @@ static inline void entering_irq(void)static inline void entering_ack_irq (void ) { -ack_APIC_irq ();entering_irq (); +ack_APIC_irq (); }static inline void exiting_irq (void )
arch/x86/include/asm/perf_event.h +2 -0
@@ -151,6 +151,8 @@ struct x86_pmu_capability {*/ #define INTEL_PMC_IDX_FIXED_BTS (INTEL_PMC_IDX_FIXED + 16) +#define GLOBAL_STATUS_TRACE_TOPAPMI BIT_ULL(55) +/* * IBS cpuid feature detection */
arch/x86/kernel/cpu/perf_event.c +13 -0
@@ -504,6 +504,19 @@ void x86_pmu_disable_all(void) } } +/* +* There may be PMI landing after enabled=0. The PMI hitting could be before or +* after disable_all. +* +* If PMI hits before disable_all, the PMU will be disabled in the NMI handler. +* It will not be re-enabled in the NMI handler again, because enabled=0. After +* handling the NMI, disable_all will be called, which will not change the +* state either. If PMI hits after disable_all, the PMU is already disabled +* before entering NMI handler. The NMI handler will not change the state +* either. +* +* So either situation is harmless. +*/ static void x86_pmu_disable (struct pmu *pmu) {struct cpu_hw_events *cpuc = &__get_cpu_var (cpu_hw_events);
arch/x86/kernel/cpu/perf_event.h +3 -0
@@ -447,6 +447,7 @@ struct x86_pmu { pebs_active :1 , pebs_broken :1;int pebs_record_size; +int pebs_buffer_size;void (*drain_pebs)(struct pt_regs *regs);struct event_constraint *pebs_constraints;void (*pebs_aliases)(struct perf_event *event);
@@ -705,6 +706,8 @@ void intel_pmu_lbr_init_atom(void);void intel_pmu_lbr_init_snb (void ); +void intel_pmu_pebs_data_source_nhm (void ); +int intel_pmu_setup_lbr_filter (struct perf_event *event);int p4_pmu_init (void );
arch/x86/kernel/cpu/perf_event_intel.c +27 -1
@@ -1043,6 +1043,17 @@ static inline bool intel_pmu_needs_lbr_smpl(struct perf_event *event)return false; } +/* +* Used from PMIs where the LBRs are already disabled. +* +* This function could be called consecutively. It is required to remain in +* disabled state if called consecutively. +* +* During consecutive calls, the same disable value will be written to related +* registers, so the PMU state remains unchanged. hw.state in +* intel_bts_disable_local will remain PERF_HES_STOPPED too in consecutive +* calls. +*/ static void intel_pmu_disable_all (void ) {struct cpu_hw_events *cpuc = &__get_cpu_var (cpu_hw_events);
@@ -1396,6 +1407,16 @@ again:if (__test_and_clear_bit (62 , (unsigned long *)&status)) { handled++; x86_pmu.drain_pebs (regs); +/* +* There are cases where, even though, the PEBS ovfl bit is set +* in GLOBAL_OVF_STATUS, the PEBS events may also have their +* overflow bits set for their counters. We must clear them +* here because they have been processed as exact samples in +* the drain_pebs() routine. They must not be processed again +* in the for_each_bit_set() loop for regular samples below. +*/ + status &= ~cpuc->pebs_enabled; + status &= x86_pmu.intel_ctrl |GLOBAL_STATUS_TRACE_TOPAPMI ; }/*
@@ -1433,7 +1454,10 @@ again: goto again; done: -intel_pmu_enable_all (0 ); +/* Only restore PMU state when it's active. See x86_pmu_disable(). */ +if (cpuc->enabled) +intel_pmu_enable_all (0 ); +/* * Only unmask the NMI after the overflow counters * have been reset. This avoids spurious NMIs on
@@ -2410,6 +2434,7 @@ __init int intel_pmu_init(void) intel_perfmon_event_map[PERF_COUNT_HW_STALLED_CYCLES_BACKEND ] = X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); +intel_pmu_pebs_data_source_nhm ();x86_add_quirk (intel_nehalem_quirk);pr_cont ("Nehalem events, " );
@@ -2471,6 +2496,7 @@ __init int intel_pmu_init(void) intel_perfmon_event_map[PERF_COUNT_HW_STALLED_CYCLES_BACKEND ] = X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); +intel_pmu_pebs_data_source_nhm ();pr_cont ("Westmere events, " );break ;
arch/x86/kernel/cpu/perf_event_intel_ds.c +21 -3
@@ -51,7 +51,8 @@ union intel_x86_pebs_dse {#define OP_LH (P(OP, LOAD) | P(LVL, HIT))#define SNOOP_NONE_MISS (P(SNOOP, NONE) | P(SNOOP, MISS)) -static const u64 pebs_data_source[] = { +/* Version for Sandy Bridge and later */ +static u64 pebs_data_source[] = {P (OP ,LOAD ) |P (LVL ,MISS ) |P (LVL ,L3 ) |P (SNOOP ,NA ),/* 0x00:ukn L3 */ OP_LH |P (LVL ,L1 ) |P (SNOOP ,NONE ),/* 0x01: L1 local */ OP_LH |P (LVL ,LFB ) |P (SNOOP ,NONE ),/* 0x02: LFB hit */
@@ -70,6 +71,14 @@ static const u64 pebs_data_source[] = { OP_LH | P(LVL, UNC) | P(SNOOP, NONE), /* 0x0f: uncached */ }; +/* Patch up minor differences in the bits */ +void __init intel_pmu_pebs_data_source_nhm (void ) +{ + pebs_data_source[0x05 ] =OP_LH |P (LVL ,L3 ) |P (SNOOP ,HIT ); + pebs_data_source[0x06 ] =OP_LH |P (LVL ,L3 ) |P (SNOOP ,HITM ); + pebs_data_source[0x07 ] =OP_LH |P (LVL ,L3 ) |P (SNOOP ,HITM ); +} +static u64 precise_store_data (u64 status) {union intel_x86_pebs_dse dse;
@@ -257,7 +266,7 @@ static int alloc_pebs_buffer(int cpu)if (!x86_pmu.pebs)return 0 ; - buffer =kzalloc_node (PEBS_BUFFER_SIZE ,GFP_KERNEL , node); + buffer =kzalloc_node (x86_pmu.pebs_buffer_size,GFP_KERNEL , node);if (unlikely (!buffer))return -ENOMEM ;
@@ -274,7 +283,7 @@ static int alloc_pebs_buffer(int cpu)per_cpu (insn_buffer, cpu) = ibuffer; } - max =PEBS_BUFFER_SIZE / x86_pmu.pebs_record_size; + max = x86_pmu.pebs_buffer_size / x86_pmu.pebs_record_size; ds->pebs_buffer_base = (u64 )(unsigned long )buffer; ds->pebs_index = ds->pebs_buffer_base;
@@ -1065,6 +1074,7 @@ void intel_ds_init(void) x86_pmu.bts =boot_cpu_has (X86_FEATURE_BTS ); x86_pmu.pebs =boot_cpu_has (X86_FEATURE_PEBS ); + x86_pmu.pebs_buffer_size =PEBS_BUFFER_SIZE ;if (x86_pmu.pebs) {char pebs_type = x86_pmu.intel_cap.pebs_trap ?'+' :'-' ;int format = x86_pmu.intel_cap.pebs_format;
@@ -1073,6 +1083,14 @@ void intel_ds_init(void)case 0 :printk (KERN_CONT "PEBS fmt0%c, " , pebs_type); x86_pmu.pebs_record_size =sizeof (struct pebs_record_core ); +/* +* Using >PAGE_SIZE buffers makes the WRMSR to +* PERF_GLOBAL_CTRL in intel_pmu_enable_all() +* mysteriously hang on Core2. +* +* As a workaround, we don't do this. +*/ + x86_pmu.pebs_buffer_size =PAGE_SIZE ; x86_pmu.drain_pebs = intel_pmu_drain_pebs_core;break ;
arch/x86/kernel/cpu/perf_event_knc.c +3 -1
@@ -263,7 +263,9 @@ again: goto again; done: -knc_pmu_enable_all (0 ); +/* Only restore PMU state when it's active. See x86_pmu_disable(). */ +if (cpuc->enabled) +knc_pmu_enable_all (0 );return handled; }
arch/x86/kernel/ioport.c +9 -3
@@ -96,9 +96,14 @@ asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int turn_on) SYSCALL_DEFINE1(iopl, unsigned int, level) {struct pt_regs *regs =current_pt_regs (); -unsigned int old = (regs->flags >>12 ) &3 ;struct thread_struct *t = ¤t->thread; +/* +* Careful: the IOPL bits in regs->flags are undefined under Xen PV +* and changing them has no effect. +*/ +unsigned int old = t->iopl >>X86_EFLAGS_IOPL_BIT ; +if (level >3 )return -EINVAL ;/* Trying to gain more privileges? */
@@ -106,8 +111,9 @@ SYSCALL_DEFINE1(iopl, unsigned int, level)if (!capable (CAP_SYS_RAWIO ))return -EPERM ; } - regs->flags = (regs->flags & ~X86_EFLAGS_IOPL ) | (level <<12 ); - t->iopl = level <<12 ; + regs->flags = (regs->flags & ~X86_EFLAGS_IOPL ) | + (level <<X86_EFLAGS_IOPL_BIT ); + t->iopl = level <<X86_EFLAGS_IOPL_BIT ;set_iopl_mask (t->iopl);return 0 ;
arch/x86/kvm/i8254.c +7 -5
@@ -244,7 +244,7 @@ static void kvm_pit_ack_irq(struct kvm_irq_ack_notifier *kian)* PIC is being reset. Handle it gracefully here */ atomic_inc (&ps->pending); - else if (value > 0) + else if (value > 0 && ps->reinject)/* in this case, we had multiple outstanding pit interrupts * that we needed to inject. Reinject */
@@ -287,7 +287,9 @@ static void pit_do_work(struct kthread_work *work)* last one has been acked. */ spin_lock (&ps->inject_lock); -if (ps->irq_ack) { +if (!ps->reinject) + inject =1 ; +else if (ps->irq_ack) { ps->irq_ack =0 ; inject =1 ; }
@@ -316,10 +318,10 @@ static enum hrtimer_restart pit_timer_fn(struct hrtimer *data) struct kvm_kpit_state *ps = container_of(data, struct kvm_kpit_state, timer);struct kvm_pit *pt = ps->kvm->arch.vpit; -if (ps->reinject || !atomic_read (&ps->pending)) { +if (ps->reinject)atomic_inc (&ps->pending); -queue_kthread_work (&pt->worker, &pt->expired); - } + +queue_kthread_work (&pt->worker, &pt->expired);if (ps->is_periodic) {hrtimer_add_expires_ns (&ps->timer, ps->period);
arch/x86/kvm/vmx.c +1 -0
@@ -6601,6 +6601,7 @@ static int handle_invept(struct kvm_vcpu *vcpu)if (!(types & (1UL << type))) {nested_vmx_failValid (vcpu,VMXERR_INVALID_OPERAND_TO_INVEPT_INVVPID ); +skip_emulated_instruction (vcpu);return 1 ; }
arch/x86/kvm/x86.c +10 -10
@@ -5911,12 +5911,10 @@ static int inject_pending_event(struct kvm_vcpu *vcpu, bool req_int_win) }/* try to inject new event if pending */ -if (vcpu->arch.nmi_pending) { -if (kvm_x86_ops->nmi_allowed (vcpu)) { - --vcpu->arch.nmi_pending; - vcpu->arch.nmi_injected = true; - kvm_x86_ops->set_nmi (vcpu); - } +if (vcpu->arch.nmi_pending && kvm_x86_ops->nmi_allowed (vcpu)) { + --vcpu->arch.nmi_pending; + vcpu->arch.nmi_injected = true; + kvm_x86_ops->set_nmi (vcpu); }else if (kvm_cpu_has_injectable_intr (vcpu)) {/* * Because interrupts can be injected asynchronously, we are
@@ -6044,10 +6042,12 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu)if (inject_pending_event (vcpu, req_int_win) !=0 ) req_immediate_exit = true;/* enable NMI/IRQ window open exits if needed */ -else if (vcpu->arch.nmi_pending) - kvm_x86_ops->enable_nmi_window (vcpu); -else if (kvm_cpu_has_injectable_intr (vcpu) || req_int_win) - kvm_x86_ops->enable_irq_window (vcpu); +else { +if (vcpu->arch.nmi_pending) + kvm_x86_ops->enable_nmi_window (vcpu); +if (kvm_cpu_has_injectable_intr (vcpu) || req_int_win) + kvm_x86_ops->enable_irq_window (vcpu); + }if (kvm_lapic_enabled (vcpu)) {/*
arch/x86/mm/mmap.c +18 -26
72 lines not on this page · raw message
arch/x86/pci/fixup.c +7 -0
@@ -553,3 +553,10 @@ static void twinhead_reserve_killing_zone(struct pci_dev *dev) } }DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_INTEL ,0x27B9 , twinhead_reserve_killing_zone); + +static void pci_bdwep_bar (struct pci_dev *dev) +{ + dev->non_compliant_bars =1 ; +} +DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_INTEL ,0x6fa0 , pci_bdwep_bar); +DECLARE_PCI_FIXUP_EARLY (PCI_VENDOR_ID_INTEL ,0x6fc0 , pci_bdwep_bar);
arch/xtensa/kernel/head.S +1 -1
@@ -123,7 +123,7 @@ ENTRY(_startup) wsr a0, icountlevel .set _index, 0 - .rept XCHAL_NUM_DBREAK - 1 + .rept XCHAL_NUM_DBREAK wsr a0, SREG_DBREAKC + _index .set _index, _index + 1 .endr
arch/xtensa/platforms/iss/console.c +6 -4
@@ -100,21 +100,23 @@ static void rs_poll(unsigned long priv) {struct tty_port *port = (struct tty_port *)priv;int i =0 ; +int rd =1 ;unsigned char c;spin_lock (&timer_lock);while (simc_poll (0 )) { -simc_read (0 , &c,1 ); + rd =simc_read (0 , &c,1 ); +if (rd <=0 ) +break ;tty_insert_flip_char (port, c,TTY_NORMAL ); i++; }if (i)tty_flip_buffer_push (port); - - -mod_timer (&serial_timer, jiffies +SERIAL_TIMER_VALUE ); +if (rd) +mod_timer (&serial_timer, jiffies +SERIAL_TIMER_VALUE );spin_unlock (&timer_lock); }
crypto/gcm.c +3 -0
@@ -1173,6 +1173,9 @@ static struct aead_request *crypto_rfc4543_crypt(struct aead_request *req,aead_request_set_tfm (subreq, ctx->child);aead_request_set_callback (subreq, req->base.flags, crypto_rfc4543_done, req); +if (!enc) +aead_request_set_callback (subreq, req->base.flags, + req->base.complete, req->base.data);aead_request_set_crypt (subreq, cipher, cipher, enc ?0 : authsize, iv);aead_request_set_assoc (subreq, assoc, assoclen);
drivers/block/mtip32xx/mtip32xx.c +16 -19
@@ -621,8 +621,6 @@ static void mtip_handle_tfe(struct driver_data *dd) port = dd->port; -set_bit (MTIP_PF_EH_ACTIVE_BIT , &port->flags); -if (test_bit (MTIP_PF_IC_ACTIVE_BIT , &port->flags) &&test_bit (MTIP_TAG_INTERNAL , port->allocated)) { cmd =mtip_cmd_from_tag (dd,MTIP_TAG_INTERNAL );
@@ -632,7 +630,7 @@ static void mtip_handle_tfe(struct driver_data *dd) cmd->comp_func (port,MTIP_TAG_INTERNAL , cmd,PORT_IRQ_TF_ERR ); } - goto handle_tfe_exit; +return ; }/* clear the tag accumulator */
@@ -775,11 +773,6 @@ static void mtip_handle_tfe(struct driver_data *dd) } }print_tags (dd,"reissued (TFE)" , tagaccum, cmd_cnt); - -handle_tfe_exit: -/* clear eh_active */ -clear_bit (MTIP_PF_EH_ACTIVE_BIT , &port->flags); -wake_up_interruptible (&port->svc_wait); }/*
@@ -2982,9 +2975,7 @@ static int mtip_service_thread(void *data)* is in progress nor error handling is active */ wait_event_interruptible (port->svc_wait, (port->flags) && - !(port->flags &MTIP_PF_PAUSE_IO )); - -set_bit (MTIP_PF_SVC_THD_ACTIVE_BIT , &port->flags); + (port->flags &MTIP_PF_SVC_THD_WORK ));if (kthread_should_stop () ||test_bit (MTIP_PF_SVC_THD_STOP_BIT , &port->flags))
@@ -2998,6 +2989,8 @@ static int mtip_service_thread(void *data) &dd->dd_flag))) goto st_out; +set_bit (MTIP_PF_SVC_THD_ACTIVE_BIT , &port->flags); + restart_eh:/* Demux bits: start with error handling */ if (test_bit (MTIP_PF_EH_ACTIVE_BIT , &port->flags)) {
@@ -3352,20 +3345,25 @@ out1:return rv; } -static void mtip_standby_drive (struct driver_data *dd) +static int mtip_standby_drive (struct driver_data *dd) { -if (dd->sr) -return ; +int rv =0 ; +if (dd->sr || !dd->port) +return -ENODEV ;/* * Send standby immediate (E0h) to the drive so that it * saves its state. */ if (!test_bit (MTIP_PF_REBUILD_BIT , &dd->port->flags) && - !test_bit (MTIP_DDF_SEC_LOCK_BIT , &dd->dd_flag)) -if (mtip_standby_immediate (dd->port)) + !test_bit (MTIP_DDF_REBUILD_FAILED_BIT , &dd->dd_flag) && + !test_bit (MTIP_DDF_SEC_LOCK_BIT , &dd->dd_flag)) { + rv =mtip_standby_immediate (dd->port); +if (rv)dev_warn (&dd->pdev->dev,"STANDBY IMMEDIATE failed\n" ); + } +return rv; }/*
@@ -3422,8 +3420,7 @@ static int mtip_hw_shutdown(struct driver_data *dd)* Send standby immediate (E0h) to the drive so that it * saves its state. */ -if (!dd->sr && dd->port) -mtip_standby_immediate (dd->port); +mtip_standby_drive (dd);return 0 ; }
@@ -3446,7 +3443,7 @@ static int mtip_hw_suspend(struct driver_data *dd)* Send standby immediate (E0h) to the drive * so that it saves its state. */ -if (mtip_standby_immediate (dd->port) !=0 ) { +if (mtip_standby_drive (dd) !=0 ) {dev_err (&dd->pdev->dev,"Failed standby-immediate command\n" );return -EFAULT ;
drivers/block/mtip32xx/mtip32xx.h +5 -0
@@ -145,6 +145,11 @@ enum {MTIP_PF_SR_CLEANUP_BIT =7 ,MTIP_PF_SVC_THD_STOP_BIT =8 , +MTIP_PF_SVC_THD_WORK = ((1 <<MTIP_PF_EH_ACTIVE_BIT ) | + (1 <<MTIP_PF_ISSUE_CMDS_BIT ) | + (1 <<MTIP_PF_REBUILD_BIT ) | + (1 <<MTIP_PF_SVC_THD_STOP_BIT )), +/* below are bit numbers in 'dd_flag' defined in driver_data */ MTIP_DDF_SEC_LOCK_BIT =0 , MTIP_DDF_REMOVE_PENDING_BIT = 1,
drivers/block/nbd.c +2 -2
@@ -578,8 +578,8 @@ static void do_nbd_request(struct request_queue *q)BUG_ON (nbd->magic !=NBD_MAGIC );if (unlikely (!nbd->sock)) { -dev_err (disk_to_dev (nbd->disk), -"Attempted send on closed socket\n" ); +dev_err_ratelimited (disk_to_dev (nbd->disk), +"Attempted send on closed socket\n" ); req->errors++;nbd_end_request (req);spin_lock_irq (q->queue_lock);
drivers/block/paride/pd.c +2 -2
@@ -126,7 +126,7 @@*/ #include <linux/types.h> -static bool verbose =0 ; +static int verbose =0 ;static int major =PD_MAJOR ;static char *name =PD_NAME ;static int cluster =64 ;
@@ -161,7 +161,7 @@ enum {D_PRT, D_PRO, D_UNI, D_MOD, D_GEO, D_SBY, D_DLY, D_SLV};static DEFINE_MUTEX (pd_mutex);static DEFINE_SPINLOCK (pd_lock); -module_param (verbose, bool,0 ); +module_param (verbose, int,0 );module_param (major, int,0 );module_param (name, charp,0 );module_param (cluster, int,0 );
drivers/block/paride/pt.c +2 -2
@@ -117,7 +117,7 @@*/ -static bool verbose =0 ; +static int verbose =0 ;static int major =PT_MAJOR ;static char *name =PT_NAME ;static int disable =0 ;
@@ -152,7 +152,7 @@ static int (*drives[4])[6] = {&drive0, &drive1, &drive2, &drive3};#include <asm/uaccess.h> -module_param (verbose, bool,0 ); +module_param (verbose, int,0 );module_param (major, int,0 );module_param (name, charp,0 );module_param_array (drive0, int,NULL ,0 );
drivers/bluetooth/ath3k.c +8 -0
@@ -82,6 +82,7 @@ static const struct usb_device_id ath3k_table[] = { { USB_DEVICE(0x0489, 0xe05f) }, { USB_DEVICE(0x0489, 0xe076) }, { USB_DEVICE(0x0489, 0xe078) }, + { USB_DEVICE(0x0489, 0xe095) }, { USB_DEVICE(0x04c5, 0x1330) }, { USB_DEVICE(0x04CA, 0x3004) }, { USB_DEVICE(0x04CA, 0x3005) },
@@ -92,6 +93,7 @@ static const struct usb_device_id ath3k_table[] = { { USB_DEVICE(0x04CA, 0x300d) }, { USB_DEVICE(0x04CA, 0x300f) }, { USB_DEVICE(0x04CA, 0x3010) }, + { USB_DEVICE(0x04CA, 0x3014) }, { USB_DEVICE(0x0930, 0x0219) }, { USB_DEVICE(0x0930, 0x021c) }, { USB_DEVICE(0x0930, 0x0220) },
@@ -113,10 +115,12 @@ static const struct usb_device_id ath3k_table[] = { { USB_DEVICE(0x13d3, 0x3362) }, { USB_DEVICE(0x13d3, 0x3375) }, { USB_DEVICE(0x13d3, 0x3393) }, + { USB_DEVICE(0x13d3, 0x3395) }, { USB_DEVICE(0x13d3, 0x3402) }, { USB_DEVICE(0x13d3, 0x3408) }, { USB_DEVICE(0x13d3, 0x3423) }, { USB_DEVICE(0x13d3, 0x3432) }, + { USB_DEVICE(0x13d3, 0x3472) }, { USB_DEVICE(0x13d3, 0x3474) }, /* Atheros AR5BBU12 with sflash firmware */
@@ -144,6 +148,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = { { USB_DEVICE(0x0489, 0xe05f), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0489, 0xe076), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0489, 0xe078), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x0489, 0xe095), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04c5, 0x1330), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
@@ -154,6 +159,7 @@ static const struct usb_device_id ath3k_blist_tbl[] = { { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x300f), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3010), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x04ca, 0x3014), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x021c), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
@@ -175,10 +181,12 @@ static const struct usb_device_id ath3k_blist_tbl[] = { { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3393), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x13d3, 0x3395), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x13d3, 0x3472), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3474), .driver_info = BTUSB_ATH3012 },/* Atheros AR5BBU22 with sflash firmware */
drivers/bluetooth/btusb.c +4 -0
@@ -176,6 +176,7 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x0489, 0xe05f), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0489, 0xe076), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0489, 0xe078), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x0489, 0xe095), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04c5, 0x1330), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 },
@@ -186,6 +187,7 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x04ca, 0x300d), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x300f), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3010), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x04ca, 0x3014), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0219), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x021c), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0930, 0x0220), .driver_info = BTUSB_ATH3012 },
@@ -207,10 +209,12 @@ static const struct usb_device_id blacklist_table[] = { { USB_DEVICE(0x13d3, 0x3362), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3393), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x13d3, 0x3395), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3402), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3408), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3423), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3432), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x13d3, 0x3472), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3474), .driver_info = BTUSB_ATH3012 },/* Atheros AR5BBU12 with sflash firmware */
drivers/bus/imx-weim.c +1 -1
@@ -150,7 +150,7 @@ static int __init weim_parse_dt(struct platform_device *pdev,return ret; } -for_each_child_of_node (pdev->dev.of_node, child) { +for_each_available_child_of_node (pdev->dev.of_node, child) {if (!child->name)continue ;
drivers/clk/clk-xgene.c +2 -2
@@ -351,8 +351,8 @@ static int xgene_clk_set_rate(struct clk_hw *hw, unsigned long rate,/* Set new divider */ data =xgene_clk_read (pclk->param.divider_reg + pclk->param.reg_divider_offset); - data &= ~((1 << pclk->param.reg_divider_width) -1 ) - << pclk->param.reg_divider_shift; + data &= ~(((1 << pclk->param.reg_divider_width) -1 ) + << pclk->param.reg_divider_shift); data |= divider;xgene_clk_write (data, pclk->param.divider_reg + pclk->param.reg_divider_offset);
drivers/clk/versatile/clk-sp810.c +3 -1
@@ -141,6 +141,7 @@ void __init clk_sp810_of_setup(struct device_node *node)const char *parent_names[2 ];char name[12 ];struct clk_init_data init; +static int instance;int i;if (!sp810) {
@@ -172,7 +173,7 @@ void __init clk_sp810_of_setup(struct device_node *node) init.num_parents =ARRAY_SIZE (parent_names);for (i =0 ; i <ARRAY_SIZE (sp810->timerclken); i++) { -snprintf (name,ARRAY_SIZE (name),"timerclken%d" , i); +snprintf (name,sizeof (name),"sp810_%d_%d" , instance, i); sp810->timerclken[i].sp810 = sp810; sp810->timerclken[i].channel = i;
@@ -184,5 +185,6 @@ void __init clk_sp810_of_setup(struct device_node *node) }of_clk_add_provider (node, clk_sp810_timerclken_of_get, sp810); + instance++; }CLK_OF_DECLARE (sp810,"arm,sp810" , clk_sp810_of_setup);
drivers/crypto/ccp/ccp-crypto-aes-cmac.c +36 -0
@@ -201,6 +201,39 @@ static int ccp_aes_cmac_digest(struct ahash_request *req)return ccp_aes_cmac_finup (req); } +static int ccp_aes_cmac_export (struct ahash_request *req,void *out) +{ +struct ccp_aes_cmac_req_ctx *rctx =ahash_request_ctx (req); +struct ccp_aes_cmac_exp_ctx state; + + state.null_msg = rctx->null_msg; +memcpy (state.iv, rctx->iv,sizeof (state.iv)); + state.buf_count = rctx->buf_count; +memcpy (state.buf, rctx->buf,sizeof (state.buf)); + +/* 'out' may not be aligned so memcpy from local variable */ +memcpy (out, &state,sizeof (state)); + +return 0 ; +} + +static int ccp_aes_cmac_import (struct ahash_request *req,const void *in) +{ +struct ccp_aes_cmac_req_ctx *rctx =ahash_request_ctx (req); +struct ccp_aes_cmac_exp_ctx state; + +/* 'in' may not be aligned so memcpy to local variable */ +memcpy (&state, in,sizeof (state)); + +memset (rctx,0 ,sizeof (*rctx)); + rctx->null_msg = state.null_msg; +memcpy (rctx->iv, state.iv,sizeof (rctx->iv)); + rctx->buf_count = state.buf_count; +memcpy (rctx->buf, state.buf,sizeof (rctx->buf)); + +return 0 ; +} +static int ccp_aes_cmac_setkey (struct crypto_ahash *tfm,const u8 *key,unsigned int key_len) {
@@ -332,10 +365,13 @@ int ccp_register_aes_cmac_algs(struct list_head *head) alg->final = ccp_aes_cmac_final; alg->finup = ccp_aes_cmac_finup; alg->digest = ccp_aes_cmac_digest; + alg->export = ccp_aes_cmac_export; + alg->import = ccp_aes_cmac_import; alg->setkey = ccp_aes_cmac_setkey; halg = &alg->halg; halg->digestsize =AES_BLOCK_SIZE ; + halg->statesize =sizeof (struct ccp_aes_cmac_exp_ctx ); base = &halg->base;snprintf (base->cra_name,CRYPTO_MAX_ALG_NAME ,"cmac(aes)" );
drivers/crypto/ccp/ccp-crypto-sha.c +40 -0
@@ -193,6 +193,43 @@ static int ccp_sha_digest(struct ahash_request *req)return ccp_sha_finup (req); } +static int ccp_sha_export (struct ahash_request *req,void *out) +{ +struct ccp_sha_req_ctx *rctx =ahash_request_ctx (req); +struct ccp_sha_exp_ctx state; + + state.type = rctx->type; + state.msg_bits = rctx->msg_bits; + state.first = rctx->first; +memcpy (state.ctx, rctx->ctx,sizeof (state.ctx)); + state.buf_count = rctx->buf_count; +memcpy (state.buf, rctx->buf,sizeof (state.buf)); + +/* 'out' may not be aligned so memcpy from local variable */ +memcpy (out, &state,sizeof (state)); + +return 0 ; +} + +static int ccp_sha_import (struct ahash_request *req,const void *in) +{ +struct ccp_sha_req_ctx *rctx =ahash_request_ctx (req); +struct ccp_sha_exp_ctx state; + +/* 'in' may not be aligned so memcpy to local variable */ +memcpy (&state, in,sizeof (state)); + +memset (rctx,0 ,sizeof (*rctx)); + rctx->type = state.type; + rctx->msg_bits = state.msg_bits; + rctx->first = state.first; +memcpy (rctx->ctx, state.ctx,sizeof (rctx->ctx)); + rctx->buf_count = state.buf_count; +memcpy (rctx->buf, state.buf,sizeof (rctx->buf)); + +return 0 ; +} +static int ccp_sha_setkey (struct crypto_ahash *tfm,const u8 *key,unsigned int key_len) {
@@ -389,9 +426,12 @@ static int ccp_register_sha_alg(struct list_head *head, alg->final = ccp_sha_final; alg->finup = ccp_sha_finup; alg->digest = ccp_sha_digest; + alg->export = ccp_sha_export; + alg->import = ccp_sha_import; halg = &alg->halg; halg->digestsize = def->digest_size; + halg->statesize =sizeof (struct ccp_sha_exp_ctx ); base = &halg->base;snprintf (base->cra_name,CRYPTO_MAX_ALG_NAME ,"%s" , def->name);
drivers/crypto/ccp/ccp-crypto.h +22 -0
@@ -132,6 +132,15 @@ struct ccp_aes_cmac_req_ctx {struct ccp_cmd cmd; }; +struct ccp_aes_cmac_exp_ctx { +unsigned int null_msg; + +u8 iv[AES_BLOCK_SIZE ]; + +unsigned int buf_count; +u8 buf[AES_BLOCK_SIZE ]; +}; +/***** SHA related defines *****/ #define MAX_SHA_CONTEXT_SIZE SHA256_DIGEST_SIZE#define MAX_SHA_BLOCK_SIZE SHA256_BLOCK_SIZE
@@ -174,6 +183,19 @@ struct ccp_sha_req_ctx {struct ccp_cmd cmd; }; +struct ccp_sha_exp_ctx { +enum ccp_sha_type type; + +u64 msg_bits; + +unsigned int first; + +u8 ctx[MAX_SHA_CONTEXT_SIZE ]; + +unsigned int buf_count; +u8 buf[MAX_SHA_BLOCK_SIZE ]; +}; +/***** Common Context Structure *****/ struct ccp_ctx {int (*complete)(struct crypto_async_request *req,int ret);
drivers/edac/amd64_edac.c +1 -1
@@ -1302,7 +1302,7 @@ static u64 f1x_get_norm_dct_addr(struct amd64_pvt *pvt, u8 range,u64 chan_off;u64 dram_base =get_dram_base (pvt, range);u64 hole_off =f10_dhar_offset (pvt); -u64 dct_sel_base_off = (pvt->dct_sel_hi &0xFFFFFC00 ) <<16 ; +u64 dct_sel_base_off = (u64)(pvt->dct_sel_hi &0xFFFFFC00 ) <<16 ;if (hi_rng) {/*
drivers/gpio/gpio-pca953x.c +2 -1
@@ -18,6 +18,7 @@#include <linux/i2c.h> #include <linux/platform_data/pca953x.h> #include <linux/slab.h> +#include <asm/unaligned.h> #ifdef CONFIG_OF_GPIO #include <linux/of_platform.h> #endif
@@ -154,7 +155,7 @@ static int pca953x_write_regs(struct pca953x_chip *chip, int reg, u8 *val)switch (chip->chip_type) {case PCA953X_TYPE : ret =i2c_smbus_write_word_data (chip->client, - reg <<1 , (u16) *val); + reg <<1 ,cpu_to_le16 (get_unaligned ((u16 *)val)));break ;case PCA957X_TYPE : ret = i2c_smbus_write_byte_data(chip->client, reg << 1,
drivers/gpio/gpiolib.c +2 -2
@@ -2420,7 +2420,7 @@ void gpiod_set_raw_value(struct gpio_desc *desc, int value) {if (!desc)return ; -/* Should be using gpio_set_value_cansleep() */ +/* Should be using gpiod_set_value_cansleep() */ WARN_ON (desc->chip->can_sleep);_gpiod_set_raw_value (desc, value); }
@@ -2441,7 +2441,7 @@ void gpiod_set_value(struct gpio_desc *desc, int value) {if (!desc)return ; -/* Should be using gpio_set_value_cansleep() */ +/* Should be using gpiod_set_value_cansleep() */ WARN_ON (desc->chip->can_sleep);if (test_bit (FLAG_ACTIVE_LOW , &desc->flags)) value = !value;
drivers/gpu/drm/drm_dp_helper.c +17 -10
@@ -368,7 +368,7 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request, {struct drm_dp_aux_msg msg;unsigned int retry; -int err; +int err =0 ;memset (&msg,0 ,sizeof (msg)); msg.address = offset;
@@ -376,6 +376,8 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request, msg.buffer = buffer; msg.size = size; +mutex_lock (&aux->hw_mutex); +/* * The specification doesn't give any recommendation on how often to * retry native transactions. We used to retry 7 times like for
@@ -384,25 +386,24 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request,*/ for (retry =0 ; retry <32 ; retry++) { -mutex_lock (&aux->hw_mutex); err = aux->transfer (aux, &msg); -mutex_unlock (&aux->hw_mutex);if (err <0 ) {if (err == -EBUSY )continue ; -return err; + goto unlock; }switch (msg.reply &DP_AUX_NATIVE_REPLY_MASK ) {case DP_AUX_NATIVE_REPLY_ACK :if (err < size) -return -EPROTO ; -return err; + err = -EPROTO ; + goto unlock;case DP_AUX_NATIVE_REPLY_NACK : -return -EIO ; + err = -EIO ; + goto unlock;case DP_AUX_NATIVE_REPLY_DEFER :usleep_range (400 ,500 );
@@ -411,7 +412,11 @@ static int drm_dp_dpcd_access(struct drm_dp_aux *aux, u8 request, }DRM_DEBUG_KMS ("too many retries, giving up\n" ); -return -EIO ; + err = -EIO ; + +unlock: +mutex_unlock (&aux->hw_mutex); +return err; }/**
@@ -600,9 +605,7 @@ static int drm_dp_i2c_do_msg(struct drm_dp_aux *aux, struct drm_dp_aux_msg *msg)* before giving up the AUX transaction. */ for (retry =0 ; retry <7 ; retry++) { -mutex_lock (&aux->hw_mutex); err = aux->transfer (aux, msg); -mutex_unlock (&aux->hw_mutex);if (err <0 ) {if (err == -EBUSY )continue ;
@@ -682,6 +685,8 @@ static int drm_dp_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs,memset (&msg,0 ,sizeof (msg)); +mutex_lock (&aux->hw_mutex); +for (i =0 ; i < num; i++) { msg.address = msgs[i].addr; msg.request = (msgs[i].flags & I2C_M_RD) ?
@@ -726,6 +731,8 @@ static int drm_dp_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, msg.size =0 ; (void )drm_dp_i2c_do_msg (aux, &msg); +mutex_unlock (&aux->hw_mutex); +return err; }
drivers/gpu/drm/radeon/atombios_encoders.c +4 -2
@@ -896,8 +896,6 @@ atombios_dig_encoder_setup(struct drm_encoder *encoder, int action, int panel_moelse args.v1.ucLaneNum =4 ; -if (ENCODER_MODE_IS_DP (args.v1.ucEncoderMode) && (dp_clock ==270000 )) - args.v1.ucConfig |=ATOM_ENCODER_CONFIG_DPLINKRATE_2_70GHZ ;switch (radeon_encoder->encoder_id) {case ENCODER_OBJECT_ID_INTERNAL_UNIPHY : args.v1.ucConfig =ATOM_ENCODER_CONFIG_V2_TRANSMITTER1 ;
@@ -914,6 +912,10 @@ atombios_dig_encoder_setup(struct drm_encoder *encoder, int action, int panel_mo args.v1.ucConfig |=ATOM_ENCODER_CONFIG_LINKB ; else args.v1.ucConfig |= ATOM_ENCODER_CONFIG_LINKA; + +if (ENCODER_MODE_IS_DP (args.v1.ucEncoderMode) && (dp_clock ==270000 )) + args.v1.ucConfig |=ATOM_ENCODER_CONFIG_DPLINKRATE_2_70GHZ ; +break ;case 2 :case 3 :
drivers/gpu/drm/radeon/radeon.h +1 -0
@@ -2350,6 +2350,7 @@ struct radeon_device {struct dev_pm_domain vga_pm_domain;bool have_disp_power_ref; +u32 px_quirk_flags; };bool radeon_is_px (struct drm_device *dev);
drivers/gpu/drm/radeon/radeon_device.c +54 -20
110 lines not on this page · raw message
drivers/gpu/drm/radeon/si_dpm.c +6 -0
@@ -2921,9 +2921,11 @@ static struct si_dpm_quirk si_dpm_quirk_list[] = {/* PITCAIRN - https://bugs.freedesktop.org/show_bug.cgi?id=76490 */ { PCI_VENDOR_ID_ATI, 0x6810, 0x1462, 0x3036, 0, 120000 }, { PCI_VENDOR_ID_ATI, 0x6811, 0x174b, 0xe271, 0, 120000 }, + { PCI_VENDOR_ID_ATI, 0x6811, 0x174b, 0x2015, 0, 120000 }, { PCI_VENDOR_ID_ATI, 0x6810, 0x174b, 0xe271, 85000, 90000 }, { PCI_VENDOR_ID_ATI, 0x6811, 0x1462, 0x2015, 0, 120000 }, { PCI_VENDOR_ID_ATI, 0x6811, 0x1043, 0x2015, 0, 120000 }, + { PCI_VENDOR_ID_ATI, 0x6811, 0x148c, 0x2015, 0, 120000 }, { 0, 0, 0, 0 }, };
@@ -3015,6 +3017,10 @@ static void si_apply_state_adjust_rules(struct radeon_device *rdev, ps->performance_levels[i].sclk = max_sclk; } } +/* limit mclk on all R7 370 parts for stability */ +if (rdev->pdev->device ==0x6811 && + rdev->pdev->revision ==0x81 ) + max_mclk =120000 ;/* XXX validate the min clocks required for display */
drivers/gpu/drm/udl/udl_fb.c +1 -1
@@ -545,7 +545,7 @@ static int udlfb_create(struct drm_fb_helper *helper,return ret; out_gfree: -drm_gem_object_unreference (&ufbdev->ufb.obj->base); +drm_gem_object_unreference_unlocked (&ufbdev->ufb.obj->base); out:return ret; }
drivers/gpu/drm/udl/udl_gem.c +1 -1
@@ -51,7 +51,7 @@ udl_gem_create(struct drm_file *file,return ret; } -drm_gem_object_unreference (&obj->base); +drm_gem_object_unreference_unlocked (&obj->base); *handle_p = handle;return 0 ; }
drivers/hid/hid-core.c +5 -2
@@ -1817,6 +1817,7 @@ static const struct hid_device_id hid_have_special_driver[] = { { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_ELITE_KBD) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_CORDLESS_DESKTOP_LX500) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_EXTREME_3D) }, + { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_DUAL_ACTION) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_WHEEL) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD_CORD) }, { HID_USB_DEVICE(USB_VENDOR_ID_LOGITECH, USB_DEVICE_ID_LOGITECH_RUMBLEPAD) },
@@ -2530,8 +2531,10 @@ int hid_add_device(struct hid_device *hdev)/* * Scan generic devices for group information */ -if (hid_ignore_special_drivers || - !hid_match_id (hdev, hid_have_special_driver)) { +if (hid_ignore_special_drivers) { + hdev->group =HID_GROUP_GENERIC ; + }else if (!hdev->group && + !hid_match_id (hdev, hid_have_special_driver)) { ret =hid_scan_report (hdev);if (ret)hid_warn (hdev,"bad device descriptor (%d)\n" , ret);
drivers/hid/i2c-hid/i2c-hid.c +10 -6
@@ -277,17 +277,21 @@ static int i2c_hid_set_or_send_report(struct i2c_client *client, u8 reportType,u16 dataRegister =le16_to_cpu (ihid->hdesc.wDataRegister);u16 outputRegister =le16_to_cpu (ihid->hdesc.wOutputRegister);u16 maxOutputLength =le16_to_cpu (ihid->hdesc.wMaxOutputLength); +u16 size; +int args_len; +int index =0 ; + +i2c_hid_dbg (ihid,"%s\n" , __func__); + +if (data_len > ihid->bufsize) +return -EINVAL ; -/* hid_hw_* already checked that data_len < HID_MAX_BUFFER_SIZE */ -u16 size =2 /* size */ + + size =2 /* size */ + (reportID ?1 :0 )/* reportID */ + data_len/* buf */ ; -int args_len = (reportID >=0x0F ?1 :0 )/* optional third byte */ + + args_len = (reportID >=0x0F ?1 :0 )/* optional third byte */ +2 /* dataRegister */ + size/* args */ ; -int index =0 ; - -i2c_hid_dbg (ihid,"%s\n" , __func__);if (!use_data && maxOutputLength ==0 )return -ENOSYS ;
drivers/hwmon/max1111.c +6 -0
@@ -85,6 +85,9 @@ static struct max1111_data *the_max1111;int max1111_read_channel (int channel) { +if (!the_max1111 || !the_max1111->spi) +return -ENODEV ; +return max1111_read (&the_max1111->spi->dev, channel); }EXPORT_SYMBOL (max1111_read_channel);
@@ -258,6 +261,9 @@ static int max1111_remove(struct spi_device *spi) {struct max1111_data *data =spi_get_drvdata (spi); +#ifdef CONFIG_SHARPSL_PM + the_max1111 =NULL ; +#endif hwmon_device_unregister (data->hwmon_dev);sysfs_remove_group (&spi->dev.kobj, &max1110_attr_group);sysfs_remove_group (&spi->dev.kobj, &max1111_attr_group);
drivers/infiniband/ulp/srpt/ib_srpt.c +1 -58
80 lines not on this page · raw message
drivers/input/misc/ims-pcu.c +4 -0
@@ -1663,6 +1663,8 @@ static int ims_pcu_parse_cdc_data(struct usb_interface *intf, struct ims_pcu *pc pcu->ctrl_intf =usb_ifnum_to_if (pcu->udev, union_desc->bMasterInterface0); +if (!pcu->ctrl_intf) +return -EINVAL ; alt = pcu->ctrl_intf->cur_altsetting; pcu->ep_ctrl = &alt->endpoint[0 ].desc;
@@ -1670,6 +1672,8 @@ static int ims_pcu_parse_cdc_data(struct usb_interface *intf, struct ims_pcu *pc pcu->data_intf =usb_ifnum_to_if (pcu->udev, union_desc->bSlaveInterface0); +if (!pcu->data_intf) +return -EINVAL ; alt = pcu->data_intf->cur_altsetting;if (alt->desc.bNumEndpoints !=2 ) {
drivers/input/mouse/synaptics.c +3 -2
@@ -838,8 +838,9 @@ static void synaptics_report_ext_buttons(struct psmouse *psmouse,if (!SYN_CAP_MULTI_BUTTON_NO (priv->ext_cap))return ; -/* Bug in FW 8.1, buttons are reported only when ExtBit is 1 */ -if (SYN_ID_FULL (priv->identity) ==0x801 && +/* Bug in FW 8.1 & 8.2, buttons are reported only when ExtBit is 1 */ +if ((SYN_ID_FULL (priv->identity) ==0x801 || +SYN_ID_FULL (priv->identity) ==0x802 ) && !((psmouse->packet[0 ] ^ psmouse->packet[3 ]) &0x02 ))return ;
drivers/md/bcache/super.c +28 -14
91 lines not on this page · raw message
drivers/md/multipath.c +3 -1
@@ -131,7 +131,9 @@ static void multipath_make_request(struct mddev *mddev, struct bio * bio) } multipath = conf->multipaths + mp_bh->path; - mp_bh->bio = *bio; +bio_init (&mp_bh->bio); +__bio_clone_fast (&mp_bh->bio, bio); + mp_bh->bio.bi_iter.bi_sector += multipath->rdev->data_offset; mp_bh->bio.bi_bdev = multipath->rdev->bdev; mp_bh->bio.bi_rw |=REQ_FAILFAST_TRANSPORT ;
drivers/md/raid5.c +2 -2
@@ -6264,8 +6264,8 @@ static int run(struct mddev *mddev) }if (discard_supported && - mddev->queue->limits.max_discard_sectors >= stripe && - mddev->queue->limits.discard_granularity >= stripe) + mddev->queue->limits.max_discard_sectors >= (stripe >>9 ) && + mddev->queue->limits.discard_granularity >= stripe)queue_flag_set_unlocked (QUEUE_FLAG_DISCARD , mddev->queue);else
drivers/media/i2c/adv7511.c +15 -6
@@ -833,12 +833,23 @@ static void adv7511_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd, in } } +static void adv7511_notify_no_edid (struct v4l2_subdev *sd) +{ +struct adv7511_state *state =get_adv7511_state (sd); +struct adv7511_edid_detect ed; + +/* We failed to read the EDID, so send an event for this. */ + ed.present = false; + ed.segment =adv7511_rd (sd,0xc4 ); +v4l2_subdev_notify (sd,ADV7511_EDID_DETECT , (void *)&ed); +v4l2_ctrl_s_ctrl (state->have_edid0_ctrl,0x0 ); +} +static void adv7511_edid_handler (struct work_struct *work) {struct delayed_work *dwork =to_delayed_work (work); struct adv7511_state *state = container_of(dwork, struct adv7511_state, edid_handler);struct v4l2_subdev *sd = &state->sd; -struct adv7511_edid_detect ed;v4l2_dbg (1 , debug, sd,"%s:\n" , __func__);
@@ -863,9 +874,7 @@ static void adv7511_edid_handler(struct work_struct *work) }/* We failed to read the EDID, so send an event for this. */ - ed.present = false; - ed.segment =adv7511_rd (sd,0xc4 ); -v4l2_subdev_notify (sd,ADV7511_EDID_DETECT , (void *)&ed); +adv7511_notify_no_edid (sd);v4l2_dbg (1 , debug, sd,"%s: no edid found\n" , __func__); }
@@ -936,7 +945,6 @@ static void adv7511_check_monitor_present_status(struct v4l2_subdev *sd)/* update read only ctrls */ v4l2_ctrl_s_ctrl (state->hotplug_ctrl,adv7511_have_hotplug (sd) ?0x1 :0x0 );v4l2_ctrl_s_ctrl (state->rx_sense_ctrl,adv7511_have_rx_sense (sd) ?0x1 :0x0 ); -v4l2_ctrl_s_ctrl (state->have_edid0_ctrl, state->edid.segments ?0x1 :0x0 );if ((status &MASK_ADV7511_HPD_DETECT ) && ((status &MASK_ADV7511_MSEN_DETECT ) || state->edid.segments)) {v4l2_dbg (1 , debug, sd,"%s: hotplug and (rx-sense or edid)\n" , __func__);
@@ -966,6 +974,7 @@ static void adv7511_check_monitor_present_status(struct v4l2_subdev *sd) }adv7511_s_power (sd, false);memset (&state->edid,0 ,sizeof (struct adv7511_state_edid )); +adv7511_notify_no_edid (sd); } }
@@ -1042,6 +1051,7 @@ static bool adv7511_check_edid_status(struct v4l2_subdev *sd) }/* one more segment read ok */ state->edid.segments = segment +1 ; +v4l2_ctrl_s_ctrl (state->have_edid0_ctrl,0x1 );if (((state->edid.data[0x7e ] >>1 ) +1 ) > state->edid.segments) {/* Request next EDID segment */ v4l2_dbg (1 , debug, sd,"%s: request segment %d\n" , __func__, state->edid.segments);
@@ -1061,7 +1071,6 @@ static bool adv7511_check_edid_status(struct v4l2_subdev *sd) ed.present = true; ed.segment =0 ; state->edid_detect_counter++; -v4l2_ctrl_s_ctrl (state->have_edid0_ctrl, state->edid.segments ?0x1 :0x0 );v4l2_subdev_notify (sd,ADV7511_EDID_DETECT , (void *)&ed);return ed.present; }
drivers/media/pci/bt8xx/bttv-driver.c +20 -6
@@ -2333,6 +2333,19 @@ static int bttv_g_fmt_vid_overlay(struct file *file, void *priv,return 0 ; } +static void bttv_get_width_mask_vid_cap (const struct bttv_format *fmt, +unsigned int *width_mask, +unsigned int *width_bias) +{ +if (fmt->flags &FORMAT_FLAGS_PLANAR ) { + *width_mask = ~15 ;/* width must be a multiple of 16 pixels */ + *width_bias =8 ;/* nearest */ + }else { + *width_mask = ~3 ;/* width must be a multiple of 4 pixels */ + *width_bias =2 ;/* nearest */ + } +} +static int bttv_try_fmt_vid_cap (struct file *file,void *priv,struct v4l2_format *f) {
@@ -2342,6 +2355,7 @@ static int bttv_try_fmt_vid_cap(struct file *file, void *priv,enum v4l2_field field;__s32 width, height;__s32 height2; +unsigned int width_mask, width_bias;int rc; fmt =format_by_fourcc (f->fmt.pix.pixelformat);
@@ -2374,9 +2388,9 @@ static int bttv_try_fmt_vid_cap(struct file *file, void *priv, width = f->fmt.pix.width; height = f->fmt.pix.height; +bttv_get_width_mask_vid_cap (fmt, &width_mask, &width_bias); rc =limit_scaled_size_lock (fh, &width, &height, field, -/* width_mask: 4 pixels */ ~3 , -/* width_bias: nearest */ 2 , + width_mask, width_bias,/* adjust_size */ 1 ,/* adjust_crop */ 0 );if (0 != rc)
@@ -2409,6 +2423,7 @@ static int bttv_s_fmt_vid_cap(struct file *file, void *priv,struct bttv_fh *fh = priv;struct bttv *btv = fh->btv;__s32 width, height; +unsigned int width_mask, width_bias;enum v4l2_field field; retval =bttv_switch_type (fh, f->type);
@@ -2423,9 +2438,10 @@ static int bttv_s_fmt_vid_cap(struct file *file, void *priv, height = f->fmt.pix.height; field = f->fmt.pix.field; + fmt =format_by_fourcc (f->fmt.pix.pixelformat); +bttv_get_width_mask_vid_cap (fmt, &width_mask, &width_bias); retval =limit_scaled_size_lock (fh, &width, &height, f->fmt.pix.field, -/* width_mask: 4 pixels */ ~3 , -/* width_bias: nearest */ 2 , + width_mask, width_bias,/* adjust_size */ 1 ,/* adjust_crop */ 1 );if (0 != retval)
@@ -2433,8 +2449,6 @@ static int bttv_s_fmt_vid_cap(struct file *file, void *priv, f->fmt.pix.field = field; - fmt =format_by_fourcc (f->fmt.pix.pixelformat); -/* update our state informations */ fh->fmt = fmt; fh->cap.field = f->fmt.pix.field;
drivers/media/pci/saa7134/saa7134-video.c +12 -6
@@ -1230,10 +1230,13 @@ static int saa7134_g_fmt_vid_cap(struct file *file, void *priv, f->fmt.pix.height = dev->height; f->fmt.pix.field = dev->field; f->fmt.pix.pixelformat = dev->fmt->fourcc; - f->fmt.pix.bytesperline = - (f->fmt.pix.width * dev->fmt->depth) >>3 ; +if (dev->fmt->planar) + f->fmt.pix.bytesperline = f->fmt.pix.width; +else + f->fmt.pix.bytesperline = + (f->fmt.pix.width * dev->fmt->depth) /8 ; f->fmt.pix.sizeimage = - f->fmt.pix.height * f->fmt.pix.bytesperline; + (f->fmt.pix.height * f->fmt.pix.width * dev->fmt->depth) /8 ; f->fmt.pix.colorspace =V4L2_COLORSPACE_SMPTE170M ; f->fmt.pix.priv =0 ;return 0 ;
@@ -1310,10 +1313,13 @@ static int saa7134_try_fmt_vid_cap(struct file *file, void *priv,if (f->fmt.pix.height > maxh) f->fmt.pix.height = maxh; f->fmt.pix.width &= ~0x03 ; - f->fmt.pix.bytesperline = - (f->fmt.pix.width * fmt->depth) >>3 ; +if (fmt->planar) + f->fmt.pix.bytesperline = f->fmt.pix.width; +else + f->fmt.pix.bytesperline = + (f->fmt.pix.width * fmt->depth) /8 ; f->fmt.pix.sizeimage = - f->fmt.pix.height * f->fmt.pix.bytesperline; + (f->fmt.pix.height * f->fmt.pix.width * fmt->depth) /8 ; f->fmt.pix.colorspace =V4L2_COLORSPACE_SMPTE170M ; f->fmt.pix.priv =0 ;
drivers/media/tuners/tuner-xc2028.c +5 -1
@@ -1403,11 +1403,14 @@ static int xc2028_set_config(struct dvb_frontend *fe, void *priv_cfg)* in order to avoid troubles during device release. */ kfree (priv->ctrl.fname); + priv->ctrl.fname =NULL ;memcpy (&priv->ctrl, p,sizeof (priv->ctrl));if (p->fname) { priv->ctrl.fname =kstrdup (p->fname,GFP_KERNEL ); -if (priv->ctrl.fname ==NULL ) +if (priv->ctrl.fname ==NULL ) { rc = -ENOMEM ; + goto unlock; + } }/*
@@ -1439,6 +1442,7 @@ static int xc2028_set_config(struct dvb_frontend *fe, void *priv_cfg) }else priv->state =XC2028_WAITING_FIRMWARE ; } +unlock:mutex_unlock (&priv->lock);return rc;
drivers/media/usb/pwc/pwc-if.c +6 -0
@@ -91,6 +91,7 @@ static const struct usb_device_id pwc_device_table [] = { { USB_DEVICE(0x0471, 0x0312) }, { USB_DEVICE(0x0471, 0x0313) }, /* the 'new' 720K */ { USB_DEVICE(0x0471, 0x0329) }, /* Philips SPC 900NC PC Camera */ + { USB_DEVICE(0x0471, 0x032C) }, /* Philips SPC 880NC PC Camera */ { USB_DEVICE(0x069A, 0x0001) }, /* Askey */ { USB_DEVICE(0x046D, 0x08B0) }, /* Logitech QuickCam Pro 3000 */ { USB_DEVICE(0x046D, 0x08B1) }, /* Logitech QuickCam Notebook Pro */
@@ -799,6 +800,11 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id name ="Philips SPC 900NC webcam" ; type_id =740 ;break ; +case 0x032C : +PWC_INFO ("Philips SPC 880NC USB webcam detected.\n" ); + name ="Philips SPC 880NC webcam" ; + type_id =740 ; +break ;default :return -ENODEV ;break ;
drivers/media/v4l2-core/v4l2-compat-ioctl32.c +8 -13
@@ -392,7 +392,8 @@ static int get_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __userget_user (kp->index, &up->index) ||get_user (kp->type, &up->type) ||get_user (kp->flags, &up->flags) || - get_user(kp->memory, &up->memory)) +get_user (kp->memory, &up->memory) || + get_user(kp->length, &up->length)) return -EFAULT;if (V4L2_TYPE_IS_OUTPUT (kp->type))
@@ -404,9 +405,6 @@ static int get_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __userreturn -EFAULT ;if (V4L2_TYPE_IS_MULTIPLANAR (kp->type)) { -if (get_user (kp->length, &up->length)) -return -EFAULT ; - num_planes = kp->length;if (num_planes ==0 ) { kp->m.planes =NULL ;
@@ -439,16 +437,14 @@ static int get_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __user }else {switch (kp->memory) {case V4L2_MEMORY_MMAP : -if (get_user (kp->length, &up->length) || -get_user (kp->m.offset, &up->m.offset)) +if (get_user (kp->m.offset, &up->m.offset))return -EFAULT ;break ;case V4L2_MEMORY_USERPTR : {compat_long_t tmp; -if (get_user (kp->length, &up->length) || -get_user (tmp, &up->m.userptr)) +if (get_user (tmp, &up->m.userptr))return -EFAULT ; kp->m.userptr = (unsigned long )compat_ptr (tmp);
@@ -490,7 +486,8 @@ static int put_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __usercopy_to_user (&up->timecode, &kp->timecode,sizeof (struct v4l2_timecode )) ||put_user (kp->sequence, &up->sequence) ||put_user (kp->reserved2, &up->reserved2) || - put_user(kp->reserved, &up->reserved)) +put_user (kp->reserved, &up->reserved) || + put_user(kp->length, &up->length)) return -EFAULT;if (V4L2_TYPE_IS_MULTIPLANAR (kp->type)) {
@@ -513,13 +510,11 @@ static int put_v4l2_buffer32(struct v4l2_buffer *kp, struct v4l2_buffer32 __user }else {switch (kp->memory) {case V4L2_MEMORY_MMAP : -if (put_user (kp->length, &up->length) || -put_user (kp->m.offset, &up->m.offset)) +if (put_user (kp->m.offset, &up->m.offset))return -EFAULT ;break ;case V4L2_MEMORY_USERPTR : -if (put_user (kp->length, &up->length) || -put_user (kp->m.userptr, &up->m.userptr)) +if (put_user (kp->m.userptr, &up->m.userptr))return -EFAULT ;break ;case V4L2_MEMORY_OVERLAY :
drivers/misc/Kconfig +1 -1
@@ -439,7 +439,7 @@ config ARM_CHARLCD still useful. config BMP085 - bool + tristate depends on SYSFS config BMP085_I2C
drivers/misc/ad525x_dpot.c +1 -1
@@ -215,7 +215,7 @@ static s32 dpot_read_i2c(struct dpot_data *dpot, u8 reg)*/ value =swab16 (value); -if (dpot->uid ==DPOT_UID (AD5271_ID )) +if (dpot->uid ==DPOT_UID (AD5274_ID )) value = value >>2 ;return value;default :
drivers/misc/mei/amthif.c +2 -3
@@ -234,9 +234,8 @@ int mei_amthif_read(struct mei_device *dev, struct file *file,* remove message from deletion list */ -dev_dbg (&dev->pdev->dev,"amthif cb->response_buffer size - %d\n" , - cb->response_buffer.size); -dev_dbg (&dev->pdev->dev,"amthif cb->buf_idx - %lu\n" , cb->buf_idx); +dev_dbg (&dev->pdev->dev,"amthif cb->response_buffer.size - %zu cb->buf_idx - %zu\n" , + cb->response_buffer.size, cb->buf_idx);/* length is being truncated to PAGE_SIZE, however, * the buf_idx may point beyond */
drivers/misc/mei/client.c +2 -2
@@ -849,7 +849,7 @@ int mei_cl_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb,return 0 ; } -cl_dbg (dev, cl,"buf: size = %d idx = %lu\n" , +cl_dbg (dev, cl,"buf: size = %zu idx = %zu\n" , cb->request_buffer.size, cb->buf_idx); rets =mei_write_message (dev, &mei_hdr, buf->data + cb->buf_idx);
@@ -900,7 +900,7 @@ int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking) buf = &cb->request_buffer; -cl_dbg (dev, cl,"mei_cl_write %d\n" , buf->size); +cl_dbg (dev, cl,"mei_cl_write %zu\n" , buf->size); rets =pm_runtime_get (&dev->pdev->dev);if (rets <0 && rets != -EINPROGRESS ) {
drivers/misc/mei/interrupt.c +16 -8
@@ -102,6 +102,7 @@ static int mei_cl_irq_read_msg(struct mei_device *dev,struct mei_cl *cl;struct mei_cl_cb *cb, *next;unsigned char *buffer =NULL ; +size_t buf_sz;list_for_each_entry_safe (cb, next, &dev->read_list.list, list) { cl = cb->cl;
@@ -117,13 +118,21 @@ static int mei_cl_irq_read_msg(struct mei_device *dev,return -ENOMEM ; } -if (cb->response_buffer.size < mei_hdr->length + cb->buf_idx) { -cl_dbg (dev, cl,"message overflow. size %d len %d idx %ld\n" , + buf_sz = mei_hdr->length + cb->buf_idx; +/* catch for integer overflow */ +if (buf_sz < cb->buf_idx) { +cl_err (dev, cl,"message is too big len %d idx %zu\n" , + mei_hdr->length, cb->buf_idx); + +list_del (&cb->list); +return -EMSGSIZE ; + } + +if (cb->response_buffer.size < buf_sz) { +cl_dbg (dev, cl,"message overflow. size %zu len %d idx %zu\n" , cb->response_buffer.size, mei_hdr->length, cb->buf_idx); - buffer =krealloc (cb->response_buffer.data, - mei_hdr->length + cb->buf_idx, -GFP_KERNEL ); + buffer =krealloc (cb->response_buffer.data, buf_sz,GFP_KERNEL );if (!buffer) {cl_err (dev, cl,"allocation failed.\n" );
@@ -131,8 +140,7 @@ static int mei_cl_irq_read_msg(struct mei_device *dev,return -ENOMEM ; } cb->response_buffer.data = buffer; - cb->response_buffer.size = - mei_hdr->length + cb->buf_idx; + cb->response_buffer.size = buf_sz; } buffer = cb->response_buffer.data + cb->buf_idx;
@@ -142,7 +150,7 @@ static int mei_cl_irq_read_msg(struct mei_device *dev,if (mei_hdr->msg_complete) { cl->status =0 ;list_del (&cb->list); -cl_dbg (dev, cl,"completed read length = %lu\n" , +cl_dbg (dev, cl,"completed read length = %zu\n" , cb->buf_idx);list_add_tail (&cb->list, &complete_list->list); }
drivers/misc/mei/main.c +3 -2
@@ -262,7 +262,7 @@ static ssize_t mei_read(struct file *file, char __user *ubuf, }/* now copy the data to user space */ copy_buffer: -dev_dbg (&dev->pdev->dev,"buf.size = %d buf.idx= %ld\n" , +dev_dbg (&dev->pdev->dev,"buf.size = %zu buf.idx = %zu\n" , cb->response_buffer.size, cb->buf_idx);if (length ==0 || ubuf ==NULL || *offset > cb->buf_idx) { rets = -EMSGSIZE ;
@@ -281,7 +281,8 @@ copy_buffer: rets = length; *offset += length; -if ((unsigned long )*offset < cb->buf_idx) +/* not all data was read, keep the cb */ +if (*offset < cb->buf_idx) goto out; free:
drivers/misc/mei/mei_dev.h +2 -2
@@ -149,7 +149,7 @@ enum mei_cb_file_ops {* Intel MEI message data struct */ struct mei_msg_data { -u32 size; +size_t size;unsigned char *data; };
@@ -195,7 +195,7 @@ struct mei_cl_cb {enum mei_cb_file_ops fop_type;struct mei_msg_data request_buffer;struct mei_msg_data response_buffer; -unsigned long buf_idx; +size_t buf_idx;unsigned long read_time;struct file *file_object; u32 internal:1;
drivers/mmc/host/sdhci.c +14 -3
@@ -660,9 +660,20 @@ static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_command *cmd)if (!data) target_timeout = cmd->busy_timeout *1000 ;else { - target_timeout = data->timeout_ns /1000 ; -if (host->clock) - target_timeout += data->timeout_clks / host->clock; + target_timeout =DIV_ROUND_UP (data->timeout_ns,1000 ); +if (host->clock && data->timeout_clks) { +unsigned long long val; + +/* +* data->timeout_clks is in units of clock cycles. +* host->clock is in Hz. target_timeout is in us. +* Hence, us = 1000000 * cycles / Hz. Round up. +*/ + val =1000000 * data->timeout_clks; +if (do_div (val, host->clock)) + target_timeout++; + target_timeout += val; + } }/*
drivers/mtd/onenand/onenand_base.c +2 -1
@@ -2605,6 +2605,7 @@ static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)*/ static int onenand_block_markbad (struct mtd_info *mtd,loff_t ofs) { +struct onenand_chip *this = mtd->priv;int ret; ret =onenand_block_isbad (mtd, ofs);
@@ -2616,7 +2617,7 @@ static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs) }onenand_get_device (mtd,FL_WRITING ); - ret =mtd_block_markbad (mtd, ofs); + ret = this->block_markbad (mtd, ofs);onenand_release_device (mtd);return ret; }
drivers/net/ethernet/broadcom/genet/bcmgenet.c +3 -3
@@ -905,7 +905,7 @@ static void __bcmgenet_tx_reclaim(struct net_device *dev, dev->stats.tx_bytes += tx_cb_ptr->skb->len;dma_unmap_single (&dev->dev,dma_unmap_addr (tx_cb_ptr, dma_addr), - tx_cb_ptr->skb->len, +dma_unmap_len (tx_cb_ptr, dma_len),DMA_TO_DEVICE );bcmgenet_free_cb (tx_cb_ptr); }else if (dma_unmap_addr (tx_cb_ptr, dma_addr)) {
@@ -979,7 +979,7 @@ static int bcmgenet_xmit_single(struct net_device *dev, tx_cb_ptr->skb = skb; - skb_len =skb_headlen (skb) <ETH_ZLEN ?ETH_ZLEN :skb_headlen (skb); + skb_len =skb_headlen (skb); mapping =dma_map_single (kdev, skb->data, skb_len,DMA_TO_DEVICE ); ret =dma_mapping_error (kdev, mapping);
@@ -990,7 +990,7 @@ static int bcmgenet_xmit_single(struct net_device *dev, }dma_unmap_addr_set (tx_cb_ptr, dma_addr, mapping); -dma_unmap_len_set (tx_cb_ptr, dma_len, skb->len); +dma_unmap_len_set (tx_cb_ptr, dma_len, skb_len); length_status = (skb_len <<DMA_BUFLENGTH_SHIFT ) | dma_desc_flags | (priv->hw_params->qtag_mask <<DMA_TX_QTAG_SHIFT ) |DMA_TX_APPEND_CRC ;
drivers/net/ethernet/jme.c +15 -11
@@ -270,11 +270,17 @@ jme_reset_mac_processor(struct jme_adapter *jme) }static inline void -jme_clear_pm (struct jme_adapter *jme) +jme_clear_pm_enable_wol (struct jme_adapter *jme) {jwrite32 (jme,JME_PMCS ,PMCS_STMASK | jme->reg_pmcs); } +static inline void +jme_clear_pm_disable_wol (struct jme_adapter *jme) +{ +jwrite32 (jme,JME_PMCS ,PMCS_STMASK ); +} +static int jme_reload_eeprom (struct jme_adapter *jme) {
@@ -1857,7 +1863,7 @@ jme_open(struct net_device *netdev)struct jme_adapter *jme =netdev_priv (netdev);int rc; -jme_clear_pm (jme); +jme_clear_pm_disable_wol (jme);JME_NAPI_ENABLE (jme); tasklet_init(&jme->linkch_task, jme_link_change_tasklet,
@@ -1929,11 +1935,11 @@ jme_wait_link(struct jme_adapter *jme)static void jme_powersave_phy (struct jme_adapter *jme) { -if (jme->reg_pmcs) { +if (jme->reg_pmcs &&device_may_wakeup (&jme->pdev->dev)) {jme_set_100m_half (jme);if (jme->reg_pmcs & (PMCS_LFEN |PMCS_LREN ))jme_wait_link (jme); -jme_clear_pm (jme); +jme_clear_pm_enable_wol (jme); }else {jme_phy_off (jme); }
@@ -2650,9 +2656,6 @@ jme_set_wol(struct net_device *netdev,if (wol->wolopts &WAKE_MAGIC ) jme->reg_pmcs |=PMCS_MFEN ; -jwrite32 (jme,JME_PMCS , jme->reg_pmcs); -device_set_wakeup_enable (&jme->pdev->dev, !!(jme->reg_pmcs)); -return 0 ; }
@@ -3176,8 +3179,8 @@ jme_init_one(struct pci_dev *pdev, jme->mii_if.mdio_read = jme_mdio_read; jme->mii_if.mdio_write = jme_mdio_write; -jme_clear_pm (jme); -device_set_wakeup_enable (&pdev->dev, true); +jme_clear_pm_disable_wol (jme); +device_init_wakeup (&pdev->dev, true);jme_set_phyfifo_5level (jme); jme->pcirev = pdev->revision;
@@ -3308,7 +3311,7 @@ jme_resume(struct device *dev)if (!netif_running (netdev))return 0 ; -jme_clear_pm (jme); +jme_clear_pm_disable_wol (jme);jme_phy_on (jme);if (test_bit (JME_FLAG_SSET , &jme->flags))jme_set_settings (netdev, &jme->old_ecmd);
@@ -3316,13 +3319,14 @@ jme_resume(struct device *dev)jme_reset_phy_processor (jme);jme_phy_calibration (jme);jme_phy_setEA (jme); -jme_start_irq (jme);netif_device_attach (netdev);atomic_inc (&jme->link_changing);jme_reset_link (jme); +jme_start_irq (jme); +return 0 ; }
drivers/net/ethernet/marvell/mvneta.c +1 -1
@@ -3078,7 +3078,7 @@ static int mvneta_probe(struct platform_device *pdev) dev->features =NETIF_F_SG |NETIF_F_IP_CSUM |NETIF_F_TSO ; dev->hw_features |= dev->features; dev->vlan_features |= dev->features; - dev->priv_flags |=IFF_UNICAST_FLT ; + dev->priv_flags |=IFF_UNICAST_FLT |IFF_LIVE_ADDR_CHANGE ; dev->gso_max_segs =MVNETA_MAX_TSO_SEGS ; err =register_netdev (dev);
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c +2 -1
@@ -2886,7 +2886,7 @@ static int verify_qp_parameters(struct mlx4_dev *dev,case QP_TRANS_RTS2RTS :case QP_TRANS_SQD2SQD :case QP_TRANS_SQD2RTS : -if (slave !=mlx4_master_func_num (dev)) +if (slave !=mlx4_master_func_num (dev)) {if (optpar &MLX4_QP_OPTPAR_PRIMARY_ADDR_PATH ) { port = (qp_ctx->pri_path.sched_queue >>6 &1 ) +1 ;if (dev->caps.port_mask[port] !=MLX4_PORT_TYPE_IB )
@@ -2905,6 +2905,7 @@ static int verify_qp_parameters(struct mlx4_dev *dev,if (qp_ctx->alt_path.mgid_index >= num_gids)return -EINVAL ; } + }break ;default :break ;
drivers/net/ethernet/micrel/ks8842.c +6 -4
@@ -561,8 +561,8 @@ static int __ks8842_start_new_rx_dma(struct net_device *netdev)sg_init_table (sg,1 );sg_dma_address (sg) =dma_map_single (adapter->dev, ctl->skb->data,DMA_BUFFER_SIZE ,DMA_FROM_DEVICE ); - err =dma_mapping_error (adapter->dev,sg_dma_address (sg)); -if (unlikely (err)) { +if (dma_mapping_error (adapter->dev,sg_dma_address (sg))) { + err = -ENOMEM ;sg_dma_address (sg) =0 ; goto out; }
@@ -572,8 +572,10 @@ static int __ks8842_start_new_rx_dma(struct net_device *netdev) ctl->adesc =dmaengine_prep_slave_sg (ctl->chan, sg,1 ,DMA_DEV_TO_MEM ,DMA_PREP_INTERRUPT ); -if (!ctl->adesc) +if (!ctl->adesc) { + err = -ENOMEM ; goto out; + } ctl->adesc->callback_param = netdev; ctl->adesc->callback = ks8842_dma_rx_cb;
@@ -584,7 +586,7 @@ static int __ks8842_start_new_rx_dma(struct net_device *netdev) goto out; } -return err; +return 0 ; out:if (sg_dma_address (sg)) dma_unmap_single(adapter->dev, sg_dma_address(sg),
drivers/net/ethernet/qlogic/qlge/qlge_main.c +11 -0
@@ -1648,7 +1648,18 @@ static void ql_process_mac_rx_skb(struct ql_adapter *qdev,return ; }skb_reserve (new_skb,NET_IP_ALIGN ); + +pci_dma_sync_single_for_cpu (qdev->pdev, +dma_unmap_addr (sbq_desc, mapaddr), +dma_unmap_len (sbq_desc, maplen), +PCI_DMA_FROMDEVICE ); +memcpy (skb_put (new_skb, length), skb->data, length); + +pci_dma_sync_single_for_device (qdev->pdev, +dma_unmap_addr (sbq_desc, mapaddr), +dma_unmap_len (sbq_desc, maplen), +PCI_DMA_FROMDEVICE ); skb = new_skb;/* Frame error, so drop the packet. */
drivers/net/ethernet/renesas/sh_eth.c +2 -1
@@ -1162,7 +1162,8 @@ static void sh_eth_ring_format(struct net_device *ndev) mdp->dirty_rx = (u32) (i - mdp->num_rx_ring);/* Mark the last entry as wrapping the ring. */ - rxdesc->status |=cpu_to_edmac (mdp,RD_RDEL ); +if (rxdesc) + rxdesc->status |=cpu_to_edmac (mdp,RD_RDEL );memset (mdp->tx_ring,0 , tx_ringsize);
drivers/net/irda/irtty-sir.c +0 -10
@@ -430,16 +430,6 @@ static int irtty_open(struct tty_struct *tty)/* Module stuff handled via irda_ldisc.owner - Jean II */ -/* First make sure we're not already connected. */ -if (tty->disc_data !=NULL ) { - priv = tty->disc_data; -if (priv && priv->magic ==IRTTY_MAGIC ) { - ret = -EEXIST ; - goto out; - } - tty->disc_data =NULL ;/* ### */ - } -/* stop the underlying driver */ irtty_stop_receiver (tty, TRUE);if (tty->ops->stop)
drivers/net/macvtap.c +6 -3
@@ -690,6 +690,8 @@ static ssize_t macvtap_get_user(struct macvtap_queue *q, struct msghdr *m, copylen = vnet_hdr.hdr_len ? vnet_hdr.hdr_len :GOODCOPY_LEN ;if (copylen > good_linear) copylen = good_linear; +else if (copylen <ETH_HLEN ) + copylen =ETH_HLEN ; linear = copylen;if (iov_pages (iv, vnet_hdr_len + copylen, count) <=MAX_SKB_FRAGS )
@@ -698,10 +700,11 @@ static ssize_t macvtap_get_user(struct macvtap_queue *q, struct msghdr *m,if (!zerocopy) { copylen = len; -if (vnet_hdr.hdr_len > good_linear) + linear = vnet_hdr.hdr_len; +if (linear > good_linear) linear = good_linear; -else - linear = vnet_hdr.hdr_len; +else if (linear <ETH_HLEN ) + linear =ETH_HLEN ; } skb = macvtap_alloc_skb(&q->sk, MACVTAP_RESERVE, copylen,
drivers/net/phy/mdio-sun4i.c +3 -1
@@ -132,6 +132,7 @@ static int sun4i_mdio_probe(struct platform_device *pdev)return -EPROBE_DEFER ;dev_info (&pdev->dev,"no regulator found\n" ); + data->regulator =NULL ; }else { ret =regulator_enable (data->regulator);if (ret)
@@ -147,7 +148,8 @@ static int sun4i_mdio_probe(struct platform_device *pdev)return 0 ; err_out_disable_regulator: -regulator_disable (data->regulator); +if (data->regulator) +regulator_disable (data->regulator); err_out_free_mdiobus:mdiobus_free (bus);return ret;
drivers/net/ppp/ppp_generic.c +20 -15
@@ -561,7 +561,7 @@ static int get_filter(void __user *arg, struct sock_filter **p)static long ppp_ioctl (struct file *file,unsigned int cmd,unsigned long arg) { -struct ppp_file *pf = file->private_data; +struct ppp_file *pf;struct ppp *ppp;int err = -EFAULT , val, val2, i;struct ppp_idle idle;
@@ -571,9 +571,14 @@ static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)void __user *argp = (void __user *)arg;int __user *p = argp; -if (!pf) -return ppp_unattached_ioctl (current->nsproxy->net_ns, - pf, file, cmd, arg); +mutex_lock (&ppp_mutex); + + pf = file->private_data; +if (!pf) { + err =ppp_unattached_ioctl (current->nsproxy->net_ns, + pf, file, cmd, arg); + goto out; + }if (cmd ==PPPIOCDETACH ) {/*
@@ -588,7 +593,6 @@ static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)* this fd and reopening /dev/ppp. */ err = -EINVAL ; -mutex_lock (&ppp_mutex);if (pf->kind ==INTERFACE ) { ppp =PF_TO_PPP (pf);if (file == ppp->owner)
@@ -600,15 +604,13 @@ static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) }else pr_warn ("PPPIOCDETACH file->f_count=%ld\n" ,atomic_long_read (&file->f_count)); -mutex_unlock (&ppp_mutex); -return err; + goto out; }if (pf->kind ==CHANNEL ) {struct channel *pch;struct ppp_channel *chan; -mutex_lock (&ppp_mutex); pch =PF_TO_CHANNEL (pf);switch (cmd) {
@@ -630,17 +632,16 @@ static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg) err = chan->ops->ioctl (chan, cmd, arg);up_read (&pch->chan_sem); } -mutex_unlock (&ppp_mutex); -return err; + goto out; }if (pf->kind !=INTERFACE ) {/* can't happen */ pr_err ("PPP: not interface or channel??\n" ); -return -EINVAL ; + err = -EINVAL ; + goto out; } -mutex_lock (&ppp_mutex); ppp =PF_TO_PPP (pf);switch (cmd) {case PPPIOCSMRU :
@@ -811,7 +812,10 @@ static long ppp_ioctl(struct file *file, unsigned int cmd, unsigned long arg)default : err = -ENOTTY ; } + +out:mutex_unlock (&ppp_mutex); +return err; }
@@ -824,7 +828,6 @@ static int ppp_unattached_ioctl(struct net *net, struct ppp_file *pf,struct ppp_net *pn;int __user *p = (int __user *)arg; -mutex_lock (&ppp_mutex);switch (cmd) {case PPPIOCNEWUNIT :/* Create a new ppp unit */
@@ -875,7 +878,7 @@ static int ppp_unattached_ioctl(struct net *net, struct ppp_file *pf,default : err = -ENOTTY ; } -mutex_unlock (&ppp_mutex); +return err; }
@@ -2238,7 +2241,7 @@ int ppp_register_net_channel(struct net *net, struct ppp_channel *chan) pch->ppp =NULL ; pch->chan = chan; - pch->chan_net = net; + pch->chan_net =get_net (net); chan->ppp = pch;init_ppp_file (&pch->file,CHANNEL ); pch->file.hdrlen = chan->hdrlen;
@@ -2335,6 +2338,8 @@ ppp_unregister_channel(struct ppp_channel *chan)spin_lock_bh (&pn->all_channels_lock);list_del (&pch->list);spin_unlock_bh (&pn->all_channels_lock); +put_net (pch->chan_net); + pch->chan_net =NULL ; pch->file.dead =1 ;wake_up_interruptible (&pch->file.rwait);
drivers/net/rionet.c +2 -2
@@ -280,7 +280,7 @@ static void rionet_outb_msg_event(struct rio_mport *mport, void *dev_id, int mbostruct net_device *ndev = dev_id;struct rionet_private *rnet =netdev_priv (ndev); -spin_lock (&rnet->lock); +spin_lock (&rnet->tx_lock);if (netif_msg_intr (rnet)) printk(KERN_INFO
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/eeprom.c +3 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mwifiex/sta_ioctl.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/rt2x00/rt2800usb.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/pci/host/pci-imx6.c +55 -52
107 lines not on this page · raw message
fs/btrfs/tree-log.c +137 -0
137 lines not on this page · raw message
net/ipv4/netfilter/arp_tables.c +21 -20
41 lines not on this page · raw message
net/ipv4/netfilter/ip_tables.c +23 -23
46 lines not on this page · raw message
net/ipv6/netfilter/ip6_tables.c +23 -23
46 lines not on this page · raw message
scripts/coccinelle/iterators/use_after_iter.cocci +1 -1
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.