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

ODROIDC: Kernel 3.10.85 #122

Closed
wants to merge 169 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
c153687
net: phy: Allow EEE for all RGMII variants
ffainelli May 15, 2015
8dd4573
ipv4: Avoid crashing in ip_error
ebiederm May 22, 2015
2f5f714
bridge: fix parsing of MLDv2 reports
May 22, 2015
5385d8c
net: dp83640: fix broken calibration routine.
richardcochran May 25, 2015
7659c93
unix/caif: sk_socket can disappear when state is unlocked
salyzyn May 26, 2015
0998280
net_sched: invoke ->attach() after setting dev->qdisc
congwang May 26, 2015
a3cfde2
udp: fix behavior of wrong checksums
May 30, 2015
762965a
xen: netback: read hotplug script once at start of day.
Jun 1, 2015
3b9f2aa
iio: adis16400: Report pressure channel scale
larsclausen May 15, 2015
beed1a2
iio: adis16400: Use != channel indices for the two voltage channels
May 15, 2015
5073908
iio: adis16400: Compute the scan mask from channel indices
May 15, 2015
432146b
ALSA: hda/realtek - Add a fixup for another Acer Aspire 9420
tiwai Jun 2, 2015
19f89f6
ALSA: usb-audio: Add mic volume fix quirk for Logitech Quickcam Fusion
May 29, 2015
c24f1e7
ALSA: usb-audio: add MAYA44 USB+ mixer control names
cladisch Jun 3, 2015
6157190
Input: elantech - fix detection of touchpads where the revision match…
jwrdegoede Jun 2, 2015
96ebd85
block: fix ext_dev_lock lockdep report
djbw Jun 11, 2015
0848ca6
USB: cp210x: add ID for HubZ dual ZigBee and Z-Wave dongle
Jun 4, 2015
dc320d5
USB: serial: ftdi_sio: Add support for a Motion Tracker Development B…
PPRiphagen May 19, 2015
61a5c6b
ring-buffer-benchmark: Fix the wrong sched_priority of producer
datawolf Jun 10, 2015
4c90e05
MIPS: Fix enabling of DEBUG_STACKOVERFLOW
Jun 4, 2015
1804b14
ozwpan: Use proper check to prevent heap overflow
zx2c4 May 29, 2015
8ca9ab6
ozwpan: divide-by-zero leading to panic
zx2c4 May 29, 2015
1c9daa0
ozwpan: unchecked signed subtraction leads to DoS
zx2c4 May 29, 2015
57d5697
pata_octeon_cf: fix broken build
aakoskin Jun 8, 2015
a0e4eef
drm/i915: Fix DDC probe for passive adapters
jnikula Jun 2, 2015
31c6d4e
mm/memory_hotplug.c: set zone->wait_table to null after freeing it
Jun 10, 2015
98d94f2
cfg80211: wext: clear sinfo struct before calling driver
jmberg-intel Jun 9, 2015
8d1529c
btrfs: incorrect handling for fiemap_fill_next_extent return
ChengyuSong Mar 24, 2015
9272a6c
btrfs: cleanup orphans while looking up default subvolume
jeffmahoney Mar 20, 2015
2811459
Linux 3.10.81
gregkh Jun 22, 2015
b6d2d39
crypto: caam - fix RNG buffer cache alignment
Jun 15, 2015
63dec31
tracing: Have filter check for balanced ops
rostedt Jun 15, 2015
97d905e
drm/mgag200: Reject non-character-cell-aligned mode widths
nwnk Jun 15, 2015
14f8106
pipe: iovec: Fix memory corruption when retrying atomic copy as non-a…
bwhacks Jun 16, 2015
17c06c6
lpfc: Add iotag memory barrier
May 7, 2014
b3d7844
Linux 3.10.82
gregkh Jun 29, 2015
2a7abb5
fput: turn "list_head delayed_fput_list" into llist_head
oleg-nesterov Jul 8, 2013
68c8a7a
get rid of s_files and files_lock
Oct 4, 2013
ff19fc3
config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected
konradwilk Apr 17, 2015
59bc219
netfilter: nfnetlink_cthelper: Remove 'const' and '&' to avoid warnings
Chen-Gang Dec 24, 2014
7c6300b
netfilter: Zero the tuple in nfnl_cthelper_parse_tuple()
Mar 12, 2015
434c32f
include/linux/sched.h: don't use task->pid/tgid in same_thread_group/…
oleg-nesterov Sep 11, 2013
a20cc70
__ptrace_may_access() should not deny sub-threads
grondo Sep 11, 2013
4dce460
ACPICA: Utilities: Cleanup to convert physical address printing formats.
Apr 13, 2015
a2dac7a
ACPICA: Utilities: Cleanup to remove useless ACPI_PRINTF/FORMAT_xxx h…
Apr 13, 2015
29e7fa7
sb_edac: Fix erroneous bytes->gigabytes conversion
jimsnow-intel Nov 18, 2014
6a82524
hpsa: refine the pci enable/disable handling
thenzl Aug 14, 2014
31884f5
hpsa: add missing pci_set_master in kdump path
thenzl Sep 12, 2014
9eae8ac
fs: take i_mutex during prepare_binprm for set[ug]id executables
thejh Apr 19, 2015
66bd44e
x86/microcode/intel: Guard against stack overflow in the loader
Feb 3, 2015
43f2e36
Btrfs: make xattr replace operations atomic
fdmanana Nov 9, 2014
528555d
xfrm: Increase the garbage collector threshold
klassert Oct 25, 2013
ba310bc
ipv6: prevent fib6_run_gc() contention
mkubecek Aug 1, 2013
c1e1eb1
ipv6: update ip6_rt_last_gc every time GC is run
mkubecek Aug 1, 2013
b93e0ac
d_walk() might skip too much
Jun 13, 2015
4cae4bb
ARM: clk-imx6q: refine sata's parent
sebszymanski May 20, 2015
ea0d66b
KVM: nSVM: Check for NRIPS support before updating control field
whitebrandy Jun 11, 2015
2667677
bus: mvebu: pass the coherency availability information at init time
gregungerer Apr 14, 2014
c484654
Linux 3.10.83
gregkh Jul 4, 2015
dc911b3
sparc: Use GFP_ATOMIC in ldc_alloc_exp_dring() as it can be called in…
sowminiv Apr 21, 2015
80cbc4a
bridge: fix multicast router rlist endless loop
NikAleksandrov Jun 9, 2015
019b133
bridge: fix br_stp_set_bridge_priority race conditions
NikAleksandrov Jun 15, 2015
7eee92b
packet: read num_members once in packet_rcv_fanout()
Jun 16, 2015
4552ddd
packet: avoid out of bounds read in round robin fanout
wdebruij Jun 17, 2015
59a460c
sctp: Fix race between OOTB responce and route removal
asverdlin Jun 29, 2015
54b9157
crypto: talitos - avoid memleak in talitos_alg_alloc()
horiag May 11, 2015
fd2db9b
Revert "crypto: talitos - convert to use be16_add_cpu()"
horiag May 11, 2015
06efcc8
arm: KVM: force execution of HCPTR access on VM exit
Mar 16, 2015
aa517b1
powerpc/perf: Fix book3s kernel to userspace backtraces
antonblanchard May 26, 2015
dc86caf
x86/PCI: Use host bridge _CRS info on Foxconn K8M890-8237A
bjorn-helgaas Jun 9, 2015
ce2eb12
MIPS: Fix KVM guest fixmap address
Apr 27, 2015
455aa7c
KVM: x86: make vapics_in_nmi_mode atomic
rkrcmar Jul 1, 2015
9b9724d
fs: Fix S_NOSEC handling
jankara May 21, 2015
f1178e9
Linux 3.10.84
gregkh Jul 10, 2015
fc48f05
ipr: Increase default adapter init stage change timeout
bjking1 May 13, 2015
f6bdfa0
Disable write buffering on Toshiba ToPIC95
runderwo Jan 26, 2015
7834914
ALSA: hda - Add headset support to Acer Aspire V5
tiwai Jun 27, 2015
b56a832
ALSA: hda - Fix the dock headphone output on Fujitsu Lifebook E780
tiwai Jun 29, 2015
ea207ff
ARC: add compiler barrier to LLSC based cmpxchg
vineetgarc Nov 13, 2014
2b97cbc
arm64: Do not attempt to use init_mm in reset_context()
ctmarinas Jun 12, 2015
39ae2d0
arm64: mm: Fix freeing of the wrong memmap entries with !SPARSEMEM_VM…
Jun 16, 2015
6ec153c
arm64: vdso: work-around broken ELF toolchains in Makefile
wildea01 Jun 19, 2015
c24d75b
cpuidle / menu: Return (-1) if there are no suitable states
rafaeljw Apr 30, 2014
c9f4682
regmap: Fix regmap_bulk_read in BE mode
arun-chandran Jun 15, 2015
bd5bf92
regulator: core: fix constraints output buffer
lategoodbye Jun 9, 2015
84df71d
spi: pl022: Specify 'num-cs' property as required in devicetree binding
ezequielgarcia May 11, 2015
a3253d7
mtd: fix: avoid race condition when accessing mtd->usecount
computersforpeace May 8, 2015
7f9e2cc
mtd: dc21285: use raw spinlock functions for nw_gpio_lock
May 28, 2015
eef15dc
pinctrl: mvebu: armada-370: fix spi0 pin description
tpetazzoni Jun 9, 2015
74806d7
pinctrl: mvebu: armada-xp: remove non-existing NAND pins
tpetazzoni Jun 9, 2015
d150690
pinctrl: mvebu: armada-xp: remove non-existing VDD cpu_pd functions
tpetazzoni Jun 9, 2015
91d0d49
pinctrl: mvebu: armada-xp: fix functions of MPP48
tpetazzoni Jun 9, 2015
0a912f1
Bluetooth: btusb: Fix memory leak in Intel setup routine
holtmann Jun 7, 2015
885c15d
ath9k: fix DMA stop sequence for AR9003+
Jun 2, 2015
3855932
staging: rtl8712: prevent buffer overrun in recvbuf2recvframe
haggaie May 23, 2015
5831539
ext4: fix race between truncate and __ext4_journalled_writepage()
tytso Jun 13, 2015
b9f1b63
ext4: call sync_blockdev() before invalidate_bdev() in put_super()
tytso Jun 21, 2015
438a985
ext4: don't retry file block mapping on bigalloc fs with non-extent file
djwong Jun 22, 2015
9b5fe3a
ext4: fix reservation release on invalidatepage for delalloc fs
Jul 4, 2015
fc8bf21
ext4: be more strict when migrating to non-extent based file
guaneryu Jul 4, 2015
3cf4f73
ext4: correctly migrate a file with a hole at the beginning
guaneryu Jul 4, 2015
45add18
ext4: replace open coded nofail allocation in ext4_free_blocks()
Jul 5, 2015
cab5d70
jbd2: use GFP_NOFS in jbd2_cleanup_journal_tail()
Jun 15, 2015
c507eca
jbd2: fix ocfs2 corrupt when updating journal superblock fails
josephhz Jun 15, 2015
16bead8
i2c: at91: fix a race condition when using the DMA controller
Jun 9, 2015
aa26483
iio: DAC: ad5624r_spi: fix bit shift of output data value
Jun 19, 2015
85c81d7
af9013: Don't accept invalid bandwidth
mchehab Apr 28, 2015
72a5986
s5h1420: fix a buffer overflow when checking userspace params
mchehab Apr 28, 2015
81afd3a
cx24116: fix a buffer overflow when checking userspace params
mchehab Apr 28, 2015
ea38800
ASoC: wm8737: Fixup setting VMID Impedance control register
AxelLin May 10, 2015
de2b5eb
ASoC: wm8955: Fix setting wrong register for WM8955_K_8_0_MASK bits
AxelLin May 15, 2015
c5f6b2f
ASoC: wm8903: Fix define for WM8903_VMID_RES_250K
AxelLin May 11, 2015
7d08fbb
ASoC: wm8960: the enum of "DAC Polarity" should be wm8960_enum[1]
Jun 11, 2015
ef06cae
libata: add ATA_HORKAGE_BROKEN_FPDMA_AA quirk for HP 250GB SATA disk …
reinforce Jul 1, 2015
2b265a7
libata: increase the timeout when setting transfer mode
Jul 8, 2015
265f7f3
usb: dwc3: gadget: return error if command sent to DGCMD register fails
Sundeep-Bhatta May 21, 2015
de03d21
usb: dwc3: gadget: return error if command sent to DEPCMD register fails
Sundeep-Bhatta May 21, 2015
4b50e88
usb: dwc3: Reset the transfer resource index on SET_INTERFACE
jysnps Sep 17, 2001
fe4b246
USB: devio: fix a condition in async_completed()
May 18, 2015
73ee170
USB: cp210x: add ID for Aruba Networks controllers
psanford Jun 26, 2015
459019c
USB: option: add 2020:4000 ID
Jun 10, 2015
e70c51a
usb: xhci: Bugfix for NULL pointer deference in xhci_endpoint_init() …
amandeep-samsung Jul 21, 2015
c3055bd
dm btree remove: fix bug in redistribute3
shinrairis Jun 26, 2015
2554f6d
dm btree: silence lockdep lock inversion in dm_btree_del()
jthornber Jul 3, 2015
1ac6c9e
mmc: block: Add missing mmc_blk_put() in power_ro_lock_show()
Jul 16, 2015
840ea3b
drm/qxl: Do not cause spice-server to clean our objects
Jun 3, 2015
d2996f6
drm/radeon: take the mode_config mutex when dealing with hpds (v2)
alexdeucher May 15, 2015
391cf87
drm/radeon: Don't flush the GART TLB if rdev->gart.ptr == NULL
Jul 3, 2015
e92ad5b
drm: add a check for x/y in drm_mode_setcrtc
zhjwpku Jul 7, 2015
720e6d2
xfs: fix remote symlinks on V5/CRC filesystems
Jun 21, 2015
8f24d7c
vTPM: set virtual device before passing to ibmvtpm_reset_crq
May 22, 2015
143482d
libata: add ATA_HORKAGE_NOTRIM
Jul 15, 2015
5484ab1
libata: force disable trim for SuperSSpeed S238
Jul 15, 2015
c8b9a1f
tracing/filter: Do not WARN on operand count going below zero
rostedt Jun 25, 2015
3f6ba7f
tracing/filter: Do not allow infix to exceed end of string
rostedt Jun 25, 2015
f1bb130
tracing: Have branch tracer use recursive field of task struct
rostedt Jul 7, 2015
42f77f1
dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup
May 26, 2015
ec573ef
hwmon: (mcp3021) Fix broken output scaling
Jul 1, 2015
882d00c
md: fix a build warning
firogh Jun 11, 2015
9c902bd
Btrfs: use kmem_cache_free when freeing entry in inode cache
fdmanana Jun 13, 2015
cc522c5
fuse: initialize fc->release before calling it
Jul 1, 2015
7546f8c
crush: fix a bug in tree bucket decode
idryomov Jun 29, 2015
a73aa5b
ACPICA: Tables: Fix an issue that FACS initialization is performed twice
Jul 1, 2015
49b028d
iscsi-target: Convert iscsi_thread_set usage to kthread.h
Feb 27, 2015
394adc1
iser-target: Fix possible deadlock in RDMA_CM connection error
Mar 29, 2015
45f2935
iser-target: release stale iser connections
Jun 4, 2015
21dd5b3
mmc: card: Fixup request missing in mmc_blk_issue_rw_rq
May 18, 2015
bf95f46
__bitmap_parselist: fix bug in empty string handling
Jun 25, 2015
5c817fb
mac80211: prevent possible crypto tx tailroom corruption
May 22, 2015
e178054
USB: usbfs: allow URBs to be reaped after disconnection
AlanStern Jan 29, 2015
6afa955
watchdog: omap: assert the counter being stopped before reprogramming
Apr 29, 2015
f35c364
NFS: Fix size of NFSACL SETACL operations
chucklever May 26, 2015
68e5291
fixing infinite OPEN loop in 4.0 stateid recovery
olgakorn1 May 15, 2015
0e22b36
nfs: increase size of EXCHANGE_ID name string buffer
jtlayton Jun 9, 2015
13d0b6a
SUNRPC: Fix a memory leak in the backchannel code
trondmypd Jun 1, 2015
693f66d
9p: forgetting to cancel request on interrupted zero-copy RPC
Jul 4, 2015
b5a1d54
9p: don't leave a half-initialized inode sitting around
Jul 12, 2015
d8c97a8
rbd: use GFP_NOIO in rbd_obj_request_create()
idryomov Jun 24, 2015
f626f57
agp/intel: Fix typo in needs_ilk_vtd_wa()
ickle Jun 28, 2015
c0e05f1
hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV in…
JoePerches Mar 27, 2015
27dbfee
Fix firmware loader uevent buffer NULL pointer dereference
torvalds Jul 9, 2015
40ce7fb
qla2xxx: Mark port lost when we receive an RSCN for it.
Sep 25, 2014
79af5d9
MIPS: KVM: Do not sign extend on unsigned MMIO load
May 7, 2015
b7c4289
Linux 3.10.85
gregkh Aug 3, 2015
95753b1
Merge tag 'v3.10.81' of git://git.kernel.org/pub/scm/linux/kernel/git…
attilaolah Aug 13, 2015
462c621
Merge tag 'v3.10.82' of git://git.kernel.org/pub/scm/linux/kernel/git…
attilaolah Aug 13, 2015
6d4441d
Merge tag 'v3.10.83' of git://git.kernel.org/pub/scm/linux/kernel/git…
attilaolah Aug 13, 2015
1497c05
Merge tag 'v3.10.84' of git://git.kernel.org/pub/scm/linux/kernel/git…
attilaolah Aug 13, 2015
600e5c0
Merge tag 'v3.10.85' of git://git.kernel.org/pub/scm/linux/kernel/git…
attilaolah Aug 13, 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
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ mpp61 61 gpo, dev(wen1), uart1(txd), audio(rclk)
mpp62 62 gpio, dev(a2), uart1(cts), tdm(drx), pcie(clkreq0),
audio(mclk), uart0(cts)
mpp63 63 gpo, spi0(sck), tclk
mpp64 64 gpio, spi0(miso), spi0-1(cs1)
mpp65 65 gpio, spi0(mosi), spi0-1(cs2)
mpp64 64 gpio, spi0(miso), spi0(cs1)
mpp65 65 gpio, spi0(mosi), spi0(cs2)
Original file line number Diff line number Diff line change
Expand Up @@ -41,37 +41,34 @@ mpp20 20 gpio, ge0(rxd4), ge1(rxd2), lcd(d20), ptp(clk)
mpp21 21 gpio, ge0(rxd5), ge1(rxd3), lcd(d21), mem(bat)
mpp22 22 gpio, ge0(rxd6), ge1(rxctl), lcd(d22), sata0(prsnt)
mpp23 23 gpio, ge0(rxd7), ge1(rxclk), lcd(d23), sata1(prsnt)
mpp24 24 gpio, lcd(hsync), sata1(prsnt), nf(bootcs-re), tdm(rst)
mpp25 25 gpio, lcd(vsync), sata0(prsnt), nf(bootcs-we), tdm(pclk)
mpp26 26 gpio, lcd(clk), tdm(fsync), vdd(cpu1-pd)
mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst)
mpp25 25 gpio, lcd(vsync), sata0(prsnt), tdm(pclk)
mpp26 26 gpio, lcd(clk), tdm(fsync)
mpp27 27 gpio, lcd(e), tdm(dtx), ptp(trig)
mpp28 28 gpio, lcd(pwm), tdm(drx), ptp(evreq)
mpp29 29 gpio, lcd(ref-clk), tdm(int0), ptp(clk), vdd(cpu0-pd)
mpp29 29 gpio, lcd(ref-clk), tdm(int0), ptp(clk)
mpp30 30 gpio, tdm(int1), sd0(clk)
mpp31 31 gpio, tdm(int2), sd0(cmd), vdd(cpu0-pd)
mpp32 32 gpio, tdm(int3), sd0(d0), vdd(cpu1-pd)
mpp31 31 gpio, tdm(int2), sd0(cmd)
mpp32 32 gpio, tdm(int3), sd0(d0)
mpp33 33 gpio, tdm(int4), sd0(d1), mem(bat)
mpp34 34 gpio, tdm(int5), sd0(d2), sata0(prsnt)
mpp35 35 gpio, tdm(int6), sd0(d3), sata1(prsnt)
mpp36 36 gpio, spi(mosi)
mpp37 37 gpio, spi(miso)
mpp38 38 gpio, spi(sck)
mpp39 39 gpio, spi(cs0)
mpp40 40 gpio, spi(cs1), uart2(cts), lcd(vga-hsync), vdd(cpu1-pd),
pcie(clkreq0)
mpp40 40 gpio, spi(cs1), uart2(cts), lcd(vga-hsync), pcie(clkreq0)
mpp41 41 gpio, spi(cs2), uart2(rts), lcd(vga-vsync), sata1(prsnt),
pcie(clkreq1)
mpp42 42 gpio, uart2(rxd), uart0(cts), tdm(int7), tdm-1(timer),
vdd(cpu0-pd)
mpp43 43 gpio, uart2(txd), uart0(rts), spi(cs3), pcie(rstout),
vdd(cpu2-3-pd){1}
mpp42 42 gpio, uart2(rxd), uart0(cts), tdm(int7), tdm-1(timer)
mpp43 43 gpio, uart2(txd), uart0(rts), spi(cs3), pcie(rstout)
mpp44 44 gpio, uart2(cts), uart3(rxd), spi(cs4), pcie(clkreq2),
mem(bat)
mpp45 45 gpio, uart2(rts), uart3(txd), spi(cs5), sata1(prsnt)
mpp46 46 gpio, uart3(rts), uart1(rts), spi(cs6), sata0(prsnt)
mpp47 47 gpio, uart3(cts), uart1(cts), spi(cs7), pcie(clkreq3),
ref(clkout)
mpp48 48 gpio, tclk, dev(burst/last)
mpp48 48 gpio, dev(clkout), dev(burst/last)

