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

Auto Fork - Updates from base #10

Merged
merged 164 commits into from
Jan 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
db5ff90
libata: apply MAX_SEC_1024 to all LITEON EP1 series devices
xinyulin Dec 17, 2017
56aeb07
ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7
tpetazzoni Jan 4, 2018
7669b12
ARM: dts: da850-lcdk: Remove leading 0x and 0s from unit address
malaterre Dec 15, 2017
e3af9f7
ARM64: dts: marvell: armada-cp110: Fix clock resources for various node
gclement Jul 25, 2017
bdae447
ARM: dts: sun[47]i: Fix display backend 1 output to TCON0 remote endp…
wens Jan 3, 2018
5b18920
Input: twl4030-vibra - fix sibling-node lookup
jhovold Jan 9, 2018
dcaf12a
Input: twl6040-vibra - fix child-node lookup
jhovold Jan 9, 2018
906bf7d
Input: 88pm860x-ts - fix child-node lookup
jhovold Jan 9, 2018
0a5191e
MIPS: AR7: ensure the port type's FCR value is used
KanjiMonster Oct 29, 2017
274920a
powerpc/xmon: Add RFI flush related fields to paca dump
mpe Jan 10, 2018
2248fad
powerpc/xmon: Don't print hashed pointers in paca dump
mpe Jan 10, 2018
349524b
powerpc: Don't preempt_disable() in show_cpuinfo()
ozbenh Jan 10, 2018
9dd79fe
MIPS: ath25: Avoid undefined early_serial_setup() without SERIAL_8250…
mpredfearn Nov 14, 2017
ff9bed9
MIPS: RB532: Avoid undefined early_serial_setup() without SERIAL_8250…
mpredfearn Nov 14, 2017
ecff167
MIPS: RB532: Avoid undefined mac_pton without GENERIC_NET_UTILS
mpredfearn Nov 14, 2017
dfe0049
MIPS: BCM47XX Avoid compile error with MIPS allnoconfig
mpredfearn Nov 14, 2017
7e5e371
MIPS: Fix CPS SMP NS16550 UART defaults
amalon Nov 21, 2017
b6ab1a1
MIPS: ralink: Fix platform_get_irq's error checking
ArvindYadavCs Nov 24, 2017
c04de7b
MIPS: CM: Drop WARN_ON(vp != 0)
amalon Dec 5, 2017
ccf85c7
MIPS: mm: Fix duplicate "const" on insn_table_MM
amalon Dec 7, 2017
4f58424
cgroup: make cgroup.threads delegatable
rgushchin Jan 10, 2018
c9f9260
scsi: libsas: Disable asynchronous aborts for SATA devices
hreinecke Jan 10, 2018
43173a0
Input: of_touchscreen - add MODULE_LICENSE
arndb Jan 10, 2018
4828296
Input: synaptics - Lenovo Thinkpad T460p devices should use RMI
Jan 11, 2018
111f4c3
drm/sun4i: hdmi: Check for unset best_parent in sun4i_tmds_determine_…
net147 Jan 9, 2018
58faae2
drm/sun4i: hdmi: Fix incorrect assignment in sun4i_tmds_determine_rate
net147 Jan 9, 2018
3b9c57c
drm/sun4i: hdmi: Add missing rate halving check in sun4i_tmds_determi…
net147 Jan 9, 2018
ebabcf1
MIPS: Implement __multi3 for GCC7 MIPS64r6 builds
amalon Dec 7, 2017
c507bab
KVM: arm/arm64: Check pagesize when allocating a hugepage at Stage 2
punitagrawal Jan 4, 2018
5233475
Merge tag 'davinci-for-v4.16/dt' of https://git.kernel.org/pub/scm/li…
olofj Jan 12, 2018
9ddd0c1
Merge tag 'mvebu-fixes-4.15-1' of git://git.infradead.org/linux-mvebu…
olofj Jan 12, 2018
bd730bf
Merge tag 'sunxi-fixes-for-4.15-2' of https://git.kernel.org/pub/scm/…
olofj Jan 12, 2018
69c4d8e
arm64: dts: socfpga: add missing interrupt-parent
arndb Jan 10, 2018
4d94e77
Input: ALPS - fix multi-touch decoding on SS4 plus touchpads
Jan 12, 2018
f8f85dc
KVM: arm64: Fix GICv4 init when called from vgic_its_create
chazy Jan 12, 2018
62635ea
workqueue: avoid hard lockups in show_workqueue_state()
sergey-senozhatsky Jan 11, 2018
c366287
bpf: fix divides by zero
Jan 13, 2018
68fda45
bpf: fix 32-bit divide by zero
Jan 13, 2018
d87ce76
drm/i915: Add .get_hw_state() method for planes
vsyrjala Nov 17, 2017
23ac127
drm/i915: Redo plane sanitation during readout
vsyrjala Nov 17, 2017
4488496
drm/i915: Fix deadlock in i830_disable_pipe()
vsyrjala Nov 29, 2017
d8a243a
can: peak: fix potential bug in packet fragmentation
Jan 15, 2018
acfb3b8
arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls
Jan 16, 2018
664eadd
bcma: Fix 'allmodconfig' and BCMA builds on MIPS targets
groeck Jan 14, 2018
58eae14
ssb: Disable PCI host for PCI_DRIVERS_GENERIC
amalon Jan 15, 2018
cc124d5
brcmfmac: fix CLM load error for legacy chips when user helper is ena…
WenChieh-Feng Jan 16, 2018
a2284d9
bpf, arm64: fix stack_depth tracking in combination with tail calls
borkmann Jan 16, 2018
f37a8cb
bpf: reject stores into ctx via st and xadd
borkmann Jan 16, 2018
0d83620
alpha: extend memset16 to EV6 optimised routines
Jan 3, 2018
2b0bc68
drm/vmwgfx: Fix a boot time warning
terraluna977 Jan 17, 2018
fd6e440
powerpc/64s: Wire up cpu_show_meltdown()
mpe Jan 16, 2018
236003e
powerpc/64s: Allow control of RFI flush via debugfs
mpe Jan 16, 2018
1b689a9
powerpc/pseries: include linux/types.h in asm/hvcall.h
hramrach Jan 15, 2018
f44efa5
Merge tag 'kvm-arm-fixes-for-v4.15-3-v2' of git://git.kernel.org/pub/…
rkrcmar Jan 17, 2018
37b9595
KVM/x86: Fix wrong macro references of X86_CR0_PG_BIT and X86_CR4_PAE…
lantianyu Jan 16, 2018
490ae01
dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6
qnap-dennisyang Dec 12, 2017
bc68d0a
dm btree: fix serious bug in btree_split_beneath()
Dec 20, 2017
27c7003
dm crypt: fix crash by adding missing check for auth key size
mbroz Jan 3, 2018
717f4b1
dm integrity: don't store cipher request on the stack
Jan 10, 2018
dc94902
dm crypt: wipe kernel key copy after IV initialization
oniko Jan 12, 2018
3cc2e57
dm crypt: fix error return code in crypt_ctr()
Jan 17, 2018
e0638fa
i2c: core: decrease reference count of device node in i2c_unregister_…
alanwanglx Nov 27, 2017
89c6efa
i2c: core-smbus: prevent stack corruption on read I2C_BLOCK_DATA
jeremy-compostella Nov 15, 2017
8a510a5
drm/vmwgfx: fix memory corruption with legacy/sou connectors
Jan 17, 2018
4df0bfc
tun: fix a memory leak for tfile->tx_array
congwang Jan 15, 2018
0b16551
r8152: disable RX aggregation on Dell TB16 dock
khfeng Jan 16, 2018
f8b3903
net: fs_enet: do not call phy_stop() in interrupts
chleroy Jan 16, 2018
d91c3e1
net/tls: Only attach to sockets in ESTABLISHED state
Jan 16, 2018
6ab6dd9
Merge tag 'linux-can-fixes-for-4.15-20180116' of ssh://gitolite.kerne…
davem330 Jan 17, 2018
cf6d43e
tls: fix sw_ctx leak
qsn Jan 16, 2018
877d17c
tls: return -EBUSY if crypto_info is already set
qsn Jan 16, 2018
6db959c
tls: reset crypto_info when do_tls_setsockopt_tx fails
qsn Jan 16, 2018
5a71784
Net: ethernet: ti: netcp: Fix inbound ping crash if MTU size is great…
Jan 16, 2018
ad9294d
bpf: fix cls_bpf on filter replace
borkmann Jan 17, 2018
6f16101
bpf: mark dst unknown on inconsistent {s, u}bounds adjustments
borkmann Jan 18, 2018
894219d
Merge branch 'vmwgfx-fixes-4.15' of git://people.freedesktop.org/~tho…
airlied Jan 18, 2018
75f195f
Merge tag 'drm-misc-fixes-2018-01-17' of git://anongit.freedesktop.or…
airlied Jan 18, 2018
8cb6875
can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once
marckleinebudde Jan 16, 2018
d468984
can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once
marckleinebudde Jan 16, 2018
a0c9259
irq/matrix: Spread interrupts on allocation
KAGA-KOKO Jan 17, 2018
f23d74f
x86/mm: Rework wbinvd, hlt operation in stop_this_cpu()
tlendacky Jan 17, 2018
7155f8f
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
davem330 Jan 18, 2018
55edde9
Input: synaptics-rmi4 - prevent UAF reported by KASAN
nickdesaulniers Jan 18, 2018
cd443f1
netlink: reset extack earlier in netlink_rcv_skb
lxin Jan 18, 2018
5762d7d
cfg80211: fix station info handling bugs
jmberg-intel Jan 16, 2018
f35764e
MIPS: Fix undefined reference to physical_memsize
amalon Jan 15, 2018
18696ed
MAINTAINERS: Add James as MIPS co-maintainer
amalon Nov 10, 2017
0164e0d
ring-buffer: Fix duplicate results in mapping context to bits in recu…
rostedt Jan 18, 2018
b200bfd
fm10k: mark PM functions as __maybe_unused
arndb Jan 17, 2018
1ebe1ea
tracing: Fix converting enum's from the map in trace_event_eval_update()
rostedt Jan 18, 2018
9d383fb
Merge tag 'wireless-drivers-for-davem-2018-01-17' of git://git.kernel…
davem330 Jan 18, 2018
d0c081b
flow_dissector: properly cap thoff field
Jan 17, 2018
b554b12
drm/nouveau/drm/nouveau: Pass the proper arguments to nvif_object_map…
thierryreding Jan 18, 2018
e062a01
drm/nouveau/bar/gk20a: Avoid bar teardown during init
jonhunter Jan 4, 2018
2ffa64e
drm/nouveau/mmu/mcp77: fix regressions in stolen memory handling
Jan 19, 2018
ed604c5
mlxsw: spectrum_router: Free LPM tree upon failure
idosch Jan 18, 2018
128bb97
ip6_gre: init dev->mtu and dev->hard_header_len correctly
akodanev Jan 18, 2018
ee62249
Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-…
airlied Jan 19, 2018
591ff9e
ipv6: don't let tb6_root node share routes with other node
tracywwnj Jan 18, 2018
69c4a65
Merge tag 'linux-can-fixes-for-4.15-20180118' of ssh://gitolite.kerne…
davem330 Jan 19, 2018
f689794
ibmvnic: Fix IP offload control buffer
tlfalcon Jan 19, 2018
a0dca10
ibmvnic: Fix IPv6 packet descriptors
tlfalcon Jan 19, 2018
04cef3e
Merge tag 'drm-intel-fixes-2018-01-18' of git://anongit.freedesktop.o…
airlied Jan 19, 2018
3214d01
KVM: PPC: Book3S: Provide information about hardware/firmware CVE wor…
paulusmack Jan 15, 2018
c13e7f3
ARM: sunxi_defconfig: Enable CMA
mripard Jan 19, 2018
b7563e2
phy: work around 'phys' references to usb-nop-xceiv devices
arndb Jan 12, 2018
6f41c34
x86/mce: Make machine check speculation protected
KAGA-KOKO Jan 18, 2018
736e80a
retpoline: Introduce start/end markers of indirect thunk
mhiramat Jan 18, 2018
c1804a2
kprobes/x86: Blacklist indirect thunk functions for kprobes
mhiramat Jan 18, 2018
c86a32c
kprobes/x86: Disable optimizing on the function jumps to indirect thunk
mhiramat Jan 18, 2018
98f0fce
x86/pti: Document fix wrong index
Jan 18, 2018
3f7d875
x86/retpoline: Optimize inline assembler for vmexit_fill_RSB
Jan 17, 2018
726ba84
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Jan 19, 2018
f802077
mm/memory.c: release locked page in do_swap_page()
minchank Jan 19, 2018
6bec6ad
mm/page_owner.c: remove drain_all_pages from init_early_allocated_pages
leberus Jan 19, 2018
be9fa66
scripts/decodecode: fix decoding for AArch64 (arm64) instructions
wildea01 Jan 19, 2018
883d50f
scripts/gdb/linux/tasks.py: fix get_thread_info
consen Jan 19, 2018
8bb2ee1
proc: fix coredump vs read /proc/*/stat race
Jan 19, 2018
a3d6c97
sparse doesn't support struct randomization
Jan 19, 2018
4b664e7
ia64: Rewrite atomic_add and atomic_sub
Jan 18, 2018
d342740
Merge branch 'akpm' (patches from Andrew)
torvalds Jan 19, 2018
9abc937
Merge tag 'drm-fixes-for-v4.15-rc9' of git://people.freedesktop.org/~…
torvalds Jan 19, 2018
4917d5d
Merge tag 'powerpc-4.15-8' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Jan 19, 2018
6ec8765
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jan 19, 2018
a2c9c1c
Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 19, 2018
8b335c7
Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 19, 2018
9f77a11
Merge branch 'for-4.15-fixes' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 19, 2018
9bdbaeb
Merge branch 'i2c/for-current-fixed' of git://git.kernel.org/pub/scm/…
torvalds Jan 19, 2018
672bb0f
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jan 19, 2018
ec835f8
Merge tag 'trace-v4.15-rc4-3' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 19, 2018
1cf5561
Merge tag 'for-4.15/dm-fixes-2' of git://git.kernel.org/pub/scm/linux…
torvalds Jan 19, 2018
8dd903d
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Jan 19, 2018
29d24e3
Merge tag 'kvm-ppc-cve-4.15-2' of git://git.kernel.org/pub/scm/linux/…
rkrcmar Jan 20, 2018
35b3fde
KVM: s390: wire up bpb feature
borntraeger Jan 17, 2018
e6252e7
Merge tag 'mips_fixes_4.15_2' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jan 20, 2018
24b6124
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Jan 20, 2018
86be899
alpha/PCI: Fix noname IRQ level detection
Jan 16, 2018
91cfc88
x86: Use __nostackprotect for sme_encrypt_kernel
labbott Jan 21, 2018
d517bb7
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jan 21, 2018
66f8162
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Jan 21, 2018
319f1e0
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/l…
torvalds Jan 21, 2018
5515114
Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linu…
torvalds Jan 21, 2018
0c5b9b5
Linux 4.15-rc9
torvalds Jan 21, 2018
e58edaa
net/mlx5e: Fix fixpoint divide exception in mlx5e_am_stats_compare
talatb Jan 21, 2018
0d665e7
mm, page_vma_mapped: Drop faulty pointer arithmetics in check_pte()
kiryl Jan 19, 2018
7222708
mm, page_vma_mapped: Introduce pfn_in_hpage()
kiryl Jan 22, 2018
d728f13
cxgb4: set filter type to 1 for ETH_P_IPV6
Jan 17, 2018
100d39a
cxgb4: fix endianness for vlan value in cxgb4_tc_flower
Jan 17, 2018
affee5e
Merge branch 'cxgb4-tc-flower-offload-fixes'
davem330 Jan 22, 2018
ab18a9c
usbnet: silence an unnecessary warning
oneukum Jan 17, 2018
b589513
rds: tcp: compute m_ack_seq as offset from ->write_seq
sowminiv Jan 18, 2018
896d869
ibmvnic: Modify buffer size and number of queues on failover
jallen93 Jan 18, 2018
e791380
ibmvnic: Revert to previous mtu when unsupported value requested
jallen93 Jan 18, 2018
69d08dc
ibmvnic: Allocate and request vpd in init_resources
jallen93 Jan 18, 2018
18b0aff
Merge branch 'ibmvnic-reset-behavior-fixes'
davem330 Jan 22, 2018
7c68d1a
net: qdisc_pkt_len_init() should be more robust
Jan 19, 2018
121d57a
gso: validate gso_type in GSO handlers
wdebruij Jan 19, 2018
ad23b75
net: igmp: fix source address check for IGMPv3 reports
nbd168 Jan 19, 2018
52acf06
be2net: restore properly promisc mode after queues reconfiguration
ivecera Jan 19, 2018
7a8c4dd
tls: Correct length of scatterlist in tls_sw_sendpage
Jan 19, 2018
0afc0de
orangefs: use list_for_each_entry_safe in purge_waiting_ops
Jan 22, 2018
a0ec1de
orangefs: initialize op on loop restart in orangefs_devreq_read
Jan 22, 2018
1995266
nfsd: auth: Fix gid sorting when rootsquash enabled
bwh-ct Jan 22, 2018
a84a8ab
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
torvalds Jan 23, 2018
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
46 changes: 46 additions & 0 deletions Documentation/virtual/kvm/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3403,6 +3403,52 @@ invalid, if invalid pages are written to (e.g. after the end of memory)
or if no page table is present for the addresses (e.g. when using
hugepages).

4.108 KVM_PPC_GET_CPU_CHAR

Capability: KVM_CAP_PPC_GET_CPU_CHAR
Architectures: powerpc
Type: vm ioctl
Parameters: struct kvm_ppc_cpu_char (out)
Returns: 0 on successful completion
-EFAULT if struct kvm_ppc_cpu_char cannot be written

This ioctl gives userspace information about certain characteristics
of the CPU relating to speculative execution of instructions and
possible information leakage resulting from speculative execution (see
CVE-2017-5715, CVE-2017-5753 and CVE-2017-5754). The information is
returned in struct kvm_ppc_cpu_char, which looks like this:

struct kvm_ppc_cpu_char {
__u64 character; /* characteristics of the CPU */
__u64 behaviour; /* recommended software behaviour */
__u64 character_mask; /* valid bits in character */
__u64 behaviour_mask; /* valid bits in behaviour */
};

