Re: [PATCH 2/2] arm64: dts: imx8mm: Add Gateworks IMX8MM Development Kits

2020-12-24 Thread Krzysztof Kozlowski
On Wed, Dec 23, 2020 at 02:23:16PM -0800, Tim Harvey wrote: > The Gateworks Venice GW71xx-0x/GW72xx-0x/GW73xx-0x are development > kits comprised of a GW700x SoM and a Baseboard. > > The GW700x SoM contains: > - IMX8MM SoC > - LPDDR4 DRAM > - eMMC FLASH > - Gateworks System Controller (eeprom/

Re: [PATCH v3 05/14] software_node: unregister software_nodes in reverse order

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: > > To maintain consistency with software_node_unregister_nodes(), reverse > the order in which the software_node_unregister_node_group() function > unregisters nodes. ... > - * Unregister multiple software nodes at once. > + * Unregister mult

Re: [PATCH v2 19/48] opp: Fix adding OPP entries in a wrong order if rate is unavailable

2020-12-24 Thread Dmitry Osipenko
24.12.2020 09:28, Viresh Kumar пишет: > On 23-12-20, 23:36, Dmitry Osipenko wrote: >> 23.12.2020 07:34, Viresh Kumar пишет: >>> On 22-12-20, 22:19, Dmitry Osipenko wrote: 22.12.2020 12:12, Viresh Kumar пишет: > rate will be 0 for both the OPPs here if rate_not_available is true and >

Re: [PATCH v2 28/48] soc/tegra: Introduce core power domain driver

2020-12-24 Thread Dmitry Osipenko
24.12.2020 09:51, Viresh Kumar пишет: > On 23-12-20, 23:37, Dmitry Osipenko wrote: >> 23.12.2020 08:57, Viresh Kumar пишет: >>> What's wrong with getting the regulator in the driver as well ? Apart from >>> the >>> OPP core ? >> >> The voltage syncing should be done for each consumer regulator >>

Re: [PATCH 3/3] overlayfs: Report writeback errors on upper

2020-12-24 Thread Matthew Wilcox
On Thu, Dec 24, 2020 at 11:32:55AM +0200, Amir Goldstein wrote: > In current master, syncfs() on any file by any container user will > result in full syncfs() of the upperfs, which is very bad for container > isolation. This has been partly fixed by Chengguang Xu [1] and I expect > his work will be

Re: [PATCH v2 15/48] opp: Support set_opp() customization without requiring to use regulators

2020-12-24 Thread Dmitry Osipenko
24.12.2020 07:10, Viresh Kumar пишет: > On 23-12-20, 23:38, Dmitry Osipenko wrote: >> Well, there is no "same structure", the opp_table->set_opp_data is NULL >> there. > > Right, I saw that yesterday. What I meant was that we need to start allocating > the structure for this case now. > Okay, th

Re: [PATCH v3 06/14] include: fwnode.h: Define format macros for ports and endpoints

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: > > OF, ACPI and software_nodes all implement graphs including nodes for ports > and endpoints. These are all intended to be named with a common schema, > as "port@n" and "endpoint@n" where n is an unsigned int representing the > index of the no

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 58cf05f597b03a8212d9ecf2c79ee046d3ee8ad9 commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 4 months ago config: i386-randconfig-

Re: [PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 3:14 AM Daniel Scally wrote: > > From: Heikki Krogerus > > This implements the remaining .graph_* callbacks in the .graph_* ==> ->graph_*() ? > fwnode operations structure for the software nodes. That makes > the fwnode_graph*() functions available in the drivers also g

[PATCH] perf build: remove -Wnested-externs

2020-12-24 Thread Tian Tao
since commit c93e4aeed1be ("Makefile.extrawarn: remove -Wnested-externs warning") has removed this check, so it's not needed here. Signed-off-by: Tian Tao --- tools/perf/Makefile.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.config b/tools/perf/Ma

i2c: mediatek: Fix apdma and i2c hand-shake timeout

2020-12-24 Thread qii.wang
From: Qii Wang With the apdma remove hand-shake signal, it requirs special operation timing to reset i2c manually, otherwise the interrupt will not be triggered, i2c transmission will be timeout. Signed-off-by: Qii Wang --- drivers/i2c/busses/i2c-mt65xx.c | 27 ++- 1 fi

Re: [PATCH] md/raid10: fix: incompatible types in comparison expression (different address spaces).

2020-12-24 Thread kernel test robot
Hi YANG, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on song-md/md-next] [also build test WARNING on v5.10 next-20201223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

[PATCH v2 -next] dlm: debug_fs: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init() Signed-off-by: Zheng Yongjun --- fs/dlm/debug_fs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index d6bbccb0ed15..7a6fa8ac6

Re: [PATCH v6 00/12] perf tools: fix perf stat with large socket IDs

2020-12-24 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 23, 2020 at 11:17:47PM +0100, Jiri Olsa escreveu: > On Fri, Dec 04, 2020 at 11:48:36AM +, John Garry wrote: > > On 03/12/2020 15:39, Jiri Olsa wrote: > > > > + > > > > > On Thu, Nov 26, 2020 at 04:13:16PM +0200, James Clark wrote: > > > > Changes since v5: > > > >* Fix test fo

[PATCH 2/2] arm64: dts: mt8192: Add node for the Mali GPU

2020-12-24 Thread Nick Fan
Add a basic GPU node for mt8192. Signed-off-by: Nick Fan --- This patch depends on Mediatek power and regulator support. Listed as following. [1]https://lore.kernel.org/patchwork/patch/1336293/ [2]https://patchwork.kernel.org/project/linux-mediatek/list/?series=374013 [3]https://lore.kernel.org

Re: [PATCH v3 13/14] include: media: v4l2-fwnode: Include v4l2_fwnode_bus_type

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 3:13 AM Daniel Scally wrote: > > V4L2 fwnode bus types are enumerated in v4l2-fwnode.c, meaning they aren't > available to the rest of the kernel. Move the enum to the corresponding > header so that I can use the label to refer to those values. Reviewed-by: Andy Shevchenko

[PATCH 1/2] dt-bindings: Convert Arm Mali Valhall GPU to DT schema

2020-12-24 Thread Nick Fan
Convert the Arm Valhall GPU binding to DT schema format. Define a compatible string for the Mali Valhall GPU for Mediatek's SoC platform. Signed-off-by: Nick Fan --- .../bindings/gpu/arm,mali-valhall.yaml| 252 ++ 1 file changed, 252 insertions(+) create mode 100644 Doc

Re: [PATCH v3 06/14] include: fwnode.h: Define format macros for ports and endpoints

2020-12-24 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Thu, Dec 24, 2020 at 02:17:07PM +0200, Andy Shevchenko wrote: > On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: > > > > OF, ACPI and software_nodes all implement graphs including nodes for ports > > and endpoints. These are all intended to be named with

Re: [PATCH] md/raid10: fix: incompatible types in comparison expression (different address spaces).

2020-12-24 Thread kernel test robot
Hi YANG, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on song-md/md-next] [also build test WARNING on v5.10 next-20201223] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-24 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Thu, Dec 24, 2020 at 01:09:00AM +, Daniel Scally wrote: > From: Heikki Krogerus > > This implements the remaining .graph_* callbacks in the > fwnode operations structure for the software nodes. That makes > the fwnode_graph*() functions available in th

Re: [PATCH] usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720

2020-12-24 Thread Pali Rohár
On Thursday 24 December 2020 05:54:55 Peter Chen wrote: > On 20-12-23 17:24:03, Pali Rohár wrote: > > Older ATF does not provide SMC call for USB 3.0 phy power on functionality > > and therefore initialization of xhci-hcd is failing when older version of > > ATF is used. In this case phy_power_on()

Re: [PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-24 Thread Laurent Pinchart
Hi Andy, On Thu, Dec 24, 2020 at 02:24:12PM +0200, Andy Shevchenko wrote: > On Thu, Dec 24, 2020 at 3:14 AM Daniel Scally wrote: > > > > From: Heikki Krogerus > > > > This implements the remaining .graph_* callbacks in the > > .graph_* ==> ->graph_*() ? > > > fwnode operations structure for the

Re: [PATCH v3 14/14] ipu3-cio2: Add cio2-bridge to ipu3-cio2 driver

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: > > Currently on platforms designed for Windows, connections between CIO2 and > sensors are not properly defined in DSDT. This patch extends the ipu3-cio2 > driver to compensate by building software_node connections, parsing the > connection pro

[PATCH v2] perf stat: Fix wrong skipping for per-die aggregation

2020-12-24 Thread Jin Yao
Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade Lake-AP, we have: S0-D0 S0-D1 S1-D0 S1-D1 But in check_per_pkg(), S0-D1 and S1-D1 are skipped because the ma

Re: [PATCH v4 3/7] mfd: max8997: Add of_compatible to extcon and charger mfd_cell

2020-12-24 Thread Lee Jones
On Thu, 24 Dec 2020, Timon Baetz wrote: > On Wed, 23 Dec 2020 15:32:07 +, Lee Jones wrote: > > On Wed, 23 Dec 2020, Timon Baetz wrote: > > > > > Add of_compatible ("maxim,max8997-muic") to the mfd_cell to have a > > > of_node set in the extcon driver. > > > > > > Add of_compatible ("maxim,max

Re: [PATCH v3 13/14] include: media: v4l2-fwnode: Include v4l2_fwnode_bus_type

2020-12-24 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Thu, Dec 24, 2020 at 01:09:06AM +, Daniel Scally wrote: > V4L2 fwnode bus types are enumerated in v4l2-fwnode.c, meaning they aren't > available to the rest of the kernel. Move the enum to the corresponding > header so that I can use the label to refer t

Re: [PATCH v7 08/12] media: uvcvideo: Use dev_ printk aliases

2020-12-24 Thread Andy Shevchenko
On Wed, Dec 23, 2020 at 3:39 PM Ricardo Ribalda wrote: > > Replace all the uses of printk() and uvc_printk() with its > equivalent dev_ alias macros. > Modify uvc_warn_once() macro to use dev_info instead printk(). ... > +#define uvc_warn_once(_dev, warn, fmt, ...)\

Re: [PATCH v2 11/48] opp: Add dev_pm_opp_find_level_ceil()

2020-12-24 Thread Dmitry Osipenko
24.12.2020 09:43, Viresh Kumar пишет: > On 23-12-20, 23:37, Dmitry Osipenko wrote: >> 23.12.2020 07:19, Viresh Kumar пишет: >>> On 22-12-20, 22:15, Dmitry Osipenko wrote: 22.12.2020 09:42, Viresh Kumar пишет: > On 17-12-20, 21:06, Dmitry Osipenko wrote: >> Add a ceil version of the dev

Re: [PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 2:55 PM Laurent Pinchart wrote: > On Thu, Dec 24, 2020 at 02:24:12PM +0200, Andy Shevchenko wrote: > > On Thu, Dec 24, 2020 at 3:14 AM Daniel Scally wrote: ... > > > + if (!strncmp(to_swnode(port)->node->name, "port@", > > > > You may use here corresponding

Re: [PATCH v9 3/8] IMA: define a hook to measure kernel integrity critical data

2020-12-24 Thread Mimi Zohar
On Sat, 2020-12-12 at 10:02 -0800, Tushar Sugandhi wrote: > IMA provides capabilities to measure file data, and in-memory buffer No need for the comma here. Up to this patch set, all the patches refer to "buffer data", not "in- memory buffer data". This patch introduces the concept of measuring

Re: [PATCH v9 1/8] IMA: generalize keyring specific measurement constructs

2020-12-24 Thread Mimi Zohar
On Sat, 2020-12-12 at 10:02 -0800, Tushar Sugandhi wrote: > > diff --git a/security/integrity/ima/ima_main.c > b/security/integrity/ima/ima_main.c > index 68956e884403..e76ef4bfd0f4 100644 > --- a/security/integrity/ima/ima_main.c > +++ b/security/integrity/ima/ima_main.c > @@ -786,13 +786,13 @@

[RFC PATCH 0/3] chelsio: cxgb: Use threaded irqs

2020-12-24 Thread Ahmed S. Darwish
Folks, The t1_interrupt() irq handler calls del_timer_sync() down the chain: sge.c: t1_interrupt() -> subr.c: t1_slow_intr_handler() -> asic_slow_intr() || fpga_slow_intr() -> t1_pci_intr_handler() -> cxgb2.c: t1_fatal_err()# Cont. at [*] -> fp

[RFC PATCH 2/3] chelsio: cxgb: Move slow interrupt handling to threaded irqs

2020-12-24 Thread Ahmed S. Darwish
The t1_interrupt() irq handler calls del_timer_sync() down the chain: sge.c: t1_interrupt() -> subr.c: t1_slow_intr_handler() -> asic_slow_intr() || fpga_slow_intr() -> t1_pci_intr_handler() -> cxgb2.c: t1_fatal_err() # Cont. at [*] -> fpga_slow_

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Timon Baetz
On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > On Wed, Dec 23, 2020 at 01:43:05PM +, Timon Baetz wrote: > > Register for extcon notification and set charging current depending on > > the detected cable type. Current values are taken from vendor kernel, > > where most charger t

Re: [PATCH] perf build: remove -Wnested-externs

2020-12-24 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 24, 2020 at 08:24:06PM +0800, Tian Tao escreveu: > since commit c93e4aeed1be > ("Makefile.extrawarn: remove -Wnested-externs warning") > has removed this check, so it's not needed here. But the above commit is for the kernel, scripts/Makefile.extrawarn isn't included in tools/perf/ Th

[RFC PATCH 1/3] chelsio: cxgb: Remove ndo_poll_controller()

2020-12-24 Thread Ahmed S. Darwish
Since commit ac3d9dd034e5 ("netpoll: make ndo_poll_controller() optional"), networking drivers which use NAPI for clearing their TX completions should not provide an ndo_poll_controller(). Netpoll simply triggers the necessary TX queues cleanup by synchronously calling the driver's NAPI poll handle

[RFC PATCH 3/3] chelsio: cxgb: Do not schedule a workqueue for external interrupts

2020-12-24 Thread Ahmed S. Darwish
cxgb's "elmer0" external interrupt handling code requires task context, so originally a workqueue was scheduled for it from the hardirq handler. Now that all of the external interrupt handling, elmer0 included, is run from a threaded-irq context, just directly call the real handler. Remove all th

RE: [PATCH] usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720

2020-12-24 Thread Peter Chen
> > > + /* Old bindings miss the PHY handle */ > > > + phy = of_phy_get(dev->of_node, "usb3-phy"); > > > + if (IS_ERR(phy) && PTR_ERR(phy) == -EPROBE_DEFER) > > > + return -EPROBE_DEFER; > > > > Doesn't need to judge IS_ERR(phy). > > Ok, I can remove it. I used same condition which is al

[rcu:dev.2020.12.23a] BUILD SUCCESS 7cc07f4867eb9618d4f7c35ddfbd746131b52f51

2020-12-24 Thread kernel test robot
-a006-20201223 x86_64 randconfig-a002-20201223 x86_64 randconfig-a004-20201223 x86_64 randconfig-a003-20201223 x86_64 randconfig-a005-20201223 i386 randconfig-a005-20201224 i386 randconfig-a002-20201224 i386

[PATCH] drm/nouveau: Fix memleak in nv50_wndw_new_

2020-12-24 Thread Dinghao Liu
When nv50_lut_init() fails, *pwndw should be freed just like when drm_universal_plane_init() fails. It's the same for the subsequent error paths. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/nouveau/dispnv50/wndw.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-)

[PATCH v2 -next] dlm: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- fs/dlm/lockspace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c index 624617c12250..2b3c3

[PATCH v2 -next] btrfs: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- fs/btrfs/check-integrity.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c i

[PATCH v2 -next] ecryptfs: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- fs/ecryptfs/crypto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c index 0681540c48d9.

[PATCH v2 -next] ext4: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- fs/ext4/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 94472044f4c1..8776f06a639d 1

[PATCH v2 -next] dma: idxd: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/dma/idxd/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/idxd/init.c b/drivers/dma/idxd/init.c index 0a44

[PATCH v2 -next] drm: gma500: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/gpu/drm/gma500/power.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/gma500/power.c b/drivers/gpu/drm/gma5

[PATCH v2 -next] hwtracing: stm: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/hwtracing/stm/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/hwtracing/stm/core.c b/drivers/hwtracing/stm/co

[PATCH v2 -next] mlx5: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/infiniband/hw/mlx5/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infi

Re: [PATCH] usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720

2020-12-24 Thread Pali Rohár
On Thursday 24 December 2020 13:15:21 Peter Chen wrote: > > > > > + /* Old bindings miss the PHY handle */ > > > > + phy = of_phy_get(dev->of_node, "usb3-phy"); > > > > + if (IS_ERR(phy) && PTR_ERR(phy) == -EPROBE_DEFER) > > > > + return -EPROBE_DEFER; > > > > > >

[PATCH v2 -next] md: bcache: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/md/bcache/super.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c inde

[PATCH v2 -next] misc: ocxl: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/misc/ocxl/file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/ocxl/file.c b/drivers/misc/ocxl/file.c index 4

[PATCH v2 -next] atmel: at76c50x: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/net/wireless/atmel/at76c50x-usb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/atmel/at76c50x-usb.c

[PATCH v2 -next] intel: iwlwifi: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/iwl

[PATCH v2 -next] staging: vc04_services: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- .../vc04_services/interface/vchiq_arm/vchiq_connected.c| 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/vc04

[PATCH v2 -next] staging: most: net: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/staging/most/net/net.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/most/net/net.c b/drivers/staging/most

[PATCH v2 -next] usb: host: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/usb/host/u132-hcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.

[PATCH v2 -next] usb: misc: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/usb/misc/ftdi-elan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-el

[PATCH v2 -next] platform: chrome: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/platform/chrome/cros_ec_lpc_mec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_lpc_mec.c

[PATCH v2 -next] video: backlight: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/video/backlight/backlight.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/backlight/backlight.c b/drivers/v

[PATCH v2 -next] vermilion.c: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/video/fbdev/vermilion/vermilion.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/vermilion/vermilion.c

Re: [PATCH v2] perf stat: Fix wrong skipping for per-die aggregation

2020-12-24 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 24, 2020 at 08:54:04PM +0800, Jin Yao escreveu: > Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported > --per-die aggregation yet. > > One issue is found in check_per_pkg() for uncore events running on > AP system. On cascade Lake-AP, we have: > > S0-D0 > S0-D1 > S

[PATCH v2 -next] scsi: target: iscsi: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Zheng Yongjun
mutex lock can be initialized automatically with DEFINE_MUTEX() rather than explicitly calling mutex_init(). Signed-off-by: Zheng Yongjun --- drivers/target/iscsi/iscsi_target.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/t

Re: [PATCH] usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720

2020-12-24 Thread Pali Rohár
On Thursday 24 December 2020 14:24:01 Pali Rohár wrote: > On Thursday 24 December 2020 13:15:21 Peter Chen wrote: > > > > > > > + /* Old bindings miss the PHY handle */ > > > > > + phy = of_phy_get(dev->of_node, "usb3-phy"); > > > > > + if (IS_ERR(phy) && PTR_ERR(phy) == -EPROBE_DEFER

Re: [RFC PATCH 1/3] chelsio: cxgb: Remove ndo_poll_controller()

2020-12-24 Thread Ahmed S. Darwish
[[ Actually adding Eric to Cc ]] On Thu, Dec 24, 2020 at 02:11:46PM +0100, Ahmed S. Darwish wrote: > Since commit ac3d9dd034e5 ("netpoll: make ndo_poll_controller() > optional"), networking drivers which use NAPI for clearing their TX > completions should not provide an ndo_poll_controller(). Netp

Re: [PATCH v2] perf stat: Fix wrong skipping for per-die aggregation

2020-12-24 Thread Jin, Yao
Hi Arnaldo, On 12/24/2020 9:26 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Dec 24, 2020 at 08:54:04PM +0800, Jin Yao escreveu: Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on A

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Krzysztof Kozlowski
On Thu, Dec 24, 2020 at 01:13:02PM +, Timon Baetz wrote: > On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > > On Wed, Dec 23, 2020 at 01:43:05PM +, Timon Baetz wrote: > > > Register for extcon notification and set charging current depending on > > > the detected cable type.

Re: [PATCH v1] scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

2020-12-24 Thread Stanley Chu
Hi Avri, Bean, On Thu, 2020-12-24 at 13:01 +0100, Bean Huo wrote: > On Thu, 2020-12-24 at 11:03 +, Avri Altman wrote: > > > > Do you see any substantial benefit of having > > > > fWriteBoosterBufferFlushEn > > > > disabled? > > > > > > 1. The definition of fWriteBoosterBufferFlushEn is that h

Re: [PATCH v9 4/8] IMA: add policy rule to measure critical data

2020-12-24 Thread Mimi Zohar
Hi Tushar, Please update the Subject line as, "Add policy rule support for measuring critical data". On Sat, 2020-12-12 at 10:02 -0800, Tushar Sugandhi wrote: > A new IMA policy rule is needed for the IMA hook > ima_measure_critical_data() and the corresponding func CRITICAL_DATA for > measuring

Re: [PATCH v7 08/12] media: uvcvideo: Use dev_ printk aliases

2020-12-24 Thread Laurent Pinchart
Hi Andy, On Thu, Dec 24, 2020 at 02:59:34PM +0200, Andy Shevchenko wrote: > On Wed, Dec 23, 2020 at 3:39 PM Ricardo Ribalda wrote: > > > > Replace all the uses of printk() and uvc_printk() with its > > equivalent dev_ alias macros. > > > Modify uvc_warn_once() macro to use dev_info instead printk

Re: [PATCH 01/18] arm64: dts: renesas: beacon kit: Configure programmable clocks

2020-12-24 Thread Adam Ford
On Tue, Dec 22, 2020 at 2:03 AM Geert Uytterhoeven wrote: > > Hi Adam, > > On Tue, Dec 22, 2020 at 2:39 AM Adam Ford wrote: > > On Fri, Dec 18, 2020 at 7:16 AM Geert Uytterhoeven > > wrote: > > > On Thu, Dec 17, 2020 at 12:52 PM Adam Ford wrote: > > > > On Thu, Dec 17, 2020 at 2:16 AM Geert Uy

Re: [PATCH v1 1/2] perf probe: Fixup Arm64 SDT arguments

2020-12-24 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 23, 2020 at 02:39:04PM +0800, Leo Yan escreveu: > Arm64 ELF section '.note.stapsdt' uses string format "-4@[sp, NUM]" if > the probe is to access data in stack, e.g. below is an example for > dumping Arm64 ELF file and shows the argument format: > > Arguments: -4@[sp, 12] -4@[sp, 8]

Re: [PATCH v4 4/7] power: supply: max8997_charger: Set CHARGER current limit

2020-12-24 Thread Krzysztof Kozlowski
On Thu, Dec 24, 2020 at 02:37:06PM +0100, Krzysztof Kozlowski wrote: > On Thu, Dec 24, 2020 at 01:13:02PM +, Timon Baetz wrote: > > On Thu, 24 Dec 2020 10:55:59 +0100, Krzysztof Kozlowski wrote: > > > > @@ -170,6 +237,28 @@ static int max8997_battery_probe(struct > > > > platform_device *pdev)

Re: [PATCH v3 05/14] software_node: unregister software_nodes in reverse order

2020-12-24 Thread Daniel Scally
On 24/12/2020 12:13, Andy Shevchenko wrote: > On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: >> >> To maintain consistency with software_node_unregister_nodes(), reverse >> the order in which the software_node_unregister_node_group() function >> unregisters nodes. > > ... > >> - * Unregist

Re: [PATCH 1/2] clk: axi-clkgen: add support for ZynqMP (UltraScale)

2020-12-24 Thread Tom Rix
On 12/21/20 6:42 AM, Alexandru Ardelean wrote: > From: Dragos Bogdan > > This IP core also works and is supported on the Xilinx ZynqMP (UltraScale) > FPGA boards. > This patch enables the driver to be available on these platforms as well. > > Since axi-clkgen is now supported on ZYNQMP, we need

Re: [PATCH v3 05/14] software_node: unregister software_nodes in reverse order

2020-12-24 Thread Andy Shevchenko
On Thu, Dec 24, 2020 at 4:00 PM Daniel Scally wrote: > On 24/12/2020 12:13, Andy Shevchenko wrote: > > On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: ... > >> + * Unregister multiple software nodes at once. The array will be unwound > >> in > >> + * reverse order (i.e. last entry first)

Re: [PATCH v3 05/14] software_node: unregister software_nodes in reverse order

2020-12-24 Thread Daniel Scally
On 24/12/2020 14:12, Andy Shevchenko wrote: > On Thu, Dec 24, 2020 at 4:00 PM Daniel Scally wrote: >> On 24/12/2020 12:13, Andy Shevchenko wrote: >>> On Thu, Dec 24, 2020 at 3:12 AM Daniel Scally wrote: > ... > + * Unregister multiple software nodes at once. The array will be unwound

Re: [PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-24 Thread Daniel Scally
Hi Andy, Laurent > On Thu, Dec 24, 2020 at 2:55 PM Laurent Pinchart > wrote: >> On Thu, Dec 24, 2020 at 02:24:12PM +0200, Andy Shevchenko wrote: >>> On Thu, Dec 24, 2020 at 3:14 AM Daniel Scally wrote: > > ... > + if (!strncmp(to_swnode(port)->node->name, "port@", >>> >>> You

Re: [PATCH v3 07/14] software_node: Add support for fwnode_graph*() family of functions

2020-12-24 Thread Daniel Scally
On 24/12/2020 12:53, Laurent Pinchart wrote: >> +while ((port = software_node_get_next_child(parent, old))) { >> +/* >> + * ports have naming style "port@n", so we search for children >> + * that follow that convention (but without assuming anything >> +

[PATCH net-next v2 4/6] bcm63xx_enet: alloc rx skb with NET_IP_ALIGN

2020-12-24 Thread Sieng Piaw Liew
Use netdev_alloc_skb_ip_align on newer SoCs with integrated switch (enetsw) when refilling RX. Increases packet processing performance by 30% (with netif_receive_skb_list). Non-enetsw SoCs cannot function with the extra pad so continue to use the regular netdev_alloc_skb. Tested on BCM6328 320 MH

[PATCH net-next v2 1/6] bcm63xx_enet: batch process rx path

2020-12-24 Thread Sieng Piaw Liew
Use netif_receive_skb_list to batch process rx skb. Tested on BCM6328 320 MHz using iperf3 -M 512, increasing performance by 12.5%. Before: [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-30.00 sec 120 MBytes 33.7 Mbits/sec 277 sender [ 4] 0.00-30.00 sec

[PATCH net-next v2 3/6] bcm63xx_enet: add xmit_more support

2020-12-24 Thread Sieng Piaw Liew
Support bulking hardware TX queue by using netdev_xmit_more(). Signed-off-by: Sieng Piaw Liew --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broa

[PATCH net-next v2 2/6] bcm63xx_enet: add BQL support

2020-12-24 Thread Sieng Piaw Liew
Add Byte Queue Limits support to reduce/remove bufferbloat in bcm63xx_enet. Signed-off-by: Sieng Piaw Liew --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/b

[PATCH net-next v2 5/6] bcm63xx_enet: convert to build_skb

2020-12-24 Thread Sieng Piaw Liew
We can increase the efficiency of rx path by using buffers to receive packets then build SKBs around them just before passing into the network stack. In contrast, preallocating SKBs too early reduces CPU cache efficiency. Check if we're in NAPI context when refilling RX. Normally we're almost alwa

[PATCH net-next v2 0/6] bcm63xx_enet: major makeover of driver

2020-12-24 Thread Sieng Piaw Liew
This patch series aim to improve the bcm63xx_enet driver by integrating the latest networking features, i.e. batched rx processing, BQL, build_skb, etc. The newer enetsw SoCs are found to be able to do unaligned rx DMA by adding NET_IP_ALIGN padding which, combined with these patches, improved pac

[PATCH net-next v2 6/6] bcm63xx_enet: improve rx loop

2020-12-24 Thread Sieng Piaw Liew
Use existing rx processed count to track against budget, thereby making budget decrement operation redundant. rx_desc_count can be calculated outside the rx loop, making the loop a bit smaller. Signed-off-by: Sieng Piaw Liew --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 4 ++-- 1 file chan

Re: [PATCH v2, 3/3] mailbox: cmdq: add mt8192 support

2020-12-24 Thread Chun-Kuang Hu
Hi, Yongqiang: Yongqiang Niu 於 2020年12月24日 週四 上午8:55寫道: > > add mt8192 support > > Signed-off-by: Yongqiang Niu > --- > drivers/mailbox/mtk-cmdq-mailbox.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c > b/drivers/mailbox/mtk-cmdq-mailbox.c > index

Re: [PATCH v9 5/8] IMA: limit critical data measurement based on a label

2020-12-24 Thread Mimi Zohar
Hi Tushar, On Sat, 2020-12-12 at 10:02 -0800, Tushar Sugandhi wrote: > System administrators should be able to limit which kernel subsystems > they want to measure the critical data for. To enable that, an IMA policy > condition to choose specific kernel subsystems is needed. This policy > conditi

Re: [PATCH V6 03/13] soc: mediatek: add driver for dvfsrc support

2020-12-24 Thread Chun-Kuang Hu
Hi, Henry: Henry Chen 於 2020年12月24日 週四 下午2:09寫道: > > Add dvfsrc driver for MT6873/MT8183/MT8192 Separate this patch for each SoC. Regards, Chun-Kuang. > > Signed-off-by: Henry Chen > --- > drivers/soc/mediatek/Kconfig| 12 + > drivers/soc/mediatek/Makefile | 1 + > d

Re: [PATCH v9 7/8] IMA: define a builtin critical data measurement policy

2020-12-24 Thread Mimi Zohar
On Sat, 2020-12-12 at 10:02 -0800, Tushar Sugandhi wrote: > From: Lakshmi Ramasubramanian > > Define a new critical data builtin policy to allow measuring > early kernel integrity critical data before a custom IMA policy > is loaded. > > Add critical data to built-in IMA rules if the kernel comm

[PATCH] ring-buffer: Drop unneeded check in ring_buffer_resize()

2020-12-24 Thread Qiujun Huang
Remove the cpumask check, as we has done it at the beginning of the function. Also fix a typo. s/also the on the/also on the/ Signed-off-by: Qiujun Huang --- kernel/trace/ring_buffer.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/tr

Re: [PATCH v2 -next] md: bcache: use DEFINE_MUTEX() for mutex lock

2020-12-24 Thread Coly Li
On 12/24/20 9:24 PM, Zheng Yongjun wrote: > mutex lock can be initialized automatically with DEFINE_MUTEX() > rather than explicitly calling mutex_init(). > > Signed-off-by: Zheng Yongjun NACK. For this case, it is unnecessary to initialize a global variable so early in declaration, this change

Re: [PATCHv6 0/4] n_gsm serdev support and protocol driver for droid4 modem

2020-12-24 Thread Pavel Machek
Hi! > > My notes say: > > > > /dev/motmdm1 -- basic support, calls, on/off > > > > /dev/motmdm3 -- send sms interface > > > > /dev/motmdm9 -- receive sms interface > > >

net/ceph/messenger_v1.c:1204:5: warning: stack frame size of 3040 bytes in function 'ceph_con_v1_try_read'

2020-12-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 58cf05f597b03a8212d9ecf2c79ee046d3ee8ad9 commit: 2f713615ddd9d805b6c5e79c52e0e11af99d2bf1 libceph: move msgr1 protocol implementation to its own file date: 10 days ago config: powerpc64-randconfig-r025-202

[PATCH 1/3] vidtv: psi: fix missing crc for PMT

2020-12-24 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" The PMT write function was refactored and this broke the CRC computation. Fix it. Fixes: db9569f67e2e ("media: vidtv: cleanup PMT write table function") Signed-off-by: Daniel W. S. Almeida --- drivers/media/test-drivers/vidtv/vidtv_psi.c | 5 +++-- 1 file changed,

[PATCH 3/3] media: vidtv: add initial debugfs interface

2020-12-24 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Add a debugfs interface for testing purposes that can be enabled by selecting **DVB_VIDTV_DEBUGFS**. This makes it possible to: dynamically inject errors at runtime by interacting with the files at /sys/kernel/debug/vidtv/* read some dvbv5 statistics from userspace

[PATCH 2/3] media: vidtv: remove unused field from 'struct vidtv_mpeg_ts'

2020-12-24 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Commit 3d1387b3b8f6 ("media: vidtv: fix some warnings") replaced the unused flexible array member at the end of struct vidtv_mpeg_ts with a pointer. This broke the 188-byte alignment since the struct no longer was 4 bytes in size. Fix this by removing this field enti

Re: [PATCH v2] checkpatch: fix false positive for COMMIT_LOG_LONG_LINE with URLs

2020-12-24 Thread Aditya
On 18/12/20 5:41 pm, Aditya Srivastava wrote: > Currently checkpatch warns for long line in commit messages even for > URL lines. > > An evaluation over v4.13..v5.8 showed that out of 11729 warnings for > this class, around 299 are due to line starting with URL. > > E.g., running checkpatch on co

PERHATIAN

2020-12-24 Thread Sistemas Administrador
PERHATIAN; Kotak surat Anda telah melebihi batas penyimpanan, yaitu 5 GB seperti yang didefinisikan oleh administrator, yang saat ini berjalan pada 10.9GB, Anda mungkin tidak dapat mengirim atau menerima surat baru sampai Anda kembali memvalidasi email mailbox Anda. Untuk memvalidasi ulang kota

Re: [PATCH 5.10 00/40] 5.10.3-rc1 review

2020-12-24 Thread Guenter Roeck
On 12/23/20 7:33 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.10.3 release. > There are 40 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 shoul

net/ceph/messenger_v1.c:1204:5: warning: stack frame size of 3040 bytes in function 'ceph_con_v1_try_read'

2020-12-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 58cf05f597b03a8212d9ecf2c79ee046d3ee8ad9 commit: 2f713615ddd9d805b6c5e79c52e0e11af99d2bf1 libceph: move msgr1 protocol implementation to its own file date: 10 days ago config: powerpc64-randconfig-r025-202

<    1   2   3   4   >