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

Update 5.4-2.1.x-imx to v5.4.80 from stable #182

Merged
merged 159 commits into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
b2f95ff
ah6: fix error return code in ah6_input()
Nov 17, 2020
362bd03
atm: nicstar: Unmap DMA on send error
Nov 16, 2020
bedb089
bnxt_en: read EEPROM A2h address using page 0
Nov 16, 2020
2894a07
devlink: Add missing genlmsg_cancel() in devlink_nl_sb_port_pool_fill()
Nov 13, 2020
e5fe052
Exempt multicast addresses from five-second neighbor lifetime
jdike Nov 13, 2020
0e8b021
inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()
Nov 16, 2020
88a5a3e
ipv6: Fix error path to cancel the meseage
Nov 12, 2020
5c7a00a
lan743x: fix issue causing intermittent kernel log warnings
Nov 12, 2020
c35a7de
lan743x: prevent entire kernel HANG on open, for some platforms
Nov 12, 2020
78b9c4a
mlxsw: core: Use variable timeout for EMAD retries
idosch Nov 17, 2020
fa03d61
net: b44: fix error return code in b44_init_one()
Nov 17, 2020
805dfdb
net: bridge: add missing counters to ndo_get_stats64 callback
hkallweit Nov 13, 2020
27e9ca6
net: dsa: mv88e6xxx: Avoid VTU corruption on 6097
wkz Nov 12, 2020
bd17af3
net: ethernet: ti: cpsw: fix error return code in cpsw_probe()
Nov 13, 2020
99ddc32
net: Have netpoll bring-up DSA management interface
ffainelli Nov 17, 2020
d970489
netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
pcmoore Nov 8, 2020
65a596e
netlabel: fix an uninitialized warning in netlbl_unlabel_staticlist()
pcmoore Nov 13, 2020
75b2b0d
net: lantiq: Wait for the GPHY firmware to be ready
xdarklight Nov 15, 2020
782a503
net/mlx4_core: Fix init_hca fields offset
ayalevin Nov 18, 2020
ab1e4b3
net: qualcomm: rmnet: Fix incorrect receive packet handling during cl…
Nov 13, 2020
9e90995
net/smc: fix direct access to ib_gid_addr->ndev in smc_ib_determine_g…
karstengr Nov 18, 2020
9ecfcf4
net/tls: fix corrupted data in recvmsg
vvfedorenko Nov 15, 2020
f6f751c
net: x25: Increase refcnt of "struct x25_neigh" in x25_rx_call_request
Nov 12, 2020
f8e5578
page_frag: Recover from memory pressure
Nov 15, 2020
5241fa6
qed: fix error return code in qed_iwarp_ll2_start()
Nov 16, 2020
3179068
qlcnic: fix error return code in qlcnic_83xx_restart_hw()
Nov 13, 2020
04b7fd7
sctp: change to hold/put transport for proto_unreach_timer
lxin Nov 14, 2020
3d6c81f
tcp: only postpone PROBE_RTT if RTT is < current min_rtt estimate
sharpelletti Nov 16, 2020
3f9f112
net/mlx5: Add handling of port type in rule deletion
mikijoy Nov 2, 2020
7204f0b
net/mlx5: Disable QoS when min_rates on all VFs are zero
Hoommus Oct 21, 2020
9a1ac76
net: usb: qmi_wwan: Set DTR quirk for MR400
Nov 17, 2020
3f0ccca
net/ncsi: Fix netlink registration
shenki Nov 12, 2020
9865a26
net: ftgmac100: Fix crash when removing driver
shenki Nov 17, 2020
e06dfd5
pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq
jayxurockchip Oct 13, 2020
8ebc414
scsi: ufs: Fix unbalanced scsi_block_reqs_cnt caused by ufshcd_hold()
Nov 3, 2020
58ced37
selftests: kvm: Fix the segment descriptor layout to match the actual…
suomilewis Oct 12, 2020
e6f6e52
ACPI: button: Add DMI quirk for Medion Akoya E2228T
jwrdegoede Nov 7, 2020
71eea3d
arm64: errata: Fix handling of 1418040 with late CPU onlining
willdeacon Nov 6, 2020
e8df8c2
arm64: psci: Avoid printing in cpu_psci_cpu_die()
willdeacon Nov 6, 2020
54d1198
arm64: smp: Tell RCU about CPUs that fail to come online
willdeacon Nov 6, 2020
195f9e1
vfs: remove lockdep bogosity in __sb_start_write
djwong Nov 11, 2020
e240b43
gfs2: fix possible reference leak in gfs2_check_blk_type
Nov 8, 2020
8afc6e0
hwmon: (pwm-fan) Fix RPM calculation
pbrkr Nov 11, 2020
79de663
arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay
clementperon Oct 18, 2020
ba6ebc2
arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay
montjoie Oct 19, 2020
96bde11
arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node
jernejsk Oct 22, 2020
345d06f
arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node
jernejsk Oct 22, 2020
31c4a41
arm64: dts: allwinner: h5: OrangePi PC2: Fix ethernet node
jernejsk Oct 23, 2020
1446255
ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node
jernejsk Oct 25, 2020
260ceb0
Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to activ…
wens Oct 24, 2020
b55bc15
ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Etherne…
wens Oct 24, 2020
3036915
ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY
wens Oct 24, 2020
ec268dd
ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethern…
wens Oct 24, 2020
cecaad1
ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Eth…
wens Oct 24, 2020
6cb5054
ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY
wens Oct 24, 2020
c6e7f6b
ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY
wens Oct 24, 2020
794a130
ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethern…
wens Oct 24, 2020
29dea2b
arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on…
wens Oct 24, 2020
93f2368
Input: adxl34x - clean up a data type in adxl34x_probe()
Oct 27, 2020
cab227c
MIPS: export has_transparent_hugepage() for modules
rddunlap Oct 23, 2020
b944791
arm64: dts: allwinner: h5: OrangePi Prime: Fix ethernet node
nenadperic Oct 28, 2020
a8d6ae1
arm64: dts imx8mn: Remove non-existent USB OTG2
aford173 Oct 8, 2020
cfee233
arm: dts: imx6qdl-udoo: fix rgmii phy-mode for ksz9031 phy
geomatsi Oct 24, 2020
fd278c6
swiotlb: using SIZE_MAX needs limits.h included
sfrothwell Nov 2, 2020
58e4f34
arm64: dts: imx8mm: fix voltage for 1.6GHz CPU operating point
lynxeye-dev Nov 5, 2020
9a4b4a0
ARM: dts: imx50-evk: Fix the chip select 1 IOMUX
fabioestevam Nov 5, 2020
6490ecd
Input: resistive-adc-touch - fix kconfig dependency on IIO_BUFFER
necipfazil Nov 12, 2020
1b1ddde
rfkill: Fix use-after-free in rfkill_resume()
Nov 10, 2020
1a358c4
RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device()
Nov 11, 2020
4c954fe
RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs
Nov 6, 2020
6eadbc3
perf lock: Don't free "lock_seq_stat" if read_count isn't zero
Nov 4, 2020
f5d6b6c
tools, bpftool: Add missing close before bpftool net attach exit
Nov 13, 2020
ef097e9
ip_tunnels: Set tunnel option flag when tunnel metadata is present
YiHungWei Nov 11, 2020
5970c08
can: af_can: prevent potential access of uninitialized member in can_…
thazhemadam Nov 3, 2020
247b03e
can: af_can: prevent potential access of uninitialized member in canf…
thazhemadam Nov 3, 2020
85854e4
can: dev: can_restart(): post buffer from the right context
Nov 5, 2020
85c48dc
can: ti_hecc: Fix memleak in ti_hecc_probe
Nov 14, 2020
4a6891e
can: mcba_usb: mcba_usb_start_xmit(): first fill skb, then pass to ca…
marckleinebudde Aug 28, 2019
73788e8
can: peak_usb: fix potential integer overflow on shift of a int
Nov 5, 2020
f0c8508
can: flexcan: fix failure handling of pm_runtime_get_sync()
Nov 8, 2020
8408920
can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI
Apr 13, 2020
d527bb8
can: tcan4x5x: tcan4x5x_can_probe(): add missing error checking for d…
marckleinebudde Jan 3, 2020
6985148
can: tcan4x5x: tcan4x5x_can_remove(): fix order of deregistration
marckleinebudde Aug 10, 2020
9b0596c
can: m_can: m_can_handle_state_change(): fix state change
wushifu32 Jan 29, 2020
db2f557
can: m_can: m_can_class_free_dev(): introduce new function
Feb 27, 2020
24ce39b
can: m_can: m_can_stop(): set device to software init mode before clo…
Faiz-Abbas Aug 25, 2020
32ebbc8
ASoC: qcom: lpass-platform: Fix memory leak
Nov 15, 2020
cb5ad04
selftests/bpf: Fix error return code in run_getsockopt_test()
Nov 16, 2020
5e7f422
MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu
Nov 13, 2020
a5a1db7
drm/sun4i: dw-hdmi: fix error return code in sun8i_dw_hdmi_bind()
fenghusthu Nov 16, 2020
401afa5
net/mlx5: E-Switch, Fail mlx5_esw_modify_vport_rate if qos disabled
elic307i Nov 9, 2020
58f45da
bpf, sockmap: Fix partial copy_page_to_iter so progress can still be …
jrfastab Nov 16, 2020
9df3884
bpf, sockmap: Ensure SO_RCVBUF memory is observed on ingress redirect
jrfastab Nov 16, 2020
987bd79
can: kvaser_pciefd: Fix KCAN bittiming limits
Nov 15, 2020
6d184f8
can: kvaser_usb: kvaser_usb_hydra: Fix KCAN bittiming limits
Nov 15, 2020
964b02d
iommu/vt-d: Move intel_iommu_gfx_mapped to Intel IOMMU header
andy-shev Aug 28, 2020
58f1657
iommu/vt-d: Avoid panic if iommu init fails in tboot system
Nov 10, 2020
a3c9420
can: flexcan: flexcan_chip_start(): fix erroneous flexcan_transceiver…
marckleinebudde Nov 18, 2020
56588c1
can: m_can: process interrupt only when not runtime suspended
jhnikula Sep 15, 2020
388ca4a
xfs: fix the minrecs logic when dealing with inode root child blocks
djwong Nov 9, 2020
738ec76
xfs: strengthen rmap record flags checking
djwong Nov 9, 2020
ad3c4c9
xfs: return corresponding errcode if xfs_initialize_perag() fail
Nov 18, 2020
b9589cb
regulator: ti-abb: Fix array out of bound read access on the first tr…
nmenon Nov 18, 2020
989d275
fail_function: Remove a redundant mutex unlock
Nov 18, 2020
4983ffd
xfs: revert "xfs: fix rmap key and record comparison functions"
djwong Nov 19, 2020
329c844
bpf, sockmap: Skb verdict SK_PASS to self already checked rmem limits
jrfastab Oct 9, 2020
e8b1de6
bpf, sockmap: On receive programs try to fast track SK_PASS ingress
jrfastab Oct 9, 2020
a9f3670
bpf, sockmap: Use truesize with sk_rmem_schedule()
jrfastab Nov 16, 2020
95fafa1
bpf, sockmap: Avoid returning unneeded EAGAIN when redirecting to self
jrfastab Nov 16, 2020
9d1b5a8
efi/x86: Free efi_pgd with free_pages()
nivedita76 Nov 10, 2020
8a411bb
libfs: fix error cast of negative value in simple_attr_write()
Nov 22, 2020
770a550
HID: logitech-hidpp: Add PID for MX Anywhere 2
HarryCutts Oct 21, 2020
4e23e32
HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trac…
jwrdegoede Nov 2, 2020
0da75d3
HID: logitech-dj: Fix Dinovo Mini when paired with a MX5x00 receiver
jwrdegoede Nov 14, 2020
3b78db2
speakup: Do not let the line discipline be used several times
sthibaul Nov 10, 2020
090ac65
ALSA: firewire: Clean up a locking issue in copy_resp_to_buf()
Nov 13, 2020
16a5e37
ALSA: usb-audio: Add delay quirk for all Logitech USB devices
joakim-tjernlund Nov 17, 2020
b9a69e5
ALSA: ctl: fix error path at adding user-defined element set
takaswie Nov 13, 2020
c70c1b9
ALSA: mixart: Fix mutex deadlock
tiwai Nov 19, 2020
659f673
ALSA: hda/realtek - Add supported for Lenovo ThinkPad Headset Button
kailangyang Nov 2, 2020
a3ac3d2
ALSA: hda/realtek: Add some Clove SSID in the ALC293(ALC1220)
Nov 11, 2020
663f70f
tty: serial: imx: fix potential deadlock
Nov 9, 2020
772ff2c
tty: serial: imx: keep console clocks always on
fugangduan Nov 11, 2020
d73d010
HID: logitech-dj: Fix an error in mse_bluetooth_descriptor
jwrdegoede Nov 14, 2020
f59ef9e
efivarfs: fix memory leak in efivarfs_create()
Oct 23, 2020
2ba693e
staging: rtl8723bs: Add 024c:0627 to the list of SDIO device-ids
Nov 6, 2020
7f76c60
iio: light: fix kconfig dependency bug for VCNL4035
necipfazil Nov 2, 2020
308a06a
ext4: fix bogus warning in ext4_update_dx_flag()
jankara Nov 18, 2020
9f99cc3
iio: accel: kxcjk1013: Replace is_smo8500_device with an acpi_type enum
jwrdegoede Nov 10, 2020
d3e27c6
iio: accel: kxcjk1013: Add support for KIOX010A ACPI DSM for setting …
jwrdegoede Nov 10, 2020
760d4e3
iio: adc: mediatek: fix unset field
Fabo Oct 18, 2020
11bb6ae
spi: lpspi: Fix use-after-free on unbind
l1k Nov 8, 2020
3e04a49
spi: Introduce device-managed SPI controller allocation
l1k Nov 11, 2020
2737549
spi: npcm-fiu: Don't leak SPI master in probe error path
l1k Nov 16, 2020
53a9502
spi: bcm2835aux: Fix use-after-free on unbind
l1k Nov 11, 2020
4cab55d
regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}
sknsean Nov 10, 2020
65205df
regulator: fix memory leak with repeated set_machine_constraints()
osctobe Nov 13, 2020
0d233d5
regulator: avoid resolve_supply() infinite recursion
osctobe Nov 13, 2020
e7ea18d
regulator: workaround self-referent regulators
osctobe Nov 13, 2020
747467f
xtensa: fix TLBTEMP area placement
jcmvbkbc Nov 16, 2020
713f903
xtensa: disable preemption around cache alias management calls
jcmvbkbc Nov 16, 2020
336c331
mac80211: minstrel: remove deferred sampling code
nbd168 Nov 11, 2020
945c10a
mac80211: minstrel: fix tx status processing corner case
nbd168 Nov 11, 2020
89d73a9
mac80211: free sta in sta_info_insert_finish() on errors
jmberg-intel Nov 12, 2020
e6e76a2
s390/cpum_sf.c: fix file permission for cpum_sfb_size
Nov 11, 2020
7411c05
s390/dasd: fix null pointer dereference for ERP requests
Nov 16, 2020
1c1add9
Drivers: hv: vmbus: Allow cleanup of VMBUS_CONNECT_CPU if disconnected
christopherco Nov 10, 2020
51cc709
drm/amd/display: Add missing pflip irq for dcn2.0
alexdeucher Nov 13, 2020
5b73801
drm/i915: Handle max_bpc==16
vsyrjala Nov 10, 2020
d514813
mmc: sdhci-pci: Prefer SDR25 timing for High Speed mode for BYT-based…
ahunter6 Nov 12, 2020
fa9ccc1
ptrace: Set PF_SUPERPRIV when checking capability
l0kod Oct 30, 2020
09652eb
seccomp: Set PF_SUPERPRIV when checking capability
l0kod Oct 30, 2020
fc82fd7
x86/microcode/intel: Check patch signature before saving microcode fo…
yu-chen-surf Nov 13, 2020
173e373
mm: memcg/slab: fix root memcg vmstats
Nov 22, 2020
a276147
mm/userfaultfd: do not access vma->vm_mm after calling handle_userfau…
gerald-schaefer Nov 22, 2020
10ca291
mm, page_alloc: skip ->waternark_boost for atomic order-0 allocations
Aug 7, 2020
a88f08e
sched/fair: Fix overutilized update in enqueue_task_fair()
Nov 12, 2020
9f4b26f
Linux 5.4.80
gregkh Nov 24, 2020
0e711d7
Merge tag 'v5.4.80' into 5.4-2.1.x-imx
zandrey Nov 24, 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
9 changes: 6 additions & 3 deletions Documentation/xtensa/mmu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ Default MMUv2-compatible layout::
+------------------+
| VMALLOC area | VMALLOC_START 0xc0000000 128MB - 64KB
+------------------+ VMALLOC_END
| Cache aliasing | TLBTEMP_BASE_1 0xc7ff0000 DCACHE_WAY_SIZE
+------------------+
| Cache aliasing | TLBTEMP_BASE_1 0xc8000000 DCACHE_WAY_SIZE
| remap area 1 |
+------------------+
| Cache aliasing | TLBTEMP_BASE_2 DCACHE_WAY_SIZE
Expand Down Expand Up @@ -124,7 +125,8 @@ Default MMUv2-compatible layout::
+------------------+
| VMALLOC area | VMALLOC_START 0xa0000000 128MB - 64KB
+------------------+ VMALLOC_END
| Cache aliasing | TLBTEMP_BASE_1 0xa7ff0000 DCACHE_WAY_SIZE
+------------------+
| Cache aliasing | TLBTEMP_BASE_1 0xa8000000 DCACHE_WAY_SIZE
| remap area 1 |
+------------------+
| Cache aliasing | TLBTEMP_BASE_2 DCACHE_WAY_SIZE
Expand Down Expand Up @@ -167,7 +169,8 @@ Default MMUv2-compatible layout::
+------------------+
| VMALLOC area | VMALLOC_START 0x90000000 128MB - 64KB
+------------------+ VMALLOC_END
| Cache aliasing | TLBTEMP_BASE_1 0x97ff0000 DCACHE_WAY_SIZE
+------------------+
| Cache aliasing | TLBTEMP_BASE_1 0x98000000 DCACHE_WAY_SIZE
| remap area 1 |
+------------------+
| Cache aliasing | TLBTEMP_BASE_2 DCACHE_WAY_SIZE
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 = 79
SUBLEVEL = 80
EXTRAVERSION =
NAME = Kleptomaniac Octopus

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx50-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
MX50_PAD_CSPI_MISO__CSPI_MISO 0x00
MX50_PAD_CSPI_MOSI__CSPI_MOSI 0x00
MX50_PAD_CSPI_SS0__GPIO4_11 0xc4
MX50_PAD_ECSPI1_MOSI__CSPI_SS1 0xf4
MX50_PAD_ECSPI1_MOSI__GPIO4_13 0x84
>;
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/imx6qdl-udoo.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun6i-a31-hummingbird.dts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-supply = <&reg_gmac_3v3>;
status = "okay";
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun7i-a20-cubietruck.dts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_sw>;
phy-handle = <&rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
allwinner,rx-delay-ps = <700>;
allwinner,tx-delay-ps = <700>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_dldo4>;
phy-handle = <&rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
5 changes: 0 additions & 5 deletions arch/arm/boot/dts/sun8i-h3-orangepi-pc-plus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@
};
};

