Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync up with Linus #84

Merged
merged 224 commits into from
Jul 17, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
55a8d02
jfs: removed a prohibited space after opening parenthesis
njia May 31, 2015
1e25aa9
hid-sensor: Fix suspend/resume delay
spandruvada Jun 1, 2015
f7f31ad
jfs: fix indentation on if statement
Jun 4, 2015
dc7b8d9
iio: adc: rockchip_saradc: add missing MODULE_* data
mmind May 25, 2015
6c0d48c
iio: twl4030-madc: Pass the IRQF_ONESHOT flag
May 24, 2015
6a3c45b
iio: inv-mpu: Specify the expected format/precision for write channels
adrianareus Jun 12, 2015
bdc10d5
iio: ABI: Clarify proximity output value
Jun 11, 2015
fd1883f
iio: proximity: sx9500: Fix proximity value
Jun 11, 2015
adfa969
iio: DAC: ad5624r_spi: fix bit shift of output data value
Jun 19, 2015
2ab5f39
iio: adc: at91_adc: allow to use full range of startup time
jan-leupold Jun 17, 2015
c288503
iio:light:cm3323: clear bitmask before set
Jun 17, 2015
7a1d0d9
iio:accel:bmc150-accel: fix counting direction
Jun 15, 2015
33361e5
iio: light: tcs3414: Fix bug preventing to set integration time
pmeerw Jun 14, 2015
b2b3c3d
iio:adc:cc10001_adc: fix Kconfig dependency
Jun 21, 2015
db490cb
s390/zcrypt: enable s390 hwrng to seed kernel entropy
Mar 17, 2015
a313bdc
s390/sclp: fix compile error
Jun 25, 2015
a215c8f
s390/oprofile: fix compile error
Jun 25, 2015
0689a86
ALSA: usb-audio: Add MIDI support for Steinberg MI2/MI4
dsacre Jun 30, 2015
0484eda
iio: light: STK3310: un-invert proximity values
btiberiu Jul 1, 2015
5d6e834
iio:light:stk3310: Fix REGMAP_I2C dependency
Jul 4, 2015
2616dfa
iio: magnetometer: mmc35240: fix available sampling frequencies
Jun 29, 2015
657c7ff
iio: sx9500: rework error handling of raw readings
ddvlad Jun 30, 2015
68958bd
iio: sx9500: fix bug in compensation code
ddvlad Jun 30, 2015
5919a08
iio:light:ltr501: fix variable in ltr501_init
Jun 28, 2015
5d9fc0f
iio:light:ltr501: fix regmap dependency
Jun 28, 2015
897993f
iio: sx9500: Add missing init in sx9500_buffer_pre{en,dis}able()
geertu Jun 29, 2015
8d05abf
iio: tmp006: Check channel info on write
pmeerw Jun 21, 2015
0fd972a
module: relocate module_init from init.h to module.h
May 2, 2015
14a0abf
ARC: Kconfig: better way to disable ARC_HAS_LLSC for ARC_CPU_750D
vineetgarc Jun 26, 2015
b607edd
ARCv2: guard SLC DMA ops with spinlock
abrodkin Jun 29, 2015
61754c1
kbuild: Allow arch Makefiles to override {cpp,ld,c}flags
michal42 Jul 1, 2015
9770906
ARC: Override toplevel default -O2 with -O3
vineetgarc Jun 18, 2015
f718c2e
ARC: Don't memzero twice in dma_alloc_coherent for __GFP_ZERO
vineetgarc Jul 3, 2015
bccea41
ARC: fix unused var wanring
vineetgarc Jul 6, 2015
83ce3e6
ARCv2: intc: IDU: support irq affinity
vineetgarc Jun 30, 2015
6b12ec1
ARCv2: intc: IDU: Fix potential race in installing a chained IRQ handler
vineetgarc Jul 2, 2015
e828b23
ALSA: hda - add codec ID for Broxton display audio codec
libinyang Jul 6, 2015
f6d7fb3
USB: option: add 2020:4000 ID
Jun 10, 2015
ee5729e
USB: mos7720: rename registers
sudipm-mukherjee Jun 23, 2015
f98a7aa
USB: cp210x: add ID for Aruba Networks controllers
psanford Jun 26, 2015
59b7500
staging: make board support depend on OF_IRQ and CLKDEV_LOOKUP
Jun 20, 2015
be9d398
usb: musb: host: rely on port_mode to call musb_start()
Jun 2, 2015
b58e6ce
usb: dwc2: host: allocate qh before atomic enqueue
Jun 29, 2015
b5a468a
usb: dwc2: host: allocate qtd before atomic enqueue
Jun 29, 2015
cc1e204
usb: dwc2: embed storage for reg backup in struct dwc2_hsotg
Jun 29, 2015
43cacb0
usb: dwc3: core: avoid NULL pointer dereference
Jul 2, 2015
8515bac
usb: f_mass_storage: limit number of reported LUNs
mina86 Jun 19, 2015
4088acf
usb: gadget: f_fs: do not set cancel function on synchronous {read,wr…
rmsilva May 18, 2015
b4c21f0
usb: gadget: composite: Fix NULL pointer dereference
kishon Jun 11, 2015
2184fe6
usb: gadget: udc: fix free_irq() after request_irq() failed
takeshi-yoshimura Jun 14, 2015
543aa48
usb: phy: mxs: suspend to RAM causes NULL pointer dereference
lategoodbye Jun 15, 2015
b2e2c94
usb: gadget: f_midi: fix error recovery path
Jul 3, 2015
b78fb51
intel_pmc_ipc: Fix compiler casting warnings
qipengzha Jul 6, 2015
ced53f6
dell-laptop: Clear buffer before each SMBIOS call
pali Jul 6, 2015
715d0cd
dell-laptop: Check return value of each SMBIOS call
pali Jul 6, 2015
22565ba
dell-laptop: Do not cache hwswitch state
pali Jul 6, 2015
cbe4f44
staging:lustre: remove irq.h from socklnd.h
jamesasimmons Jun 25, 2015
f9c87a6
s390/sclp: clear upper register halves in _sclp_print_early
Jul 6, 2015
41315b7
drm/rockchip: use drm_gem_mmap helpers
djkurtz Jul 7, 2015
01447e9
drm: add a check for x/y in drm_mode_setcrtc
zhjwpku Jul 7, 2015
bb8bd38
bio integrity: do not assume bio_integrity_pool exists if bioset exists
snitm Jul 1, 2015
0762b23
block: use FIELD_SIZEOF to calculate size of a field
maninder42 Jul 7, 2015
a322baa
block/blk-cgroup.c: free per-blkcg data when freeing the blkcg
ariava Jul 7, 2015
d4acc16
Documentation: drm: Fix tablulation in KMS properties table
Jul 7, 2015
d4669bb
Merge tag 'fixes-for-v4.2-rc2' of git://git.kernel.org/pub/scm/linux/…
gregkh Jul 7, 2015
d1f15e0
ALSA: hda - Fix a wrong busy check in alt PCM open
tiwai Jul 8, 2015
6224beb
tracing: Have branch tracer use recursive field of task struct
rostedt Jul 7, 2015
d23f47d
USB: serial: Destroy serial_minors IDR on module exit
Jul 8, 2015
e2fc61f
ARCv2: [axs103] bump CPU frequency from 75 to 90 MHZ
abrodkin Jun 29, 2015
80f4208
ARC: Make ARC bitops "safer" (add anti-optimization)
vineetgarc Jul 3, 2015
70d93d8
arc:irqchip: prepare for drivers/irqchip/irqchip.h removal
joel-porquet Jul 7, 2015
9138d41
ARC: Add llock/scond to futex backend
vineetgarc Jun 25, 2015
b631788
ARC: slightly refactor macros for boot logging
vineetgarc Jul 6, 2015
0294100
intel_pmc_ipc: Update kerneldoc formatting
qipengzha Jul 8, 2015
838f13b
blkcg: allow blkcg_pol_mutex to be grabbed from cgroup [file] methods
htejun Jul 9, 2015
144232b
blkcg: blkcg_css_alloc() should grab blkcg_pol_mutex while iterating …
htejun Jul 9, 2015
7876f93
blkcg: implement all_blkcgs list
htejun Jul 9, 2015
06b285b
blkcg: fix blkcg_policy_data allocation bug
htejun Jul 9, 2015
ae0afb4
suspend-to-idle: Prevent RCU from complaining about tick_freeze()
rafaeljw Jul 9, 2015
35afd02
cpufreq: Initialize the governor again while restoring policy
vireshk Jul 9, 2015
5a31d59
cpufreq: Allow freq_table to be obtained for offline CPUs
vireshk Jul 9, 2015
1fb01ca
ACPI / PCI: Fix regressions caused by resource_size_t overflow with 3…
Jul 8, 2015
553a59f
drm/imx: parallel-display: fix drm_panel support
pH5 May 19, 2015
510e642
GPU: ipu: fix lockup caused by pending chained interrupts
Jun 16, 2015
c03e9a3
drm/imx: tve: fix media bus format for VGA output
pH5 Jun 19, 2015
5d75a74
x86: hyperv: add CPUID bit for crash handlers
bonzini Jul 7, 2015
d1fe921
KVM: x86: reintroduce kvm_is_mmio_pfn
bonzini Jul 7, 2015
370777d
KVM: VMX: fix vmwrite to invalid VMCS
rkrcmar Jul 3, 2015
5544eb9
KVM: count number of assigned devices
bonzini Jul 7, 2015
3c2e7f7
KVM: SVM: use NPT page attributes
bonzini Jul 7, 2015
e098223
KVM: SVM: Sync g_pat with guest-written PAT value
jan-kiszka Apr 20, 2015
fd717f1
KVM: x86: apply guest MTRR virtualization on host reserved pages
bonzini Jul 7, 2015
ee4100d
kvm: x86: fix load xsave feature warning
Wanpeng-Li Jul 9, 2015
51f007e
Merge tag 'usb-serial-4.2-rc2' of git://git.kernel.org/pub/scm/linux/…
gregkh Jul 10, 2015
77b5a08
bcache: don't embed 'return' statements in closure macros
axboe Mar 6, 2015
d9ee489
m68knommu: force setting of CONFIG_CLOCK_FREQ for ColdFire
gregungerer Jul 7, 2015
15c2ca4
m68knommu: improve the clock configuration defaults
gregungerer Jul 7, 2015
fa95a1d
m68knommu: make ColdFire SoC selection a choice
gregungerer Jul 7, 2015
bfd302a
m68knommu: update defconfig for m5208evb
gregungerer Jul 7, 2015
0f28b05
m68knommu: update defconfig for ColdFire m5249evb
gregungerer Jul 7, 2015
2e27f44
m68knommu: update defconfig for ColdFire m5272c3
gregungerer Jul 7, 2015
6845f6e
m68knommu: update defconfig for ColdFire m5275evb
gregungerer Jul 7, 2015
59c024b
m68knommu: update defconfig for ColdFire m5307c3
gregungerer Jul 7, 2015
fee5392
m68knommu: update defconfig for ColdFire m5407c3
gregungerer Jul 7, 2015
8700f09
m68knommu: update defconfig for ColdFire m5475evb
gregungerer Jul 7, 2015
03aa29f
m68k: fix io functions for ColdFire/MMU/PCI case
gregungerer Jul 8, 2015
67592f6
m68k: enable PCI support for m5475evb defconfig
gregungerer Jul 8, 2015
85a359f
drm/rockchip: Add BGR formats to VOP
tom3q May 11, 2015
765c35b
drm/rockchip: only call drm_fb_helper_hotplug_event if fb_helper present
mmind Jun 2, 2015
8915bf2
drm/rockchip: use drm_gem_mmap helpers
djkurtz Jul 7, 2015
43b6c9b
drm/rockchip: Drop owner assignment from platform_driver
krzk Jul 10, 2015
d3cae7d
drm/rockchip: vop: switch cursor plane to window 3
Jun 26, 2015
0915da7
drm/rockchip: vop: remove hardware cursor window
Jul 2, 2015
f51e2f1
ARC: make sure instruction_pointer() returns unsigned value
abrodkin Jul 13, 2015
624b71e
ARCv2: support HS38 releases
vineetgarc Jul 12, 2015
f81a49d
s390/dasd: fix kernel panic when alias is set offline
stefan-haberland Jul 10, 2015
e47994d
s390/process: fix sfpc inline assembly
heicarst Jul 6, 2015
cad49cf
s390/nmi: fix vector register corruption
heicarst Jul 7, 2015
ed05676
Revert "nfs: take extra reference to fl->fl_file when running a LOCKU…
Jul 11, 2015
bcd7f78
locks: have flock_lock_file take an inode pointer instead of a filp
Jul 11, 2015
29d01b2
locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait
Jul 11, 2015
83bfff2
nfs4: have do_vfs_lock take an inode pointer
Jul 11, 2015
ee296d7
locks: inline posix_lock_file_wait and flock_lock_file_wait
Jul 11, 2015
9ea4fee
drm/i915: Store device pointer in contexts for late tracepoint usafe
ickle May 5, 2015
94f7bbe
drm/i915: Snapshot seqno of most recently submitted request.
telf Jul 9, 2015
e227330
drm/i915: avoid leaking DMA mappings
ideak Jul 9, 2015
101057f
drm/i915: Fix missing return warning for !CONFIG_DEBUGFS
danvet Jul 13, 2015
5ec5b51
drm/i915: remove unused has_dma_mapping flag
ideak Jul 8, 2015
bbf4702
drm/i915: fix oops in primary_check_plane
danvet Jul 13, 2015
a732cd4
Merge tag 'iio-fixes-for-4.2a' of git://git.kernel.org/pub/scm/linux/…
gregkh Jul 13, 2015
8c5dfdb
Merge tag 'iio-fixes-for-4.2b' of git://git.kernel.org/pub/scm/linux/…
gregkh Jul 13, 2015
ba0ef85
tpm: Fix initialization of the cdev
jgunthorpe Jun 30, 2015
b371616
tpm, tpm_crb: fail when TPM2 ACPI table contents look corrupted
Jun 24, 2015
ac7e7ab
drm/i915: Forward all core DRM ioctls to core compat handling
tursulin Jul 13, 2015
d82c0ba
Revert "drm/i915: Declare the swizzling unknown for L-shaped configur…
danvet Jul 14, 2015
ccfb8b2
drm/i915: Do not call intel_crtc_disable if the crtc is already disab…
mlankhorst Jul 14, 2015
4d0e677
ALSA: line6: Fix -EBUSY error during active monitoring
tiwai Jul 14, 2015
4139032
IB: Add rdma_cap_ib_switch helper and use where appropriate
Jun 29, 2015
cd4cd56
IB/mad: Fix compare between big endian and cpu endian
weiny2 Jun 25, 2015
3b8ab70
IB/mad: Remove improper use of BUG_ON
weiny2 Jun 25, 2015
b356c1c
IB/srpt: Convert use of __constant_cpu_to_beXX to cpu_to_beXX
v-thakkar Jun 24, 2015
3fdf70a
IB/srp: Avoid using uninitialized variable
Jun 25, 2015
be4b499
IB/cm: Do not queue work to a device that's going away
Jun 25, 2015
8a7ff14
IB/mlx4: Do not attemp to report HCA clock offset on VFs
matanb10 Jul 1, 2015
58e9cc9
IB/IPoIB: Fix bad error flow in ipoib_add_port()
amirv Jul 1, 2015
a7f2f24
RDMA/core: Fixes for port mapper client registration
tatyana-en Jul 2, 2015
165d682
RDMA/nes: Fix for resolving the neigh
tatyana-en Jul 2, 2015
0a69127
RDMA/nes: Fix for incorrect recording of the MAC address
tatyana-en Jul 2, 2015
4fabb59
rds: rds_ib_device.refcount overflow
Wengang-oracle Jul 6, 2015
31b57b8
IB/ucma: Fix lockdep warning in ucma_lock_files
haggaie Jul 7, 2015
8b7cce0
IB/ipoib: Prevent lockdep warning in __ipoib_ib_dev_flush
haggaie Jul 7, 2015
59d40dd
IB/ucm: Fix bitmap wrap when devnum > IB_UCM_MAX_DEVICES
Jun 11, 2015
c426877
IB/ipoib: Scatter-Gather support in connected mode
Jul 12, 2015
edcd2a7
IB/ipoib: Set MTU to max allowed by mode when mode changes
Jun 7, 2015
cb1ff43
IB/ipath: Convert use of __constant_<foo> to <foo>
v-thakkar Jun 16, 2015
43bfb97
IB/mlx4: Fix use of flow-counters for process_mad
ogerlitz Jun 25, 2015
a39a98f
IB/mlx4: Optimize freeing of items on error unwind
maninder42 Jul 8, 2015
9bbf282
IB/mlx4: Fix memory leak in do_slave_init
Jul 9, 2015
d9a047a
IB/mlx4: Optimize do_slave_init
Jul 9, 2015
45d2542
IB/core: Destroy multcast_idr on module exit
Jul 8, 2015
d8b2ba7
IB/core: Destroy ocrdma_dev_id IDR on module exit
Jul 8, 2015
8642d7f
intel_scu_ipc: move local memory initialization out of a mutex
tititiou36 Jul 13, 2015
8e8e919
staging: vt6655: check ieee80211_bss_conf bssid not NULL
Jul 9, 2015
d309509
staging: vt6656: check ieee80211_bss_conf bssid not NULL
Jul 9, 2015
c631d5f
drm: Provide compat ioctl for addfb2.1
tursulin Jul 14, 2015
91ef5cc
Merge tag 'tpm-fixes-for-4.2-rc2' of https://github.com/PeterHuewe/li…
Jul 15, 2015
070f3f6
drm/armada: fix missing overlay wake-up
Jun 15, 2015
41dbb2d
drm/armada: fix incorrect overlay plane cleanup
Jun 15, 2015
0481c8c
drm/armada: fix gem object free after failed prime import
Jun 15, 2015
98fb74f
drm/armada: convert overlay to use drm_plane_helper_check_update()
Jun 15, 2015
73068ce
drm/armada: fix overlay when partially off-screen
Jun 15, 2015
c62ff6b
drm/armada: avoid saving the adjusted mode to crtc->mode
Jun 27, 2015
7558009
Merge tag 'trace-v4.2-rc1-fix' of git://git.kernel.org/pub/scm/linux/…
torvalds Jul 15, 2015
97d6e2b
Merge tag 'module-final-v4.2-rc1' of git://git.kernel.org/pub/scm/lin…
torvalds Jul 15, 2015
2645695
jfs: clean up jfs_rename and fix out of order unlock
kleikamp Jul 15, 2015
9c69481
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jul 15, 2015
bec33cd
Merge tag 'arc-v4.2-rc3-fixes' of git://git.kernel.org/pub/scm/linux/…
torvalds Jul 15, 2015
df14a68
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Jul 15, 2015
16ff49a
Merge tag 'locks-v4.2-1' of git://git.samba.org/jlayton/linux
torvalds Jul 15, 2015
7bee607
NVMe: Reread partitions on metadata formats
Jul 14, 2015
30bb6fb
gpio: Remove double "base" in comment
geertu Jun 15, 2015
2252607
gpio: brcmstb: fix null ptr dereference in driver remove
cha5on Jun 18, 2015
9090fdb
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…
torvalds Jul 16, 2015
3aa2050
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jul 16, 2015
977bd8a
gpio: omap: add missed spin_unlock_irqrestore in omap_gpio_irq_type
Jun 24, 2015
98973f2
ALSA: hda/realtek: Enable HP amp and mute LED on HP Folio 9480m [v3]
keith-packard Jul 15, 2015
6b956af
gpio: zynq: Fix problem with unbalanced pm_runtime_enable
Jun 25, 2015
5b2c912
gpio/xilinx: Use correct address when setting initial values.
Jun 24, 2015
34ab54e
gpio: max732x: Add missing dev reference to gpiochip
Jun 30, 2015
c23837c
gpio: omap: prevent module from being unloaded while in use
grygoriyS Jun 25, 2015
fdd5040
gpio: pca953x: fix nested irqs rescheduling
grygoriyS Jul 7, 2015
e56f698
blk-mq: set default timeout as 30 seconds
Jul 16, 2015
5dfc71b
drm/radeon: add a dpm quirk for Sapphire Radeon R9 270X 2GB GDDR5
alexdeucher Jul 10, 2015
233709d
drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL
Jul 3, 2015
12f1384
drm/radeon: fix user ptr race condition
ChristianKoenigAMD Jul 14, 2015
76a1ea6
drm/amdgpu: validate the context id in the dependencies
ChristianKoenigAMD Jul 6, 2015
5c2327b
drm/amdgpu: stop context leak in the error path
ChristianKoenigAMD Jul 7, 2015
974e6b6
drm/amdgpu: disable the IP module if early_init returns -ENOENT (v2)
alexdeucher Jul 10, 2015
7b92cdb
drm/amdgpu: set proper index/data pair for smc regs on CZ (v2)
alexdeucher Jul 10, 2015
4f2d3ad
drm/amdgpu: remove bogus check in gfx8 rb setup
alexdeucher Jul 10, 2015
85cfe09
drm/amdgpu/cz: unforce dpm levels before forcing to low/high
alexdeucher Jul 14, 2015
58829aa
drm/amdgpu/cz: store the forced dpm level
alexdeucher Jul 14, 2015
1a45e8a
drm/amdgpu/cz: silence some dpm debug output
alexdeucher Jul 14, 2015
bda5e3e
drm/radeon/ci: silence a harmless PCC warning
alexdeucher Jul 16, 2015
1002d71
drm/amdgpu/dce8: Re-set VBLANK interrupt state when enabling a CRTC
Jul 9, 2015
17ffc8b
Merge branches 'pm-cpuidle', 'pm-cpufreq' and 'acpi-resources'
rafaeljw Jul 16, 2015
f76d94d
Merge tag 'jfs-4.2' of git://github.com/kleikamp/linux-shaggy
torvalds Jul 16, 2015
761ab76
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
torvalds Jul 16, 2015
90438ac
Merge branch 'drm-fixes-4.2' of git://people.freedesktop.org/~agd5f/l…
airlied Jul 16, 2015
3755398
Merge tag 'topic/drm-fixes-2015-07-16' of git://anongit.freedesktop.o…
airlied Jul 16, 2015
61f2669
Merge tag 'drm-intel-fixes-2015-07-15' of git://anongit.freedesktop.o…
airlied Jul 16, 2015
8f6644c
Merge branch 'drm-armada-fixes' of git://ftp.arm.linux.org.uk/~rmk/li…
airlied Jul 17, 2015
e1e50e1
Merge tag 'imx-drm-fixes-2015-07-14' of git://git.pengutronix.de/git/…
airlied Jul 17, 2015
aaab3bb
Merge branch 'drm-rockchip-2015-07-13' of https://github.com/markyzq/…
airlied Jul 17, 2015
f85c712
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jul 17, 2015
3e87ee0
Merge tag 'platform-drivers-x86-v4.2-3' of git://git.infradead.org/us…
torvalds Jul 17, 2015
21bdb58
Merge tag 'pm+acpi-4.2-rc3' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jul 17, 2015
ef2b731
drm/ttm: fix uncached page deallocation to properly fill page pool v3.
Jul 9, 2015
e930888
drm/ttm: improve uncached page deallocation.
Jul 9, 2015
e05bf4f
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
torvalds Jul 17, 2015
9bca4df
Merge tag 'gpio-v4.2-2' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jul 17, 2015
1ea2a01
Merge tag 'sound-4.2-rc3' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Jul 17, 2015
2b3eb6e
Merge tag 'usb-4.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jul 17, 2015
eb25437
Merge tag 'staging-4.2-rc3' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jul 17, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Documentation/ABI/testing/sysfs-bus-iio
Original file line number Diff line number Diff line change
Expand Up @@ -1234,10 +1234,8 @@ Description:
object is near the sensor, usually be observing
reflectivity of infrared or ultrasound emitted.
Often these sensors are unit less and as such conversion
to SI units is not possible. Where it is, the units should
be meters. If such a conversion is not possible, the reported
values should behave in the same way as a distance, i.e. lower
values indicate something is closer to the sensor.
to SI units is not possible. Higher proximity measurements
indicate closer objects, and vice versa.

What: /sys/.../iio:deviceX/in_illuminance_input
What: /sys/.../iio:deviceX/in_illuminance_raw
Expand Down
2 changes: 1 addition & 1 deletion Documentation/DocBook/drm.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3383,7 +3383,7 @@ void intel_crt_init(struct drm_device *dev)
<td valign="top" >TBD</td>
</tr>
<tr>
<td rowspan="2" valign="top" >omap</td>
<td valign="top" >omap</td>
<td valign="top" >Generic</td>
<td valign="top" >“zorder”</td>
<td valign="top" >RANGE</td>
Expand Down
26 changes: 24 additions & 2 deletions Documentation/devicetree/bindings/drm/imx/fsl-imx-drm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ Optional properties:
- edid: verbatim EDID data block describing attached display.
- ddc: phandle describing the i2c bus handling the display data
channel
- port: A port node with endpoint definitions as defined in
- port@[0-1]: Port nodes with endpoint definitions as defined in
Documentation/devicetree/bindings/media/video-interfaces.txt.
Port 0 is the input port connected to the IPU display interface,
port 1 is the output port connected to a panel.

example:

Expand All @@ -75,9 +77,29 @@ display@di0 {
edid = [edid-data];
interface-pix-fmt = "rgb24";

port {
port@0 {
reg = <0>;

display_in: endpoint {
remote-endpoint = <&ipu_di0_disp0>;
};
};

port@1 {
reg = <1>;

display_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};

panel {
...

port {
panel_in: endpoint {
remote-endpoint = <&display_out>;
};
};
};
8 changes: 8 additions & 0 deletions Documentation/kbuild/makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,14 @@ When kbuild executes, the following steps are followed (roughly):
$(KBUILD_ARFLAGS) set by the top level Makefile to "D" (deterministic
mode) if this option is supported by $(AR).

ARCH_CPPFLAGS, ARCH_AFLAGS, ARCH_CFLAGS Overrides the kbuild defaults

These variables are appended to the KBUILD_CPPFLAGS,
KBUILD_AFLAGS, and KBUILD_CFLAGS, respectively, after the
top-level Makefile has set any other flags. This provides a
means for an architecture to override the defaults.


--- 6.2 Add prerequisites to archheaders:

The archheaders: rule is used to generate header files that
Expand Down
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -780,10 +780,11 @@ endif
include scripts/Makefile.kasan
include scripts/Makefile.extrawarn

# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
KBUILD_CPPFLAGS += $(KCPPFLAGS)
KBUILD_AFLAGS += $(KAFLAGS)
KBUILD_CFLAGS += $(KCFLAGS)
# Add any arch overrides and user supplied CPPFLAGS, AFLAGS and CFLAGS as the
# last assignments
KBUILD_CPPFLAGS += $(ARCH_CPPFLAGS) $(KCPPFLAGS)
KBUILD_AFLAGS += $(ARCH_AFLAGS) $(KAFLAGS)
KBUILD_CFLAGS += $(ARCH_CFLAGS) $(KCFLAGS)

# Use --build-id when available.
LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
Expand Down
3 changes: 2 additions & 1 deletion arch/arc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ if ISA_ARCOMPACT

config ARC_CPU_750D
bool "ARC750D"
select ARC_CANT_LLSC
help
Support for ARC750 core

Expand Down Expand Up @@ -362,7 +363,7 @@ config ARC_CANT_LLSC
config ARC_HAS_LLSC
bool "Insn: LLOCK/SCOND (efficient atomic ops)"
default y
depends on !ARC_CPU_750D && !ARC_CANT_LLSC
depends on !ARC_CANT_LLSC

config ARC_HAS_SWAPE
bool "Insn: SWAPE (endian-swap)"
Expand Down
3 changes: 2 additions & 1 deletion arch/arc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ endif

ifndef CONFIG_CC_OPTIMIZE_FOR_SIZE
# Generic build system uses -O2, we want -O3
cflags-y += -O3
# Note: No need to add to cflags-y as that happens anyways
ARCH_CFLAGS += -O3
endif

# small data is default for elf32 tool-chain. If not usable, disable it
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/boot/dts/axc003.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/ {
compatible = "snps,arc";
clock-frequency = <75000000>;
clock-frequency = <90000000>;
#address-cells = <1>;
#size-cells = <1>;

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/boot/dts/axc003_idu.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/ {
compatible = "snps,arc";
clock-frequency = <75000000>;
clock-frequency = <90000000>;
#address-cells = <1>;
#size-cells = <1>;

Expand Down
35 changes: 9 additions & 26 deletions arch/arc/include/asm/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\
* done for const @nr, but no code is generated due to gcc \
* const prop. \
*/ \
if (__builtin_constant_p(nr)) \
nr &= 0x1f; \
nr &= 0x1f; \
\
__asm__ __volatile__( \
"1: llock %0, [%1] \n" \
Expand Down Expand Up @@ -82,8 +81,7 @@ static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *
\
m += nr >> 5; \
\
if (__builtin_constant_p(nr)) \
nr &= 0x1f; \
nr &= 0x1f; \
\
/* \
* Explicit full memory barrier needed before/after as \
Expand Down Expand Up @@ -129,16 +127,13 @@ static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\
unsigned long temp, flags; \
m += nr >> 5; \
\
if (__builtin_constant_p(nr)) \
nr &= 0x1f; \
\
/* \
* spin lock/unlock provide the needed smp_mb() before/after \
*/ \
bitops_lock(flags); \
\
temp = *m; \
*m = temp c_op (1UL << nr); \
*m = temp c_op (1UL << (nr & 0x1f)); \
\
bitops_unlock(flags); \
}
Expand All @@ -149,17 +144,14 @@ static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *
unsigned long old, flags; \
m += nr >> 5; \
\
if (__builtin_constant_p(nr)) \
nr &= 0x1f; \
\
bitops_lock(flags); \
\
old = *m; \
*m = old c_op (1 << nr); \
*m = old c_op (1UL << (nr & 0x1f)); \
\
bitops_unlock(flags); \
\
return (old & (1 << nr)) != 0; \
return (old & (1UL << (nr & 0x1f))) != 0; \
}

#endif /* CONFIG_ARC_HAS_LLSC */
Expand All @@ -174,11 +166,8 @@ static inline void __##op##_bit(unsigned long nr, volatile unsigned long *m) \
unsigned long temp; \
m += nr >> 5; \
\
if (__builtin_constant_p(nr)) \
nr &= 0x1f; \
\
temp = *m; \
*m = temp c_op (1UL << nr); \
*m = temp c_op (1UL << (nr & 0x1f)); \
}

#define __TEST_N_BIT_OP(op, c_op, asm_op) \
Expand All @@ -187,13 +176,10 @@ static inline int __test_and_##op##_bit(unsigned long nr, volatile unsigned long
unsigned long old; \
m += nr >> 5; \
\
if (__builtin_constant_p(nr)) \
nr &= 0x1f; \
\
old = *m; \
*m = old c_op (1 << nr); \
*m = old c_op (1UL << (nr & 0x1f)); \
\
return (old & (1 << nr)) != 0; \
return (old & (1UL << (nr & 0x1f))) != 0; \
}

#define BIT_OPS(op, c_op, asm_op) \
Expand Down Expand Up @@ -224,10 +210,7 @@ test_bit(unsigned int nr, const volatile unsigned long *addr)

addr += nr >> 5;

if (__builtin_constant_p(nr))
nr &= 0x1f;

mask = 1 << nr;
mask = 1UL << (nr & 0x1f);

return ((mask & *addr) != 0);
}
Expand Down
48 changes: 42 additions & 6 deletions arch/arc/include/asm/futex.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,40 @@
#include <linux/uaccess.h>
#include <asm/errno.h>

#ifdef CONFIG_ARC_HAS_LLSC

#define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\
\
__asm__ __volatile__( \
"1: llock %1, [%2] \n" \
insn "\n" \
"2: scond %0, [%2] \n" \
" bnz 1b \n" \
" mov %0, 0 \n" \
"3: \n" \
" .section .fixup,\"ax\" \n" \
" .align 4 \n" \
"4: mov %0, %4 \n" \
" b 3b \n" \
" .previous \n" \
" .section __ex_table,\"a\" \n" \
" .align 4 \n" \
" .word 1b, 4b \n" \
" .word 2b, 4b \n" \
" .previous \n" \
\
: "=&r" (ret), "=&r" (oldval) \
: "r" (uaddr), "r" (oparg), "ir" (-EFAULT) \
: "cc", "memory")

#else /* !CONFIG_ARC_HAS_LLSC */

#define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\
\
__asm__ __volatile__( \
"1: ld %1, [%2] \n" \
"1: ld %1, [%2] \n" \
insn "\n" \
"2: st %0, [%2] \n" \
"2: st %0, [%2] \n" \
" mov %0, 0 \n" \
"3: \n" \
" .section .fixup,\"ax\" \n" \
Expand All @@ -39,6 +67,8 @@
: "r" (uaddr), "r" (oparg), "ir" (-EFAULT) \
: "cc", "memory")

#endif

static inline int futex_atomic_op_inuser(int encoded_op, u32 __user *uaddr)
{
int op = (encoded_op >> 28) & 7;
Expand Down Expand Up @@ -123,11 +153,17 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval,

pagefault_disable();

/* TBD : can use llock/scond */
__asm__ __volatile__(
"1: ld %0, [%3] \n"
" brne %0, %1, 3f \n"
"2: st %2, [%3] \n"
#ifdef CONFIG_ARC_HAS_LLSC
"1: llock %0, [%3] \n"
" brne %0, %1, 3f \n"
"2: scond %2, [%3] \n"
" bnz 1b \n"
#else
"1: ld %0, [%3] \n"
" brne %0, %1, 3f \n"
"2: st %2, [%3] \n"
#endif
"3: \n"
" .section .fixup,\"ax\" \n"
"4: mov %0, %4 \n"
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ struct callee_regs {
long r25, r24, r23, r22, r21, r20, r19, r18, r17, r16, r15, r14, r13;
};

#define instruction_pointer(regs) ((regs)->ret)
#define instruction_pointer(regs) (unsigned long)((regs)->ret)
#define profile_pc(regs) instruction_pointer(regs)

/* return 1 if user mode or 0 if kernel mode */
Expand Down
1 change: 0 additions & 1 deletion arch/arc/kernel/intc-arcv2.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <linux/of.h>
#include <linux/irqdomain.h>
#include <linux/irqchip.h>
#include "../../drivers/irqchip/irqchip.h"
#include <asm/irq.h>

/*
Expand Down
1 change: 0 additions & 1 deletion arch/arc/kernel/intc-compact.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <linux/of.h>
#include <linux/irqdomain.h>
#include <linux/irqchip.h>
#include "../../drivers/irqchip/irqchip.h"
#include <asm/irq.h>

/*
Expand Down
23 changes: 19 additions & 4 deletions arch/arc/kernel/mcip.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ void mcip_init_early_smp(void)
#include <linux/irqchip.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include "../../drivers/irqchip/irqchip.h"

/*
* Set the DEST for @cmn_irq to @cpu_mask (1 bit per core)
Expand Down Expand Up @@ -218,11 +217,28 @@ static void idu_irq_unmask(struct irq_data *data)
raw_spin_unlock_irqrestore(&mcip_lock, flags);
}

#ifdef CONFIG_SMP
static int
idu_irq_set_affinity(struct irq_data *d, const struct cpumask *cpumask, bool f)
idu_irq_set_affinity(struct irq_data *data, const struct cpumask *cpumask,
bool force)
{
unsigned long flags;
cpumask_t online;

/* errout if no online cpu per @cpumask */
if (!cpumask_and(&online, cpumask, cpu_online_mask))
return -EINVAL;

raw_spin_lock_irqsave(&mcip_lock, flags);

idu_set_dest(data->hwirq, cpumask_bits(&online)[0]);
idu_set_mode(data->hwirq, IDU_M_TRIG_LEVEL, IDU_M_DISTRI_RR);

raw_spin_unlock_irqrestore(&mcip_lock, flags);

return IRQ_SET_MASK_OK;
}
#endif

static struct irq_chip idu_irq_chip = {
.name = "MCIP IDU Intc",
Expand Down Expand Up @@ -330,8 +346,7 @@ idu_of_init(struct device_node *intc, struct device_node *parent)
if (!i)
idu_first_irq = irq;

irq_set_handler_data(irq, domain);
irq_set_chained_handler(irq, idu_cascade_isr);
irq_set_chained_handler_and_data(irq, idu_cascade_isr, domain);
}

__mcip_cmd(CMD_IDU_ENABLE, 0);
Expand Down
Loading