For extensibility, the character_mask and behaviour_mask fields
indicate which bits of character and behaviour have been filled in by
the kernel. If the set of defined bits is extended in future then
userspace will be able to tell whether it is running on a kernel that
knows about the new bits.

The character field describes attributes of the CPU which can help
with preventing inadvertent information disclosure - specifically,
whether there is an instruction to flash-invalidate the L1 data cache
(ori 30,30,0 or mtspr SPRN_TRIG2,rN), whether the L1 data cache is set
to a mode where entries can only be used by the thread that created
them, whether the bcctr[l] instruction prevents speculation, and
whether a speculation barrier instruction (ori 31,31,0) is provided.

The behaviour field describes actions that software should take to
prevent inadvertent information disclosure, and thus describes which
vulnerabilities the hardware is subject to; specifically whether the
L1 data cache should be flushed when returning to user mode from the
kernel, and whether a speculation barrier should be placed between an
array bounds check and the array access.

These fields use the same bit definitions as the new
H_GET_CPU_CHARACTERISTICS hypercall.

5. The kvm_run structure
------------------------

Expand Down
2 changes: 1 addition & 1 deletion Documentation/x86/pti.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ this protection comes at a cost:
non-PTI SYSCALL entry code, so requires mapping fewer
things into the userspace page tables. The downside is
that stacks must be switched at entry time.
d. Global pages are disabled for all kernel structures not
c. Global pages are disabled for all kernel structures not
mapped into both kernel and userspace page tables. This
feature of the MMU allows different processes to share TLB
entries mapping the kernel. Losing the feature means more
Expand Down
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -9085,6 +9085,7 @@ F: drivers/usb/image/microtek.*

