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

Merge 5.4.34 and 5.4.35 #65

Merged
merged 182 commits into from
Apr 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
ced5706
amd-xgbe: Use __napi_schedule() in BH context
Apr 16, 2020
22ea267
hsr: check protocol version in hsr_newlink()
TaeheeYoo Apr 7, 2020
016e353
l2tp: Allow management of tunnels and session in user namespace
quitschbo Apr 7, 2020
3ca8547
net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
LGA1150 Apr 14, 2020
22e56cb
net: ipv4: devinet: Fix crash when add/del multicast IP with autojoin
taraschornyiplv Apr 9, 2020
a9a851f
net: ipv6: do not consider routes via gateways for anycast address check
TimStallard Apr 3, 2020
81dc4e9
net: phy: micrel: use genphy_read_status for KSZ9131
AtsushiNemoto Apr 10, 2020
6126048
net: qrtr: send msgs from local of same id as broadcast
Apr 9, 2020
f6b264f
net: revert default NAPI poll timeout to 2 jiffies
koct9i Apr 6, 2020
bb54dcc
net: tun: record RX queue in skb before do_xdp_generic()
jibi Apr 10, 2020
f749a8b
net: dsa: mt7530: move mt7623 settings out off the mt7530
vDorst Apr 5, 2020
1ff0732
net: ethernet: mediatek: move mt7623 settings out off the mt7530
vDorst Apr 5, 2020
3431050
net/mlx5: Fix frequent ioread PCI access during recovery
Mar 30, 2020
cb8892f
net/mlx5e: Add missing release firmware call
Mar 24, 2020
e251225
net/mlx5e: Fix nest_level for vlan pop action
DmytroLinkin Apr 1, 2020
a06a51d
net/mlx5e: Fix pfnum in devlink port attribute
paravmellanox Apr 3, 2020
4f2fb2a
net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes
ffainelli Apr 14, 2020
c85a710
Revert "ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()"
gregkh Apr 18, 2020
66458aa
ovl: fix value of i_ino for lower hardlink corner case
amir73il Nov 19, 2019
777c8c9
scsi: ufs: Fix ufshcd_hold() caused scheduling while atomic
Feb 11, 2020
8078d3a
platform/chrome: cros_ec_rpmsg: Fix race with host event
peter50216 Feb 14, 2020
5815a5d
jbd2: improve comments about freeing data buffers whose page mapping …
zhangyi089 Feb 17, 2020
4542e58
acpi/nfit: improve bounds checking for 'func'
Feb 25, 2020
0a4c06f
perf report: Fix no branch type statistics report issue
Mar 13, 2020
229563d
pwm: pca9685: Fix PWM/GPIO inter-operation
Apr 1, 2020
44c70ed
net/bpfilter: remove superfluous testing message
bmeneg Mar 31, 2020
dd7b410
ext4: fix incorrect group count in ext4_fill_super error message
joshtriplett Mar 28, 2020
c874d9d
ext4: fix incorrect inodes per group in error message
joshtriplett Mar 28, 2020
90c1f74
clk: at91: sam9x60: fix usb clock parents
claudiubeznea Jan 17, 2020
c2c5d07
clk: at91: usb: use proper usbs_mask
claudiubeznea Jan 17, 2020
3a8dc1e
ARM: dts: imx7-colibri: fix muxing of usbc_det pin
Feb 4, 2020
3bffb20
arm64: dts: librem5-devkit: add a vbus supply to usb0
nytowl Feb 27, 2020
538b623
usb: dwc3: gadget: Don't clear flags before transfer ended
Mar 5, 2020
86ec556
ASoC: Intel: mrfld: fix incorrect check on p->sink
Nov 19, 2019
549a489
ASoC: Intel: mrfld: return error codes when an error occurs
Feb 8, 2020
0eb7bcf
ALSA: hda/realtek - Enable the headset mic on Asus FX505DT
ajbarber Apr 10, 2020
9acfd1a
ALSA: usb-audio: Filter error from connector kctl ops, too
tiwai Apr 12, 2020
aae6e15
ALSA: usb-audio: Don't override ignore_ctl_error value from the map
tiwai Apr 12, 2020
250db03
ALSA: usb-audio: Don't create jack controls for PCM terminals
tiwai Apr 12, 2020
5209e5f
ALSA: usb-audio: Check mapping at creating connector controls, too
tiwai Apr 12, 2020
f32a339
arm64: vdso: don't free unallocated pages
Apr 14, 2020
a0aaafe
keys: Fix proc_keys_next to increase position index
vaverin Apr 14, 2020
0026e35
tracing: Fix the race between registering 'snapshot' event trigger an…
yangx-jy Apr 14, 2020
aa5b11b
btrfs: check commit root generation in should_ignore_root
josefbacik Apr 2, 2020
21350f2
nl80211: fix NL80211_ATTR_FTM_RESPONDER policy
jmberg-intel Apr 11, 2020
a8ce341
mac80211: fix race in ieee80211_register_hw()
b49020 Apr 7, 2020
cae3855
mac80211_hwsim: Use kstrndup() in place of kasprintf()
dezgeg Apr 10, 2020
67284c1
net/mlx5e: Encapsulate updating netdev queues into a function
Sep 3, 2019
57f578b
net/mlx5e: Rename hw_modify to preactivate
Oct 31, 2019
eecd70c
net/mlx5e: Use preactivate hook to set the indirection table
Nov 4, 2019
251f131
drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is ena…
magist3r Jun 26, 2019
e2b80bf
drm/amdgpu: fix the hw hang during perform system reboot and reset
Apr 13, 2020
653b425
i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT a…
jwrdegoede Apr 7, 2020
9d27590
ext4: do not zeroout extents beyond i_disksize
jankara Mar 31, 2020
6b5e8e7
irqchip/ti-sci-inta: Fix processing of masked irqs
grygoriyS Apr 8, 2020
3652782
x86/resctrl: Preserve CDP enable over CPU hotplug
Feb 21, 2020
4b3380e
x86/resctrl: Fix invalid attempt at removing the default resource group
rchatre Mar 17, 2020
992e469
scsi: target: remove boilerplate code
maurizio-lombardi Mar 13, 2020
856a74f
scsi: target: fix hang when multiple threads try to destroy the same …
maurizio-lombardi Mar 13, 2020
b538aac
x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE
jallen-amd Apr 9, 2020
6ccc74c
Linux 5.4.34
gregkh Apr 21, 2020
41d097c
ext4: use non-movable memory for superblock readahead
rgushchin Feb 29, 2020
9a9eae7
watchdog: sp805: fix restart handler
mwalle Mar 27, 2020
e7f6c25
xsk: Fix out of boundary write in __xsk_rcv_memcpy
lrq-max Apr 2, 2020
d4adee8
arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0
lukenels Apr 8, 2020
2613535
arm, bpf: Fix offset overflow for BPF_MEM BPF_DW
lukenels Apr 9, 2020
d979eda
objtool: Fix switch table detection in .text.unlikely
jpoimboe Apr 1, 2020
d8b667b
scsi: sg: add sg_remove_request in sg_common_write
libin2015 Apr 13, 2020
ed0a535
ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops
tiwai Apr 13, 2020
e1e5c21
ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.
Apr 2, 2020
aea3873
kbuild, btf: Fix dependencies for DEBUG_INFO_BTF
bacher09 Apr 2, 2020
daefa51
netfilter: nf_tables: report EOPNOTSUPP on unsupported flags/object type
ummakynes Apr 7, 2020
182fa4d
irqchip/mbigen: Free msi_desc on device teardown
Apr 8, 2020
9244c79
ALSA: hda: Don't release card at firmware loading error
tiwai Apr 13, 2020
25c9cde
xsk: Add missing check on user supplied headroom size
magnus-karlsson Apr 14, 2020
dd3dd28
of: unittest: kmemleak on changeset destroy
frowand Apr 16, 2020
a137195
of: unittest: kmemleak in of_unittest_platform_populate()
frowand Apr 16, 2020
93ef21b
of: unittest: kmemleak in of_unittest_overlay_high_level()
frowand Apr 16, 2020
4c2a34f
of: overlay: kmemleak in dup_and_fixup_symbol_prop()
frowand Apr 16, 2020
9f38f7b
x86/Hyper-V: Unload vmbus channel in hv panic callback
Apr 6, 2020
1ed38a9
x86/Hyper-V: Trigger crash enlightenment only once during system crash.
Apr 6, 2020
31ebf98
x86/Hyper-V: Report crash register data or kmsg before running crash …
Apr 6, 2020
5097186
x86/Hyper-V: Report crash register data when sysctl_record_panic_msg …
Apr 6, 2020
4f7b1e8
x86/Hyper-V: Report crash data in die() when panic_on_oops is set
Apr 6, 2020
0604b60
afs: Fix missing XDR advance in xdr_decode_{AFS,YFS}FSFetchStatus()
dhowells Apr 8, 2020
4eba6ec
afs: Fix decoding of inline abort codes from version 1 status records
dhowells Apr 8, 2020
8c3e4ba
afs: Fix rename operation status delivery
dhowells Apr 8, 2020
42e343c
afs: Fix afs_d_validate() to set the right directory version
dhowells Apr 11, 2020
00d3928
afs: Fix race between post-modification dir edit and readdir/d_revali…
dhowells Apr 10, 2020
ad749ca
block, bfq: turn put_queue into release_process_ref in __bfq_bic_chan…
Algodev-github Mar 21, 2020
839b7cd
block, bfq: make reparent_leaf_entity actually work only on leaf enti…
Algodev-github Mar 21, 2020
a362482
block, bfq: invoke flush_idle_tree after reparent_active_queues in pd…
Algodev-github Mar 21, 2020
88a57e3
rbd: avoid a deadlock on header_rwsem when flushing notifies
idryomov Mar 13, 2020
d662b44
rbd: call rbd_dev_unprobe() after unwatching and flushing notifies
idryomov Mar 16, 2020
94ebb1e
x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump
Apr 6, 2020
83321ee
drm/ttm: flush the fence on the bo after we individualize the reserva…
Jan 15, 2020
04e43c7
clk: Don't cache errors from clk_ops::get_phase()
bebarino Feb 5, 2020
0d03cbf
clk: at91: usb: continue if clk_hw_round_rate() return zero
claudiubeznea Jan 17, 2020
6d43303
net/mlx5e: Enforce setting of a single FEC mode
ayalevin123 Feb 11, 2020
1321fb4
f2fs: fix the panic in do_checkpoint()
Feb 18, 2020
5d2861f
ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqediso…
Mar 7, 2020
6a77217
arm64: dts: allwinner: a64: Fix display clock register range
jernejsk Jan 24, 2020
b7dee30
power: supply: bq27xxx_battery: Silence deferred-probe error
digetx Mar 8, 2020
540f962
clk: tegra: Fix Tegra PMC clock out parents
Jan 14, 2020
5615f66
arm64: tegra: Add PCIe endpoint controllers nodes for Tegra194
Mar 3, 2020
d7b59cd
arm64: tegra: Fix Tegra194 PCIe compatible string
jonhunter Feb 14, 2020
1e7abaf
arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay
Feb 25, 2020
960bf4e
soc: imx: gpc: fix power up sequencing
lynxeye-dev Mar 13, 2020
56aaa0e
dma-coherent: fix integer overflow in the reserved-memory dma allocation
Mar 12, 2020
66bfacd
rtc: 88pm860x: fix possible race condition
alexandrebelloni Mar 11, 2020
07cd4e8
NFS: alloc_nfs_open_context() must use the file cred when available
Feb 8, 2020
264e3f1
NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()
Feb 27, 2020
59bafdc
NFSv4.2: error out when relink swapfile
Feb 14, 2020
ea410f2
ARM: dts: rockchip: fix lvds-encoder ports subnode for rk3188-bqediso…
Mar 16, 2020
ffbad91
KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests
mdroth Mar 10, 2020
3e85d50
f2fs: fix to show norecovery mount option
chaseyu Feb 14, 2020
81b41f5
phy: uniphier-usb3ss: Add Pro5 support
khayash1 Jan 30, 2020
ea468f3
NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails
t-msn Aug 28, 2019
066f1e4
f2fs: Fix mount failure due to SPO after a successful online resize FS
Mar 3, 2020
380d129
f2fs: Add a new CP flag to help fsck fix resize SPO issues
Mar 3, 2020
4753b11
s390/cpuinfo: fix wrong output when CPU0 is offline
Mar 16, 2020
285f25c
hibernate: Allow uswsusp to write to swap
cavokz Mar 23, 2020
7650522
btrfs: add RCU locks around block group initialization
Mar 6, 2020
bee9bc3
powerpc/prom_init: Pass the "os-term" message to hypervisor
aik Mar 12, 2020
fd80f4a
powerpc/maple: Fix declaration made after definition
nathanchance Mar 23, 2020
4078dce
s390/cpum_sf: Fix wrong page count in error message
Mar 23, 2020
b9f88c3
ext4: do not commit super on read-only bdev
Mar 18, 2020
6ba010e
um: ubd: Prevent buffer overrun on command completion
krisman-at-collabora Mar 17, 2020
23e2519
cifs: Allocate encryption header through kmalloc
longlimsft Mar 27, 2020
a825ce8
mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS
chleroy Apr 2, 2020
f3955f1
drm/nouveau/svm: check for SVM initialized before migrating
Mar 4, 2020
2a40eaa
drm/nouveau/svm: fix vma range check for migration
Mar 4, 2020
ffac60b
include/linux/swapops.h: correct guards for non_swap_entry()
Apr 7, 2020
b525f94
percpu_counter: fix a data race at vm_committed_as
Apr 7, 2020
3910bab
compiler.h: fix error in BUILD_BUG_ON() reporting
vegard Apr 7, 2020
f24d8de
KVM: s390: vsie: Fix possible race when shadowing region 3 tables
davidhildenbrand Apr 3, 2020
ddf39dc
drm/nouveau: workaround runpm fail by disabling PCI power management …
karolherbst Mar 24, 2020
a9282e5
leds: core: Fix warning message when init_data
ribalda Apr 1, 2020
8859118
x86: ACPI: fix CPU hotplug deadlock
Apr 3, 2020
e907a0d
csky: Fixup cpu speculative execution to IO area
guoren83 Mar 28, 2020
2e03d3c
drm/amdkfd: kfree the wrong pointer
Apr 1, 2020
c848e00
NFS: Fix memory leaks in nfs_pageio_stop_mirroring()
Mar 30, 2020
57615a8
csky: Fixup get wrong psr value from phyical reg
guoren83 Mar 31, 2020
9f8b121
f2fs: fix NULL pointer dereference in f2fs_write_begin()
chaseyu Mar 19, 2020
6c33392
ACPICA: Fixes for acpiExec namespace init file
acpibob Mar 27, 2020
b58244c
um: falloc.h needs to be directly included for older libc
alan-maguire Mar 17, 2020
475bec7
drm/vc4: Fix HDMI mode validation
Mar 26, 2020
9c01a49
iommu/virtio: Fix freeing of incomplete domains
jpbrucker Mar 26, 2020
900cd0f
iommu/vt-d: Fix mm reference leak
Mar 20, 2020
d00041a
SUNRPC: fix krb5p mount to provide large enough buffer in rq_rcvsize
Mar 26, 2020
21439df
ext2: fix empty body warnings when -Wextra is used
rddunlap Mar 23, 2020
a5a1d56
iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr()
Mar 17, 2020
24191c8
iommu/vt-d: Fix page request descriptor size
Mar 17, 2020
ddb8812
ext2: fix debug reference to ext2_xattr_cache
jankara Mar 17, 2020
1500c70
sunrpc: Fix gss_unwrap_resp_integ() again
chucklever Mar 11, 2020
760eeca
csky: Fixup init_fpu compile warning with __init
guoren83 Feb 26, 2020
dcb1227
power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Comp…
jefferymiller Feb 25, 2020
436af73
libnvdimm: Out of bounds read in __nd_ioctl()
Feb 25, 2020
f08e4e7
iommu/amd: Fix the configuration of GCR3 table root pointer
Feb 14, 2020
a156e67
f2fs: fix to wait all node page writeback
chaseyu Feb 14, 2020
762d35a
drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging durin…
Mar 31, 2020
bc69709
net: dsa: bcm_sf2: Fix overflow checks
ffainelli Mar 30, 2020
f093874
dma-debug: fix displaying of dma allocation type
grygoriyS Apr 8, 2020
7e141c3
fbdev: potential information leak in do_fb_ioctl()
Jan 13, 2020
a2a385a
ARM: dts: sunxi: Fix DE2 clocks register range
jernejsk Jan 24, 2020
47e4d79
iio: si1133: read 24-bit signed integer for measurement
Lorac Feb 19, 2020
f656649
fbmem: Adjust indentation in fb_prepare_logo and fb_blank
nathanchance Dec 18, 2019
01c9e2a
tty: evh_bytechan: Fix out of bounds accesses
sfrothwell Jan 9, 2020
0c72ec1
locktorture: Print ratio of acquisitions, not failures
paulmckrcu Jan 23, 2020
700bccb
mtd: rawnand: free the nand_device object
Jan 23, 2020
318d508
mtd: spinand: Explicitly use MTD_OPS_RAW to write the bad block marke…
fschrempf Feb 18, 2020
7d4adb1
docs: Fix path to MTD command line partition parser
neuschaefer Feb 18, 2020
4191ebe
mtd: lpddr: Fix a double free in probe()
Feb 28, 2020
5d53bfd
mtd: phram: fix a double free issue in error path
taskset Mar 18, 2020
f1afcf9
KEYS: Don't write out to userspace while holding key semaphore
Waiman-Long Mar 22, 2020
3bd5bca
bpf: fix buggy r0 retval refinement for tracing helpers
borkmann Apr 21, 2020
37e1cdf
bpf: Test_verifier, bpf_get_stack return value add <0
jrfastab Mar 30, 2020
8781011
bpf: Test_progs, add test to catch retval refine error handling
jrfastab Mar 30, 2020
a801a05
bpf, test_verifier: switch bpf_get_stack's 0 s> r8 test
borkmann Apr 21, 2020
0c41878
Linux 5.4.35
gregkh Apr 23, 2020
1ffd5b3
Merge tag 'v5.4.34' into 5.4-1.0.0-imx
gibsson Apr 27, 2020
0ba14f4
Merge tag 'v5.4.35' into 5.4-1.0.0-imx
gibsson Apr 27, 2020
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
2 changes: 1 addition & 1 deletion Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2741,7 +2741,7 @@
<name>,<region-number>[,<base>,<size>,<buswidth>,<altbuswidth>]