* Marvell Armada XP (mv78260 and mv78460 only)

Expand All @@ -83,9 +80,9 @@ mpp51 51 gpio, dev(ad16)
mpp52 52 gpio, dev(ad17)
mpp53 53 gpio, dev(ad18)
mpp54 54 gpio, dev(ad19)
mpp55 55 gpio, dev(ad20), vdd(cpu0-pd)
mpp56 56 gpio, dev(ad21), vdd(cpu1-pd)
mpp57 57 gpio, dev(ad22), vdd(cpu2-3-pd){1}
mpp55 55 gpio, dev(ad20)
mpp56 56 gpio, dev(ad21)
mpp57 57 gpio, dev(ad22)
mpp58 58 gpio, dev(ad23)
mpp59 59 gpio, dev(ad24)
mpp60 60 gpio, dev(ad25)
Expand All @@ -95,6 +92,3 @@ mpp63 63 gpio, dev(ad28)
mpp64 64 gpio, dev(ad29)
mpp65 65 gpio, dev(ad30)
mpp66 66 gpio, dev(ad31)

Notes:
* {1} vdd(cpu2-3-pd) only available on mv78460.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/spi/spi_pl022.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Required properties:
- compatible : "arm,pl022", "arm,primecell"
- reg : Offset and length of the register set for the device
- interrupts : Should contain SPI controller interrupt
- num-cs : total number of chipselects

