Skip to content

Commit 9d49aea

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Small conflict around locking in rxrpc_process_event() - channel_lock moved to bundle in next, while state lock needs _bh() from net. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents 9faebeb + 3fdd47c commit 9d49aea

74 files changed

Lines changed: 1942 additions & 564 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎MAINTAINERS‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1460,6 +1460,11 @@ S: Odd Fixes
14601460
F: drivers/amba/
14611461
F: include/linux/amba/bus.h
14621462

1463+
ARM PRIMECELL CLCD PL110 DRIVER
1464+
M: Russell King <linux@armlinux.org.uk>
1465+
S: Odd Fixes
1466+
F: drivers/video/fbdev/amba-clcd.*
1467+
14631468
ARM PRIMECELL KMI PL050 DRIVER
14641469
M: Russell King <linux@armlinux.org.uk>
14651470
S: Odd Fixes

‎arch/arm/xen/enlighten.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static int xen_starting_cpu(unsigned int cpu)
150150
pr_info("Xen: initializing cpu%d\n", cpu);
151151
vcpup = per_cpu_ptr(xen_vcpu_info, cpu);
152152

153-
info.mfn = virt_to_gfn(vcpup);
153+
info.mfn = percpu_to_gfn(vcpup);
154154
info.offset = xen_offset_in_page(vcpup);
155155

156156
err = HYPERVISOR_vcpu_op(VCPUOP_register_vcpu_info, xen_vcpu_nr(cpu),

‎arch/arm64/crypto/aes-neonbs-core.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ SYM_FUNC_START_LOCAL(__xts_crypt8)
788788

789789
0: mov bskey, x21
790790
mov rounds, x22
791-
br x7
791+
br x16
792792
SYM_FUNC_END(__xts_crypt8)
793793

794794
.macro __xts_crypt, do8, o0, o1, o2, o3, o4, o5, o6, o7
@@ -806,7 +806,7 @@ SYM_FUNC_END(__xts_crypt8)
806806
uzp1 v30.4s, v30.4s, v25.4s
807807
ld1 {v25.16b}, [x24]
808808

809-
99: adr x7, \do8
809+
99: adr x16, \do8
810810
bl __xts_crypt8
811811

812812
ldp q16, q17, [sp, #.Lframe_local_offset]

‎drivers/gpu/drm/nouveau/nouveau_mem.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ void
176176
nouveau_mem_del(struct ttm_mem_reg *reg)
177177
{
178178
struct nouveau_mem *mem = nouveau_mem(reg);
179+
if (!mem)
180+
return;
179181
nouveau_mem_fini(mem);
180182
kfree(reg->mm_node);
181183
reg->mm_node = NULL;

‎drivers/gpu/drm/nouveau/nvkm/engine/device/base.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3149,6 +3149,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
31493149
case 0x168: device->chip = &nv168_chipset; break;
31503150
default:
31513151
nvdev_error(device, "unknown chipset (%08x)\n", boot0);
3152+
ret = -ENODEV;
31523153
goto done;
31533154
}
31543155

‎drivers/net/dsa/ocelot/felix_vsc9959.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,8 @@ static int vsc9959_prevalidate_phy_mode(struct ocelot *ocelot, int port,
998998
*/
999999
static u16 vsc9959_wm_enc(u16 value)
10001000
{
1001+
WARN_ON(value >= 16 * BIT(8));
1002+
10011003
if (value >= BIT(8))
10021004
return BIT(8) | (value / 16);
10031005

‎drivers/net/dsa/ocelot/seville_vsc9953.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,8 @@ static int vsc9953_prevalidate_phy_mode(struct ocelot *ocelot, int port,
10491049
*/
10501050
static u16 vsc9953_wm_enc(u16 value)
10511051
{
1052+
WARN_ON(value >= 16 * BIT(9));
1053+
10521054
if (value >= BIT(9))
10531055
return BIT(9) | (value / 16);
10541056

‎drivers/net/ethernet/mscc/ocelot.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ void ocelot_port_set_maxlen(struct ocelot *ocelot, int port, size_t sdu)
12701270
struct ocelot_port *ocelot_port = ocelot->ports[port];
12711271
int maxlen = sdu + ETH_HLEN + ETH_FCS_LEN;
12721272
int pause_start, pause_stop;
1273-
int atop_wm;
1273+
int atop, atop_tot;
12741274

12751275
if (port == ocelot->npi) {
12761276
maxlen += OCELOT_TAG_LEN;
@@ -1291,12 +1291,12 @@ void ocelot_port_set_maxlen(struct ocelot *ocelot, int port, size_t sdu)
12911291
ocelot_fields_write(ocelot, port, SYS_PAUSE_CFG_PAUSE_STOP,
12921292
pause_stop);
12931293

1294-
/* Tail dropping watermark */
1295-
atop_wm = (ocelot->shared_queue_sz - 9 * maxlen) /
1294+
/* Tail dropping watermarks */
1295+
atop_tot = (ocelot->shared_queue_sz - 9 * maxlen) /
12961296
OCELOT_BUFFER_CELL_SZ;
1297-
ocelot_write_rix(ocelot, ocelot->ops->wm_enc(9 * maxlen),
1298-
SYS_ATOP, port);
1299-
ocelot_write(ocelot, ocelot->ops->wm_enc(atop_wm), SYS_ATOP_TOT_CFG);
1297+
atop = (9 * maxlen) / OCELOT_BUFFER_CELL_SZ;
1298+
ocelot_write_rix(ocelot, ocelot->ops->wm_enc(atop), SYS_ATOP, port);
1299+
ocelot_write(ocelot, ocelot->ops->wm_enc(atop_tot), SYS_ATOP_TOT_CFG);
13001300
}
13011301
EXPORT_SYMBOL(ocelot_port_set_maxlen);
13021302

‎drivers/net/ethernet/mscc/ocelot_vsc7514.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static int ocelot_reset(struct ocelot *ocelot)
754754
*/
755755
static u16 ocelot_wm_enc(u16 value)
756756
{
757+
WARN_ON(value >= 16 * BIT(8));
758+
757759
if (value >= BIT(8))
758760
return BIT(8) | (value / 16);
759761

‎drivers/net/ethernet/realtek/r8169_main.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2055,11 +2055,18 @@ static void rtl_release_firmware(struct rtl8169_private *tp)
20552055

20562056
void r8169_apply_firmware(struct rtl8169_private *tp)
20572057
{
2058+
int val;
2059+
20582060
/* TODO: release firmware if rtl_fw_write_firmware signals failure. */
20592061
if (tp->rtl_fw) {
20602062
rtl_fw_write_firmware(tp, tp->rtl_fw);
20612063
/* At least one firmware doesn't reset tp->ocp_base. */
20622064
tp->ocp_base = OCP_STD_PHY_BASE;
2065+
2066+
/* PHY soft reset may still be in progress */
2067+
phy_read_poll_timeout(tp->phydev, MII_BMCR, val,
2068+
!(val & BMCR_RESET),
2069+
50000, 600000, true);
20632070
}
20642071
}
20652072

0 commit comments

Comments
 (0)