MIPS
M: Ralf Baechle <[email protected]>
M: James Hogan <[email protected]>
L: [email protected]
W: http://www.linux-mips.org/
T: git git://git.linux-mips.org/pub/scm/ralf/linux.git
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
VERSION = 4
PATCHLEVEL = 15
SUBLEVEL = 0
EXTRAVERSION = -rc8
EXTRAVERSION = -rc9
NAME = Fearless Coyote

# *DOCUMENTATION*
Expand Down
35 changes: 29 additions & 6 deletions arch/alpha/kernel/sys_sio.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,15 @@ sio_pci_route(void)
alpha_mv.sys.sio.route_tab);
}

static bool sio_pci_dev_irq_needs_level(const struct pci_dev *dev)
{
if ((dev->class >> 16 == PCI_BASE_CLASS_BRIDGE) &&
(dev->class >> 8 != PCI_CLASS_BRIDGE_PCMCIA))
return false;

return true;
}

static unsigned int __init
sio_collect_irq_levels(void)
{
Expand All @@ -110,8 +119,7 @@ sio_collect_irq_levels(void)

/* Iterate through the devices, collecting IRQ levels. */
for_each_pci_dev(dev) {
if ((dev->class >> 16 == PCI_BASE_CLASS_BRIDGE) &&
(dev->class >> 8 != PCI_CLASS_BRIDGE_PCMCIA))
if (!sio_pci_dev_irq_needs_level(dev))
continue;

if (dev->irq)
Expand All @@ -120,8 +128,7 @@ sio_collect_irq_levels(void)
return level_bits;
}

static void __init
sio_fixup_irq_levels(unsigned int level_bits)
static void __sio_fixup_irq_levels(unsigned int level_bits, bool reset)
{
unsigned int old_level_bits;

Expand All @@ -139,12 +146,21 @@ sio_fixup_irq_levels(unsigned int level_bits)
*/
old_level_bits = inb(0x4d0) | (inb(0x4d1) << 8);

level_bits |= (old_level_bits & 0x71ff);
if (reset)
old_level_bits &= 0x71ff;

level_bits |= old_level_bits;

outb((level_bits >> 0) & 0xff, 0x4d0);
outb((level_bits >> 8) & 0xff, 0x4d1);
}

static inline void
sio_fixup_irq_levels(unsigned int level_bits)
{
__sio_fixup_irq_levels(level_bits, true);
}

static inline int
noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
Expand Down Expand Up @@ -181,7 +197,14 @@ noname_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
const long min_idsel = 6, max_idsel = 14, irqs_per_slot = 5;
int irq = COMMON_TABLE_LOOKUP, tmp;
tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq);
return irq >= 0 ? tmp : -1;