Optional properties:
- num-cs : total number of chipselects
- cs-gpios : should specify GPIOs used for chipselects.
The gpios will be referred to as reg = <index> in the SPI child nodes.
If unspecified, a single SPI device without a chip select can be used.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 10
SUBLEVEL = 80
SUBLEVEL = 85
EXTRAVERSION =
NAME = TOSSUG Baby Fish

Expand Down
9 changes: 5 additions & 4 deletions arch/arc/include/asm/cmpxchg.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ __cmpxchg(volatile void *ptr, unsigned long expected, unsigned long new)
" scond %3, [%1] \n"
" bnz 1b \n"
"2: \n"
: "=&r"(prev)
: "r"(ptr), "ir"(expected),
"r"(new) /* can't be "ir". scond can't take limm for "b" */
: "cc");
: "=&r"(prev) /* Early clobber, to prevent reg reuse */
: "r"(ptr), /* Not "m": llock only supports reg direct addr mode */
"ir"(expected),
"r"(new) /* can't be "ir". scond can't take LIMM for "b" */
: "cc", "memory"); /* so that gcc knows memory is being written here */

return prev;
}
Expand Down
10 changes: 4 additions & 6 deletions arch/arm/kvm/interrupts.S
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,9 @@ __kvm_vcpu_return:
@ Don't trap coprocessor accesses for host kernel
set_hstr vmexit
set_hdcr vmexit
set_hcptr vmexit, (HCPTR_TTA | HCPTR_TCP(10) | HCPTR_TCP(11))
set_hcptr vmexit, (HCPTR_TTA | HCPTR_TCP(10) | HCPTR_TCP(11)), after_vfp_restore