mtdparts= [MTD]
See drivers/mtd/cmdlinepart.c.
See drivers/mtd/parsers/cmdlinepart.c

multitce=off [PPC] This parameter disables the use of the pSeries
firmware feature for updating multiple TCE entries
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Tegra194:
--------

pcie@14180000 {
compatible = "nvidia,tegra194-pcie", "snps,dw-pcie";
compatible = "nvidia,tegra194-pcie";
power-domains = <&bpmp TEGRA194_POWER_DOMAIN_PCIEX8B>;
reg = <0x00 0x14180000 0x0 0x00020000 /* appl registers (128K) */
0x00 0x38000000 0x0 0x00040000 /* configuration space (256K) */
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 4
SUBLEVEL = 33
SUBLEVEL = 35
EXTRAVERSION =
NAME = Kleptomaniac Octopus

Expand Down
5 changes: 2 additions & 3 deletions arch/arm/boot/dts/imx6qdl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1142,9 +1142,8 @@
compatible = "fsl,imx6q-fec";
reg = <0x02188000 0x4000>;
interrupt-names = "int0", "pps";
interrupts-extended =
<&intc 0 118 IRQ_TYPE_LEVEL_HIGH>,
<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
<0 119 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_ENET>,
<&clks IMX6QDL_CLK_ENET>,
<&clks IMX6QDL_CLK_ENET_REF>;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/boot/dts/imx6qp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
};