irq = irq >= 0 ? tmp : -1;

/* Fixup IRQ level if an actual IRQ mapping is detected */
if (sio_pci_dev_irq_needs_level(dev) && irq >= 0)
__sio_fixup_irq_levels(1 << irq, false);

return irq;
}

static inline int
Expand Down
12 changes: 6 additions & 6 deletions arch/alpha/lib/ev6-memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* The algorithm for the leading and trailing quadwords remains the same,
* however the loop has been unrolled to enable better memory throughput,
* and the code has been replicated for each of the entry points: __memset
* and __memsetw to permit better scheduling to eliminate the stalling
* and __memset16 to permit better scheduling to eliminate the stalling
* encountered during the mask replication.
* A future enhancement might be to put in a byte store loop for really
* small (say < 32 bytes) memset()s. Whether or not that change would be
Expand All @@ -34,7 +34,7 @@
.globl memset
.globl __memset
.globl ___memset
.globl __memsetw
.globl __memset16
.globl __constant_c_memset

.ent ___memset
Expand Down Expand Up @@ -415,9 +415,9 @@ end:
* to mask stalls. Note that entry point names also had to change
*/
.align 5
.ent __memsetw
.ent __memset16

__memsetw:
__memset16:
.frame $30,0,$26,0
.prologue 0