#ifdef CONFIG_VFPv3
@ Save floating point registers we if let guest use them.
tst r2, #(HCPTR_TCP(10) | HCPTR_TCP(11))
bne after_vfp_restore

@ Switch VFP/NEON hardware state to the host's
add r7, vcpu, #VCPU_VFP_GUEST
store_vfp_state r7
Expand All @@ -177,6 +173,8 @@ after_vfp_restore:
@ Restore FPEXC_EN which we clobbered on entry
pop {r2}
VFPFMXR FPEXC, r2
#else
after_vfp_restore:
#endif

@ Reset Hyp-role
Expand Down Expand Up @@ -458,7 +456,7 @@ switch_to_guest_vfp:
push {r3-r7}

@ NEON/VFP used. Turn on VFP access.
set_hcptr vmexit, (HCPTR_TCP(10) | HCPTR_TCP(11))
set_hcptr vmtrap, (HCPTR_TCP(10) | HCPTR_TCP(11))

@ Switch VFP/NEON hardware state to the guest's
add r7, r0, #VCPU_VFP_HOST
Expand Down
20 changes: 18 additions & 2 deletions arch/arm/kvm/interrupts_head.S
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,13 @@ vcpu .req r0 @ vcpu pointer always in r0
.endm

/* Configures the HCPTR (Hyp Coprocessor Trap Register) on entry/return
* (hardware reset value is 0). Keep previous value in r2. */
.macro set_hcptr operation, mask
* (hardware reset value is 0). Keep previous value in r2.
* An ISB is emited on vmexit/vmtrap, but executed on vmexit only if
* VFP wasn't already enabled (always executed on vmtrap).
* If a label is specified with vmexit, it is branched to if VFP wasn't
* enabled.
*/
.macro set_hcptr operation, mask, label = none
mrc p15, 4, r2, c1, c1, 2
ldr r3, =\mask
.if \operation == vmentry
Expand All @@ -580,6 +585,17 @@ vcpu .req r0 @ vcpu pointer always in r0
bic r3, r2, r3 @ Don't trap defined coproc-accesses
.endif
mcr p15, 4, r3, c1, c1, 2
.if \operation != vmentry
.if \operation == vmexit
tst r2, #(HCPTR_TCP(10) | HCPTR_TCP(11))
beq 1f
.endif
isb
.if \label != none
b \label
.endif
1:
.endif
.endm