&emac {
/* LEDs changed to active high on the plus */
/delete-property/ allwinner,leds-active-low;
};

&mmc1 {
vmmc-supply = <&reg_vcc3v3>;
bus-width = <4>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_gmac_3v3>;
phy-handle = <&ext_rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-supply = <&reg_dc1sw>;
status = "okay";
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun9i-a80-cubieboard4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-supply = <&reg_cldo1>;
status = "okay";
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sun9i-a80-optimus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
pinctrl-names = "default";
pinctrl-0 = <&gmac_rgmii_pins>;
phy-handle = <&phy1>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-supply = <&reg_cldo1>;
status = "okay";
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/sunxi-bananapi-m2-plus.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_gmac_3v3>;
phy-handle = <&ext_rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";

status = "okay";
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
&emac {
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ext_rgmii_phy>;
phy-supply = <&reg_dc1sw>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
&emac {
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ext_rgmii_phy>;
phy-supply = <&reg_gmac_3v3>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
&emac {
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
phy-mode = "rgmii";
phy-mode = "rgmii-txid";
phy-handle = <&ext_rgmii_phy>;
status = "okay";
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_gmac_3v3>;
phy-handle = <&ext_rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_gmac_3v3>;
phy-handle = <&ext_rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
&emac {
pinctrl-names = "default";
pinctrl-0 = <&ext_rgmii_pins>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ext_rgmii_phy>;
phy-supply = <&reg_aldo2>;
status = "okay";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
&emac {
pinctrl-names = "default";
pinctrl-0 = <&ext_rgmii_pins>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
phy-handle = <&ext_rgmii_phy>;
phy-supply = <&reg_aldo2>;
allwinner,rx-delay-ps = <200>;
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/include/asm/cpufeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ extern struct arm64_ftr_reg arm64_ftr_reg_ctrel0;
/*
* CPU feature detected at boot time based on feature of one or more CPUs.
* All possible conflicts for a late CPU are ignored.
* NOTE: this means that a late CPU with the feature will *not* cause the
* capability to be advertised by cpus_have_*cap()!
*/
#define ARM64_CPUCAP_WEAK_LOCAL_CPU_FEATURE \
(ARM64_CPUCAP_SCOPE_LOCAL_CPU | \
Expand Down
5 changes: 2 additions & 3 deletions arch/arm64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,14 +511,13 @@ static void erratum_1418040_thread_switch(struct task_struct *prev,
bool prev32, next32;
u64 val;

if (!(IS_ENABLED(CONFIG_ARM64_ERRATUM_1418040) &&
cpus_have_const_cap(ARM64_WORKAROUND_1418040)))
if (!IS_ENABLED(CONFIG_ARM64_ERRATUM_1418040))
return;

prev32 = is_compat_thread(task_thread_info(prev));
next32 = is_compat_thread(task_thread_info(next));

if (prev32 == next32)
if (prev32 == next32 || !this_cpu_has_cap(ARM64_WORKAROUND_1418040))
return;

val = read_sysreg(cntkctl_el1);
Expand Down
5 changes: 1 addition & 4 deletions arch/arm64/kernel/psci.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,14 @@ static int cpu_psci_cpu_disable(unsigned int cpu)

static void cpu_psci_cpu_die(unsigned int cpu)
{
int ret;
/*
* There are no known implementations of PSCI actually using the
* power state field, pass a sensible default for now.
*/
u32 state = PSCI_POWER_STATE_TYPE_POWER_DOWN <<
PSCI_0_2_POWER_STATE_TYPE_SHIFT;

ret = psci_ops.cpu_off(state);

pr_crit("unable to power off CPU%u (%d)\n", cpu, ret);
psci_ops.cpu_off(state);
}

static int cpu_psci_cpu_kill(unsigned int cpu)
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ void cpu_die_early(void)

/* Mark this CPU absent */
set_cpu_present(cpu, 0);
rcu_report_dead(cpu);

#ifdef CONFIG_HOTPLUG_CPU
update_cpu_boot_status(CPU_KILL_ME);
Expand Down
9 changes: 8 additions & 1 deletion arch/mips/alchemy/common/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ static struct clk __init *alchemy_clk_setup_cpu(const char *parent_name,
{
struct clk_init_data id;
struct clk_hw *h;
struct clk *clk;

h = kzalloc(sizeof(*h), GFP_KERNEL);
if (!h)
Expand All @@ -164,7 +165,13 @@ static struct clk __init *alchemy_clk_setup_cpu(const char *parent_name,
id.ops = &alchemy_clkops_cpu;
h->init = &id;

return clk_register(NULL, h);
clk = clk_register(NULL, h);
if (IS_ERR(clk)) {
pr_err("failed to register clock\n");
kfree(h);
}

return clk;
}

/* AUXPLLs ************************************************************/
Expand Down
1 change: 1 addition & 0 deletions arch/mips/mm/tlb-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ int has_transparent_hugepage(void)
}
return mask == PM_HUGE_MASK;
}
EXPORT_SYMBOL(has_transparent_hugepage);

#endif /* CONFIG_TRANSPARENT_HUGEPAGE */

Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kernel/perf_cpum_sf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2217,4 +2217,4 @@ static int __init init_cpum_sampling_pmu(void)
}

arch_initcall(init_cpum_sampling_pmu);
core_param(cpum_sfb_size, CPUM_SF_MAX_SDB, sfb_size, 0640);
core_param(cpum_sfb_size, CPUM_SF_MAX_SDB, sfb_size, 0644);
Loading