Expand Down Expand Up @@ -596,8 +596,8 @@ end_w:
nop
ret $31,($26),1 # L0 :

.end __memsetw
EXPORT_SYMBOL(__memsetw)
.end __memset16
EXPORT_SYMBOL(__memset16)

memset = ___memset
__memset = ___memset
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/da850-lcdk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@
label = "u-boot env";
reg = <0 0x020000>;
};
partition@0x020000 {
partition@20000 {
/* The LCDK defaults to booting from this partition */
label = "u-boot";
reg = <0x020000 0x080000>;
};
partition@0x0a0000 {
partition@a0000 {
label = "free space";
reg = <0x0a0000 0>;
};
Expand Down
10 changes: 8 additions & 2 deletions arch/arm/boot/dts/kirkwood-openblocks_a7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
};

pinctrl: pin-controller@10000 {
pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header>;
pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header
&pmx_gpio_header_gpo>;
pinctrl-names = "default";

pmx_uart0: pmx-uart0 {
Expand Down Expand Up @@ -85,11 +86,16 @@
* ground.
*/
pmx_gpio_header: pmx-gpio-header {
marvell,pins = "mpp17", "mpp7", "mpp29", "mpp28",
marvell,pins = "mpp17", "mpp29", "mpp28",
"mpp35", "mpp34", "mpp40";
marvell,function = "gpio";
};

pmx_gpio_header_gpo: pxm-gpio-header-gpo {
marvell,pins = "mpp7";
marvell,function = "gpo";
};

pmx_gpio_init: pmx-init {
marvell,pins = "mpp38";
marvell,function = "gpio";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun4i-a10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@

be1_out_tcon0: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon1_in_be0>;
remote-endpoint = <&tcon0_in_be1>;
};

be1_out_tcon1: endpoint@1 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun7i-a20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@

be1_out_tcon0: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon1_in_be0>;
remote-endpoint = <&tcon0_in_be1>;
};

be1_out_tcon1: endpoint@1 {
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/configs/sunxi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CONFIG_SMP=y
CONFIG_NR_CPUS=8
CONFIG_AEABI=y
CONFIG_HIGHMEM=y
CONFIG_CMA=y
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CPU_FREQ=y
Expand All @@ -33,6 +34,7 @@ CONFIG_CAN_SUN4I=y
# CONFIG_WIRELESS is not set
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_DMA_CMA=y
CONFIG_BLK_DEV_SD=y
CONFIG_ATA=y
CONFIG_AHCI_SUNXI=y
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<&cpu1>,
<&cpu2>,
<&cpu3>;
interrupt-parent = <&intc>;
};

psci {
Expand Down
13 changes: 8 additions & 5 deletions arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
cpm_ethernet: ethernet@0 {
compatible = "marvell,armada-7k-pp22";
reg = <0x0 0x100000>, <0x129000 0xb000>;
clocks = <&cpm_clk 1 3>, <&cpm_clk 1 9>, <&cpm_clk 1 5>;
clock-names = "pp_clk", "gop_clk", "mg_clk";
clocks = <&cpm_clk 1 3>, <&cpm_clk 1 9>,
<&cpm_clk 1 5>, <&cpm_clk 1 18>;
clock-names = "pp_clk", "gop_clk",
"mg_clk","axi_clk";
marvell,system-controller = <&cpm_syscon0>;
status = "disabled";
dma-coherent;
Expand Down Expand Up @@ -155,7 +157,8 @@
#size-cells = <0>;
compatible = "marvell,orion-mdio";
reg = <0x12a200 0x10>;
clocks = <&cpm_clk 1 9>, <&cpm_clk 1 5>;
clocks = <&cpm_clk 1 9>, <&cpm_clk 1 5>,
<&cpm_clk 1 6>, <&cpm_clk 1 18>;
status = "disabled";
};

Expand Down Expand Up @@ -338,8 +341,8 @@
compatible = "marvell,armada-cp110-sdhci";
reg = <0x780000 0x300>;
interrupts = <ICU_GRP_NSR 27 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "core";
clocks = <&cpm_clk 1 4>;
clock-names = "core","axi";
clocks = <&cpm_clk 1 4>, <&cpm_clk 1 18>;
dma-coherent;
status = "disabled";
};
Expand Down
9 changes: 6 additions & 3 deletions arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
cps_ethernet: ethernet@0 {
compatible = "marvell,armada-7k-pp22";
reg = <0x0 0x100000>, <0x129000 0xb000>;
clocks = <&cps_clk 1 3>, <&cps_clk 1 9>, <&cps_clk 1 5>;
clock-names = "pp_clk", "gop_clk", "mg_clk";
clocks = <&cps_clk 1 3>, <&cps_clk 1 9>,
<&cps_clk 1 5>, <&cps_clk 1 18>;
clock-names = "pp_clk", "gop_clk",
"mg_clk", "axi_clk";
marvell,system-controller = <&cps_syscon0>;
status = "disabled";
dma-coherent;
Expand Down Expand Up @@ -155,7 +157,8 @@
#size-cells = <0>;
compatible = "marvell,orion-mdio";
reg = <0x12a200 0x10>;
clocks = <&cps_clk 1 9>, <&cps_clk 1 5>;
clocks = <&cps_clk 1 9>, <&cps_clk 1 5>,
<&cps_clk 1 6>, <&cps_clk 1 18>;
status = "disabled";
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/kvm/handle_exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run)

ret = kvm_psci_call(vcpu);
if (ret < 0) {
kvm_inject_undefined(vcpu);
vcpu_set_reg(vcpu, 0, ~0UL);
return 1;
}

Expand All @@ -54,7 +54,7 @@ static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run)

static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run)
{
kvm_inject_undefined(vcpu);
vcpu_set_reg(vcpu, 0, ~0UL);
return 1;
}

Expand Down
Loading