/* Configures the HDCR (Hyp Debug Configuration Register) on entry/return
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-dove/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void __init dove_init_early(void)
orion_time_set_base(TIMER_VIRT_BASE);
mvebu_mbus_init("marvell,dove-mbus",
BRIDGE_WINS_BASE, BRIDGE_WINS_SZ,
DOVE_MC_WINS_BASE, DOVE_MC_WINS_SZ);
DOVE_MC_WINS_BASE, DOVE_MC_WINS_SZ, 0);
}

static int __init dove_find_tclk(void)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-imx/clk-imx6q.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ int __init mx6q_clocks_init(void)
clk[gpmi_io] = imx_clk_gate2("gpmi_io", "enfc", base + 0x78, 28);
clk[gpmi_apb] = imx_clk_gate2("gpmi_apb", "usdhc3", base + 0x78, 30);
clk[rom] = imx_clk_gate2("rom", "ahb", base + 0x7c, 0);
clk[sata] = imx_clk_gate2("sata", "ipg", base + 0x7c, 4);
clk[sata] = imx_clk_gate2("sata", "ahb", base + 0x7c, 4);
clk[sdma] = imx_clk_gate2("sdma", "ahb", base + 0x7c, 6);
clk[spba] = imx_clk_gate2("spba", "ipg", base + 0x7c, 12);
clk[ssi1_ipg] = imx_clk_gate2("ssi1_ipg", "ipg", base + 0x7c, 18);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-kirkwood/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ void __init kirkwood_init_early(void)

mvebu_mbus_init("marvell,kirkwood-mbus",
BRIDGE_WINS_BASE, BRIDGE_WINS_SZ,
DDR_WINDOW_CPU_BASE, DDR_WINDOW_CPU_SZ);
DDR_WINDOW_CPU_BASE, DDR_WINDOW_CPU_SZ, 0);
}

int kirkwood_tclk;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-mv78xx0/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,11 @@ void __init mv78xx0_init_early(void)
if (mv78xx0_core_index() == 0)
mvebu_mbus_init("marvell,mv78xx0-mbus",
BRIDGE_WINS_CPU0_BASE, BRIDGE_WINS_SZ,
DDR_WINDOW_CPU0_BASE, DDR_WINDOW_CPU_SZ);
DDR_WINDOW_CPU0_BASE, DDR_WINDOW_CPU_SZ, 0);
else
mvebu_mbus_init("marvell,mv78xx0-mbus",
BRIDGE_WINS_CPU1_BASE, BRIDGE_WINS_SZ,
DDR_WINDOW_CPU1_BASE, DDR_WINDOW_CPU_SZ);
DDR_WINDOW_CPU1_BASE, DDR_WINDOW_CPU_SZ, 0);
}

void __init_refok mv78xx0_timer_init(void)
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/mach-mvebu/armada-370-xp.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ void __init armada_370_xp_init_early(void)
ARMADA_370_XP_MBUS_WINS_BASE,
ARMADA_370_XP_MBUS_WINS_SIZE,
ARMADA_370_XP_SDRAM_WINS_BASE,
ARMADA_370_XP_SDRAM_WINS_SIZE);
ARMADA_370_XP_SDRAM_WINS_SIZE,
coherency_available());

#ifdef CONFIG_CACHE_L2X0
l2x0_of_init(0, ~0UL);
Expand Down
15 changes: 15 additions & 0 deletions arch/arm/mach-mvebu/coherency.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,20 @@ static struct notifier_block mvebu_hwcc_platform_nb = {
.notifier_call = mvebu_hwcc_platform_notifier,
};

/*
* Keep track of whether we have IO hardware coherency enabled or not.
* On Armada 370's we will not be using it for example. We need to make
* that available [through coherency_available()] so the mbus controller
* doesn't enable the IO coherency bit in the attribute bits of the
* chip selects.
*/
static int coherency_enabled;

