Skip to content

Commit 833d22f

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Trivial conflict in CAN on file rename. Conflicts: drivers/net/can/m_can/tcan4x5x-core.c Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents 58334e7 + 6279d81 commit 833d22f

File tree

112 files changed

+1303
-477
lines changed

Some content is hidden

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

112 files changed

+1303
-477
lines changed

Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ description: |
1919
properties:
2020
compatible:
2121
enum:
22-
- nxp,pf8x00
22+
- nxp,pf8100
23+
- nxp,pf8121a
24+
- nxp,pf8200
2325

2426
reg:
2527
maxItems: 1
@@ -118,7 +120,7 @@ examples:
118120
#size-cells = <0>;
119121
120122
pmic@8 {
121-
compatible = "nxp,pf8x00";
123+
compatible = "nxp,pf8100";
122124
reg = <0x08>;
123125
124126
regulators {

Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ First Level Nodes - PMIC
4444
Definition: Must be one of below:
4545
"qcom,pm8005-rpmh-regulators"
4646
"qcom,pm8009-rpmh-regulators"
47+
"qcom,pm8009-1-rpmh-regulators"
4748
"qcom,pm8150-rpmh-regulators"
4849
"qcom,pm8150l-rpmh-regulators"
4950
"qcom,pm8350-rpmh-regulators"

Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst

Lines changed: 36 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -164,46 +164,56 @@ Devlink health reporters
164164

165165
NPA Reporters
166166
-------------
167-
The NPA reporters are responsible for reporting and recovering the following group of errors
167+
The NPA reporters are responsible for reporting and recovering the following group of errors:
168+
168169
1. GENERAL events
170+
169171
- Error due to operation of unmapped PF.
170172
- Error due to disabled alloc/free for other HW blocks (NIX, SSO, TIM, DPI and AURA).
173+
171174
2. ERROR events
175+
172176
- Fault due to NPA_AQ_INST_S read or NPA_AQ_RES_S write.
173177
- AQ Doorbell Error.
178+
174179
3. RAS events
180+
175181
- RAS Error Reporting for NPA_AQ_INST_S/NPA_AQ_RES_S.
182+
176183
4. RVU events
184+
177185
- Error due to unmapped slot.
178186

179-
Sample Output
180-
-------------
181-
~# devlink health
182-
pci/0002:01:00.0:
183-
reporter hw_npa_intr
184-
state healthy error 2872 recover 2872 last_dump_date 2020-12-10 last_dump_time 09:39:09 grace_period 0 auto_recover true auto_dump true
185-
reporter hw_npa_gen
186-
state healthy error 2872 recover 2872 last_dump_date 2020-12-11 last_dump_time 04:43:04 grace_period 0 auto_recover true auto_dump true
187-
reporter hw_npa_err
188-
state healthy error 2871 recover 2871 last_dump_date 2020-12-10 last_dump_time 09:39:17 grace_period 0 auto_recover true auto_dump true
189-
reporter hw_npa_ras
190-
state healthy error 0 recover 0 last_dump_date 2020-12-10 last_dump_time 09:32:40 grace_period 0 auto_recover true auto_dump true
187+
Sample Output::
188+
189+
~# devlink health
190+
pci/0002:01:00.0:
191+
reporter hw_npa_intr
192+
state healthy error 2872 recover 2872 last_dump_date 2020-12-10 last_dump_time 09:39:09 grace_period 0 auto_recover true auto_dump true
193+
reporter hw_npa_gen
194+
state healthy error 2872 recover 2872 last_dump_date 2020-12-11 last_dump_time 04:43:04 grace_period 0 auto_recover true auto_dump true
195+
reporter hw_npa_err
196+
state healthy error 2871 recover 2871 last_dump_date 2020-12-10 last_dump_time 09:39:17 grace_period 0 auto_recover true auto_dump true
197+
reporter hw_npa_ras
198+
state healthy error 0 recover 0 last_dump_date 2020-12-10 last_dump_time 09:32:40 grace_period 0 auto_recover true auto_dump true
191199

192200
Each reporter dumps the
201+
193202
- Error Type
194203
- Error Register value
195204
- Reason in words
196205

197-
For eg:
198-
~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_gen
199-
NPA_AF_GENERAL:
200-
NPA General Interrupt Reg : 1
201-
NIX0: free disabled RX
202-
~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_intr
203-
NPA_AF_RVU:
204-
NPA RVU Interrupt Reg : 1
205-
Unmap Slot Error
206-
~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_err
207-
NPA_AF_ERR:
208-
NPA Error Interrupt Reg : 4096
209-
AQ Doorbell Error
206+
For example::
207+
208+
~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_gen
209+
NPA_AF_GENERAL:
210+
NPA General Interrupt Reg : 1
211+
NIX0: free disabled RX
212+
~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_intr
213+
NPA_AF_RVU:
214+
NPA RVU Interrupt Reg : 1
215+
Unmap Slot Error
216+
~# devlink health dump show pci/0002:01:00.0 reporter hw_npa_err
217+
NPA_AF_ERR:
218+
NPA Error Interrupt Reg : 4096
219+
AQ Doorbell Error

Documentation/networking/netdevices.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ ndo_do_ioctl:
6464
Context: process
6565

6666
ndo_get_stats:
67-
Synchronization: dev_base_lock rwlock.
68-
Context: nominally process, but don't sleep inside an rwlock
67+
Synchronization: rtnl_lock() semaphore, dev_base_lock rwlock, or RCU.
68+
Context: atomic (can't sleep under rwlock or RCU)
6969

7070
ndo_start_xmit:
7171
Synchronization: __netif_tx_lock spinlock.

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10848,7 +10848,7 @@ F: drivers/media/radio/radio-maxiradio*
1084810848

1084910849
MCAN MMIO DEVICE DRIVER
1085010850
M: Dan Murphy <dmurphy@ti.com>
10851-
M: Sriram Dash <sriram.dash@samsung.com>
10851+
M: Pankaj Sharma <pankj.sharma@samsung.com>
1085210852
L: linux-can@vger.kernel.org
1085310853
S: Maintained
1085410854
F: Documentation/devicetree/bindings/net/can/bosch,m_can.yaml

arch/arm/crypto/chacha-glue.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ static void chacha_doneon(u32 *state, u8 *dst, const u8 *src,
6060
chacha_block_xor_neon(state, d, s, nrounds);
6161
if (d != dst)
6262
memcpy(dst, buf, bytes);
63+
state[12]++;
6364
}
6465
}
6566

crypto/ecdh.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ static int ecdh_set_secret(struct crypto_kpp *tfm, const void *buf,
3939
struct ecdh params;
4040
unsigned int ndigits;
4141

42-
if (crypto_ecdh_decode_key(buf, len, &params) < 0)
42+
if (crypto_ecdh_decode_key(buf, len, &params) < 0 ||
43+
params.key_size > sizeof(ctx->private_key))
4344
return -EINVAL;
4445

4546
ndigits = ecdh_supported_curve(params.curve_id);

drivers/base/regmap/regmap-debugfs.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,18 +582,23 @@ void regmap_debugfs_init(struct regmap *map)
582582
devname = dev_name(map->dev);
583583

584584
if (name) {
585-
map->debugfs_name = kasprintf(GFP_KERNEL, "%s-%s",
585+
if (!map->debugfs_name) {
586+
map->debugfs_name = kasprintf(GFP_KERNEL, "%s-%s",
586587
devname, name);
588+
if (!map->debugfs_name)
589+
return;
590+
}
587591
name = map->debugfs_name;
588592
} else {
589593
name = devname;
590594
}
591595

592596
if (!strcmp(name, "dummy")) {
593597
kfree(map->debugfs_name);
594-
595598
map->debugfs_name = kasprintf(GFP_KERNEL, "dummy%d",
596599
dummy_index);
600+
if (!map->debugfs_name)
601+
return;
597602
name = map->debugfs_name;
598603
dummy_index++;
599604
}

drivers/isdn/mISDN/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ if MISDN != n
1313
config MISDN_DSP
1414
tristate "Digital Audio Processing of transparent data"
1515
depends on MISDN
16+
select BITREVERSE
1617
help
1718
Enable support for digital audio processing capability.
1819

drivers/net/bareudp.c

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -645,11 +645,20 @@ static int bareudp_link_config(struct net_device *dev,
645645
return 0;
646646
}
647647

648+
static void bareudp_dellink(struct net_device *dev, struct list_head *head)
649+
{
650+
struct bareudp_dev *bareudp = netdev_priv(dev);
651+
652+
list_del(&bareudp->next);
653+
unregister_netdevice_queue(dev, head);
654+
}
655+
648656
static int bareudp_newlink(struct net *net, struct net_device *dev,
649657
struct nlattr *tb[], struct nlattr *data[],
650658
struct netlink_ext_ack *extack)
651659
{
652660
struct bareudp_conf conf;
661+
LIST_HEAD(list_kill);
653662
int err;
654663

655664
err = bareudp2info(data, &conf, extack);
@@ -662,17 +671,14 @@ static int bareudp_newlink(struct net *net, struct net_device *dev,
662671

663672
err = bareudp_link_config(dev, tb);
664673
if (err)
665-
return err;
674+
goto err_unconfig;
666675

667676
return 0;
668-
}
669-
670-
static void bareudp_dellink(struct net_device *dev, struct list_head *head)
671-
{
672-
struct bareudp_dev *bareudp = netdev_priv(dev);
673677

674-
list_del(&bareudp->next);
675-
unregister_netdevice_queue(dev, head);
678+
err_unconfig:
679+
bareudp_dellink(dev, &list_kill);
680+
unregister_netdevice_many(&list_kill);
681+
return err;
676682
}
677683

678684
static size_t bareudp_get_size(const struct net_device *dev)

0 commit comments

Comments
 (0)