&fec {
/delete-property/interrupts-extended;
interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>,
<0 119 IRQ_TYPE_LEVEL_HIGH>;
};
Expand Down
9 changes: 7 additions & 2 deletions arch/arm/boot/dts/imx7-colibri.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio4
&pinctrl_gpio7>;
&pinctrl_gpio7 &pinctrl_usbc_det>;

pinctrl_gpio1: gpio1-grp {
fsl,pins = <
Expand Down Expand Up @@ -451,7 +451,6 @@

pinctrl_enet1: enet1grp {
fsl,pins = <
MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x14
MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x73
MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x73
MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x73
Expand Down Expand Up @@ -649,6 +648,12 @@
>;
};

pinctrl_usbc_det: gpio-usbc-det {
fsl,pins = <
MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x14
>;
};

pinctrl_usbh_reg: gpio-usbh-vbus {
fsl,pins = <
MX7D_PAD_UART3_CTS_B__GPIO4_IO7 0x14 /* SODIMM 129 USBH PEN */
Expand Down
29 changes: 17 additions & 12 deletions arch/arm/boot/dts/rk3188-bqedison2qc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,25 @@

lvds-encoder {
compatible = "ti,sn75lvds83", "lvds-encoder";
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
lvds_in_vop0: endpoint {
remote-endpoint = <&vop0_out_lvds>;
ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;

lvds_in_vop0: endpoint {
remote-endpoint = <&vop0_out_lvds>;
};
};
};

port@1 {
reg = <1>;
lvds_out_panel: endpoint {
remote-endpoint = <&panel_in_lvds>;
port@1 {
reg = <1>;

lvds_out_panel: endpoint {
remote-endpoint = <&panel_in_lvds>;
};
};
};
};
Expand Down Expand Up @@ -465,7 +470,7 @@
non-removable;
pinctrl-names = "default";
pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_bus4>;
vmmcq-supply = <&vccio_wl>;
vqmmc-supply = <&vccio_wl>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-a83t.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@

display_clocks: clock@1000000 {
compatible = "allwinner,sun8i-a83t-de2-clk";
reg = <0x01000000 0x100000>;
reg = <0x01000000 0x10000>;
clocks = <&ccu CLK_BUS_DE>,
<&ccu CLK_PLL_DE>;
clock-names = "bus",
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-r40.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
display_clocks: clock@1000000 {
compatible = "allwinner,sun8i-r40-de2-clk",
"allwinner,sun8i-h3-de2-clk";
reg = <0x01000000 0x100000>;
reg = <0x01000000 0x10000>;
clocks = <&ccu CLK_BUS_DE>,
<&ccu CLK_DE>;
clock-names = "bus",
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-v3s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

display_clocks: clock@1000000 {
compatible = "allwinner,sun8i-v3s-de2-clk";
reg = <0x01000000 0x100000>;
reg = <0x01000000 0x10000>;
clocks = <&ccu CLK_BUS_DE>,
<&ccu CLK_DE>;
clock-names = "bus",
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sunxi-h3-h5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@

display_clocks: clock@1000000 {
/* compatible is in per SoC .dtsi file */
reg = <0x01000000 0x100000>;
reg = <0x01000000 0x10000>;
clocks = <&ccu CLK_BUS_DE>,
<&ccu CLK_DE>;
clock-names = "bus",
Expand Down
52 changes: 34 additions & 18 deletions arch/arm/net/bpf_jit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,11 @@ static inline void emit_a32_rsh_i64(const s8 dst[],
rd = arm_bpf_get_reg64(dst, tmp, ctx);

/* Do LSR operation */
if (val < 32) {
if (val == 0) {
/* An immediate value of 0 encodes a shift amount of 32
* for LSR. To shift by 0, don't do anything.
*/
} else if (val < 32) {
emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx);
emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx);
emit(ARM_MOV_SI(rd[0], rd[0], SRTYPE_LSR, val), ctx);
Expand All @@ -955,7 +959,11 @@ static inline void emit_a32_arsh_i64(const s8 dst[],
rd = arm_bpf_get_reg64(dst, tmp, ctx);

/* Do ARSH operation */
if (val < 32) {
if (val == 0) {
/* An immediate value of 0 encodes a shift amount of 32
* for ASR. To shift by 0, don't do anything.
*/
} else if (val < 32) {
emit(ARM_MOV_SI(tmp2[1], rd[1], SRTYPE_LSR, val), ctx);
emit(ARM_ORR_SI(rd[1], tmp2[1], rd[0], SRTYPE_ASL, 32 - val), ctx);
emit(ARM_MOV_SI(rd[0], rd[0], SRTYPE_ASR, val), ctx);
Expand Down Expand Up @@ -992,21 +1000,35 @@ static inline void emit_a32_mul_r64(const s8 dst[], const s8 src[],
arm_bpf_put_reg32(dst_hi, rd[0], ctx);
}

static bool is_ldst_imm(s16 off, const u8 size)
{
s16 off_max = 0;

switch (size) {
case BPF_B:
case BPF_W:
off_max = 0xfff;
break;
case BPF_H:
off_max = 0xff;
break;
case BPF_DW:
/* Need to make sure off+4 does not overflow. */
off_max = 0xfff - 4;
break;
}
return -off_max <= off && off <= off_max;
}

/* *(size *)(dst + off) = src */
static inline void emit_str_r(const s8 dst, const s8 src[],
s32 off, struct jit_ctx *ctx, const u8 sz){
s16 off, struct jit_ctx *ctx, const u8 sz){
const s8 *tmp = bpf2a32[TMP_REG_1];
s32 off_max;
s8 rd;

rd = arm_bpf_get_reg32(dst, tmp[1], ctx);

if (sz == BPF_H)
off_max = 0xff;
else
off_max = 0xfff;

if (off < 0 || off > off_max) {
if (!is_ldst_imm(off, sz)) {
emit_a32_mov_i(tmp[0], off, ctx);
emit(ARM_ADD_R(tmp[0], tmp[0], rd), ctx);
rd = tmp[0];
Expand Down Expand Up @@ -1035,18 +1057,12 @@ static inline void emit_str_r(const s8 dst, const s8 src[],

/* dst = *(size*)(src + off) */
static inline void emit_ldx_r(const s8 dst[], const s8 src,
s32 off, struct jit_ctx *ctx, const u8 sz){
s16 off, struct jit_ctx *ctx, const u8 sz){
const s8 *tmp = bpf2a32[TMP_REG_1];
const s8 *rd = is_stacked(dst_lo) ? tmp : dst;
s8 rm = src;
s32 off_max;

if (sz == BPF_H)
off_max = 0xff;
else
off_max = 0xfff;

if (off < 0 || off > off_max) {
if (!is_ldst_imm(off, sz)) {
emit_a32_mov_i(tmp[0], off, ctx);
emit(ARM_ADD_R(tmp[0], tmp[0], src), ctx);
rm = tmp[0];
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@

display_clocks: clock@0 {
compatible = "allwinner,sun50i-a64-de2-clk";
reg = <0x0 0x100000>;
reg = <0x0 0x10000>;
clocks = <&ccu CLK_BUS_DE>,
<&ccu CLK_DE>;
clock-names = "bus",
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@
};

&usb3_phy0 {
vbus-supply = <&reg_5v_p>;
status = "okay";
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@
pinctrl-0 = <&cp0_copper_eth_phy_reset>;
reset-gpios = <&cp0_gpio2 11 GPIO_ACTIVE_LOW>;
reset-assert-us = <10000>;
reset-deassert-us = <10000>;
};

switch0: switch0@4 {
Expand Down
Loading