int coherency_available(void)
{
return coherency_enabled;
}

int __init coherency_init(void)
{
struct device_node *np;
Expand Down Expand Up @@ -170,6 +184,7 @@ int __init coherency_init(void)
coherency_base = of_iomap(np, 0);
coherency_cpu_base = of_iomap(np, 1);
set_cpu_coherent(cpu_logical_map(smp_processor_id()), 0);
coherency_enabled = 1;
bus_register_notifier(&platform_bus_type,
&mvebu_hwcc_platform_nb);
}
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-mvebu/coherency.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ int coherency_get_cpu_count(void);
#endif

int set_cpu_coherent(int cpu_id, int smp_group_id);
int coherency_available(void);
int coherency_init(void);

#endif /* __MACH_370_XP_COHERENCY_H */
2 changes: 1 addition & 1 deletion arch/arm/mach-orion5x/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ void __init orion5x_init_early(void)
mbus_soc_name = NULL;
mvebu_mbus_init(mbus_soc_name, ORION5X_BRIDGE_WINS_BASE,
ORION5X_BRIDGE_WINS_SZ,
ORION5X_DDR_WINS_BASE, ORION5X_DDR_WINS_SZ);
ORION5X_DDR_WINS_BASE, ORION5X_DDR_WINS_SZ, 0);
}

