5.8.17-rc1 review
Subsystems (3)
Greg Kroah-Hartman
maintainerPATCH 127/633 spi: fsi: Implement restricted size for certain controllers
In reply to Greg Kroah-HartmanFrom: Eddie James <[email protected]>
[ Upstream commit 49c9fc1d7c101eceaddb655e4f0e062b0c8f403b ]
Some of the FSI-attached SPI controllers cannot use the loop command in programming the sequencer due to security requirements. Check the devicetree compatibility that indicates this condition and restrict the size for these controllers. Also, add more transfers directly in the sequence up to the length of the sequence register.
--- drivers/spi/spi-fsi.c | 65 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 53 insertions(+), 12 deletions(-)
drivers/spi/spi-fsi.c +53 -12
@@ -24,7 +24,8 @@#define SPI_FSI_BASE 0x70000#define SPI_FSI_INIT_TIMEOUT_MS 1000 -#define SPI_FSI_MAX_TRANSFER_SIZE 2048 +#define SPI_FSI_MAX_XFR_SIZE 2048 +#define SPI_FSI_MAX_XFR_SIZE_RESTRICTED 32#define SPI_FSI_ERROR 0x0#define SPI_FSI_COUNTER_CFG 0x1
@@ -74,6 +75,8 @@ struct fsi_spi {struct device *dev;/* SPI controller device */ struct fsi_device *fsi;/* FSI2SPI CFAM engine device */ u32 base; +size_t max_xfr_size; +bool restricted; };struct fsi_spi_sequence {
@@ -209,8 +212,12 @@ static int fsi_spi_reset(struct fsi_spi *ctx)if (rc)return rc; -return fsi_spi_write_reg (ctx,SPI_FSI_CLOCK_CFG , -SPI_FSI_CLOCK_CFG_RESET2 ); + rc =fsi_spi_write_reg (ctx,SPI_FSI_CLOCK_CFG , +SPI_FSI_CLOCK_CFG_RESET2 ); +if (rc) +return rc; + +return fsi_spi_write_reg (ctx,SPI_FSI_STATUS ,0ULL ); }static int fsi_spi_sequence_add (struct fsi_spi_sequence *seq,u8 val)
@@ -218,8 +225,8 @@ static int fsi_spi_sequence_add(struct fsi_spi_sequence *seq, u8 val)/* * Add the next byte of instruction to the 8-byte sequence register. * Then decrement the counter so that the next instruction will go in -* the right place. Return the number of "slots" left in the sequence -* register. +* the right place. Return the index of the slot we just filled in the +* sequence register. */ seq->data |= (u64 )val << seq->bit; seq->bit -=8 ;
@@ -237,9 +244,11 @@ static int fsi_spi_sequence_transfer(struct fsi_spi *ctx,struct fsi_spi_sequence *seq, struct spi_transfer *transfer) { + bool docfg = false;int loops;int idx;int rc; +u8 val =0 ;u8 len =min (transfer->len,8U );u8 rem = transfer->len % len;u64 cfg =0ULL ;
@@ -247,22 +256,42 @@ static int fsi_spi_sequence_transfer(struct fsi_spi *ctx, loops = transfer->len / len;if (transfer->tx_buf) { - idx =fsi_spi_sequence_add (seq, -SPI_FSI_SEQUENCE_SHIFT_OUT (len)); + val =SPI_FSI_SEQUENCE_SHIFT_OUT (len); + idx =fsi_spi_sequence_add (seq, val); +if (rem) rem =SPI_FSI_SEQUENCE_SHIFT_OUT (rem); }else if (transfer->rx_buf) { - idx =fsi_spi_sequence_add (seq, -SPI_FSI_SEQUENCE_SHIFT_IN (len)); + val =SPI_FSI_SEQUENCE_SHIFT_IN (len); + idx =fsi_spi_sequence_add (seq, val); +if (rem) rem =SPI_FSI_SEQUENCE_SHIFT_IN (rem); }else {return -EINVAL ; } +if (ctx->restricted) { +const int eidx = rem ?5 :6 ; + +while (loops >1 && idx <= eidx) { + idx =fsi_spi_sequence_add (seq, val); + loops--; + docfg = true; + } + +if (loops >1 ) { +dev_warn (ctx->dev,"No sequencer slots; aborting.\n" ); +return -EINVAL ; + } + } +if (loops >1 ) {fsi_spi_sequence_add (seq,SPI_FSI_SEQUENCE_BRANCH (idx)); + docfg = true; + } +if (docfg) { cfg =SPI_FSI_COUNTER_CFG_LOOPS (loops -1 );if (transfer->rx_buf) cfg |= SPI_FSI_COUNTER_CFG_N2_RX |
@@ -273,6 +302,8 @@ static int fsi_spi_sequence_transfer(struct fsi_spi *ctx, rc =fsi_spi_write_reg (ctx,SPI_FSI_COUNTER_CFG , cfg);if (rc)return rc; + }else { +fsi_spi_write_reg (ctx,SPI_FSI_COUNTER_CFG ,0ULL ); }if (rem)
@@ -429,7 +460,7 @@ static int fsi_spi_transfer_one_message(struct spi_controller *ctlr,/* Sequencer must do shift out (tx) first. */ if (!transfer->tx_buf || - transfer->len >SPI_FSI_MAX_TRANSFER_SIZE ) { + transfer->len > (ctx->max_xfr_size +8 )) { rc = -EINVAL ; goto error; }
@@ -453,7 +484,7 @@ static int fsi_spi_transfer_one_message(struct spi_controller *ctlr,/* Sequencer can only do shift in (rx) after tx. */ if (next->rx_buf) { -if (next->len >SPI_FSI_MAX_TRANSFER_SIZE ) { +if (next->len > ctx->max_xfr_size) { rc = -EINVAL ; goto error; }
@@ -498,7 +529,9 @@ static int fsi_spi_transfer_one_message(struct spi_controller *ctlr,static size_t fsi_spi_max_transfer_size (struct spi_device *spi) { -return SPI_FSI_MAX_TRANSFER_SIZE ; +struct fsi_spi *ctx =spi_controller_get_devdata (spi->controller); + +return ctx->max_xfr_size; }static int fsi_spi_probe (struct device *dev)
@@ -546,6 +579,14 @@ static int fsi_spi_probe(struct device *dev) ctx->fsi = fsi; ctx->base = base +SPI_FSI_BASE ; +if (of_device_is_compatible (np,"ibm,fsi2spi-restricted" )) { + ctx->restricted = true; + ctx->max_xfr_size =SPI_FSI_MAX_XFR_SIZE_RESTRICTED ; + }else { + ctx->restricted = false; + ctx->max_xfr_size =SPI_FSI_MAX_XFR_SIZE ; + } + rc =devm_spi_register_controller (dev, ctlr);if (rc)spi_controller_put (ctlr);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 109/633 media: Revert "media: exynos4-is: Add missed check for pinctrl_lookup_state()"
In reply to Greg Kroah-HartmanFrom: Sylwester Nawrocki <[email protected]>
[ Upstream commit 00d21f325d58567d81d9172096692d0a9ea7f725 ]
The "idle" pinctrl state is optional as documented in the DT binding. The change introduced by the commit being reverted makes that pinctrl state mandatory and breaks initialization of the whole media driver, since the "idle" state is not specified in any mainline dts.
This reverts commit 18ffec750578 ("media: exynos4-is: Add missed check for pinctrl_lookup_state()") to fix the regression.
--- drivers/media/platform/exynos4-is/media-dev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/media/platform/exynos4-is/media-dev.c +1 -3
@@ -1268,11 +1268,9 @@ static int fimc_md_get_pinctrl(struct fimc_md *fmd)if (IS_ERR (pctl->state_default))return PTR_ERR (pctl->state_default); +/* PINCTRL_STATE_IDLE is optional */ pctl->state_idle =pinctrl_lookup_state (pctl->pinctrl,PINCTRL_STATE_IDLE ); -if (IS_ERR (pctl->state_idle)) -return PTR_ERR (pctl->state_idle); -return 0 ; }
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 107/633 media: tuner-simple: fix regression in simple_set_radio_freq
In reply to Greg Kroah-HartmanFrom: Tom Rix <[email protected]>
[ Upstream commit 505bfc2a142f12ce7bc7a878b44abc3496f2e747 ]
clang static analysis reports this problem
tuner-simple.c:714:13: warning: Assigned value is
garbage or undefined
buffer[1] = buffer[3];
^ ~~~~~~~~~In simple_set_radio_freq buffer[3] used to be done in-function with a switch of tuner type, now done by a call to simple_radio_bandswitch which has this case
case TUNER_TENA_9533_DI:
case TUNER_YMEC_TVF_5533MF:
tuner_dbg("This tuner doesn't ...
return 0;which does not set buffer[3]. In the old logic, this case would have returned 0 from simple_set_radio_freq.
Recover this old behavior by returning an error for this codition. Since the old simple_set_radio_freq behavior returned a 0, do the same.
--- drivers/media/tuners/tuner-simple.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/media/tuners/tuner-simple.c +3 -2
@@ -500,7 +500,7 @@ static int simple_radio_bandswitch(struct dvb_frontend *fe, u8 *buffer)case TUNER_TENA_9533_DI :case TUNER_YMEC_TVF_5533MF :tuner_dbg ("This tuner doesn't have FM. Most cards have a TEA5767 for FM\n" ); -return 0 ; +return -EINVAL ;case TUNER_PHILIPS_FM1216ME_MK3 :case TUNER_PHILIPS_FM1236_MK3 :case TUNER_PHILIPS_FMD1216ME_MK3 :
@@ -702,7 +702,8 @@ static int simple_set_radio_freq(struct dvb_frontend *fe,TUNER_RATIO_SELECT_50 ;/* 50 kHz step */ /* Bandswitch byte */ -simple_radio_bandswitch (fe, &buffer[0 ]); +if (simple_radio_bandswitch (fe, &buffer[0 ])) +return 0 ;/* Convert from 1/16 kHz V4L steps to 1/20 MHz (=50 kHz) PLL steps freq * (1 Mhz / 16000 V4L steps) * (20 PLL steps / 1 MHz) =
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 105/633 crypto: picoxcell - Fix potential race condition bug
In reply to Greg Kroah-HartmanFrom: Madhuparna Bhowmik <[email protected]>
[ Upstream commit 64f4a62e3b17f1e473f971127c2924cae42afc82 ]
engine->stat_irq_thresh was initialized after device_create_file() in the probe function, the initialization may race with call to spacc_stat_irq_thresh_store() which updates engine->stat_irq_thresh, therefore initialize it before creating the file in probe function.
Found by Linux Driver Verification project (linuxtesting.org).
--- drivers/crypto/picoxcell_crypto.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
drivers/crypto/picoxcell_crypto.c +4 -5
@@ -1666,11 +1666,6 @@ static int spacc_probe(struct platform_device *pdev) goto err_clk_put; } - ret =device_create_file (&pdev->dev, &dev_attr_stat_irq_thresh); -if (ret) - goto err_clk_disable; - -/* * Use an IRQ threshold of 50% as a default. This seems to be a * reasonable trade off of latency against throughput but can be
@@ -1678,6 +1673,10 @@ static int spacc_probe(struct platform_device *pdev)*/ engine->stat_irq_thresh = (engine->fifo_sz /2 ); + ret =device_create_file (&pdev->dev, &dev_attr_stat_irq_thresh); +if (ret) + goto err_clk_disable; +/* * Configure the interrupts. We only use the STAT_CNT interrupt as we * only submit a new packet for processing when we complete another in
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 138/633 media: rcar-vin: Fix a reference count leak.
In reply to Greg Kroah-HartmanFrom: Qiushi Wu <[email protected]>
[ Upstream commit aaffa0126a111d65f4028c503c76192d4cc93277 ]
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code. Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails.
--- drivers/media/platform/rcar-vin/rcar-dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/media/platform/rcar-vin/rcar-dma.c +3 -1
@@ -1392,8 +1392,10 @@ int rvin_set_channel_routing(struct rvin_dev *vin, u8 chsel)int ret; ret =pm_runtime_get_sync (vin->dev); -if (ret <0 ) +if (ret <0 ) { +pm_runtime_put_noidle (vin->dev);return ret; + }/* Make register writes take effect immediately. */ vnmc =rvin_read (vin,VNMC_REG );
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 134/633 crypto: sun8i-ce - handle endianness of t_common_ctl
In reply to Greg Kroah-HartmanFrom: Corentin Labbe <[email protected]>
[ Upstream commit 87f34260f5e09a4578132ad1c05aef2d707dd4bf ]
t_common_ctl is LE32 so we need to convert its value before using it. This value is only used on H6 (ignored on other SoCs) and not handling the endianness cause failure on xRNG/hashes operations on H6 when running BE.
--- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c +4 -1
@@ -120,7 +120,10 @@ int sun8i_ce_run_task(struct sun8i_ce_dev *ce, int flow, const char *name)/* Be sure all data is written before enabling the task */ wmb (); - v =1 | (ce->chanlist[flow].tl->t_common_ctl &0x7F ) <<8 ; +/* Only H6 needs to write a part of t_common_ctl along with "1", but since it is ignored +* on older SoCs, we have no reason to complicate things. +*/ + v =1 | ((le32_to_cpu (ce->chanlist[flow].tl->t_common_ctl) &0x7F ) <<8 );writel (v, ce->base +CE_TLR );mutex_unlock (&ce->mlock);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 135/633 media: mx2_emmaprp: Fix memleak in emmaprp_probe
In reply to Greg Kroah-HartmanFrom: Dinghao Liu <[email protected]>
[ Upstream commit 21d387b8d372f859d9e87fdcc7c3b4a432737f4d ]
When platform_get_irq() fails, we should release
vfd and unregister pcdev->v4l2_dev just like the
subsequent error paths.
--- drivers/media/platform/mx2_emmaprp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/media/platform/mx2_emmaprp.c +5 -2
@@ -852,8 +852,11 @@ static int emmaprp_probe(struct platform_device *pdev)platform_set_drvdata (pdev, pcdev); irq =platform_get_irq (pdev,0 ); -if (irq <0 ) -return irq; +if (irq <0 ) { + ret = irq; + goto rel_vdev; + } + ret =devm_request_irq (&pdev->dev, irq, emmaprp_irq,0 ,dev_name (&pdev->dev), pcdev);if (ret)
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 136/633 media: tc358743: initialize variable
In reply to Greg Kroah-HartmanFrom: Tom Rix <[email protected]>
[ Upstream commit 274cf92d5dff5c2fec1a518078542ffe70d07646 ]
clang static analysis flags this error
tc358743.c:1468:9: warning: Branch condition evaluates
to a garbage value
return handled ? IRQ_HANDLED : IRQ_NONE;
^~~~~~~handled should be initialized to false.
--- drivers/media/i2c/tc358743.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/i2c/tc358743.c +1 -1
@@ -1461,7 +1461,7 @@ static int tc358743_isr(struct v4l2_subdev *sd, u32 status, bool *handled)static irqreturn_t tc358743_irq_handler (int irq,void *dev_id) {struct tc358743_state *state = dev_id; -bool handled; +bool handled = false;tc358743_isr (&state->sd,0 , &handled);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 111/633 media: hantro: postproc: Fix motion vector space allocation
In reply to Greg Kroah-HartmanFrom: Ezequiel Garcia <[email protected]>
[ Upstream commit 669ccf19ed2059b9d517664a2dbbf6bde87e1414 ]
When the post-processor is enabled, the driver allocates "shadow buffers" which are used for the decoder core, and exposes the post-processed buffers to userspace.
For this reason, extra motion vector space has to be allocated on the shadow buffers, which the driver wasn't doing. Fix it.
This fix should address artifacts on high profile bitstreams.
--- drivers/staging/media/hantro/hantro_postproc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/media/hantro/hantro_postproc.c +3 -1
@@ -118,7 +118,9 @@ int hantro_postproc_alloc(struct hantro_ctx *ctx)unsigned int num_buffers = cap_queue->num_buffers;unsigned int i, buf_size; - buf_size = ctx->dst_fmt.plane_fmt[0 ].sizeimage; + buf_size = ctx->dst_fmt.plane_fmt[0 ].sizeimage + +hantro_h264_mv_size (ctx->dst_fmt.width, + ctx->dst_fmt.height);for (i =0 ; i < num_buffers; ++i) {struct hantro_aux_buf *priv = &ctx->postproc.dec_q[i];
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 130/633 hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}
In reply to Greg Kroah-HartmanFrom: Guenter Roeck <[email protected]>
[ Upstream commit 6c094b31ea2ad773824362ba0fccb88d36f8d32d ]
Starting with MAX34451, the chips of this series support STATUS_IOUT and STATUS_TEMPERATURE commands, and no longer report over-current and over-temperature status with STATUS_MFR_SPECIFIC.
--- drivers/hwmon/pmbus/max34440.c | 3 --- 1 file changed, 3 deletions(-)
drivers/hwmon/pmbus/max34440.c +0 -3
@@ -388,7 +388,6 @@ static struct pmbus_driver_info max34440_info[] = { .func[18] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, - .read_byte_data = max34440_read_byte_data, .read_word_data = max34440_read_word_data, .write_word_data = max34440_write_word_data, },
@@ -419,7 +418,6 @@ static struct pmbus_driver_info max34440_info[] = { .func[15] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[16] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[17] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, - .read_byte_data = max34440_read_byte_data, .read_word_data = max34440_read_word_data, .write_word_data = max34440_write_word_data, },
@@ -455,7 +453,6 @@ static struct pmbus_driver_info max34440_info[] = { .func[19] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[20] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, .func[21] = PMBUS_HAVE_TEMP | PMBUS_HAVE_STATUS_TEMP, - .read_byte_data = max34440_read_byte_data, .read_word_data = max34440_read_word_data, .write_word_data = max34440_write_word_data, },
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 125/633 spi: fsi: Handle 9 to 15 byte transfers lengths
In reply to Greg Kroah-HartmanFrom: Brad Bishop <[email protected]>
[ Upstream commit 2b3cef0fc757bd06ed9b83bd4c436bfa55f47370 ]
The trailing <len> - 8 bytes of transfer data in this size range is no longer ignored.
--- drivers/spi/spi-fsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/spi/spi-fsi.c +3 -3
@@ -258,15 +258,15 @@ static int fsi_spi_sequence_transfer(struct fsi_spi *ctx,if (loops >1 ) {fsi_spi_sequence_add (seq,SPI_FSI_SEQUENCE_BRANCH (idx)); -if (rem) -fsi_spi_sequence_add (seq, rem); - rc =fsi_spi_write_reg (ctx,SPI_FSI_COUNTER_CFG ,SPI_FSI_COUNTER_CFG_LOOPS (loops -1 ));if (rc)return rc; } +if (rem) +fsi_spi_sequence_add (seq, rem); +return 0 ; }
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 129/633 crypto: omap-sham - fix digcnt register handling with export/import
In reply to Greg Kroah-HartmanFrom: Tero Kristo <[email protected]>
[ Upstream commit 3faf757bad75f3fc1b2736f0431e295a073a7423 ]
Running export/import for hashes in peculiar order (mostly done by openssl) can mess up the internal book keeping of the OMAP SHA core. Fix by forcibly writing the correct DIGCNT back to hardware. This issue was noticed while transitioning to openssl 1.1 support.
--- drivers/crypto/omap-sham.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/crypto/omap-sham.c +3 -0
@@ -456,6 +456,9 @@ static void omap_sham_write_ctrl_omap4(struct omap_sham_dev *dd, size_t length,struct omap_sham_reqctx *ctx =ahash_request_ctx (dd->req);u32 val, mask; +if (likely (ctx->digcnt)) +omap_sham_write (dd,SHA_REG_DIGCNT (dd), ctx->digcnt); +/* * Setting ALGO_CONST only for the first iteration and * CLOSE_HASH only for the last one. Note that flags mode bits
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 124/633 media: rcar-csi2: Allocate v4l2_async_subdev dynamically
In reply to Greg Kroah-HartmanFrom: Laurent Pinchart <[email protected]>
[ Upstream commit 2cac7cbfb4099980e78244359ab9c6f056d6a7ec ]
v4l2_async_notifier_add_subdev() requires the asd to be allocated dynamically, but the rcar-csi2 driver embeds it in the rcar_csi2 structure. This causes memory corruption when the notifier is destroyed at remove time with v4l2_async_notifier_cleanup().
Fix this issue by registering the asd with v4l2_async_notifier_add_fwnode_subdev(), which allocates it dynamically internally.
--- drivers/media/platform/rcar-vin/rcar-csi2.c | 24 +++++++++------------ 1 file changed, 10 insertions(+), 14 deletions(-)
drivers/media/platform/rcar-vin/rcar-csi2.c +10 -14
@@ -361,7 +361,6 @@ struct rcar_csi2 {struct media_pad pads[NR_OF_RCAR_CSI2_PAD ];struct v4l2_async_notifier notifier; -struct v4l2_async_subdev asd;struct v4l2_subdev *remote;struct v4l2_mbus_framefmt mf;
@@ -810,6 +809,8 @@ static int rcsi2_parse_v4l2(struct rcar_csi2 *priv,static int rcsi2_parse_dt (struct rcar_csi2 *priv) { +struct v4l2_async_subdev *asd; +struct fwnode_handle *fwnode;struct device_node *ep;struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type =0 };int ret;
@@ -833,24 +834,19 @@ static int rcsi2_parse_dt(struct rcar_csi2 *priv)return ret; } - priv->asd.match.fwnode = -fwnode_graph_get_remote_endpoint (of_fwnode_handle (ep)); - priv->asd.match_type =V4L2_ASYNC_MATCH_FWNODE ; - + fwnode =fwnode_graph_get_remote_endpoint (of_fwnode_handle (ep));of_node_put (ep); -v4l2_async_notifier_init (&priv->notifier); - - ret =v4l2_async_notifier_add_subdev (&priv->notifier, &priv->asd); -if (ret) { -fwnode_handle_put (priv->asd.match.fwnode); -return ret; - } +dev_dbg (priv->dev,"Found '%pOF'\n" ,to_of_node (fwnode)); +v4l2_async_notifier_init (&priv->notifier); priv->notifier.ops = &rcar_csi2_notify_ops; -dev_dbg (priv->dev,"Found '%pOF'\n" , -to_of_node (priv->asd.match.fwnode)); + asd =v4l2_async_notifier_add_fwnode_subdev (&priv->notifier, fwnode, +sizeof (*asd)); +fwnode_handle_put (fwnode); +if (IS_ERR (asd)) +return PTR_ERR (asd); ret =v4l2_async_subdev_notifier_register (&priv->subdev, &priv->notifier);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 122/633 media: rcar_drif: Fix fwnode reference leak when parsing DT
In reply to Greg Kroah-HartmanFrom: Laurent Pinchart <[email protected]>
[ Upstream commit cdd4f7824994c9254acc6e415750529ea2d2cfe0 ]
The fwnode reference corresponding to the endpoint is leaked in an error path of the rcar_drif_parse_subdevs() function. Fix it, and reorganize fwnode reference handling in the function to release references early, simplifying error paths.
--- drivers/media/platform/rcar_drif.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-)
drivers/media/platform/rcar_drif.c +5 -11
@@ -1227,28 +1227,22 @@ static int rcar_drif_parse_subdevs(struct rcar_drif_sdr *sdr)if (!ep)return 0 ; +/* Get the endpoint properties */ +rcar_drif_get_ep_properties (sdr, ep); + fwnode =fwnode_graph_get_remote_port_parent (ep); +fwnode_handle_put (ep);if (!fwnode) {dev_warn (sdr->dev,"bad remote port parent\n" ); -fwnode_handle_put (ep);return -EINVAL ; } sdr->ep.asd.match.fwnode = fwnode; sdr->ep.asd.match_type =V4L2_ASYNC_MATCH_FWNODE ; ret =v4l2_async_notifier_add_subdev (notifier, &sdr->ep.asd); -if (ret) { -fwnode_handle_put (fwnode); -return ret; - } - -/* Get the endpoint properties */ -rcar_drif_get_ep_properties (sdr, ep); -fwnode_handle_put (fwnode); -fwnode_handle_put (ep); -return 0 ; +return ret; }/* Check if the given device is the primary bond */
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 119/633 media: i2c: ov5640: Remain in power down for DVP mode unless streaming
In reply to Greg Kroah-HartmanFrom: Lad Prabhakar <[email protected]>
[ Upstream commit 3b987d70e903962eb8c5961ba166c345a49d1a0b ]
Keep the sensor in software power down mode and wake up only in ov5640_set_stream_dvp() callback.
--- drivers/media/i2c/ov5640.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-)
drivers/media/i2c/ov5640.c +16 -3
@@ -34,6 +34,8 @@#define OV5640_REG_SYS_RESET02 0x3002#define OV5640_REG_SYS_CLOCK_ENABLE02 0x3006#define OV5640_REG_SYS_CTRL0 0x3008 +#define OV5640_REG_SYS_CTRL0_SW_PWDN 0x42 +#define OV5640_REG_SYS_CTRL0_SW_PWUP 0x02#define OV5640_REG_CHIP_ID 0x300a#define OV5640_REG_IO_MIPI_CTRL00 0x300e#define OV5640_REG_PAD_OUTPUT_ENABLE01 0x3017
@@ -1120,6 +1122,12 @@ static int ov5640_load_regs(struct ov5640_dev *sensor, val = regs->val; mask = regs->mask; +/* remain in power down mode for DVP */ +if (regs->reg_addr ==OV5640_REG_SYS_CTRL0 && + val ==OV5640_REG_SYS_CTRL0_SW_PWUP && + sensor->ep.bus_type !=V4L2_MBUS_CSI2_DPHY ) +continue ; +if (mask) ret =ov5640_mod_reg (sensor, reg_addr, mask, val);else
@@ -1297,9 +1305,14 @@ static int ov5640_set_stream_dvp(struct ov5640_dev *sensor, bool on)* PAD OUTPUT ENABLE 02 * - [7:2]: D[5:0] output enable */ -return ov5640_write_reg (sensor, -OV5640_REG_PAD_OUTPUT_ENABLE02 , - on ?0xfc :0 ); + ret =ov5640_write_reg (sensor,OV5640_REG_PAD_OUTPUT_ENABLE02 , + on ?0xfc :0 ); +if (ret) +return ret; + +return ov5640_write_reg (sensor,OV5640_REG_SYS_CTRL0 , on ? +OV5640_REG_SYS_CTRL0_SW_PWUP : +OV5640_REG_SYS_CTRL0_SW_PWDN ); }static int ov5640_set_stream_mipi (struct ov5640_dev *sensor,bool on)
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 120/633 media: i2c: ov5640: Separate out mipi configuration from s_power
In reply to Greg Kroah-HartmanFrom: Lad Prabhakar <[email protected]>
[ Upstream commit b1751ae652fb95919c08df5bdd739ccf9886158a ]
In preparation for adding DVP configuration in s_power callback move mipi configuration into separate function
--- drivers/media/i2c/ov5640.c | 116 +++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 56 deletions(-)
drivers/media/i2c/ov5640.c +60 -56
@@ -2014,6 +2014,61 @@ static void ov5640_set_power_off(struct ov5640_dev *sensor)clk_disable_unprepare (sensor->xclk); } +static int ov5640_set_power_mipi (struct ov5640_dev *sensor,bool on) +{ +int ret; + +if (!on) { +/* Reset MIPI bus settings to their default values. */ +ov5640_write_reg (sensor,OV5640_REG_IO_MIPI_CTRL00 ,0x58 ); +ov5640_write_reg (sensor,OV5640_REG_MIPI_CTRL00 ,0x04 ); +ov5640_write_reg (sensor,OV5640_REG_PAD_OUTPUT00 ,0x00 ); +return 0 ; + } + +/* +* Power up MIPI HS Tx and LS Rx; 2 data lanes mode +* +* 0x300e = 0x40 +* [7:5] = 010 : 2 data lanes mode (see FIXME note in +* "ov5640_set_stream_mipi()") +* [4] = 0 : Power up MIPI HS Tx +* [3] = 0 : Power up MIPI LS Rx +* [2] = 0 : MIPI interface disabled +*/ + ret =ov5640_write_reg (sensor,OV5640_REG_IO_MIPI_CTRL00 ,0x40 ); +if (ret) +return ret; + +/* +* Gate clock and set LP11 in 'no packets mode' (idle) +* +* 0x4800 = 0x24 +* [5] = 1 : Gate clock when 'no packets' +* [2] = 1 : MIPI bus in LP11 when 'no packets' +*/ + ret =ov5640_write_reg (sensor,OV5640_REG_MIPI_CTRL00 ,0x24 ); +if (ret) +return ret; + +/* +* Set data lanes and clock in LP11 when 'sleeping' +* +* 0x3019 = 0x70 +* [6] = 1 : MIPI data lane 2 in LP11 when 'sleeping' +* [5] = 1 : MIPI data lane 1 in LP11 when 'sleeping' +* [4] = 1 : MIPI clock lane in LP11 when 'sleeping' +*/ + ret =ov5640_write_reg (sensor,OV5640_REG_PAD_OUTPUT00 ,0x70 ); +if (ret) +return ret; + +/* Give lanes some time to coax into LP11 state. */ +usleep_range (500 ,1000 ); + +return 0 ; +} +static int ov5640_set_power (struct ov5640_dev *sensor,bool on) {int ret =0 ;
@@ -2026,67 +2081,16 @@ static int ov5640_set_power(struct ov5640_dev *sensor, bool on) ret =ov5640_restore_mode (sensor);if (ret) goto power_off; + } -/* We're done here for DVP bus, while CSI-2 needs setup. */ -if (sensor->ep.bus_type !=V4L2_MBUS_CSI2_DPHY ) -return 0 ; - -/* -* Power up MIPI HS Tx and LS Rx; 2 data lanes mode -* -* 0x300e = 0x40 -* [7:5] = 010 : 2 data lanes mode (see FIXME note in -* "ov5640_set_stream_mipi()") -* [4] = 0 : Power up MIPI HS Tx -* [3] = 0 : Power up MIPI LS Rx -* [2] = 0 : MIPI interface disabled -*/ - ret =ov5640_write_reg (sensor, -OV5640_REG_IO_MIPI_CTRL00 ,0x40 ); -if (ret) - goto power_off; - -/* -* Gate clock and set LP11 in 'no packets mode' (idle) -* -* 0x4800 = 0x24 -* [5] = 1 : Gate clock when 'no packets' -* [2] = 1 : MIPI bus in LP11 when 'no packets' -*/ - ret =ov5640_write_reg (sensor, -OV5640_REG_MIPI_CTRL00 ,0x24 ); -if (ret) - goto power_off; - -/* -* Set data lanes and clock in LP11 when 'sleeping' -* -* 0x3019 = 0x70 -* [6] = 1 : MIPI data lane 2 in LP11 when 'sleeping' -* [5] = 1 : MIPI data lane 1 in LP11 when 'sleeping' -* [4] = 1 : MIPI clock lane in LP11 when 'sleeping' -*/ - ret =ov5640_write_reg (sensor, -OV5640_REG_PAD_OUTPUT00 ,0x70 ); +if (sensor->ep.bus_type ==V4L2_MBUS_CSI2_DPHY ) { + ret =ov5640_set_power_mipi (sensor, on);if (ret) goto power_off; + } -/* Give lanes some time to coax into LP11 state. */ -usleep_range (500 ,1000 ); - - }else { -if (sensor->ep.bus_type ==V4L2_MBUS_CSI2_DPHY ) { -/* Reset MIPI bus settings to their default values. */ -ov5640_write_reg (sensor, -OV5640_REG_IO_MIPI_CTRL00 ,0x58 ); -ov5640_write_reg (sensor, -OV5640_REG_MIPI_CTRL00 ,0x04 ); -ov5640_write_reg (sensor, -OV5640_REG_PAD_OUTPUT00 ,0x00 ); - } - +if (!on)ov5640_set_power_off (sensor); - }return 0 ;
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 74/633 KVM: SVM: Initialize prev_ga_tag before use
In reply to Greg Kroah-HartmanFrom: Suravee Suthikulpanit <[email protected]>
commit f6426ab9c957e97418ac5b0466538792767b1738 upstream.
The function amd_ir_set_vcpu_affinity makes use of the parameter struct amd_iommu_pi_data.prev_ga_tag to determine if it should delete struct amd_iommu_pi_data from a list when not running in AVIC mode.
However, prev_ga_tag is initialized only when AVIC is enabled. The non-zero uninitialized value can cause unintended code path, which ends up making use of the struct vcpu_svm.ir_list and ir_list_lock without being initialized (since they are intended only for the AVIC case).
This triggers NULL pointer dereference bug in the function vm_ir_list_del with the following call trace:
svm_update_pi_irte+0x3c2/0x550 [kvm_amd]
? proc_create_single_data+0x41/0x50
kvm_arch_irq_bypass_add_producer+0x40/0x60 [kvm]
__connect+0x5f/0xb0 [irqbypass]
irq_bypass_register_producer+0xf8/0x120 [irqbypass]
vfio_msi_set_vector_signal+0x1de/0x2d0 [vfio_pci]
vfio_msi_set_block+0x77/0xe0 [vfio_pci]
vfio_pci_set_msi_trigger+0x25c/0x2f0 [vfio_pci]
vfio_pci_set_irqs_ioctl+0x88/0xb0 [vfio_pci]
vfio_pci_ioctl+0x2ea/0xed0 [vfio_pci]
? alloc_file_pseudo+0xa5/0x100
vfio_device_fops_unl_ioctl+0x26/0x30 [vfio]
? vfio_device_fops_unl_ioctl+0x26/0x30 [vfio]
__x64_sys_ioctl+0x96/0xd0
do_syscall_64+0x37/0x80
entry_SYSCALL_64_after_hwframe+0x44/0xa9Therefore, initialize prev_ga_tag to zero before use. This should be safe because ga_tag value 0 is invalid (see function avic_vm_init).
Message-Id: <[email protected]>
--- arch/x86/kvm/svm/avic.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/kvm/svm/avic.c +1 -0
@@ -868,6 +868,7 @@ int svm_update_pi_irte(struct kvm *kvm,* - Tell IOMMU to use legacy mode for this interrupt. * - Retrieve ga_tag of prior interrupt remapping data. */ + pi.prev_ga_tag =0 ; pi.is_guest_mode = false; ret =irq_set_vcpu_affinity (host_irq, &pi);
Greg Kroah-Hartman
maintainerPATCH 82/633 EDAC/i5100: Fix error handling order in i5100_init_one()
In reply to Greg Kroah-HartmanFrom: Dinghao Liu <[email protected]>
[ Upstream commit 857a3139bd8be4f702c030c8ca06f3fd69c1741a ]
When pci_get_device_func() fails, the driver doesn't need to execute pci_dev_put(). mci should still be freed, though, to prevent a memory leak. When pci_enable_device() fails, the error injection PCI device "einj" doesn't need to be disabled either.
[ bp: Massage commit message, rename label to "bail_mc_free". ]
--- drivers/edac/i5100_edac.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
drivers/edac/i5100_edac.c +5 -6
@@ -1061,16 +1061,15 @@ static int i5100_init_one(struct pci_dev *pdev, const struct pci_device_id *id) PCI_DEVICE_ID_INTEL_5100_19, 0);if (!einj) { ret = -ENODEV ; - goto bail_einj; + goto bail_mc_free; } rc =pci_enable_device (einj);if (rc <0 ) { ret = rc; - goto bail_disable_einj; + goto bail_einj; } - mci->pdev = &pdev->dev; priv = mci->pvt_info;
@@ -1136,14 +1135,14 @@ static int i5100_init_one(struct pci_dev *pdev, const struct pci_device_id *id) bail_scrub: priv->scrub_enable =0 ;cancel_delayed_work_sync (&(priv->i5100_scrubbing)); -edac_mc_free (mci); - -bail_disable_einj:pci_disable_device (einj); bail_einj:pci_dev_put (einj); +bail_mc_free: +edac_mc_free (mci); + bail_disable_ch1:pci_disable_device (ch1mm);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 137/633 media: tc358743: cleanup tc358743_cec_isr
In reply to Greg Kroah-HartmanFrom: Tom Rix <[email protected]>
[ Upstream commit 877cb8a444dad2304e891294afb0915fe3c278d6 ]
tc358743_cec_isr is misnammed, it is not the main isr. So rename it to be consistent with its siblings, tc358743_cec_handler.
It also does not check if its input parameter 'handled' is is non NULL like its siblings, so add a check.
--- drivers/media/i2c/tc358743.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
drivers/media/i2c/tc358743.c +7 -5
@@ -919,8 +919,8 @@ static const struct cec_adap_ops tc358743_cec_adap_ops = { .adap_monitor_all_enable = tc358743_cec_adap_monitor_all_enable, }; -static void tc358743_cec_isr (struct v4l2_subdev *sd,u16 intstatus, -bool *handled) +static void tc358743_cec_handler (struct v4l2_subdev *sd,u16 intstatus, +bool *handled) {struct tc358743_state *state =to_state (sd);unsigned int cec_rxint, cec_txint;
@@ -953,7 +953,8 @@ static void tc358743_cec_isr(struct v4l2_subdev *sd, u16 intstatus,cec_transmit_attempt_done (state->cec_adap,CEC_TX_STATUS_ERROR ); } - *handled = true; +if (handled) + *handled = true; }if ((intstatus &MASK_CEC_RINT ) && (cec_rxint &MASK_CECRIEND )) {
@@ -968,7 +969,8 @@ static void tc358743_cec_isr(struct v4l2_subdev *sd, u16 intstatus, msg.msg[i] = v &0xff ; }cec_received_msg (state->cec_adap, &msg); - *handled = true; +if (handled) + *handled = true; }i2c_wr16 (sd,INTSTATUS , intstatus & (MASK_CEC_RINT |MASK_CEC_TINT ));
@@ -1432,7 +1434,7 @@ static int tc358743_isr(struct v4l2_subdev *sd, u32 status, bool *handled)#ifdef CONFIG_VIDEO_TC358743_CEC if (intstatus & (MASK_CEC_RINT |MASK_CEC_TINT )) { -tc358743_cec_isr (sd, intstatus, handled); +tc358743_cec_handler (sd, intstatus, handled);i2c_wr16 (sd,INTSTATUS , intstatus & (MASK_CEC_RINT |MASK_CEC_TINT )); intstatus &= ~(MASK_CEC_RINT |MASK_CEC_TINT );
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 133/633 crypto: stm32/crc32 - Avoid lock if hardware is already used
In reply to Greg Kroah-HartmanFrom: Nicolas Toromanoff <[email protected]>
[ Upstream commit bbf2cb1ea1e1428589d7f4d652bed15b265ce92d ]
If STM32 CRC device is already in use, calculate CRC by software.
This will release CPU constraint for a concurrent access to the hardware, and avoid masking irqs during the whole block processing.
--- drivers/crypto/stm32/Kconfig | 1 + drivers/crypto/stm32/stm32-crc32.c | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-)
drivers/crypto/stm32/Kconfig +1 -0
@@ -3,6 +3,7 @@ config CRYPTO_DEV_STM32_CRC tristate "Support for STM32 crc accelerators" depends on ARCH_STM32 select CRYPTO_HASH + select CRC32 help This enables support for the CRC32 hw accelerator which can be found on STMicroelectronics STM32 SOC.
drivers/crypto/stm32/stm32-crc32.c +12 -3
@@ -6,6 +6,7 @@#include <linux/bitrev.h> #include <linux/clk.h> +#include <linux/crc32.h> #include <linux/crc32poly.h> #include <linux/module.h> #include <linux/mod_devicetable.h>
@@ -147,7 +148,6 @@ static int burst_update(struct shash_desc *desc, const u8 *d8,struct stm32_crc_desc_ctx *ctx =shash_desc_ctx (desc);struct stm32_crc_ctx *mctx =crypto_shash_ctx (desc->tfm);struct stm32_crc *crc; -unsigned long flags; crc =stm32_crc_get_next_crc ();if (!crc)
@@ -155,7 +155,15 @@ static int burst_update(struct shash_desc *desc, const u8 *d8,pm_runtime_get_sync (crc->dev); -spin_lock_irqsave (&crc->lock, flags); +if (!spin_trylock (&crc->lock)) { +/* Hardware is busy, calculate crc32 by software */ +if (mctx->poly ==CRC32_POLY_LE ) + ctx->partial =crc32_le (ctx->partial, d8, length); +else + ctx->partial =__crc32c_le (ctx->partial, d8, length); + + goto pm_out; + }/* * Restore previously calculated CRC for this context as init value
@@ -195,8 +203,9 @@ static int burst_update(struct shash_desc *desc, const u8 *d8,/* Store partial result */ ctx->partial =readl_relaxed (crc->regs +CRC_DR ); -spin_unlock_irqrestore (&crc->lock, flags); +spin_unlock (&crc->lock); +pm_out:pm_runtime_mark_last_busy (crc->dev);pm_runtime_put_autosuspend (crc->dev);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 83/633 EDAC/aspeed: Fix handling of platform_get_irq() error
In reply to Greg Kroah-HartmanFrom: Krzysztof Kozlowski <[email protected]>
[ Upstream commit afce6996943be265fa39240b67025cfcb1bcdfb1 ]
platform_get_irq() returns a negative error number on error. In such a case, comparison to 0 would pass the check therefore check the return value properly, whether it is negative.
[ bp: Massage commit message. ]
--- drivers/edac/aspeed_edac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/edac/aspeed_edac.c +2 -2
@@ -209,8 +209,8 @@ static int config_irq(void *ctx, struct platform_device *pdev)/* register interrupt handler */ irq =platform_get_irq (pdev,0 );dev_dbg (&pdev->dev,"got irq %d\n" , irq); -if (!irq) -return -ENODEV ; +if (irq <0 ) +return irq; rc =devm_request_irq (&pdev->dev, irq, mcr_isr,IRQF_TRIGGER_HIGH ,DRV_NAME , ctx);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 123/633 media: rcar_drif: Allocate v4l2_async_subdev dynamically
In reply to Greg Kroah-HartmanFrom: Laurent Pinchart <[email protected]>
[ Upstream commit 468e986dac0e94194334ca6d0abf3af8c250792e ]
v4l2_async_notifier_add_subdev() requires the asd to be allocated dynamically, but the rcar-drif driver embeds it in the rcar_drif_graph_ep structure. This causes memory corruption when the notifier is destroyed at remove time with v4l2_async_notifier_cleanup().
Fix this issue by registering the asd with v4l2_async_notifier_add_fwnode_subdev(), which allocates it dynamically internally.
--- drivers/media/platform/rcar_drif.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)
drivers/media/platform/rcar_drif.c +6 -12
@@ -185,7 +185,6 @@ struct rcar_drif_frame_buf {/* OF graph endpoint's V4L2 async data */ struct rcar_drif_graph_ep {struct v4l2_subdev *subdev;/* Async matched subdev */ -struct v4l2_async_subdev asd;/* Async sub-device descriptor */ };/* DMA buffer */
@@ -1109,12 +1108,6 @@ static int rcar_drif_notify_bound(struct v4l2_async_notifier *notifier,struct rcar_drif_sdr *sdr = container_of(notifier, struct rcar_drif_sdr, notifier); -if (sdr->ep.asd.match.fwnode != -of_fwnode_handle (subdev->dev->of_node)) { -rdrif_err (sdr,"subdev %s cannot bind\n" , subdev->name); -return -EINVAL ; - } -v4l2_set_subdev_hostdata (subdev, sdr); sdr->ep.subdev = subdev;rdrif_dbg (sdr,"bound asd %s\n" , subdev->name);
@@ -1218,7 +1211,7 @@ static int rcar_drif_parse_subdevs(struct rcar_drif_sdr *sdr) {struct v4l2_async_notifier *notifier = &sdr->notifier;struct fwnode_handle *fwnode, *ep; -int ret; +struct v4l2_async_subdev *asd;v4l2_async_notifier_init (notifier);
@@ -1237,12 +1230,13 @@ static int rcar_drif_parse_subdevs(struct rcar_drif_sdr *sdr)return -EINVAL ; } - sdr->ep.asd.match.fwnode = fwnode; - sdr->ep.asd.match_type =V4L2_ASYNC_MATCH_FWNODE ; - ret =v4l2_async_notifier_add_subdev (notifier, &sdr->ep.asd); + asd =v4l2_async_notifier_add_fwnode_subdev (notifier, fwnode, +sizeof (*asd));fwnode_handle_put (fwnode); +if (IS_ERR (asd)) +return PTR_ERR (asd); -return ret; +return 0 ; }/* Check if the given device is the primary bond */
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 104/633 crypto: ixp4xx - Fix the size used in a dma_free_coherent() call
In reply to Greg Kroah-HartmanFrom: Christophe JAILLET <[email protected]>
[ Upstream commit f7ade9aaf66bd5599690acf0597df2c0f6cd825a ]
Update the size used in 'dma_free_coherent()' in order to match the one used in the corresponding 'dma_alloc_coherent()', in 'setup_crypt_desc()'.
--- drivers/crypto/ixp4xx_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/ixp4xx_crypto.c +1 -1
@@ -528,7 +528,7 @@ static void release_ixp_crypto(struct device *dev)if (crypt_virt) {dma_free_coherent (dev, -NPE_QLEN_TOTAL *sizeof (struct crypt_ctl ), +NPE_QLEN *sizeof (struct crypt_ctl ), crypt_virt, crypt_phys); } }
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 103/633 crypto: mediatek - Fix wrong return value in mtk_desc_ring_alloc()
In reply to Greg Kroah-HartmanFrom: Tianjia Zhang <[email protected]>
[ Upstream commit 8cbde6c6a6d2b1599ff90f932304aab7e32fce89 ]
In case of memory allocation failure, a negative error code should be returned.
--- drivers/crypto/mediatek/mtk-platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/mediatek/mtk-platform.c +2 -2
@@ -442,7 +442,7 @@ static void mtk_desc_dma_free(struct mtk_cryp *cryp)static int mtk_desc_ring_alloc (struct mtk_cryp *cryp) {struct mtk_ring **ring = cryp->ring; -int i, err =ENOMEM ; +int i;for (i =0 ; i <MTK_RING_MAX ; i++) { ring[i] =kzalloc (sizeof (**ring),GFP_KERNEL );
@@ -476,7 +476,7 @@ static int mtk_desc_ring_alloc(struct mtk_cryp *cryp) ring[i]->cmd_base, ring[i]->cmd_dma);kfree (ring[i]); } -return err; +return -ENOMEM ; }static int mtk_crypto_probe (struct platform_device *pdev)
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 102/633 crypto: algif_skcipher - EBUSY on aio should be an error
In reply to Greg Kroah-HartmanFrom: Herbert Xu <[email protected]>
[ Upstream commit 2a05b029c1ee045b886ebf9efef9985ca23450de ]
I removed the MAY_BACKLOG flag on the aio path a while ago but the error check still incorrectly interpreted EBUSY as success. This may cause the submitter to wait for a request that will never complete.
--- crypto/algif_skcipher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/algif_skcipher.c +1 -1
@@ -123,7 +123,7 @@ static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,crypto_skcipher_decrypt (&areq->cra_u.skcipher_req);/* AIO operation in progress */ -if (err == -EINPROGRESS || err == -EBUSY ) +if (err == -EINPROGRESS )return -EIOCBQUEUED ;sock_put (sk);
Signature · 1 line
2.25.1
Greg Kroah-Hartman
maintainerPATCH 77/633 crypto: caam/qi - add fallback for XTS with more than 8B IV
In reply to Greg Kroah-HartmanFrom: Andrei Botila <[email protected]>
commit 83e8aa9121380b23ebae6e413962fa2a7b52cf92 upstream.
A hardware limitation exists for CAAM until Era 9 which restricts the accelerator to IVs with only 8 bytes. When CAAM has a lower era a fallback is necessary to process 16 bytes IV.
--- drivers/crypto/caam/Kconfig | 1 drivers/crypto/caam/caamalg_qi.c | 70 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 67 insertions(+), 4 deletions(-)
drivers/crypto/caam/Kconfig +1 -0
@@ -114,6 +114,7 @@ config CRYPTO_DEV_FSL_CAAM_CRYPTO_API_QI select CRYPTO_AUTHENC select CRYPTO_SKCIPHER select CRYPTO_DES + select CRYPTO_XTS help Selecting this will use CAAM Queue Interface (QI) for sending & receiving crypto jobs to/from CAAM. This gives better performance
drivers/crypto/caam/caamalg_qi.c +66 -4
131 lines not on this page · raw message
Greg Kroah-Hartman
maintainerPATCH 101/633 perf/core: Fix race in the perf_mmap_close() function
In reply to Greg Kroah-HartmanFrom: Jiri Olsa <[email protected]>
[ Upstream commit f91072ed1b7283b13ca57fcfbece5a3b92726143 ]
There's a possible race in perf_mmap_close() when checking ring buffer's mmap_count refcount value. The problem is that the mmap_count check is not atomic because we call atomic_dec() and atomic_read() separately.
perf_mmap_close:
...
atomic_dec(&rb->mmap_count);
...
if (atomic_read(&rb->mmap_count))
goto out_put; <ring buffer detach>
free_uid
out_put:
ring_buffer_put(rb); /* could be last */
The race can happen when we have two (or more) events sharing same ring buffer and they go through atomic_dec() and then they both see 0 as refcount value later in atomic_read(). Then both will go on and execute code which is meant to be run just once.
The code that detaches ring buffer is probably fine to be executed more than once, but the problem is in calling free_uid(), which will later on demonstrate in related crashes and refcount warnings, like:
refcount_t: addition on 0; use-after-free.
...
RIP: 0010:refcount_warn_saturate+0x6d/0xf ... Call Trace: prepare_creds+0x190/0x1e0 copy_creds+0x35/0x172 copy_process+0x471/0x1a80 _do_fork+0x83/0x3a0 __do_sys_wait4+0x83/0x90 __do_sys_clone+0x85/0xa0 do_syscall_64+0x5b/0x1e0 entry_SYSCALL_64_after_hwframe+0x44/0xa9
Using atomic decrease and check instead of separated calls.
--- kernel/events/core.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
kernel/events/core.c +4 -3
@@ -5852,11 +5852,11 @@ static void perf_pmu_output_stop(struct perf_event *event);static void perf_mmap_close (struct vm_area_struct *vma) {struct perf_event *event = vma->vm_file->private_data; -struct perf_buffer *rb =ring_buffer_get (event);struct user_struct *mmap_user = rb->mmap_user;int mmap_locked = rb->mmap_locked;unsigned long size =perf_data_size (rb); +bool detach_rest = false;if (event->pmu->event_unmapped) event->pmu->event_unmapped (event, vma->vm_mm);
@@ -5887,7 +5887,8 @@ static void perf_mmap_close(struct vm_area_struct *vma)mutex_unlock (&event->mmap_mutex); } -atomic_dec (&rb->mmap_count); +if (atomic_dec_and_test (&rb->mmap_count)) + detach_rest = true;if (!atomic_dec_and_mutex_lock (&event->mmap_count, &event->mmap_mutex)) goto out_put;
@@ -5896,7 +5897,7 @@ static void perf_mmap_close(struct vm_area_struct *vma)mutex_unlock (&event->mmap_mutex);/* If there's still other mmap()s of this buffer, we're done. */ -if (atomic_read (&rb->mmap_count)) +if (!detach_rest) goto out_put;/*
Signature · 1 line
2.25.1
hello,
Compiled and booted 5.8.17-rc1+.
Looks like no typical regression or regressions.
Quoted 2,597 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.8.17 release. There are 633 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu, 29 Oct 2020 13:53:43 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.8.17-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.8.y
and the diffstat can be found below.thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:Greg Kroah-Hartman <[email protected]>
Linux 5.8.17-rc1Lorenzo Colitti <[email protected]>
usb: gadget:f_ncm: allow using NCM in SuperSpeed Plus gadgets.Christian Eggers <[email protected]>
eeprom: at25: set minimum read/write access stride to 1Peter Chen <[email protected]>
usb: cdns3: gadget: free interrupt after gadget has deletedOliver Neukum <[email protected]>
USB: cdc-wdm: Makewdm_flush()interruptible and addwdm_fsync().Vincent Mailhol <[email protected]>
usb: cdc-acm: add quirk to blacklist ETAS ES58X devicesChunfeng Yun <[email protected]>
usb: gadget:bcm63xx_udc: fix up the error of undeclaredusb_debug_rootPeng Fan <[email protected]>
tty: serial:fsl_lpuart: fixlpuart32_poll_get_charPeng Fan <[email protected]>
tty: serial: lpuart: fixlpuart32_writeusageJulian Wiedmann <[email protected]>
s390/qeth: don't let HW override the configured port roleValentin Vidic <[email protected]>
net: korina: cast KSEG0 address to pointer in kfreeZekun Shen <[email protected]>
ath10k: check idx validity in__ath10k_htt_rx_ring_fill_n()Serge Semin <[email protected]>
dmaengine: dw: Activate FIFO-mode for memory peripherals onlySerge Semin <[email protected]>
dmaengine: dw: Add DMA-channels mask cell supportQingqing Zhuo <[email protected]>
drm/amd/display: Screen corruption on dual displays (DP+USB-C)Can Guo <[email protected]>
scsi: ufs: ufs-qcom: Fix race conditions caused byufs_qcom_testbus_config()Eli Billauer <[email protected]>
usb: core: Solve race condition in anchor cleanup functionsWang Yufen <[email protected]>
brcm80211: fix possible memleak inbrcmf_proto_msgbuf_attachKevin Barnett <[email protected]>
scsi: smartpqi: Avoid crashing kernel for controller issuesSathyanarayana Nujella <[email protected]>
ASoC: Intel: sof_rt5682: override quirk data for tgl_max98373_rt5682Sathyanarayana Nujella <[email protected]>
ASoC: SOF: Add topology filename override based on dmi data matchConnor McAdams <[email protected]>
ALSA: hda/ca0132 - Add new quirk ID for SoundBlaster AE-7.Connor McAdams <[email protected]>
ALSA: hda/ca0132 - Add AE-7 microphone selection commands.Tetsuo Handa <[email protected]>
mwifiex: don't calldel_timer_sync()on uninitialized timerJulian Wiedmann <[email protected]>
s390/qeth: strictly order bridge address eventsJan Kara <[email protected]>
reiserfs: Fix memory leak inreiserfs_parse_options()Peilin Ye <[email protected]>
ipvs: Fix uninit-value indo_ip_vs_set_ctl()Dinghao Liu <[email protected]>
Bluetooth: btusb: Fix memleak inbtusb_mtk_submit_wmt_recv_urbTong Zhang <[email protected]>
tty: ipwireless: fix error handlingGeorge Kennedy <[email protected]>
fbmem: add margin check tofb_check_caps()Nilesh Javali <[email protected]>
scsi: qedi: Fixlist_delcorruption while removing active I/ONilesh Javali <[email protected]>
scsi: qedi: Protect active command list to avoid list corruptionNilesh Javali <[email protected]>
scsi: qedi: Mark all connections for recovery on link down eventSaurav Kashyap <[email protected]>
scsi: qedf: Return SUCCESS if stale rport is encounteredHans de Goede <[email protected]>
HID: ite: Add USB id match for Acer One S1003 keyboard dockDoug Horn <[email protected]>
Fix use after free inget_capset_infocallback.Chris Chiu <[email protected]>
rtl8xxxu: prevent potential memory leakKeita Suzuki <[email protected]>
brcmsmac: fix memory leak inwlc_phy_attach_lcnphyYonghong Song <[email protected]>
selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang changeDaniel Wagner <[email protected]>
scsi: qla2xxx: Warn ifdone()orfree()are called on an already freed srbJing Xiangfeng <[email protected]>
scsi: ibmvfc: Fix error return inibmvfc_probe()Qian Cai <[email protected]>
iomap: fixWARN_ON_ONCE()from unprivileged usersZhenzhong Duan <[email protected]>
drm/msm/a6xx: fix a potential overflow issueAbhishek Pandit-Subedi <[email protected]>
Bluetooth: Only mark socket zapped after unlockingJia Yang <[email protected]>
drm: fix double free for gbo indrm_gem_vram_initanddrm_gem_vram_createHamish Martin <[email protected]>
usb: ohci: Default to per-port over-current protectionDarrick J. Wong <[email protected]>
xfs: make sure the rt allocator doesn't run off the endViresh Kumar <[email protected]>
opp: Prevent memory leak indev_pm_opp_attach_genpd()Eric Biggers <[email protected]>
reiserfs: only callunlock_new_inode()ifI_NEWKeita Suzuki <[email protected]>
misc: rtsx: Fix memory leak inrtsx_pci_probeMaciej Fijalkowski <[email protected]>
bpf: Limit caller's stack depth 256 for subprogs with tailcallsNeil Armstrong <[email protected]>
drm/panfrost: add support for vendor quirkNeil Armstrong <[email protected]>
drm/panfrost: add amlogic reset quirk callbackNeil Armstrong <[email protected]>
drm/panfrost: add Amlogic GPU integration quirksBrooke Basile <[email protected]>
ath9k:hif_usb: fix race condition betweenusb_get_urb()andusb_kill_anchored_urbs()Mikael Wikström <[email protected]>
HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttonsJoakim Zhang <[email protected]>
can: flexcan:flexcan_chip_stop(): add error handling and propagate error valueOded Gabbay <[email protected]>
habanalabs: cast to u64 before shift > 31 bitsMauro Carvalho Chehab <[email protected]>
usb: dwc3: simple: add support for Hikey 970Johan Hovold <[email protected]>
USB: cdc-acm: handle broken union descriptorsAlan Maguire <[email protected]>
selftests/bpf: Fix overflow tests to reflect iter size increaseTzu-En Huang <[email protected]>
rtw88: increse the size of rx buffer sizeJan Kara <[email protected]>
udf: Avoid accessing uninitialized data on failed inode readJan Kara <[email protected]>
udf: Limit sparing table sizeKai-Heng Feng <[email protected]>
rtw88: pci: Power cycle device during shutdownZqiang <[email protected]>
usb: gadget: function: printer: fix use-after-free in__lock_acquireYu Chen <[email protected]>
usb: dwc3: Add splitdisable quirk for Hisilicon Kirin SocSherry Sun <[email protected]>
misc: vop: addround_up(x,4)forvring_sizeto avoid kernel panicSherry Sun <[email protected]>
mic: vop: copy data to kernel space then write to io memoryRoman Bolshakov <[email protected]>
scsi: target: core: Add CONTROL field for trace eventsJing Xiangfeng <[email protected]>
scsi: mvumi: Fix error return inmvumi_io_attach()Christoph Hellwig <[email protected]>
PM: hibernate: remove the bogus call toget_gendisk()insoftware_resume()Song Liu <[email protected]>
bpf: Useraw_spin_trylock()for pcpu_freelist_push/pop in NMIHangbin Liu <[email protected]>
libbpf: Close map fd if init map slots failedJérôme Pouiller <[email protected]>
staging: wfx: fix handling of MMIC errorThomas Pedersen <[email protected]>
mac80211: handle lack of sband->bitrates in ratesCong Wang <[email protected]>
ip_gre: set dev->hard_header_len and dev->needed_headroom properlyRustam Kovhaev <[email protected]>
ntfs: add check for mft record size in superblockDinghao Liu <[email protected]>
media: venus: core: Fix runtime PM imbalance invenus_probeRajendra Nayak <[email protected]>
media: venus: core: Fix error handling in probeAlexander Aring <[email protected]>
fs: dlm: fix configfs memory leakVikash Garodia <[email protected]>
media: venus: fixes for list corruptionDinghao Liu <[email protected]>
media: atomisp: fix memleak inia_css_stream_createMauro Carvalho Chehab <[email protected]>
media: saa7134: avoid a shift overflowPali Rohár <[email protected]>
mmc: sdio: Check forCISTPL_VERS_1buffer sizeAdam Goode <[email protected]>
media: uvcvideo: Ensure all probed info is returned to v4l2Borislav Petkov <[email protected]>
x86/mce: Makemce_rdmsrl()panic on an inaccessible MSRBrad Bishop <[email protected]>
spi: fsi: Fix clock running too fastLongfang Liu <[email protected]>
crypto: hisilicon - fixed memory allocation errorBorislav Petkov <[email protected]>
x86/mce: Annotate mce_rd/wrmsrl() with noinstrXiaolong Huang <[email protected]>
media: media/pci: prevent memory leak inbttv_probeDinghao Liu <[email protected]>
media: bdisp: Fix runtime PM imbalance on errorDinghao Liu <[email protected]>
media: platform: sti: hva: Fix runtime PM imbalance on errorDinghao Liu <[email protected]>
media: platform: s3c-camif: Fix runtime PM imbalance on errorDinghao Liu <[email protected]>
media: vsp1: Fix runtime PM imbalance on errorQiushi Wu <[email protected]>
media: exynos4-is: Fix a reference count leakQiushi Wu <[email protected]>
media: exynos4-is: Fix a reference count leak due topm_runtime_get_syncQiushi Wu <[email protected]>
media: exynos4-is: Fix several reference count leaks due topm_runtime_get_syncQiushi Wu <[email protected]>
media: sti: Fix reference count leaksAditya Pakki <[email protected]>
media: st-delta: Fix reference count leak indelta_run_workOliver Neukum <[email protected]>
media:ati_remote: sanity check for both endpointsPavel Machek <[email protected]>
media: firewire: fix memory leakBorislav Petkov <[email protected]>
x86/mce: Add Skylake quirk for patrol scrub reported errorsArvind Sankar <[email protected]>
x86/asm: Replace__force_orderwith a memory clobberPavel Machek <[email protected]>
crypto: ccp - fix error handlingMark Mossberg <[email protected]>
x86/dumpstack: Fix misleading instruction pointer error messageTetsuo Handa <[email protected]>
block: ratelimithandle_bad_sector()messageZhao Heming <[email protected]>
md/bitmap: fix memory leak of temporary bitmapHans de Goede <[email protected]>
i2c: core: Restoreacpi_walk_dep_device_list()getting called after registering the ACPI i2c devsAl Grant <[email protected]>
perf: correct SNOOPX field offsetJuri Lelli <[email protected]>
sched/features: Fix !CONFIG_JUMP_LABEL caseDinghao Liu <[email protected]>
ntb: intel: Fix memleak inintel_ntb_pci_probeKaige Li <[email protected]>
NTB: hw: amd: fix an issue about leak system resourcesVitaly Kuznetsov <[email protected]>
KVM: ioapic: break infinite recursion on lazy EOIzhenwei pi <[email protected]>
nvmet: fix uninitialized work for zero katoGanesh Goudar <[email protected]>
powerpc/pseries: Avoid usingaddr_to_pfnin real modeVasant Hegde <[email protected]>
powerpc/powernv/dump: Fix race while processing OPAL dumpColin Ian King <[email protected]>
lightnvm: fix out-of-bounds write to array devices->info[]Martin Blumenstingl <[email protected]>
ARM: dts: meson8: remove two invalid interrupt lines from the GPU nodeMichal Simek <[email protected]>
arm64: dts: zynqmp: Remove additional compatible string for i2c IPsDennis YC Hsieh <[email protected]>
drm/mediatek: reduce clear eventDennis YC Hsieh <[email protected]>
soc: mediatek: cmdq: add clear option incmdq_pkt_wfeapiBiju Das <[email protected]>
ARM: dts: iwg20d-q7-common: Fix touch controller probe failureMarek Vasut <[email protected]>
ARM: dts: stm32: Fix DH PDK2 display PWM channelMarek Vasut <[email protected]>
ARM: dts: stm32: Swap PHY reset GPIO and TSC2004 IRQ on DHCOM SOMMarek Vasut <[email protected]>
ARM: dts: stm32: Move ethernet PHY into DH SoM DTHolger Assmann <[email protected]>
ARM: dts: stm32: lxa-mc1: Fix kernel warning about PHY delaysMarek Vasut <[email protected]>
ARM: dts: stm32: Fix sdmmc2 pins on AV96Tony Lindgren <[email protected]>
ARM: OMAP2+: Restore MPU power domain ifcpu_cluster_pm_enter()failsKrzysztof Kozlowski <[email protected]>
soc: fsl: qbman: Fix return value on successCristian Ciocaltea <[email protected]>
ARM: dts: owl-s500: Fix incorrect PPI interrupt specifiersAmit Singh Tomar <[email protected]>
arm64: dts: actions: limit address range for pinctrl nodeHsin-Yi Wang <[email protected]>
arm64: dts: mt8173: elm: Fixnor_flashnode propertyGeert Uytterhoeven <[email protected]>
arm64: dts: renesas: r8a774c0: Fix MSIOF1 DMA channelsGeert Uytterhoeven <[email protected]>
arm64: dts: renesas: r8a77990: Fix MSIOF1 DMA channelsCorentin Labbe <[email protected]>
dt-bindings: crypto: Specify that allwinner, sun8i-a33-crypto needs resetSibi Sankar <[email protected]>
soc: qcom: apr: Fixup the error displayed on lookup failureStephan Gerhold <[email protected]>
arm64: dts: qcom: msm8916: Fix MDP/DSI interruptsStephan Gerhold <[email protected]>
arm64: dts: qcom: pm8916: Remove invalid reg size fromwcd_codecStephan Gerhold <[email protected]>
arm64: dts: qcom: msm8916: Remove one more thermal trip point unit nameSibi Sankar <[email protected]>
soc: qcom: pdr: Fixup array type ofget_domain_list_respmessageStephen Boyd <[email protected]>
arm64: dts: qcom: sc7180: Drop flags on mdss irqsKrzysztof Kozlowski <[email protected]>
arm64: dts: imx8mq: Add missing interrupts to GPCSudeep Holla <[email protected]>
firmware:arm_scmi: Fix NULL pointer dereference inmailbox_chan_freeKrzysztof Kozlowski <[email protected]>
memory: fsl-corenet-cf: Fix handling ofplatform_get_irq()errorSai Prakash Ranjan <[email protected]>
arm64: dts: qcom: sc7180: Fix the LLCC base register sizeYueHaibing <[email protected]>
memory: omap-gpmc: Fix build error withoutCONFIG_OFDan Carpenter <[email protected]>
memory: omap-gpmc: Fix a couple off by onesQiang Yu <[email protected]>
arm64: dts: allwinner: h5: remove Mali GPU PMU moduleJernej Skrabec <[email protected]>
ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix dcdc1 regulatorArnd Bergmann <[email protected]>
ARM: s3c24xx: fix mmc gpio lookup tablesClaudiu Beznea <[email protected]>
ARM: at91: pm:of_node_put()after its usageHoria Geantă <[email protected]>
ARM: dts: imx6sl: fix rng nodeJerome Brunet <[email protected]>
arm64: dts: meson: vim3: correct led polarityDan Carpenter <[email protected]>
soc: xilinx: Fix error code inzynqmp_pm_probe()Pablo Neira Ayuso <[email protected]>
netfilter:nf_fwd_netdev: clear timestamp in forwarding pathArd Biesheuvel <[email protected]>
netsec: ignore 'phy-mode' device property on ACPI systemsTimothée COCAULT <[email protected]>
netfilter: ebtables: Fixes dropping of small packets in bridge natFrancesco Ruggeri <[email protected]>
netfilter: conntrack: connection timeout after re-registerArd Biesheuvel <[email protected]>
arm64: mm: use single quantity to represent the PA to VA translationJing Xiangfeng <[email protected]>
scsi: bfa: Fix error return inbfad_pci_init()Robert Hoo <[email protected]>
KVM: x86: emulating RDPID failure shall return #UD rather than #GPKrzysztof Kozlowski <[email protected]>
Input: sun4i-ps2 - fix handling ofplatform_get_irq()errorKrzysztof Kozlowski <[email protected]>
Input:twl4030_keypad- fix handling ofplatform_get_irq()errorKrzysztof Kozlowski <[email protected]>
Input: omap4-keypad - fix handling ofplatform_get_irq()errorKrzysztof Kozlowski <[email protected]>
Input:ep93xx_keypad- fix handling ofplatform_get_irq()errorYueHaibing <[email protected]>
Input: stmfts - fix a & vs && typoDan Carpenter <[email protected]>
Input:imx6ul_tsc- clean up some errors inimx6ul_tsc_resume()Johnny Chuang <[email protected]>
Input:elants_i2c- fix typo for an attribute to show calibration countGwendal Grignou <[email protected]>
platform/chrome:cros_ec_lightbar: Reduce ligthbar get version commandMartijn de Gouw <[email protected]>
SUNRPC: fix copying of multiple pages ingss_read_proxy_verf()Abel Vesa <[email protected]>
clk: imx8mq: Fix usdhc parents orderXiaoyang Xu <[email protected]>
vfio iommu type1: Fix memory leak invfio_iommu_type1_pin_pagesAlex Williamson <[email protected]>
vfio/pci: Clear token on bypass registration failureDarrick J. Wong <[email protected]>
ext4: limit entries returned when counting fsmap recordsXiao Yang <[email protected]>
ext4: disallow modifying DAX inode flag ifinline_datahas been setJan Kara <[email protected]>
ext4: discard preallocations before releasing group lockYe Bin <[email protected]>
ext4: fix dead loop inext4_mb_new_blocksDan Aloni <[email protected]>
svcrdma: fix bounce buffers for unaligned offsets and multiple pagesGuenter Roeck <[email protected]>
watchdog: sp5100: Fix definition ofEFCH_PM_DECODEEN3Dinghao Liu <[email protected]>
watchdog: Useput_deviceon errorDinghao Liu <[email protected]>
watchdog: Fix memleak inwatchdog_cdev_registerMasahiro Yamada <[email protected]>
kbuild: deb-pkg: do not build linux-headers package ifCONFIG_MODULES=nNavid Emamdoost <[email protected]>
clk: bcm2835: add missing release ifdevm_clk_hw_registerfailsClaudiu Beznea <[email protected]>
clk: at91: clk-main: update key before writingAT91_CKGR_MORDaniel Jordan <[email protected]>
module: statically initialize init section freeing dataHanks Chen <[email protected]>
clk: mediatek: add UART0 clock supportStephen Boyd <[email protected]>
clk: rockchip: Initialize hw to error to avoid undefined behaviorDexuan Cui <[email protected]>
PCI: hv: Fix hibernation in case interrupts are not re-createdColin Ian King <[email protected]>
remoteproc/mediatek: fix null pointer dereference on null scp pointerHauke Mehrtens <[email protected]>
pwm: img: Fix null pointer access in probeSimon South <[email protected]>
pwm: rockchip: Keep enabled PWMs running while probingTero Kristo <[email protected]>
clk: keystone: sci-clk: fix parsing assigned-clock data during probeKonrad Dybcio <[email protected]>
clk: qcom: gcc-sdm660: Fix wrongparent_mapYan Zhao <[email protected]>
vfio/type1: fix dirty bitmap calculation invfio_dma_rwYan Zhao <[email protected]>
vfio: fix a missed vfio group put invfio_pin_pagesMatthew Rosato <[email protected]>
vfio/pci: DecouplePCI_COMMAND_MEMORYbit checks fromis_virtfnMatthew Rosato <[email protected]>
s390/pci: Mark all VFs as not implementingPCI_COMMAND_MEMORYYan Zhao <[email protected]>
vfio: add a singleton check forvfio_group_pin_pagesMatthew Rosato <[email protected]>
PCI/IOV: Mark VFs as not implementingPCI_COMMAND_MEMORYNicolas Boichat <[email protected]>
rpmsg: Avoid double-free inmtk_rpmsg_register_deviceDan Carpenter <[email protected]>
rpmsg: smd: Fix a kobj leak in inqcom_smd_parse_edge()Mark Tomlinson <[email protected]>
PCI: iproc: Set affinity mask on MSI interruptsPali Rohár <[email protected]>
PCI: aardvark: Check for errors frompci_bridge_emul_init()callPali Rohár <[email protected]>
PCI: aardvark: Fix compilation on s390Hou Zhiqiang <[email protected]>
PCI: designware-ep: Fix the Header Type checkStefan Agner <[email protected]>
clk: meson: g12a: markfclk_div2as criticalDirk Behme <[email protected]>
i2c: rcar: Auto selectRESET_CONTROLLERChris Packham <[email protected]>
rtc: ds1307: Clear OSF flag on DS1388 when setting timeJerome Brunet <[email protected]>
clk: meson: axg-audio: separate axg and g12a regmap tablesJassi Brar <[email protected]>
mailbox: avoid timer start from callbackJing Xiangfeng <[email protected]>
rapidio: fix the missedput_device()forrio_mport_add_riodevSouptick Joarder <[email protected]>
rapidio: fix error handling pathMatthew Wilcox (Oracle) <[email protected]>
ramfs: fix nommu mmap with gaps in the page cacheTobias Jordan <[email protected]>
lib/crc32.c: fix trivial typo in preprocessor conditionMatthew Wilcox (Oracle) <[email protected]>
mm/page_owner: changesplit_page_ownerto take a countBob Pearson <[email protected]>
RDMA/rxe: Handleskb_clone()failure inrxe_recv.cDavid Howells <[email protected]>
afs: Fix cell removalDavid Howells <[email protected]>
afs: Fix cell purging with aliasesDavid Howells <[email protected]>
afs: Fix cell refcounting by splitting the usage counterDavid Howells <[email protected]>
afs: Fix rapid cell addition/removal by not using RCU on cells treeJamie Iles <[email protected]>
f2fs: wait for sysfs kobject removal before freeingf2fs_sb_infoOliver O'Halloran <[email protected]>
selftests/powerpc: Fixeeh-basic.shexit codesJiri Slaby <[email protected]>
perf trace: Fix off by ones inmemset()afterrealloc()in arches using libauditKrzysztof Kozlowski <[email protected]>
maiblox: mediatek: Fix handling ofplatform_get_irq()errorJohannes Berg <[email protected]>
um: time-travel: Fix IRQ handling intime_travel_handle_message()Tiezhu Yang <[email protected]>
um: vector: UseGFP_ATOMICunder spin lockEric Biggers <[email protected]>
f2fs: reject CASEFOLD inode flag without casefold featureBob Pearson <[email protected]>
RDMA/rxe: Fix skb lifetime inrxe_rcv_mcast_pkt()Colin Ian King <[email protected]>
IB/rdmavt: Fix sizeof mismatchSrikar Dronamraju <[email protected]>
cpufreq: powernv: Fix frame-size-overflow inpowernv_cpufreq_reboot_notifierVaibhav Jain <[email protected]>
powerpc/papr_scm: Add PAPR command family to pass-through command-setJing Xiangfeng <[email protected]>
i3c: master: Fix error return incdns_i3c_master_probe()Namhyung Kim <[email protected]>
perf stat: Fix out of bounds CPU map access when handlingarmv8_pmueventsKajol Jain <[email protected]>
powerpc/perf/hv-gpci: Fix starting index valueAthira Rajeev <[email protected]>
powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraintsNicholas Piggin <[email protected]>
powerpc/64: fix irq replay pt_regs->softe valueNicholas Piggin <[email protected]>
powerpc/64: fix irq replay missing preemptKamal Heib <[email protected]>
RDMA/ipoib: Setrtnl_link_opsfor ipoib interfacesLeon Romanovsky <[email protected]>
overflow: Include header file withSIZE_MAXdeclarationDaniel Thompson <[email protected]>
kdb: Fix pager search for multi-line stringsJanusz Krzysztofik <[email protected]>
mtd: rawnand: ams-delta: Fix non-OF build warningHauke Mehrtens <[email protected]>
mtd: spinand: gigadevice: Add QE BitHauke Mehrtens <[email protected]>
mtd: spinand: gigadevice: Only one dummy byte in QUADIOEvgeny Novikov <[email protected]>
mtd: rawnand: vf610: disable clk on error handling path in probeChristophe Kerello <[email protected]>
mtd: rawnand:stm32_fmc2: fix a buffer overflowVignesh Raghavendra <[email protected]>
mtd: hyperbus: hbmc-am654: Fix direct mapping setup flash accessWeihang Li <[email protected]>
RDMA/hns: Fix missingsq_sig_typewhen querying QPWeihang Li <[email protected]>
RDMA/hns: Fix configuration ofack_req_freqin QPCWenpeng Liang <[email protected]>
RDMA/hns: Fix the wrong value ofrnr_retrywhen querying qpJiaran Zhang <[email protected]>
RDMA/hns: Solve the overflow of thecalc_pg_sz()Jiaran Zhang <[email protected]>
RDMA/hns: Add check for the validity of sl configurationJin Yao <[email protected]>
perf stat: Skipduration_timeinsetup_system_wideSindhu, Devale <[email protected]>
i40iw: Add support to make destroy QP synchronousJason Gunthorpe <[email protected]>
RDMA/mlx5: DisableIB_DEVICE_MEM_MGT_EXTENSIONSifIB_WR_REG_MRcan't workJason Gunthorpe <[email protected]>
RDMA/mlx5: Make mkeys always owned by the kernel's PD when not enabledJason Gunthorpe <[email protected]>
RDMA/mlx5: Useset_mkc_access_pd_addr_fields()inreg_create()Lijun Ou <[email protected]>
RDMA/hns: Set the unsupported wr opcodeKeita Suzuki <[email protected]>
RDMA/qedr: Fix resource leak inqedr_create_qpAdrian Hunter <[email protected]>
perf intel-pt: Fix "context_switchevent has no tid" errorJason Gunthorpe <[email protected]>
RDMA/cma: Fix use after free race in roce multicast joinJason Gunthorpe <[email protected]>
RDMA/cma: Consolidate the destruction of acma_multicastin one placeJason Gunthorpe <[email protected]>
RDMA/cma: Remove dead code for kernel rdmacm multicastJason Gunthorpe <[email protected]>
RDMA/cma: Combinecma_ndev_workwithcma_workNicholas Piggin <[email protected]>
powerpc/64s/radix: Fixmm_cpumasktrimming race vskthread_use_mmChristophe Leroy <[email protected]>
powerpc/kasan: FixCONFIG_KASAN_VMALLOCfor 8xxFinn Thain <[email protected]>
powerpc/tau: Disable TAU between measurementsFinn Thain <[email protected]>
powerpc/tau: Check processor type before enabling TAU interruptFinn Thain <[email protected]>
powerpc/tau: Remove duplicatedset_thresholds()callFinn Thain <[email protected]>
powerpc/tau: Convert from timer to workqueueFinn Thain <[email protected]>
powerpc/tau: Use appropriate temperature sample intervalAneesh Kumar K.V <[email protected]>
powerpc/book3s64/hash/4k: Support large linear mapping range with 4KRavi Bangoria <[email protected]>
powerpc/watchpoint: Addhw_lenwherever missingRavi Bangoria <[email protected]>
powerpc/watchpoint: Fix handling of vector instructionsRavi Bangoria <[email protected]>
powerpc/watchpoint: Fix quadword instruction handling on p10 predecessorsThiago Jung Bauermann <[email protected]>
powerpc/pseries/svm: Allocate SWIOTLB buffer anywhere in memoryMichal Kalderon <[email protected]>
RDMA/qedr: Fix inline size returned for iWARPMichal Kalderon <[email protected]>
RDMA/qedr: Fix return code if accept is called on a destroyed qpMichal Kalderon <[email protected]>
RDMA/qedr: Fix use of uninitialized fieldMichal Kalderon <[email protected]>
RDMA/qedr: Fix doorbell settingMichal Kalderon <[email protected]>
RDMA/qedr: Fix qp structure memory leakJason Gunthorpe <[email protected]>
RDMA/umem: Prevent small pages from being returned byib_umem_find_best_pgsz()Jason Gunthorpe <[email protected]>
RDMA/umem: Fixib_umem_find_best_pgsz()for mappings that cross a page boundaryLeon Romanovsky <[email protected]>
RDMA: Allow fail of destroy CQLeon Romanovsky <[email protected]>
RDMA/core: Delete function indirection for alloc/free kernel CQMd Haris Iqbal <[email protected]>
RDMA/rtrs-srv: Incorporateib_register_clientinto rtrs server initDarrick J. Wong <[email protected]>
xfs: fix high key handling in the rt allocator'squery_rangefunctionScott Mayhew <[email protected]>
nfs: add missing "posix"local_lockconstant table definitionDarrick J. Wong <[email protected]>
xfs: fix deadlock and streamlinexfs_getfsmapperformanceDarrick J. Wong <[email protected]>
xfs: limit entries returned when counting fsmap recordsMatthew Wilcox (Oracle) <[email protected]>
ida: Free allocated bitmap in error pathNecip Fazil Yildiran <[email protected]>
arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLERGreg Ungerer <[email protected]>
m68knommu: include SDHC support only when hardware has itDave Chinner <[email protected]>
xfs: fix finobt btree block recovery orderingGuillaume Tucker <[email protected]>
ARM: 9007/1: l2c: fix prefetch bits init inL2X0_AUX_CTRLusing DT valuesArnaldo Carvalho de Melo <[email protected]>
tools feature: Add missing -lzstd to the fast path feature detectionArnaldo Carvalho de Melo <[email protected]>
perf tools: Make GTK2 support opt-inMark Tomlinson <[email protected]>
mtd: mtdoops: Don't write panic data twiceLeon Romanovsky <[email protected]>
RDMA/mlx5: Fix potential race between destroy and CQE pollScott Cheloha <[email protected]>
pseries/drmem: don't cache node id indrmem_lmbstructNathan Lynch <[email protected]>
powerpc/pseries: explicitly reschedule duringdrmem_lmblist traversalJason Gunthorpe <[email protected]>
RDMA/umem: Fix signature of stubib_umem_find_best_pgsz()Lang Cheng <[email protected]>
RDMA/hns: Add a check for current state before modifying QPArnd Bergmann <[email protected]>
mtd: lpddr: fix excessive stack usage with clangJason Gunthorpe <[email protected]>
RDMA/ucma: Add missing locking aroundrdma_leave_multicast()Jason Gunthorpe <[email protected]>
RDMA/ucma: Fix locking for ctx->events_reportedPaul E. McKenney <[email protected]>
rcutorture: Properly setrcu_fwdsfor OOM handlingNeeraj Upadhyay <[email protected]>
rcu/tree: Force quiescent state on callback overloadNicholas Mc Guire <[email protected]>
powerpc/icp-hv: Fix missingof_node_put()in success pathNicholas Mc Guire <[email protected]>
powerpc/pseries: Fix missingof_node_put()inrng_init()Håkon Bugge <[email protected]>
IB/mlx4: Adjust delayed work when a dup is observedHåkon Bugge <[email protected]>
IB/mlx4: Fix starvation in paravirt mux/demuxParshuram Thombare <[email protected]>
i3c: master addi3c_master_attach_boardinfoto preserve boardinfoTom Zanussi <[email protected]>
tracing: Handle synthetic event array field type checking correctlyTom Zanussi <[email protected]>
selftests/ftrace: Change synthetic event name for inter-event-combined testAndrii Nakryiko <[email protected]>
fs: fix NULL dereference due to data race inprepend_path()Suren Baghdasaryan <[email protected]>
mm,oom_adj: don't loop through tasks in__set_oom_adjwhen not necessaryRalph Campbell <[email protected]>
mm/memcg: fix device private memcg accountingMiaohe Lin <[email protected]>
mm/swapfile.c: fix potential memory leak insys_swaponPablo Neira Ayuso <[email protected]>
netfilter:nf_log: missing vlan offload tag and protoValentin Vidic <[email protected]>
net: korina: fix kfree of rx/tx descriptor arrayJohn Fastabend <[email protected]>
bpf, sockmap: Removeskb_orphanand let normalskb_kfreedo cleanupJulian Anastasov <[email protected]>
ipvs: clear skb->tstamp in forwarding pathChristian Hewitt <[email protected]>
drm/panfrost: increasereadl_relaxed_poll_timeoutvaluesTom Rix <[email protected]>
mwifiex: fix double freeVadim Pasternak <[email protected]>
platform/x86: mlx-platform: Remove PSU EEPROM configurationTom Zanussi <[email protected]>
tracing: Fixparse_synth_field()error handlingTianjia Zhang <[email protected]>
ipmi_si: Fix wrong return value intry_smi_init()Logan Gunthorpe <[email protected]>
dmaengine: ioat: Allocate correct size for descriptor chunkDan Carpenter <[email protected]>
scsi: be2iscsi: Fix a theoretical leak inbeiscsi_create_eqs()John Donnelly <[email protected]>
scsi: target: tcmu: Fix warning: 'page' may be used uninitializedMinas Harutyunyan <[email protected]>
usb: dwc2: Fix INTR OUT transfers in DDMA mode.Johannes Berg <[email protected]>
nl80211: fix non-split wiphy informationNecip Fazil Yildiran <[email protected]>
ocxl: fix kconfig dependency warning for OCXLManivannan Sadhasivam <[email protected]>
bus: mhi: core: Fix the building of MHI moduleLorenzo Colitti <[email protected]>
usb: gadget:u_ether: enable qmult on SuperSpeed Plus as wellYoshihiro Shimoda <[email protected]>
usb: gadget:u_serial: clear suspended flag when disconnectingLorenzo Colitti <[email protected]>
usb: gadget:f_ncm: fixncm_bitratefor SuperSpeed and above.Mordechay Goodstein <[email protected]>
iwlwifi: dbg: runinit_cfgfunction once per driver loadMordechay Goodstein <[email protected]>
iwlwifi: dbg: remove no filter conditionEmmanuel Grumbach <[email protected]>
iwlwifi: mvm: split a print to avoid a WARNING in ROCAdam Brickman <[email protected]>
ASoC:wm_adsp: Pass full name tosnd_ctl_notifyDan Carpenter <[email protected]>
mfd: sm501: Fix leaks inprobe()Thomas Gleixner <[email protected]>
net: enic: Cure the enic api locking trainwreckFabrice Gasnier <[email protected]>
iio: adc: stm32-adc: fix runtime autosuspend delay when slow pollingYu Kuai <[email protected]>
iommu/qcom: add missingput_device()call inqcom_iommu_of_xlate()Andrew Jeffery <[email protected]>
pinctrl: aspeed: Use the right pinconf maskColin Ian King <[email protected]>
qtnfmac: fix resource leaks on unsupported iftype error return pathToke Høiland-Jørgensen <[email protected]>
selftests: Removefmod_retfromtest_overheadToke Høiland-Jørgensen <[email protected]>
bpf: disallow attachingmodify_returntracing functions to other BPF programsLijun Pan <[email protected]>
ibmvnic: set up 200GBPS speedSai Prakash Ranjan <[email protected]>
coresight: etm4x: Fix save and restore of TRCVMIDCCTLR1 registerMike Leach <[email protected]>
coresight: cti: Fix bug clearing sysfs links on callbackMike Leach <[email protected]>
coresight: cti: Fix remove sysfs link errorTingwei Zhang <[email protected]>
coresight: etm: perf: Fix warning caused byetm_setup_auxfailureMatthew Wilcox (Oracle) <[email protected]>
iomap: Use kzalloc to allocateiomap_pageRajkumar Manoharan <[email protected]>
nl80211: fix OBSS PD min and max offset validationMohammed Gamal <[email protected]>
hv: clocksource: Add notrace attribute to read_hv_sched_clock_*() functionsVadym Kochan <[email protected]>
nvmem: core: fix possibly memleak when usenvmem_cell_info_to_nvmem_cell()Yang Yingliang <[email protected]>
tty: hvc: fix link error withCONFIG_SERIAL_CORE_CONSOLE=nDmitry Torokhov <[email protected]>
HID: hid-input: fix stylus battery reportingShengjiu Wang <[email protected]>
ASoC:fsl_sai: Instantiatesnd_soc_dai_driverSrinivas Kandagatla <[email protected]>
slimbus: qcom-ngd-ctrl: disable ngd in qmi server down callbackSrinivas Kandagatla <[email protected]>
slimbus: core: do not enter to clock pause mode in coreSrinivas Kandagatla <[email protected]>
slimbus: core: checkget_addrbefore removing laddr idaEric Dumazet <[email protected]>
quota: clear padding inv2r1_mem2diskdqb()Lorenzo Bianconi <[email protected]>
mt76: mt7915: fix possible memory leak inmt7915_mcu_add_beaconAndreas Färber <[email protected]>
rtw88: Fix potential probe error handling race with wow firmware loadingAndreas Färber <[email protected]>
rtw88: Fix probe error handling race with firmware loadingMartin Blumenstingl <[email protected]>
usb: dwc2: Add missing cleanups whenusb_add_gadget_udc()failsThinh Nguyen <[email protected]>
usb: dwc3: core: Properly default unspecified speedNathan Chancellor <[email protected]>
usb: dwc2: Fix parameter type in function pointer prototypeTakashi Iwai <[email protected]>
ALSA: seq: oss: Avoid mutex lock for a long-time ioctlSouptick Joarder <[email protected]>
misc: mic: scif: Fix error handling pathNecip Fazil Yildiran <[email protected]>
ASoC:cros_ec_codec: fix kconfig dependency warning forSND_SOC_CROS_EC_CODECAndy Shevchenko <[email protected]>
dmaengine: dmatest: Check list for emptiness before access its last entryTomasz Figa <[email protected]>
phy: rockchip-dphy-rx0: Includelinux/delay.hLaurent Pinchart <[email protected]>
drm: rcar-du: Put reference to VSP deviceDan Carpenter <[email protected]>
ath6kl: wmi: prevent a shift wrapping bug inath6kl_wmi_delete_pstream_cmd()Bo YU <[email protected]>
ath11k: Add checked value forath11k_ahb_removeAswath Govindraju <[email protected]>
spi: omap2-mcspi: Improve performance waiting for CHSTATDan Murphy <[email protected]>
ASoC: tas2770: Fix unbalanced calls topm_runtimePierre-Louis Bossart <[email protected]>
ASoC: SOF: control: add size checks forext_bytescontrol .put()Linus Walleij <[email protected]>
net: dsa: rtl8366rb: Support all 4096 VLANsMiquel Raynal <[email protected]>
ASoC: tlv320aic32x4: Fix bdiv clock rate derivationDan Murphy <[email protected]>
ASoC: tas2770: Fix error handling withupdate_bitsDan Murphy <[email protected]>
ASoC: tas2770: Fix required DT properties in the codeDan Murphy <[email protected]>
ASoC: tas2770: Add missing bias level power statesDan Murphy <[email protected]>
ASoC: tas2770: Fix calling reset in probeHuang Guobin <[email protected]>
net: wilc1000: clean up resource in error path of init mon interfaceLinus Walleij <[email protected]>
net: dsa: rtl8366: Skip PVID setting if not requestedLinus Walleij <[email protected]>
net: dsa: rtl8366: Refactor VLAN/PVID initLinus Walleij <[email protected]>
net: dsa: rtl8366: Check validity of passed VLANsMathias Nyman <[email protected]>
xhci: don't create endpoint debugfs entry before ring buffer is set.Ilya Leoshkevich <[email protected]>
selftests/bpf: Fix endianness issue intest_sockopt_skIlya Leoshkevich <[email protected]>
selftests/bpf: Fix endianness issue insk_assignMatthieu Baerts <[email protected]>
selftests: mptcp: interpret \n as a new lineVadym Kochan <[email protected]>
nvmem: core: fix missingof_node_put()inof_nvmem_device_get()Jonathan Zhou <[email protected]>
coresight: etm4x: Fix issues on trcseqevr accessSuzuki K Poulose <[email protected]>
coresight: etm4x: Handle unreachable sink in perf modeTingwei Zhang <[email protected]>
coresight: cti: Write regsiters directly incti_enable_hw()Jonathan Zhou <[email protected]>
coresight: etm4x: Fix issues within reset interface of sysfsMike Leach <[email protected]>
coresight: etm4x: Ensure default perf settings filter user/kernelTingwei Zhang <[email protected]>
coresight: cti: removepm_runtime_get_sync()from CPU hotplugTingwei Zhang <[email protected]>
coresight: cti: disclaim device only when it's claimedMian Yousaf Kaukab <[email protected]>
coresight: fix offset by one error in counting portsSai Prakash Ranjan <[email protected]>
coresight: etm4x: Fixetm4_countrace by moving cpuhp callbacks to initCamel Guo <[email protected]>
ASoC: tlv320adcx140: Fix digital gain rangePierre-Louis Bossart <[email protected]>
ASoC: topology: disable size checks forbytes_extcontrols if neededKP Singh <[email protected]>
ima: Fix NULL pointer dereference inima_file_hashStefan Agner <[email protected]>
drm: mxsfb: check framebuffer pitchPali Rohár <[email protected]>
cpufreq: armada-37xx: Add missingMODULE_DEVICE_TABLEDarrick J. Wong <[email protected]>
xfs: force the log after remapping a synchronous-writes fileOng Boon Leong <[email protected]>
net: stmmac: use netif_tx_start|stop_all_queues() functionAashish Verma <[email protected]>
net: stmmac: Fix incorrect location to set real_num_rx|tx_queuesTomas Henzl <[email protected]>
scsi: mpt3sas: Fix sync irqsEran Ben Elisha <[email protected]>
net/mlx5: Don't call timecounter cyc2time directly from 1PPS flowMoshe Tal <[email protected]>
net/mlx5: Fix uninitialized variable warningLuca Weiss <[email protected]>
drm/msm/adreno: fix probe without iommuThierry Reding <[email protected]>
pinctrl: devicetree: Keep deferring even on timeoutThomas Preston <[email protected]>
pinctrl: mcp23s08: Fix mcp23x17 precious rangeThomas Preston <[email protected]>
pinctrl: mcp23s08: Fixmcp23x17_regmapinitialiserAbhishek Pandit-Subedi <[email protected]>
Bluetooth: Re-order clearing suspend tasksKees Cook <[email protected]>
selftests/lkdtm: Use "comm" instead of "diff" for dmesgMatthew Wilcox (Oracle) <[email protected]>
iomap: Mark read blocks uptodate inwrite_beginMatthew Wilcox (Oracle) <[email protected]>
iomap: Clear page error before beginning a writeSteven Price <[email protected]>
drm/panfrost: Ensure GPU quirks are always initialisedStephen Boyd <[email protected]>
drm/msm: Avoid div-by-zero indpu_crtc_atomic_check()Dan Carpenter <[email protected]>
HID: roccat: add bounds checking inkone_sysfs_write_settings()Stanley Chu <[email protected]>
scsi: ufs: ufs-mediatek: FixHOST_PA_TACTIVATEquirkYu Kuai <[email protected]>
ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()Dinghao Liu <[email protected]>
video: fbdev: radeon: Fix memleak inradeonfb_pci_registerTom Rix <[email protected]>
video: fbdev: sis: fix null ptr dereferenceColin Ian King <[email protected]>
video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value errorTom Rix <[email protected]>
ath11k: fix a double free and a memory leakSouptick Joarder <[email protected]>
drivers/virt/fsl_hypervisor: Fix error handling pathHans de Goede <[email protected]>
pwm: lpss: Add range limit check for thebase_unitregister valueHans de Goede <[email protected]>
pwm: lpss: Fix off by one error inbase_unitmath inpwm_lpss_prepare()Artem Savkov <[email protected]>
pty: do tty_flip_buffer_push without port->lock in pty_writeTyrel Datwyler <[email protected]>
tty: hvcs: Don't NULL tty->driver_data until hvcs_cleanup()Tong Zhang <[email protected]>
tty: serial: earlycon dependencyJann Horn <[email protected]>
binder: Remove bogus warning on failed same-process transactionEric Biggers <[email protected]>
scsi: ufs: Makeufshcd_print_trs()considerUFSHCD_QUIRK_PRDT_BYTE_GRANAnatoly Pugachev <[email protected]>
selftests: vm: add fragmentCONFIG_GUP_BENCHMARKAbhishek Pandit-Subedi <[email protected]>
Bluetooth: Clear suspend tasks on unregisterDinghao Liu <[email protected]>
drm/crc-debugfs: Fix memleak incrc_control_writeWeqaar Janjua <[email protected]>
samples/bpf: Fix to xdpsock to avoid recycling framesLaurent Pinchart <[email protected]>
drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panelAlexei Starovoitov <[email protected]>
mm/error_inject: Fixallow_error_injectfunction signatures.Alex Dewar <[email protected]>
VMCI: check return value ofget_user_pages_fast()for errorsAlex Dewar <[email protected]>
staging:emxx_udc: Fix passing of NULL todma_alloc_coherent()[email protected] <[email protected]>
backlight: sky81452-backlight: Fix refcount imbalance on errorBrian Norris <[email protected]>
rtw88: don't treat NULL pointer as an arrayDinghao Liu <[email protected]>
wilc1000: Fix memleak inwilc_bus_probeDinghao Liu <[email protected]>
wilc1000: Fix memleak inwilc_sdio_probeAlex Gartrell <[email protected]>
libbpf: Fix unintentional success return code inbpf_object__loadTianjia Zhang <[email protected]>
scsi: csiostor: Fix wrong return value incsio_hw_prep_fw()Tianjia Zhang <[email protected]>
scsi: qla2xxx: Fix wrong return value inqla_nvme_register_hba()Tianjia Zhang <[email protected]>
scsi: qla2xxx: Fix wrong return value inqlt_chk_unresolv_exchg()Christophe JAILLET <[email protected]>
scsi: qla2xxx: Fix the size used in a 'dma_free_coherent()' callChristophe JAILLET <[email protected]>
scsi: qla4xxx: Fix an error handling path in 'qla4xxx_get_host_stats()'Tom Rix <[email protected]>
drm/gma500: fix error checkAndrii Nakryiko <[email protected]>
selftests/bpf: Fixtest_vmlinuxtest to usebpf_probe_read_user()Colin Ian King <[email protected]>
drm/amd/display: fix potential integer overflow when shifting 32 bit variablebl_pwmChristophe JAILLET <[email protected]>
staging: rtl8192u: Do not useGFP_KERNELin atomic contextChristophe JAILLET <[email protected]>
mwifiex: Do not useGFP_KERNELin atomic contextTom Rix <[email protected]>
brcmfmac: check ndev pointerWang Yufen <[email protected]>
ath11k: Fix possible memleak inath11k_qmi_init_serviceRohit kumar <[email protected]>
ASoC: qcom: lpass-cpu: fix concurrency issueRohit kumar <[email protected]>
ASoC: qcom: lpass-platform: fix memory leakBryan O'Donoghue <[email protected]>
wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680Christophe JAILLET <[email protected]>
ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling pathDan Carpenter <[email protected]>
ath9k: Fix potential out of bounds inath9k_htc_txcompletion_cb()Dan Carpenter <[email protected]>
ath6kl: prevent potential array overflow inath6kl_add_new_sta()Laurent Pinchart <[email protected]>
drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panelQinglang Miao <[email protected]>
drm/vkms: add missingplatform_device_unregister()invkms_init()Qinglang Miao <[email protected]>
drm/vgem: add missingplatform_device_unregister()invgem_init()Tianjia Zhang <[email protected]>
drm/amd/display: Fix wrong return value indm_update_plane_state()Samuel Holland <[email protected]>
Bluetooth:hci_uart: Cancel init work before unregisteringMelissa Wen <[email protected]>
drm/vkms: fix xrgb on compute crcVenkateswara Naralasetty <[email protected]>
ath10k: provide survey info as accumulated dataYang Yang <[email protected]>
blk-mq: move cancel of hctx->run_work to the front of blk_exit_queueQu Wenruo <[email protected]>
btrfs: add owner andfs_infotoalloc_stateio_treeSerge Semin <[email protected]>
hwmon: (bt1-pvt) Wait for the completion with timeoutSerge Semin <[email protected]>
hwmon: (bt1-pvt) Cache current update timeoutSerge Semin <[email protected]>
hwmon: (bt1-pvt) Test sensor power supply on probeŁukasz Stelmach <[email protected]>
spi: spi-s3c64xx: Check return valuesŁukasz Stelmach <[email protected]>
spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()Necip Fazil Yildiran <[email protected]>
pinctrl: bcm: fix kconfig dependency warning when !GPIOLIBMichał Mirosław <[email protected]>
regulator: resolve supply after creating regulatorQiushi Wu <[email protected]>
media: ti-vpe: Fix a missing check and reference count leakQiushi Wu <[email protected]>
media: stm32-dcmi: Fix a reference count leakQiushi Wu <[email protected]>
media: s5p-mfc: Fix a reference count leakQiushi Wu <[email protected]>
media: camss: Fix a reference count leak.Qiushi Wu <[email protected]>
media: platform: fcp: Fix a reference count leak.Qiushi Wu <[email protected]>
media: rockchip/rga: Fix a reference count leak.Qiushi Wu <[email protected]>
media: rcar-vin: Fix a reference count leak.Tom Rix <[email protected]>
media: tc358743: cleanup tc358743_cec_isrTom Rix <[email protected]>
media: tc358743: initialize variableDinghao Liu <[email protected]>
media:mx2_emmaprp: Fix memleak inemmaprp_probeCorentin Labbe <[email protected]>
crypto: sun8i-ce - handle endianness oft_common_ctlNicolas Toromanoff <[email protected]>
crypto: stm32/crc32 - Avoid lock if hardware is already usedXiaoliang Pang <[email protected]>
cypto: mediatek - fix leaks inmtk_desc_ring_allocDan Carpenter <[email protected]>
hwmon: (w83627ehf) Fix a resource leak in probeGuenter Roeck <[email protected]>
hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}Tero Kristo <[email protected]>
crypto: omap-sham - fix digcnt register handling with export/importJay Fang <[email protected]>
spi: dw-pci: free previously allocated IRQs if desc->setup() failsEddie James <[email protected]>
spi: fsi: Implement restricted size for certain controllersBrad Bishop <[email protected]>
spi: fsi: Fix use of the bneq+ sequencer instructionBrad Bishop <[email protected]>
spi: fsi: Handle 9 to 15 byte transfers lengthsLaurent Pinchart <[email protected]>
media: rcar-csi2: Allocatev4l2_async_subdevdynamicallyLaurent Pinchart <[email protected]>
media:rcar_drif: Allocatev4l2_async_subdevdynamicallyLaurent Pinchart <[email protected]>
media:rcar_drif: Fix fwnode reference leak when parsing DTLad Prabhakar <[email protected]>
media: i2c: ov5640: Enable data pins on poweron for DVP modeLad Prabhakar <[email protected]>
media: i2c: ov5640: Separate out mipi configuration froms_powerLad Prabhakar <[email protected]>
media: i2c: ov5640: Remain in power down for DVP mode unless streamingDinghao Liu <[email protected]>
media: omap3isp: Fix memleak inisp_probeChristophe JAILLET <[email protected]>
media: staging/intel-ipu3: css: Correctly reset some memoryLaurent Pinchart <[email protected]>
media: uvcvideo: Silence shift-out-of-bounds warningLaurent Pinchart <[email protected]>
media: uvcvideo: Set media controller entity functionsEric Biggers <[email protected]>
fscrypt: restrictIV_INO_LBLK_32toino_bits<= 32Tom Rix <[email protected]>
media: m5mols: Check function pointer inm5mols_sensor_powerPaul Kocialkowski <[email protected]>
media: ov5640: Correct Bit Div register in clock tree diagramEzequiel Garcia <[email protected]>
media: hantro: postproc: Fix motion vector space allocationEzequiel Garcia <[email protected]>
media: hantro: h264: Get the correct fallback reference bufferSylwester Nawrocki <[email protected]>
media: Revert "media: exynos4-is: Add missed check forpinctrl_lookup_state()"[email protected] <[email protected]>
crypto: ccree - fix runtime PM imbalance on errorTom Rix <[email protected]>
media: tuner-simple: fix regression insimple_set_radio_freqPeilin Ye <[email protected]>
media: vivid: Fix global-out-of-bounds read inprecalculate_color()Madhuparna Bhowmik <[email protected]>
crypto: picoxcell - Fix potential race condition bugChristophe JAILLET <[email protected]>
crypto: ixp4xx - Fix the size used in a 'dma_free_coherent()' callTianjia Zhang <[email protected]>
crypto: mediatek - Fix wrong return value inmtk_desc_ring_alloc()Herbert Xu <[email protected]>
crypto:algif_skcipher- EBUSY on aio should be an errorJiri Olsa <[email protected]>
perf/core: Fix race in theperf_mmap_close()functionSasha Levin <[email protected]>
perf/x86: Fixn_pairfor cancelled txnMaulik Shah <[email protected]>
pinctrl: qcom: Use return value fromirq_set_wake()callMaulik Shah <[email protected]>
pinctrl: qcom: SetIRQCHIP_SET_TYPE_MASKEDandIRQCHIP_MASK_ON_SUSPENDflagsColin Ian King <[email protected]>
x86/events/amd/iommu: Fix sizeof mismatchLibing Zhou <[email protected]>
x86/nmi: Fixnmi_handle()duration miscalculationKan Liang <[email protected]>
perf/x86/intel/uncore: Fix the scale of the IMC free-running eventsKan Liang <[email protected]>
perf/x86/intel/uncore: Reduce the number of CBOX countersKan Liang <[email protected]>
perf/x86/intel/uncore: Update Ice Lake uncore unitsAlexandru Elisei <[email protected]>
arm64: perf: Add missing ISB inarmv8pmu_enable_counter()Barry Song <[email protected]>
sched/fair: Use dst group while checking imbalance for NUMA balancerXunlei Pang <[email protected]>
sched/fair: Fix wrong cpu selecting from isolated domainMark Salter <[email protected]>
drivers/perf:thunderx2_pmu: Fix memory resource error handlingMark Salter <[email protected]>
drivers/perf:xgene_pmu: Fix uninitialized resource structAmit Daniel Kachhap <[email protected]>
arm64: kprobe: add checks for ARMv8.3-PAuth combined instructionsArvind Sankar <[email protected]>
x86/fpu: Allow multiple bits in clearcpuid= parameterKan Liang <[email protected]>
perf/x86/intel/ds: Fixx86_pmu_stopwarning for large PEBSKrzysztof Kozlowski <[email protected]>
EDAC/ti: Fix handling ofplatform_get_irq()errorKrzysztof Kozlowski <[email protected]>
EDAC/aspeed: Fix handling ofplatform_get_irq()errorDinghao Liu <[email protected]>
EDAC/i5100: Fix error handling order ini5100_init_one()Randy Dunlap <[email protected]>
microblaze: fix kbuild redundant file warningLukasz Luba <[email protected]>
sched/fair: Fix wrong negative conversion infind_energy_efficient_cpu()Luca Stefani <[email protected]>
RAS/CEC: Fixcec_init()prototypeAndrei Botila <[email protected]>
crypto: caam/qi - add support for more XTS key lengthsAndrei Botila <[email protected]>
crypto: caam/qi - add fallback for XTS with more than 8B IVHerbert Xu <[email protected]>
crypto:algif_aead- Do not setMAY_BACKLOGon the async pathRoberto Sassu <[email protected]>
ima: Don't ignore errors fromcrypto_shash_update()Suravee Suthikulpanit <[email protected]>
KVM: SVM: Initializeprev_ga_tagbefore useLai Jiangshan <[email protected]>
KVM: x86: Intercept LA57 to inject #GP fault when it's reservedSean Christopherson <[email protected]>
KVM: x86/mmu: Commit zap of remaining invalid pages when recovering lpagesSean Christopherson <[email protected]>
KVM: nVMX: Reload vmcs01 if getting vmcs12's pages failsSean Christopherson <[email protected]>
KVM: nVMX: Reset the segment cache when stuffing guest segsSean Christopherson <[email protected]>
KVM: nVMX: Morph notification vector IRQ on nested VM-Enter to pending PIMarc Zyngier <[email protected]>
arm64: Make use ofARCH_WORKAROUND_1even when KVM is not enabledSteve French <[email protected]>
smb3: fix stat when special device file and mounted with modefromsidSteve French <[email protected]>
smb3: do not try to cache root directory if dir leases not supportedSteve French <[email protected]>
SMB3.1.1: Fix ids returned in POSIX query dirRohith Surabattula <[email protected]>
SMB3: Resolve data corruption of TCP server info fieldsShyam Prasad N <[email protected]>
cifs: Return the error fromcrypt_messagewhen enc/dec key not found.Dan Carpenter <[email protected]>
cifs: remove bogus debug codeJian-Hong Pan <[email protected]>
ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887Qiu Wenbo <[email protected]>
ALSA: hda/realtek - Add mute Led support for HP Elitebook 845 G7Hui Wang <[email protected]>
ALSA: hda/realtek - set mic to auto detect on a HP AIO machineJeremy Szu <[email protected]>
ALSA: hda/realtek - The front Mic on a HP machine doesn't workLukasz Halman <[email protected]>
ALSA: usb-audio: Line6 Pod Go interface requires static clock rate quirkHui Wang <[email protected]>
ALSA: hda - Fix the return value if cb func is already registeredHui Wang <[email protected]>
ALSA: hda - Don't register a cb func if it is registered alreadyGuillaume Nault <[email protected]>
net/sched: act_gate: Unlock ->tcfa_lock in tc_setup_flow_action()Bartosz Golaszewski <[email protected]>
net: ethernet: mtk-star-emac: selectREGMAP_MMIONeal Cardwell <[email protected]>
tcp: fix to updatesnd_wl1in bulk receiver fast pathPo-Hsu Lin <[email protected]>
selftests: rtnetlink: load fou module forkci_test_encap_fou()testIdo Schimmel <[email protected]>
selftests: forwarding: Add missing 'rp_filter' configurationHeiner Kallweit <[email protected]>
r8169: fix operation under forced interrupt threadingDefang Bo <[email protected]>
nfc: Ensure presence ofNFC_ATTR_FIRMWARE_NAMEattribute innfc_genl_fw_download()Ido Schimmel <[email protected]>
nexthop: Fix performance regression in nexthop deletionDavide Caratti <[email protected]>
net/sched:act_tunnel_key: fix OOB write in case of IPv6 ERSPAN tunnelsRoi Dayan <[email protected]>
net/sched:act_ct: Fix adding udp port mangle operationKe Li <[email protected]>
net: Properly typecast int values to setsk_max_pacing_rateXie He <[email protected]>
net:hdlc_raw_eth: Clear theIFF_TX_SKB_SHARINGflag after callingether_setupXie He <[email protected]>
net: hdlc: Inhdlc_rcv, check to make sure dev is an HDLC deviceDylan Hung <[email protected]>
net: ftgmac100: Fix Aspeed ast2600 TX hang issueGeliang Tang <[email protected]>
mptcp: initialize mptcp_options_received's ahmacEric Dumazet <[email protected]>
icmp: randomize the global rate limiterLijun Pan <[email protected]>
ibmvnic: save changed mac address to adapter->mac_addrVinay Kumar Yadav <[email protected]>
chelsio/chtls: fix writing freed memoryVinay Kumar Yadav <[email protected]>
chelsio/chtls: correct function return and return typeVinay Kumar Yadav <[email protected]>
chelsio/chtls: Fix panic when listen on multiadapterVinay Kumar Yadav <[email protected]>
chelsio/chtls: fix panic when server is on ipv6Vinay Kumar Yadav <[email protected]>
chelsio/chtls: correct netdevice for vlan interfaceVinay Kumar Yadav <[email protected]>
chelsio/chtls: fix socket lockHoang Huu Le <[email protected]>
tipc: fix incorrect setting window for bcast linkHoang Huu Le <[email protected]>
tipc: re-configure queue limit for broadcast linkKai Vehmanen <[email protected]>
ALSA: hda/hdmi: fix incorrect locking inhdmi_pcm_closeKai Vehmanen <[email protected]>
ALSA: hda: fix jack detection with Realtek codecs when in D3Dan Carpenter <[email protected]>
ALSA: bebob: potential info leak inhwdep_read()Todd Kjos <[email protected]>
binder: fix UAF when releasing todo listHeiner Kallweit <[email protected]>
r8169: fix data corruption issue on RTL8402Cong Wang <[email protected]>
net_sched: remove a redundant goto chain checkMaciej Żenczykowski <[email protected]>
net/ipv4: always honour route mtu during forwardingMarc Kleine-Budde <[email protected]>
net: j1939:j1939_session_fresh_new(): fix missing initialization of skbcntCong Wang <[email protected]>
can: j1935:j1939_tp_tx_dat_new(): fix missing initialization of skbcntLucas Stach <[email protected]>
can:m_can_platform: don't callm_can_class_suspendin runtime suspendChristian Eggers <[email protected]>
socket: don't clearSOCK_TSTAMP_NEWwhenSO_TIMESTAMPNSis disabledChristian Eggers <[email protected]>
socket: fix optionSO_TIMESTAMPING_NEWCong Wang <[email protected]>
tipc: fix theskb_unshare()intipc_buf_append()Wilken Gottwalt <[email protected]>
net: usb:qmi_wwan: add Cellient MPL200 cardRohit Maheshwari <[email protected]>
net/tls: sendfile fails with ktls offloadKarsten Graul <[email protected]>
net/smc: fix valid DMBE buffer sizesKarsten Graul <[email protected]>
net/smc: fix use-after-free of delayed eventsLeon Romanovsky <[email protected]>
net: sched: Fix suspicious RCU usage while accessingtcf_tunnel_infoDavide Caratti <[email protected]>
net: mptcp: make DACK4/DACK8 usage consistent among all subflowsAlex Elder <[email protected]>
net: ipa: skip suspend/resume activities if not set upYonghong Song <[email protected]>
net: fix pos incrementment inipv6_route_seq_nextMarek Vasut <[email protected]>
net: fec: Fix PHY init afterphy_reset_after_clk_enable()Marek Vasut <[email protected]>
net: fec: Fixphy_devicelookup forphy_reset_after_clk_enable()Christian Eggers <[email protected]>
net: dsa: microchip: fix race conditionJonathan Lemon <[email protected]>
mlx4: handle non-napi callers tonapi_pollDavid Ahern <[email protected]>
ipv4: Restoreflowi4_oifupdate before call toxfrm_lookup_routeDavid Wilder <[email protected]>
ibmveth: Identify ingress large send packets.David Wilder <[email protected]>
ibmveth: Switch order ofibmveth_helpercalls.Herat Ramani <[email protected]>
xgb4: handle 4-tuple PEDIT to NAT mode translation-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 2 +- .../crypto/allwinner,sun4i-a10-crypto.yaml | 7 +- .../devicetree/bindings/net/socionext-netsec.txt | 4 +- Documentation/networking/ip-sysctl.rst | 4 +- Makefile | 4 +- arch/arc/plat-hsdk/Kconfig | 1 + arch/arm/boot/dts/imx6sl.dtsi | 2 + arch/arm/boot/dts/iwg20d-q7-common.dtsi | 15 +- arch/arm/boot/dts/meson8.dtsi | 2 - arch/arm/boot/dts/owl-s500.dtsi | 6 +- arch/arm/boot/dts/stm32mp157c-lxa-mc1.dts | 2 - arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 35 +-- arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi | 38 ++- arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi | 6 +- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 10 +- arch/arm/mach-at91/pm.c | 1 + arch/arm/mach-omap2/cpuidle44xx.c | 4 +- arch/arm/mach-s3c24xx/mach-at2440evb.c | 2 +- arch/arm/mach-s3c24xx/mach-h1940.c | 4 +- arch/arm/mach-s3c24xx/mach-mini2440.c | 4 +- arch/arm/mach-s3c24xx/mach-n30.c | 4 +- arch/arm/mach-s3c24xx/mach-rx1950.c | 4 +- arch/arm/mm/cache-l2x0.c | 16 +- arch/arm64/boot/dts/actions/s700.dtsi | 2 +- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 6 +- arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 +- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 5 +- arch/arm64/boot/dts/qcom/msm8916.dtsi | 10 +- arch/arm64/boot/dts/qcom/pm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom/sc7180.dtsi | 6 +- arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 5 +- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 5 +- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 +- arch/arm64/include/asm/insn.h | 4 + arch/arm64/include/asm/memory.h | 5 +- arch/arm64/include/asm/pgtable.h | 4 +- arch/arm64/kernel/cpu_errata.c | 7 +- arch/arm64/kernel/insn.c | 5 +- arch/arm64/kernel/perf_event.c | 5 + arch/arm64/kernel/probes/decode-insn.c | 3 +- arch/arm64/mm/init.c | 30 +-- arch/m68k/coldfire/device.c | 6 +- arch/microblaze/include/asm/Kbuild | 1 - arch/powerpc/include/asm/book3s/64/hash-4k.h | 13 +- arch/powerpc/include/asm/drmem.h | 39 ++- arch/powerpc/include/asm/hw_breakpoint.h | 1 + arch/powerpc/include/asm/reg.h | 2 +- arch/powerpc/include/asm/svm.h | 4 + arch/powerpc/include/asm/tlb.h | 13 - arch/powerpc/kernel/hw_breakpoint.c | 14 +- arch/powerpc/kernel/irq.c | 9 +- arch/powerpc/kernel/ptrace/ptrace-noadv.c | 1 + arch/powerpc/kernel/tau_6xx.c | 147 ++++------ arch/powerpc/mm/book3s64/radix_tlb.c | 23 +- arch/powerpc/mm/drmem.c | 6 +- arch/powerpc/mm/kasan/kasan_init_32.c | 12 +- arch/powerpc/mm/mem.c | 6 +- arch/powerpc/perf/hv-gpci-requests.h | 6 +- arch/powerpc/perf/isa207-common.c | 10 + arch/powerpc/platforms/Kconfig | 14 +- arch/powerpc/platforms/powernv/opal-dump.c | 41 ++- arch/powerpc/platforms/pseries/hotplug-memory.c | 24 +- arch/powerpc/platforms/pseries/papr_scm.c | 3 + arch/powerpc/platforms/pseries/ras.c | 118 ++++---- arch/powerpc/platforms/pseries/rng.c | 1 + arch/powerpc/platforms/pseries/svm.c | 26 ++ arch/powerpc/sysdev/xics/icp-hv.c | 1 + arch/powerpc/xmon/xmon.c | 1 + arch/s390/pci/pci_bus.c | 5 +- arch/um/drivers/vector_kern.c | 4 +- arch/um/kernel/time.c | 14 +- arch/x86/boot/compressed/pgtable_64.c | 9 - arch/x86/events/amd/iommu.c | 2 +- arch/x86/events/core.c | 6 +- arch/x86/events/intel/ds.c | 32 ++- arch/x86/events/intel/uncore_snb.c | 31 ++- arch/x86/events/intel/uncore_snbep.c | 12 +- arch/x86/events/perf_event.h | 1 + arch/x86/include/asm/special_insns.h | 28 +- arch/x86/kernel/cpu/common.c | 4 +- arch/x86/kernel/cpu/mce/core.c | 99 +++++-- arch/x86/kernel/cpu/mce/internal.h | 10 + arch/x86/kernel/cpu/mce/severity.c | 28 +- arch/x86/kernel/dumpstack.c | 3 +- arch/x86/kernel/fpu/init.c | 30 ++- arch/x86/kernel/nmi.c | 5 +- arch/x86/kvm/emulate.c | 2 +- arch/x86/kvm/ioapic.c | 5 +- arch/x86/kvm/kvm_cache_regs.h | 2 +- arch/x86/kvm/lapic.c | 7 + arch/x86/kvm/lapic.h | 1 + arch/x86/kvm/mmu/mmu.c | 1 + arch/x86/kvm/svm/avic.c | 1 + arch/x86/kvm/vmx/nested.c | 14 +- block/blk-core.c | 9 +- block/blk-mq-sysfs.c | 2 - block/blk-sysfs.c | 9 +- crypto/algif_aead.c | 7 +- crypto/algif_skcipher.c | 2 +- drivers/android/binder.c | 37 +-- drivers/bluetooth/btusb.c | 1 + drivers/bluetooth/hci_ldisc.c | 1 + drivers/bluetooth/hci_serdev.c | 2 + drivers/bus/mhi/core/Makefile | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 2 +- drivers/clk/at91/clk-main.c | 11 +- drivers/clk/bcm/clk-bcm2835.c | 4 +- drivers/clk/imx/clk-imx8mq.c | 4 +- drivers/clk/keystone/sci-clk.c | 2 +- drivers/clk/mediatek/clk-mt6779.c | 2 + drivers/clk/meson/axg-audio.c | 135 +++++++++- drivers/clk/meson/g12a.c | 11 + drivers/clk/qcom/gcc-sdm660.c | 2 +- drivers/clk/rockchip/clk-half-divider.c | 2 +- drivers/clocksource/hyperv_timer.c | 4 +- drivers/cpufreq/armada-37xx-cpufreq.c | 6 + drivers/cpufreq/powernv-cpufreq.c | 9 +- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 5 +- drivers/crypto/caam/Kconfig | 1 + drivers/crypto/caam/caamalg_qi.c | 81 +++++- drivers/crypto/ccp/ccp-ops.c | 2 +- drivers/crypto/ccree/cc_pm.c | 6 +- drivers/crypto/chelsio/chtls/chtls_cm.c | 19 +- drivers/crypto/chelsio/chtls/chtls_io.c | 5 +- drivers/crypto/hisilicon/sec2/sec_crypto.c | 16 +- drivers/crypto/ixp4xx_crypto.c | 2 +- drivers/crypto/mediatek/mtk-platform.c | 8 +- drivers/crypto/omap-sham.c | 3 + drivers/crypto/picoxcell_crypto.c | 9 +- drivers/crypto/stm32/Kconfig | 1 + drivers/crypto/stm32/stm32-crc32.c | 15 +- drivers/dma/dmatest.c | 5 +- drivers/dma/dw/core.c | 4 + drivers/dma/dw/dw.c | 2 +- drivers/dma/dw/of.c | 7 +- drivers/dma/ioat/dma.c | 2 +- drivers/edac/aspeed_edac.c | 4 +- drivers/edac/i5100_edac.c | 11 +- drivers/edac/ti_edac.c | 3 +- drivers/firmware/arm_scmi/mailbox.c | 2 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- .../gpu/drm/amd/display/dc/dce/dce_panel_cntl.c | 2 +- .../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 3 + .../gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 3 + drivers/gpu/drm/drm_debugfs_crc.c | 4 +- drivers/gpu/drm/drm_gem_vram_helper.c | 28 +- drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 2 +- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 10 +- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 8 +- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 21 +- drivers/gpu/drm/panel/panel-simple.c | 4 +- drivers/gpu/drm/panfrost/panfrost_device.h | 3 + drivers/gpu/drm/panfrost/panfrost_drv.c | 11 + drivers/gpu/drm/panfrost/panfrost_gpu.c | 22 +- drivers/gpu/drm/panfrost/panfrost_gpu.h | 2 + drivers/gpu/drm/panfrost/panfrost_regs.h | 4 + drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 12 + drivers/gpu/drm/vgem/vgem_drv.c | 2 +- drivers/gpu/drm/virtio/virtgpu_kms.c | 2 + drivers/gpu/drm/virtio/virtgpu_vq.c | 10 +- drivers/gpu/drm/vkms/vkms_composer.c | 2 +- drivers/gpu/drm/vkms/vkms_drv.c | 2 +- drivers/hid/hid-ids.h | 2 + drivers/hid/hid-input.c | 4 +- drivers/hid/hid-ite.c | 4 + drivers/hid/hid-multitouch.c | 6 + drivers/hid/hid-roccat-kone.c | 23 +- drivers/hwmon/bt1-pvt.c | 138 +++++++--- drivers/hwmon/bt1-pvt.h | 3 + drivers/hwmon/pmbus/max34440.c | 3 - drivers/hwmon/w83627ehf.c | 6 +- drivers/hwtracing/coresight/coresight-cti.c | 41 +-- drivers/hwtracing/coresight/coresight-etm-perf.c | 14 +- .../hwtracing/coresight/coresight-etm4x-sysfs.c | 2 +- drivers/hwtracing/coresight/coresight-etm4x.c | 105 ++++---- drivers/hwtracing/coresight/coresight-etm4x.h | 3 + drivers/hwtracing/coresight/coresight-platform.c | 10 +- drivers/hwtracing/coresight/coresight.c | 2 +- drivers/i2c/busses/Kconfig | 1 + drivers/i2c/i2c-core-acpi.c | 11 +- drivers/i3c/master.c | 19 +- drivers/i3c/master/i3c-master-cdns.c | 4 +- drivers/iio/adc/stm32-adc-core.c | 9 +- drivers/infiniband/core/cma.c | 300 +++++++++------------ drivers/infiniband/core/cq.c | 30 +-- drivers/infiniband/core/ucma.c | 6 +- drivers/infiniband/core/umem.c | 15 +- drivers/infiniband/core/verbs.c | 9 +- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 3 +- drivers/infiniband/hw/bnxt_re/ib_verbs.h | 2 +- drivers/infiniband/hw/cxgb4/cq.c | 3 +- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 2 +- drivers/infiniband/hw/efa/efa.h | 2 +- drivers/infiniband/hw/efa/efa_verbs.c | 3 +- drivers/infiniband/hw/hns/hns_roce_cq.c | 3 +- drivers/infiniband/hw/hns/hns_roce_device.h | 4 +- drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 4 +- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 41 ++- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 2 + drivers/infiniband/hw/hns/hns_roce_qp.c | 6 +- drivers/infiniband/hw/i40iw/i40iw.h | 9 +- drivers/infiniband/hw/i40iw/i40iw_cm.c | 10 +- drivers/infiniband/hw/i40iw/i40iw_hw.c | 4 +- drivers/infiniband/hw/i40iw/i40iw_utils.c | 59 +--- drivers/infiniband/hw/i40iw/i40iw_verbs.c | 34 ++- drivers/infiniband/hw/i40iw/i40iw_verbs.h | 3 +- drivers/infiniband/hw/mlx4/cm.c | 3 + drivers/infiniband/hw/mlx4/cq.c | 3 +- drivers/infiniband/hw/mlx4/mad.c | 34 ++- drivers/infiniband/hw/mlx4/mlx4_ib.h | 4 +- drivers/infiniband/hw/mlx5/cq.c | 14 +- drivers/infiniband/hw/mlx5/main.c | 4 +- drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 +- drivers/infiniband/hw/mlx5/mr.c | 64 ++--- drivers/infiniband/hw/mthca/mthca_provider.c | 3 +- drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 3 +- drivers/infiniband/hw/ocrdma/ocrdma_verbs.h | 2 +- drivers/infiniband/hw/qedr/main.c | 2 +- drivers/infiniband/hw/qedr/qedr_iw_cm.c | 6 +- drivers/infiniband/hw/qedr/verbs.c | 63 +++-- drivers/infiniband/hw/qedr/verbs.h | 2 +- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 4 +- drivers/infiniband/hw/usnic/usnic_ib_verbs.h | 2 +- drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c | 3 +- drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 2 +- drivers/infiniband/sw/rdmavt/cq.c | 3 +- drivers/infiniband/sw/rdmavt/cq.h | 2 +- drivers/infiniband/sw/rdmavt/vt.c | 4 +- drivers/infiniband/sw/rxe/rxe_recv.c | 20 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 3 +- drivers/infiniband/sw/siw/siw_verbs.c | 3 +- drivers/infiniband/sw/siw/siw_verbs.h | 2 +- drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 + drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 11 + drivers/infiniband/ulp/ipoib/ipoib_vlan.c | 2 + drivers/infiniband/ulp/rtrs/rtrs-srv.c | 76 +++++- drivers/infiniband/ulp/rtrs/rtrs-srv.h | 7 + drivers/input/keyboard/ep93xx_keypad.c | 4 +- drivers/input/keyboard/omap4-keypad.c | 6 +- drivers/input/keyboard/twl4030_keypad.c | 8 +- drivers/input/serio/sun4i-ps2.c | 9 +- drivers/input/touchscreen/elants_i2c.c | 2 +- drivers/input/touchscreen/imx6ul_tsc.c | 27 +- drivers/input/touchscreen/stmfts.c | 2 +- drivers/iommu/qcom_iommu.c | 8 +- drivers/lightnvm/core.c | 5 +- drivers/mailbox/mailbox.c | 12 +- drivers/mailbox/mtk-cmdq-mailbox.c | 8 +- drivers/md/md-bitmap.c | 3 +- drivers/md/md-cluster.c | 1 + drivers/media/firewire/firedtv-fw.c | 6 +- drivers/media/i2c/m5mols/m5mols_core.c | 3 +- drivers/media/i2c/ov5640.c | 196 ++++++++------ drivers/media/i2c/tc358743.c | 14 +- drivers/media/pci/bt8xx/bttv-driver.c | 13 +- drivers/media/pci/saa7134/saa7134-tvaudio.c | 3 +- drivers/media/platform/exynos4-is/fimc-isp.c | 4 +- drivers/media/platform/exynos4-is/fimc-lite.c | 2 +- drivers/media/platform/exynos4-is/media-dev.c | 8 +- drivers/media/platform/exynos4-is/mipi-csis.c | 4 +- drivers/media/platform/mx2_emmaprp.c | 7 +- drivers/media/platform/omap3isp/isp.c | 6 +- drivers/media/platform/qcom/camss/camss-csiphy.c | 4 +- drivers/media/platform/qcom/venus/core.c | 20 +- drivers/media/platform/qcom/venus/vdec.c | 10 +- drivers/media/platform/rcar-fcp.c | 4 +- drivers/media/platform/rcar-vin/rcar-csi2.c | 24 +- drivers/media/platform/rcar-vin/rcar-dma.c | 4 +- drivers/media/platform/rcar_drif.c | 30 +-- drivers/media/platform/rockchip/rga/rga-buf.c | 1 + drivers/media/platform/s3c-camif/camif-core.c | 5 +- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 4 +- drivers/media/platform/sti/bdisp/bdisp-v4l2.c | 3 +- drivers/media/platform/sti/delta/delta-v4l2.c | 4 +- drivers/media/platform/sti/hva/hva-hw.c | 4 +- drivers/media/platform/stm32/stm32-dcmi.c | 4 +- drivers/media/platform/ti-vpe/vpe.c | 2 + drivers/media/platform/vsp1/vsp1_drv.c | 11 +- drivers/media/rc/ati_remote.c | 4 + drivers/media/test-drivers/vivid/vivid-meta-out.c | 9 +- drivers/media/tuners/tuner-simple.c | 5 +- drivers/media/usb/uvc/uvc_ctrl.c | 6 +- drivers/media/usb/uvc/uvc_entity.c | 35 +++ drivers/media/usb/uvc/uvc_v4l2.c | 30 +++ drivers/memory/fsl-corenet-cf.c | 6 +- drivers/memory/omap-gpmc.c | 8 +- drivers/mfd/sm501.c | 8 +- drivers/misc/cardreader/rtsx_pcr.c | 4 +- drivers/misc/eeprom/at25.c | 2 +- drivers/misc/habanalabs/gaudi/gaudi.c | 8 +- drivers/misc/habanalabs/goya/goya.c | 8 +- drivers/misc/mic/scif/scif_rma.c | 4 +- drivers/misc/mic/vop/vop_main.c | 2 +- drivers/misc/mic/vop/vop_vringh.c | 24 +- drivers/misc/ocxl/Kconfig | 3 +- drivers/misc/vmw_vmci/vmci_queue_pair.c | 10 +- drivers/mmc/core/sdio_cis.c | 3 + drivers/mtd/hyperbus/hbmc-am654.c | 4 +- drivers/mtd/lpddr/lpddr2_nvm.c | 35 +-- drivers/mtd/mtdoops.c | 11 +- drivers/mtd/nand/raw/ams-delta.c | 2 + drivers/mtd/nand/raw/stm32_fmc2_nand.c | 2 +- drivers/mtd/nand/raw/vf610_nfc.c | 6 +- drivers/mtd/nand/spi/gigadevice.c | 14 +- drivers/net/can/flexcan.c | 34 ++- drivers/net/can/m_can/m_can_platform.c | 2 - drivers/net/dsa/microchip/ksz_common.c | 16 +- drivers/net/dsa/realtek-smi-core.h | 4 +- drivers/net/dsa/rtl8366.c | 280 ++++++++++--------- drivers/net/dsa/rtl8366rb.c | 2 +- .../net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 175 +++++++++++- .../net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.h | 15 ++ drivers/net/ethernet/cisco/enic/enic.h | 1 + drivers/net/ethernet/cisco/enic/enic_api.c | 6 + drivers/net/ethernet/cisco/enic/enic_main.c | 27 +- drivers/net/ethernet/faraday/ftgmac100.c | 5 + drivers/net/ethernet/faraday/ftgmac100.h | 8 + drivers/net/ethernet/freescale/fec_main.c | 35 ++- drivers/net/ethernet/ibm/ibmveth.c | 19 +- drivers/net/ethernet/ibm/ibmvnic.c | 10 +- drivers/net/ethernet/ibm/ibmvnic.h | 2 +- drivers/net/ethernet/korina.c | 3 +- drivers/net/ethernet/mediatek/Kconfig | 1 + drivers/net/ethernet/mellanox/mlx4/en_rx.c | 3 + drivers/net/ethernet/mellanox/mlx4/en_tx.c | 2 +- .../net/ethernet/mellanox/mlx5/core/en/health.c | 2 +- .../net/ethernet/mellanox/mlx5/core/lib/clock.c | 5 +- drivers/net/ethernet/realtek/r8169_main.c | 12 +- drivers/net/ethernet/socionext/netsec.c | 24 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 41 +-- drivers/net/ipa/ipa_endpoint.c | 6 + drivers/net/usb/qmi_wwan.c | 1 + drivers/net/wan/hdlc.c | 10 +- drivers/net/wan/hdlc_raw_eth.c | 1 + drivers/net/wireless/ath/ath10k/ce.c | 2 +- drivers/net/wireless/ath/ath10k/htt_rx.c | 8 + drivers/net/wireless/ath/ath10k/mac.c | 2 +- drivers/net/wireless/ath/ath11k/ahb.c | 10 +- drivers/net/wireless/ath/ath11k/mac.c | 4 +- drivers/net/wireless/ath/ath11k/qmi.c | 1 + drivers/net/wireless/ath/ath6kl/main.c | 3 + drivers/net/wireless/ath/ath6kl/wmi.c | 5 + drivers/net/wireless/ath/ath9k/hif_usb.c | 19 ++ drivers/net/wireless/ath/ath9k/htc_hst.c | 2 + drivers/net/wireless/ath/wcn36xx/main.c | 2 +- .../wireless/broadcom/brcm80211/brcmfmac/core.c | 2 +- .../wireless/broadcom/brcm80211/brcmfmac/msgbuf.c | 2 + .../broadcom/brcm80211/brcmsmac/phy/phy_lcn.c | 4 +- drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c | 8 +- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 9 +- drivers/net/wireless/marvell/mwifiex/scan.c | 2 +- drivers/net/wireless/marvell/mwifiex/sdio.c | 2 + drivers/net/wireless/marvell/mwifiex/usb.c | 3 +- drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 18 +- drivers/net/wireless/quantenna/qtnfmac/commands.c | 2 + .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 10 +- drivers/net/wireless/realtek/rtw88/main.c | 5 + drivers/net/wireless/realtek/rtw88/pci.c | 2 + drivers/net/wireless/realtek/rtw88/pci.h | 4 +- drivers/net/wireless/realtek/rtw88/phy.c | 5 +- drivers/ntb/hw/amd/ntb_hw_amd.c | 1 + drivers/ntb/hw/intel/ntb_hw_gen1.c | 2 +- drivers/nvme/target/core.c | 3 +- drivers/nvmem/core.c | 38 ++- drivers/opp/core.c | 6 + drivers/pci/controller/dwc/pcie-designware-ep.c | 3 +- drivers/pci/controller/pci-aardvark.c | 13 +- drivers/pci/controller/pci-hyperv.c | 50 +++- drivers/pci/controller/pcie-iproc-msi.c | 13 +- drivers/pci/iov.c | 1 + drivers/perf/thunderx2_pmu.c | 7 +- drivers/perf/xgene_pmu.c | 32 +-- drivers/pinctrl/aspeed/pinctrl-aspeed.c | 2 +- drivers/pinctrl/bcm/Kconfig | 1 + drivers/pinctrl/devicetree.c | 5 +- drivers/pinctrl/pinctrl-mcp23s08.c | 24 +- drivers/pinctrl/qcom/pinctrl-msm.c | 10 +- drivers/platform/chrome/cros_ec_lightbar.c | 2 + drivers/platform/x86/mlx-platform.c | 15 +- drivers/pwm/pwm-img.c | 3 +- drivers/pwm/pwm-lpss.c | 7 +- drivers/pwm/pwm-rockchip.c | 5 +- drivers/rapidio/devices/rio_mport_cdev.c | 18 +- drivers/ras/cec.c | 9 +- drivers/regulator/core.c | 21 +- drivers/remoteproc/mtk_scp_ipi.c | 4 +- drivers/rpmsg/mtk_rpmsg.c | 9 +- drivers/rpmsg/qcom_smd.c | 32 ++- drivers/rtc/rtc-ds1307.c | 4 + drivers/s390/net/qeth_core.h | 6 + drivers/s390/net/qeth_l2_main.c | 59 +++- drivers/s390/net/qeth_l2_sys.c | 1 + drivers/scsi/be2iscsi/be_main.c | 4 +- drivers/scsi/bfa/bfad.c | 1 + drivers/scsi/csiostor/csio_hw.c | 2 +- drivers/scsi/ibmvscsi/ibmvfc.c | 1 + drivers/scsi/mpt3sas/mpt3sas_base.c | 14 +- drivers/scsi/mvumi.c | 1 + drivers/scsi/qedf/qedf_main.c | 2 +- drivers/scsi/qedi/qedi_fw.c | 23 +- drivers/scsi/qedi/qedi_iscsi.c | 2 + drivers/scsi/qedi/qedi_main.c | 10 + drivers/scsi/qla2xxx/qla_init.c | 10 + drivers/scsi/qla2xxx/qla_inline.h | 5 + drivers/scsi/qla2xxx/qla_mbx.c | 2 +- drivers/scsi/qla2xxx/qla_nvme.c | 2 +- drivers/scsi/qla2xxx/qla_target.c | 2 +- drivers/scsi/qla4xxx/ql4_os.c | 2 +- drivers/scsi/smartpqi/smartpqi.h | 2 +- drivers/scsi/smartpqi/smartpqi_init.c | 101 ++++--- drivers/scsi/ufs/ufs-mediatek.c | 6 - drivers/scsi/ufs/ufs-qcom.c | 5 - drivers/scsi/ufs/ufshcd.c | 3 + drivers/slimbus/core.c | 6 +- drivers/slimbus/qcom-ngd-ctrl.c | 4 + drivers/soc/fsl/qbman/bman.c | 2 +- drivers/soc/mediatek/mtk-cmdq-helper.c | 5 +- drivers/soc/qcom/apr.c | 2 +- drivers/soc/qcom/pdr_internal.h | 2 +- drivers/soc/xilinx/zynqmp_power.c | 2 +- drivers/spi/spi-dw-pci.c | 16 +- drivers/spi/spi-fsi.c | 99 +++++-- drivers/spi/spi-omap2-mcspi.c | 17 +- drivers/spi/spi-s3c64xx.c | 52 +++- drivers/staging/emxx_udc/emxx_udc.c | 4 +- drivers/staging/media/atomisp/pci/sh_css.c | 2 +- drivers/staging/media/hantro/hantro_h264.c | 2 +- drivers/staging/media/hantro/hantro_postproc.c | 4 +- drivers/staging/media/ipu3/ipu3-css-params.c | 2 +- .../phy-rockchip-dphy-rx0/phy-rockchip-dphy-rx0.c | 1 + drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 2 +- drivers/staging/wfx/data_rx.c | 2 +- drivers/staging/wilc1000/mon.c | 3 +- drivers/staging/wilc1000/sdio.c | 5 +- drivers/staging/wilc1000/spi.c | 5 +- drivers/target/target_core_user.c | 2 +- drivers/tty/hvc/Kconfig | 1 + drivers/tty/hvc/hvcs.c | 14 +- drivers/tty/ipwireless/network.c | 4 +- drivers/tty/ipwireless/tty.c | 2 +- drivers/tty/pty.c | 2 +- drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/fsl_lpuart.c | 16 +- drivers/usb/cdns3/gadget.c | 2 +- drivers/usb/class/cdc-acm.c | 23 ++ drivers/usb/class/cdc-wdm.c | 72 +++-- drivers/usb/core/urb.c | 89 +++--- drivers/usb/dwc2/gadget.c | 40 ++- drivers/usb/dwc2/params.c | 2 +- drivers/usb/dwc2/platform.c | 6 +- drivers/usb/dwc3/core.c | 60 +++-- drivers/usb/dwc3/core.h | 7 + drivers/usb/dwc3/dwc3-of-simple.c | 1 + drivers/usb/gadget/function/f_ncm.c | 8 +- drivers/usb/gadget/function/f_printer.c | 16 +- drivers/usb/gadget/function/u_ether.c | 2 +- drivers/usb/gadget/function/u_serial.c | 1 + drivers/usb/gadget/udc/bcm63xx_udc.c | 1 + drivers/usb/host/ohci-hcd.c | 16 +- drivers/usb/host/xhci.c | 3 +- drivers/vfio/pci/vfio_pci_config.c | 24 +- drivers/vfio/pci/vfio_pci_intrs.c | 4 +- drivers/vfio/vfio.c | 9 +- drivers/vfio/vfio_iommu_type1.c | 6 +- drivers/video/backlight/sky81452-backlight.c | 1 + drivers/video/fbdev/aty/radeon_base.c | 2 +- drivers/video/fbdev/core/fbmem.c | 4 + drivers/video/fbdev/sis/init.c | 11 +- drivers/video/fbdev/vga16fb.c | 14 +- drivers/virt/fsl_hypervisor.c | 17 +- drivers/watchdog/sp5100_tco.h | 2 +- drivers/watchdog/watchdog_dev.c | 6 +- fs/afs/cell.c | 283 +++++++++++-------- fs/afs/dynroot.c | 23 +- fs/afs/internal.h | 15 +- fs/afs/main.c | 2 +- fs/afs/mntpt.c | 4 +- fs/afs/proc.c | 23 +- fs/afs/super.c | 16 +- fs/afs/vl_alias.c | 8 +- fs/afs/vl_rotate.c | 2 +- fs/afs/volume.c | 4 +- fs/btrfs/extent-io-tree.h | 1 + fs/btrfs/volumes.c | 7 +- fs/cifs/asn1.c | 16 +- fs/cifs/cifsacl.c | 5 +- fs/cifs/cifsproto.h | 2 + fs/cifs/connect.c | 5 +- fs/cifs/readdir.c | 5 +- fs/cifs/smb2ops.c | 21 +- fs/crypto/policy.c | 9 +- fs/d_path.c | 6 +- fs/dlm/config.c | 3 + fs/ext4/ext4.h | 2 +- fs/ext4/fsmap.c | 3 + fs/ext4/mballoc.c | 37 ++- fs/f2fs/inode.c | 7 + fs/f2fs/sysfs.c | 1 + fs/iomap/buffered-io.c | 25 +- fs/iomap/direct-io.c | 10 + fs/nfs/fs_context.c | 1 + fs/ntfs/inode.c | 6 + fs/proc/base.c | 3 +- fs/quota/quota_v2.c | 1 + fs/ramfs/file-nommu.c | 2 +- fs/reiserfs/inode.c | 3 +- fs/reiserfs/super.c | 8 +- fs/udf/inode.c | 25 +- fs/udf/super.c | 6 + fs/xfs/libxfs/xfs_rtbitmap.c | 11 +- fs/xfs/xfs_buf_item_recover.c | 2 + fs/xfs/xfs_file.c | 17 +- fs/xfs/xfs_fsmap.c | 48 ++-- fs/xfs/xfs_fsmap.h | 6 +- fs/xfs/xfs_ioctl.c | 144 ++++++---- fs/xfs/xfs_rtalloc.c | 11 + include/linux/bpf_verifier.h | 1 + include/linux/mailbox/mtk-cmdq-mailbox.h | 3 +- include/linux/oom.h | 1 + include/linux/overflow.h | 1 + include/linux/page_owner.h | 6 +- include/linux/pci.h | 1 + include/linux/platform_data/dma-dw.h | 2 + include/linux/sched/coredump.h | 1 + include/linux/soc/mediatek/mtk-cmdq.h | 5 +- include/net/ip.h | 6 + include/net/netfilter/nf_log.h | 1 + include/net/tc_act/tc_tunnel_key.h | 5 +- include/rdma/ib_umem.h | 9 +- include/rdma/ib_verbs.h | 68 +---- include/scsi/scsi_common.h | 7 + include/sound/hda_codec.h | 1 + include/trace/events/target.h | 12 +- include/uapi/linux/pci_regs.h | 1 + include/uapi/linux/perf_event.h | 2 +- kernel/bpf/percpu_freelist.c | 101 ++++++- kernel/bpf/percpu_freelist.h | 1 + kernel/bpf/verifier.c | 34 +++ kernel/debug/kdb/kdb_io.c | 8 +- kernel/events/core.c | 7 +- kernel/fork.c | 21 ++ kernel/module.c | 13 +- kernel/power/hibernate.c | 11 - kernel/rcu/rcutorture.c | 13 +- kernel/rcu/tree.c | 2 +- kernel/sched/core.c | 2 +- kernel/sched/fair.c | 20 +- kernel/sched/sched.h | 13 +- kernel/trace/trace_events_synth.c | 18 +- lib/crc32.c | 2 +- lib/idr.c | 1 + mm/filemap.c | 8 +- mm/huge_memory.c | 2 +- mm/memcontrol.c | 5 +- mm/oom_kill.c | 2 + mm/page_alloc.c | 4 +- mm/page_owner.c | 4 +- mm/swapfile.c | 4 +- net/bluetooth/hci_core.c | 11 + net/bluetooth/l2cap_sock.c | 7 +- net/bridge/netfilter/ebt_dnat.c | 2 +- net/bridge/netfilter/ebt_redirect.c | 2 +- net/bridge/netfilter/ebt_snat.c | 2 +- net/can/j1939/transport.c | 2 + net/core/filter.c | 3 +- net/core/skmsg.c | 14 +- net/core/sock.c | 13 +- net/ipv4/icmp.c | 7 +- net/ipv4/ip_gre.c | 15 +- net/ipv4/netfilter/nf_log_arp.c | 19 +- net/ipv4/netfilter/nf_log_ipv4.c | 6 +- net/ipv4/nexthop.c | 2 +- net/ipv4/route.c | 4 +- net/ipv4/tcp_input.c | 2 + net/ipv6/ip6_fib.c | 4 +- net/ipv6/netfilter/nf_log_ipv6.c | 8 +- net/mac80211/cfg.c | 3 +- net/mac80211/sta_info.c | 4 + net/mptcp/options.c | 3 +- net/mptcp/protocol.h | 2 +- net/mptcp/subflow.c | 3 +- net/netfilter/ipvs/ip_vs_ctl.c | 7 +- net/netfilter/ipvs/ip_vs_xmit.c | 6 + net/netfilter/nf_conntrack_proto_tcp.c | 19 +- net/netfilter/nf_dup_netdev.c | 1 + net/netfilter/nf_log_common.c | 12 + net/netfilter/nft_fwd_netdev.c | 1 + net/nfc/netlink.c | 2 +- net/sched/act_api.c | 14 - net/sched/act_ct.c | 4 +- net/sched/act_tunnel_key.c | 2 +- net/sched/cls_api.c | 2 +- net/smc/smc_core.c | 2 +- net/smc/smc_llc.c | 13 +- net/sunrpc/auth_gss/svcauth_gss.c | 27 +- net/sunrpc/xprtrdma/svc_rdma_sendto.c | 3 +- net/tipc/bcast.c | 10 +- net/tipc/msg.c | 3 +- net/tls/tls_device.c | 11 +- net/wireless/nl80211.c | 21 +- samples/bpf/xdpsock_user.c | 10 +- samples/mic/mpssd/mpssd.c | 4 +- scripts/package/builddeb | 6 +- scripts/package/mkdebian | 19 +- security/integrity/ima/ima_crypto.c | 2 + security/integrity/ima/ima_main.c | 10 + sound/core/seq/oss/seq_oss.c | 7 +- sound/firewire/bebob/bebob_hwdep.c | 3 +- sound/pci/hda/hda_intel.c | 14 +- sound/pci/hda/hda_jack.c | 22 +- sound/pci/hda/patch_ca0132.c | 24 +- sound/pci/hda/patch_hdmi.c | 20 +- sound/pci/hda/patch_realtek.c | 56 ++++ sound/soc/codecs/Kconfig | 1 + sound/soc/codecs/tas2770.c | 93 +++---- sound/soc/codecs/tlv320adcx140.c | 2 +- sound/soc/codecs/tlv320aic32x4.c | 9 +- sound/soc/codecs/wm_adsp.c | 20 +- sound/soc/fsl/fsl_sai.c | 19 +- sound/soc/fsl/fsl_sai.h | 1 + sound/soc/fsl/imx-es8328.c | 12 +- sound/soc/intel/boards/sof_rt5682.c | 13 + sound/soc/qcom/lpass-cpu.c | 16 -- sound/soc/qcom/lpass-platform.c | 3 +- sound/soc/soc-topology.c | 11 + sound/soc/sof/control.c | 11 + sound/soc/sof/intel/hda.c | 8 +- sound/soc/sof/sof-pci-dev.c | 24 ++ sound/usb/format.c | 1 + tools/build/Makefile.feature | 5 +- tools/build/feature/Makefile | 2 +- tools/build/feature/test-all.c | 10 - tools/lib/bpf/libbpf.c | 57 ++-- tools/lib/perf/evlist.c | 3 + tools/perf/Makefile.config | 4 +- tools/perf/Makefile.perf | 6 +- tools/perf/builtin-stat.c | 4 +- tools/perf/builtin-trace.c | 6 +- tools/perf/builtin-version.c | 1 - tools/perf/util/intel-pt.c | 8 +- tools/testing/radix-tree/idr-test.c | 29 ++ tools/testing/selftests/bpf/bench.c | 3 - tools/testing/selftests/bpf/benchs/bench_rename.c | 17 -- tools/testing/selftests/bpf/prog_tests/bpf_iter.c | 14 +- tools/testing/selftests/bpf/prog_tests/sk_assign.c | 2 +- .../testing/selftests/bpf/prog_tests/sockopt_sk.c | 4 +- .../selftests/bpf/prog_tests/test_overhead.c | 14 +- tools/testing/selftests/bpf/progs/test_overhead.c | 6 - .../selftests/bpf/progs/test_sysctl_loop1.c | 4 +- .../selftests/bpf/progs/test_sysctl_loop2.c | 4 +- tools/testing/selftests/bpf/progs/test_vmlinux.c | 12 +- .../trigger-inter-event-combined-hist.tc | 8 +- tools/testing/selftests/lkdtm/run.sh | 2 +- tools/testing/selftests/net/config | 1 + .../selftests/net/forwarding/vxlan_asymmetric.sh | 10 + .../selftests/net/forwarding/vxlan_symmetric.sh | 10 + tools/testing/selftests/net/mptcp/mptcp_connect.sh | 4 +- tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 +- tools/testing/selftests/net/rtnetlink.sh | 5 + tools/testing/selftests/powerpc/eeh/eeh-basic.sh | 9 +- tools/testing/selftests/vm/config | 1 + 665 files changed, 5459 insertions(+), 2941 deletions(-)
Signature · 2 lines
software engineer rajagiri school of engineering and technology - autonomous
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.8.17 release. There are 633 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu, 29 Oct 2020 13:53:43 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.8.17-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.8.y
and the diffstat can be found below.thanks,
greg k-h
All tests passing for Tegra ...
Test results for stable-v5.8:
15 builds: 15 pass, 0 fail
26 boots: 26 pass, 0 fail
60 tests: 60 pass, 0 failLinux version: 5.8.17-rc1-g5be39e9f29ce
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra20-ventana,
tegra210-p2371-2180, tegra210-p3450-0000,
tegra30-cardhu-a04Jon
Retry
Quoted 18 lines · Guenter Roeck
Quoted 8 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.8.17 release. There are 633 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu, 29 Oct 2020 13:53:43 +0000. Anything received after that time might be too late.
Build results:
total: 154 pass: 154 fail: 0 Qemu test results: total: 426 pass: 426 fail: 0Tested-by Guenter Roeck <[email protected]>Guenter
Sasha Levin
maintainerRe: [PATCH 5.8 574/633] selftests/bpf: Fix overflow tests to reflect iter size increase
In reply to Alan MaguireQuoted 23 lines · Alan Maguire
Quoted 7 lines · Greg Kroah-Hartman
From: Alan Maguire <[email protected]>
[ Upstream commit
eb58bbf2e5c7917aa30bf8818761f26bbeeb2290]bpf iter size increase to
PAGE_SIZE<< 3 means overflow tests assuming page size need to be bumped also.Alexei can correct me if I've got this wrong but I don't believe it's a stable backport candidate.
This selftests change should only be relevant when the BPF iterator size has been bumped up as it was in
af65320 bpf: Bump iter seq size to support BTF representation of large data structures
...so I don't _think_ this commit belongs in stable unless the above commit is backported also (and unless I'm missing something I don't see a burning reason to do that currently).
Quoted 6 lines
Backporting this alone will likely induce bpf test failures. Apologies if the "Fix" in the title was misleading; it should probably have been "Update" to reflect the fact it's not fixing an existing bug but rather updating the test to operate correctly in the context of other changes in the for-next patch series it was part of.
I'll drop it, thanks!
Signature · 2 lines
Thanks, Sasha
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.8.17 release. There are 633 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu, 29 Oct 2020 13:53:43 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.8.17-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-5.8.y
and the diffstat can be found below.thanks,
greg k-h
Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.
NOTE:
The Kunit test is a part of the LKFT test plan from now on 5.8, 5.9 and Linus mainline and Linux next master branches.
Summary
------------------------------------------------------------------------
kernel: 5.8.17-rc1
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-5.8.y
git commit: 5be39e9f29ceb931a3c8bfa71a3f18345bb6d3d5
git describe: v5.8.16-634-g5be39e9f29ce
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.8.y/build/v5.8.16-634-g5be39e9f29ce
No regressions (compared to build v5.8.16)
No fixes (compared to build v5.8.16)
Ran 42308 total tests in the following environments and test suites.
Environments
--------------
- dragonboard-410c
- hi6220-hikey
- i386
- juno-r2
- juno-r2-compat
- juno-r2-kasan
- nxp-ls2088
- qemu_arm
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15
- x86
- x86-kasan
Test Suites
-----------
* build
* install-android-platform-tools-r2600
* kselftest
* linux-log-parser
* ltp-containers-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-syscalls-tests
* perf
* v4l2-compliance
* libhugetlbfs
* ltp-commands-tests
* ltp-controllers-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-hugetlb-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-securebits-tests
* ltp-tracing-tests
* network-basic-tests
* ltp-cap_bounds-tests
* ltp-cpuhotplug-tests
* ltp-crypto-tests
* ltp-open-posix-tests
* ltp-sched-tests
* kunit
* kselftest-vsyscall-mode-native
* kselftest-vsyscall-mode-none
Signature · 2 lines
Linaro LKFT https://lkft.linaro.org