void orion5x_setup_wins(void)
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/kernel/vdso/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ ccflags-y := -shared -fno-common -fno-builtin
ccflags-y += -nostdlib -Wl,-soname=linux-vdso.so.1 \
$(call cc-ldoption, -Wl$(comma)--hash-style=sysv)

# Workaround for bare-metal (ELF) toolchains that neglect to pass -shared
# down to collect2, resulting in silent corruption of the vDSO image.
ccflags-y += -Wl,-shared

obj-y += vdso.o
extra-y += vdso.lds vdso-offsets.h
CPPFLAGS_vdso.lds += -P -C -U$(ARCH)
Expand Down
8 changes: 8 additions & 0 deletions arch/arm64/mm/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ static void reset_context(void *info)
unsigned int cpu = smp_processor_id();
struct mm_struct *mm = current->active_mm;

/*
* current->active_mm could be init_mm for the idle thread immediately
* after secondary CPU boot or hotplug. TTBR0_EL1 is already set to
* the reserved value, so no need to reset any context.
*/
if (mm == &init_mm)
return;

smp_rmb();
asid = cpu_last_asid + cpu;

Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static void __init free_unused_memmap(void)
* memmap entries are valid from the bank end aligned to
* MAX_ORDER_NR_PAGES.
*/
prev_end = ALIGN(start + __phys_to_pfn(reg->size),
prev_end = ALIGN(__phys_to_pfn(reg->base + reg->size),
MAX_ORDER_NR_PAGES);
}

Expand Down
4 changes: 4 additions & 0 deletions arch/mips/include/asm/mach-generic/spaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@
#endif

#ifndef FIXADDR_TOP
#ifdef CONFIG_KVM_GUEST
#define FIXADDR_TOP ((unsigned long)(long)(int)0x7ffe0000)
#else
#define FIXADDR_TOP ((unsigned long)(long)(int)0xfffe0000)
#endif
#endif

#endif /* __ASM_MACH_GENERIC_SPACES_H */
2 changes: 1 addition & 1 deletion arch/mips/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void __init init_IRQ(void)
#endif
}

#ifdef DEBUG_STACKOVERFLOW
#ifdef CONFIG_DEBUG_STACKOVERFLOW
static inline void check_stack_overflow(void)
{
unsigned long sp;
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/kvm/kvm_mips_emul.c
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,7 @@ kvm_mips_complete_mmio_load(struct kvm_vcpu *vcpu, struct kvm_run *run)
if (vcpu->mmio_needed == 2)
*gpr = *(int16_t *) run->mmio.data;
else
*gpr = *(int16_t *) run->mmio.data;
*gpr = *(uint16_t *)run->mmio.data;

break;
case 1:
Expand Down
11 changes: 10 additions & 1 deletion arch/powerpc/perf/core-book3s.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,16 @@ static inline void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw) {}

static bool regs_use_siar(struct pt_regs *regs)
{
return !!regs->result;
/*
* When we take a performance monitor exception the regs are setup
* using perf_read_regs() which overloads some fields, in particular
* regs->result to tell us whether to use SIAR.
*
* However if the regs are from another exception, eg. a syscall, then
* they have not been setup using perf_read_regs() and so regs->result
* is something random.
*/
return ((TRAP(regs) == 0xf00) && regs->result);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion arch/sparc/kernel/ldc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2306,7 +2306,7 @@ void *ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len,
if (len & (8UL - 1))
return ERR_PTR(-EINVAL);

buf = kzalloc(len, GFP_KERNEL);
buf = kzalloc(len, GFP_ATOMIC);
if (!buf)
return ERR_PTR(-ENOMEM);

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ config SBUS

config NEED_DMA_MAP_STATE
def_bool y
depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG
depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG || SWIOTLB

config NEED_SG_DMA_LENGTH
def_bool y
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ struct kvm_arch {
struct kvm_pic *vpic;
struct kvm_ioapic *vioapic;
struct kvm_pit *vpit;
int vapics_in_nmi_mode;
atomic_t vapics_in_nmi_mode;
struct mutex apic_map_lock;
struct kvm_apic_map *apic_map;

Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/microcode_intel_early.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ get_matching_model_microcode(int cpu, unsigned long start,
unsigned int mc_saved_count = mc_saved_data->mc_saved_count;
int i;

while (leftover) {
while (leftover && mc_saved_count < ARRAY_SIZE(mc_saved_tmp)) {
mc_header = (struct microcode_header_intel *)ucode_ptr;

mc_size = get_totalsize(mc_header);
Expand Down
Loading