Re: [PATCH v11 0/7] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port

2021-01-14 Thread Stephan Gerhold
Hi, On Wed, Jan 13, 2021 at 10:24:49PM +, Srinivas Kandagatla wrote: > On 13/01/2021 20:08, Stephan Gerhold wrote: > > On Thu, Oct 08, 2020 at 06:37:40AM +0100, Srinivas Kandagatla wrote: > > > On 08/10/2020 06:16, Srinivasa Rao Mandadapu wrote: > > > > These patches are to support audio over

Question on workqueue: Manually break affinity on hotplug

2021-01-14 Thread Zhang, Qiang
Hello Peter Excuse me, I have some questions for you, about a description of this change: ''Don't rely on the scheduler to force break affinity for us -- it will stop doing that for per-cpu-kthreads." this mean when cpuhotplug, scheduler do not change affinity for per-cpu-kthread's task, if w

[PATCH v6 02/16] rapidio: fix kernel-doc a markup

2021-01-14 Thread Mauro Carvalho Chehab
Probaly this was due to a cut and paste issue. Signed-off-by: Mauro Carvalho Chehab --- drivers/rapidio/rio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c index c2b79736a92b..e74cf09eeff0 100644 --- a/drivers/rapidio/rio.c +++

[PATCH v6 03/16] fs: fix kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
Two markups are at the wrong place. Kernel-doc only support having the comment just before the identifier. Also, some identifiers have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- fs/dcache.c | 73 ++--

[PATCH v6 06/16] connector: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- include/linux/connector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/connector.h b/include/linux/connector.h index 8ea860efea37..4873

[PATCH v6 04/16] pstore/zone: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
The documented struct is psz_head and not psz_buffer. Reviewed-by: Kees Cook Signed-off-by: Mauro Carvalho Chehab --- fs/pstore/zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/zone.c b/fs/pstore/zone.c index 5266ccbec007..7c8f8feac6c3 100644 --- a/fs/pstore/

arch/arm64/include/asm/syscall_wrapper.h:41:25: warning: no previous prototype for '__arm64_compat_sys_epoll_pwait2'

2021-01-14 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: b0a0c2615f6f199a656ed8549d7dce625d77aa77 epoll: wire up syscall epoll_pwait2 date: 4 weeks ago config: arm64-randconfig-r005-20210113 (attached as .config)

[PATCH v6 05/16] firmware: stratix10-svc: fix kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
There are some common comments marked, instead, with kernel-doc notation, which won't work. While here, rename an identifier, in order to match the function prototype below kernel-doc markup. Acked-by: Richard Gong Signed-off-by: Mauro Carvalho Chehab --- include/linux/firmware/intel/stratix10

[PATCH v6 09/16] w1: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- include/linux/w1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/w1.h b/include/linux/w1.h index 949d3b10e531..9a2a0ef39018 100644 --- a

[PATCH v6 13/16] net: cfg80211: fix a kerneldoc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../include/net/cfg80211.h:1766: warning: expecting prototype for struct cfg80211_sar_chan_ranges. Prototype was for struct cfg80211_sar_freq_ranges instead Signed-off-by: Mauro Carvalho Chehab --- includ

[PATCH v6 01/16] parport: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
The kernel-doc markup inside share.c is actually for __parport_register_driver. The actual goal seems to be to document parport_register_driver(). So, fix the existing markup and add a new one. Signed-off-by: Mauro Carvalho Chehab --- drivers/parport/share.c | 2 +- include/linux/parport.h | 3

Re: [PATCH v2 1/2] rtc: pcf2127: Disable Power-On Reset Override

2021-01-14 Thread Uwe Kleine-König
On Wed, Jan 13, 2021 at 12:27:41PM +0100, Philipp Rosenberger wrote: > To resume normal operation after a total power loss (no or empty > battery) the "Power-On Reset Override (PORO)" facility needs to be > disabled. > > As the oscillator may take a long time (200 ms to 2 s) to resume normal > ope

[PATCH v6 11/16] scripts: kernel-doc: validate kernel-doc markup with the actual names

2021-01-14 Thread Mauro Carvalho Chehab
Kernel-doc currently expects that the kernel-doc markup to come just before the function/enum/struct/union/typedef prototype. Yet, if it find things like: /** * refcount_add - add a value to a refcount * @i: the value to add to the refcount * @r: the refcount

[PATCH v6 00/16] Fix several bad kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
used for the right declaration; 3) 5 additional patches, produced against next-20210114 with new problems detected after the original series: net: tip: fix a couple kernel-doc markups net: cfg80211: fix a kerneldoc markup reset: core: fix a kernel-doc markup drm: drm_crc: fix a kernel-doc

[PATCH v6 15/16] drm: drm_crc: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../include/drm/drm_crtc.h:1257: warning: expecting prototype for drm_crtc_alloc_with_planes(). Prototype was for drmm_crtc_alloc_with_planes() instead Signed-off-by: Mauro Carvalho Chehab --- include/dr

[PATCH v6 07/16] lib/crc7: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- lib/crc7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crc7.c b/lib/crc7.c index 6a848d73e804..3848e313b722 100644 --- a/lib/crc7.c +++ b/lib/cr

[PATCH v6 08/16] memblock: fix kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
Some identifiers have different names between their prototypes and the kernel-doc markup. Acked-by: Mike Rapoport Signed-off-by: Mauro Carvalho Chehab --- include/linux/memblock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/me

[PATCH v6 16/16] platform/surface: aggregator: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../drivers/platform/surface/aggregator/ssh_request_layer.c:1065: warning: expecting prototype for ssh_rtl_tx_start(). Prototype was for ssh_rtl_start() instead Signed-off-by: Mauro Carvalho Chehab --- d

Re: [PATCH v2 2/2] rtc: pcf2127: Run a OTP refresh if not done before

2021-01-14 Thread Uwe Kleine-König
On Wed, Jan 13, 2021 at 12:27:42PM +0100, Philipp Rosenberger wrote: > The datasheet of the PCF2127 states,it is recommended to process an OTP s/,/, / > refresh once the power is up and the oscillator is operating stable. The > OTP refresh takes less than 100 ms to complete. > > Signed-off-by: P

[PATCH v6 10/16] selftests: kselftest_harness.h: partially fix kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
The kernel-doc markups on this file are weird: they don't follow what's specified at: Documentation/doc-guide/kernel-doc.rst In particular, markups should use this format: identifier - description and not this: identifier(args) The way the definitions are inside this fil

Re: [PATCH v6 15/16] drm: drm_crc: fix a kernel-doc markup

2021-01-14 Thread Simon Ser
On Thursday, January 14th, 2021 at 9:04 AM, Mauro Carvalho Chehab wrote: > A function has a different name between their prototype > and its kernel-doc markup: > > ../include/drm/drm_crtc.h:1257: warning: expecting prototype for > drm_crtc_alloc_with_planes(). Prototype was for drmm_crtc_

[PATCH v6 12/16] net: tip: fix a couple kernel-doc markups

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../net/tipc/link.c:2551: warning: expecting prototype for link_reset_stats(). Prototype was for tipc_link_reset_stats() instead ../net/tipc/node.c:1678: warning: expecting prototype for is the gene

[PATCH v6 14/16] reset: core: fix a kernel-doc markup

2021-01-14 Thread Mauro Carvalho Chehab
A function has a different name between their prototype and its kernel-doc markup: ../drivers/reset/core.c:888: warning: expecting prototype for device_reset(). Prototype was for __device_reset() instead Signed-off-by: Mauro Carvalho Chehab --- drivers/reset/core.c | 4 ++-- 1 file cha

[PATCH] udf: fix the problem that the disc content is not displayed

2021-01-14 Thread lianzhi chang
When the capacity of the disc is too large (assuming the 4.7G specification), the disc (UDF file system) will be burned multiple times in the windows (Multisession Usage). When the remaining capacity of the CD is less than 300M (estimated value, for reference only), open the CD in the Linux system,

Re: [PATCH v6 5/5] media: i2c: max9286: Configure reverse channel amplitude

2021-01-14 Thread Jacopo Mondi
Hi Laurent, On Thu, Jan 14, 2021 at 07:53:36AM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > > > > All in all: > > - yes, I think there might be a need to control the noise immunity > > settings after initialization > > - I think it should be done on the serializer side, possibly with a DT > >

RE: [PATCH bpf-next v6 00/11] Atomics for eBPF

2021-01-14 Thread John Fastabend
Brendan Jackman wrote: > Happy new year everyone, and thanks once again for the reviews. > > There's still one unresolved review comment from John[3] but I don't > think it needs to block the patchset as it stands, it can be a > separate patch. Hope that's OK. Its ok on my side if it comes as a f

Re: [PATCH v5] drm/sun4i: tcon: fix inverted DCLK polarity

2021-01-14 Thread Marjan Pascolo
Hi Giulio, You did a typo Il 13/01/2021 17:05, Giulio Benetti ha scritto: From: Giulio Benetti During commit 88bc4178568b ("drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags") DRM_BUS_FLAG_* macros have been changed to avoid ambiguity but just because of this ambiguity previous D

Re: [PATCH v2] kbuild: check the minimum compiler version in Kconfig

2021-01-14 Thread Sedat Dilek
On Thu, Jan 14, 2021 at 8:55 AM Ilie Halip wrote: > > Hi Masahiro, > > > + #elif defined(__INTEL_COMPILER) > > + /* How to get the version of intel compiler? */ > > + ICC 0 0 0 > > According to Intel documentation[1], this should do the trick: > >

Re: [PATCH v1 1/1] time64.h: Consolidated PSEC_PER_SEC definition

2021-01-14 Thread Vinod Koul
On 14-01-21, 09:10, Andy Shevchenko wrote: > On Thursday, January 14, 2021, Jakub Kicinski wrote: > > > On Tue, 12 Jan 2021 17:37:09 +0200 Andy Shevchenko wrote: > > > We have currently three users of the PSEC_PER_SEC each of them defining > > it > > > individually. Instead, move it to time64.h t

Re: [PATCH v5] drm/sun4i: tcon: fix inverted DCLK polarity

2021-01-14 Thread Giulio Benetti
Hi Marjan, On 1/14/21 8:58 AM, Marjan Pascolo wrote: Hi Giulio, You did a typo Il 13/01/2021 17:05, Giulio Benetti ha scritto: From: Giulio Benetti During commit 88bc4178568b ("drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags") DRM_BUS_FLAG_* macros have been changed to avoid

[PATCH] watchdog: stop wdd when watchdog hw running in reboot_notifier

2021-01-14 Thread Qiang Zhao
From: Zhao Qiang In watchdog_reboot_notifier, wdd should be stopped when the device is in hw_running state Signed-off-by: Zhao Qiang --- drivers/watchdog/watchdog_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watc

[PATCH v6] drm/sun4i: tcon: fix inverted DCLK polarity

2021-01-14 Thread Giulio Benetti
From: Giulio Benetti During commit 88bc4178568b ("drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags") DRM_BUS_FLAG_* macros have been changed to avoid ambiguity but just because of this ambiguity previous DRM_BUS_FLAG_PIXDATA_(POS/NEG)EDGE were used meaning _SAMPLE_ not _DRIVE_. This

Re: [PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-14 Thread Ard Biesheuvel
On Wed, 13 Jan 2021 at 23:09, Linus Torvalds wrote: > > On Wed, Jan 13, 2021 at 1:44 PM Russell King - ARM Linux admin > wrote: > > > > So, maybe the Sparc issue was just a similar but different bug in gcc > > 4.9.x. > > Good catch. And I know this bug has happened independently on > different ar

Re: Infinite recursion in device_reorder_to_tail() due to circular device links

2021-01-14 Thread Stephan Gerhold
Hi Peter, On Thu, Jan 14, 2021 at 08:54:54AM +0800, Peter Chen wrote: > On 21-01-13 12:18:35, Stephan Gerhold wrote: > > > > Also, on a completely different note I looked again at the chipidea USB > > driver that produces this situation. To request the PHY (which ends up > > in the circular devic

Re: [PATCH v7 4/7] dt-bindings: media: max9286: Document 'maxim,reverse-channel-microvolt'

2021-01-14 Thread Sergei Shtylyov
Hello! On 13.01.2021 21:55, Jacopo Mondi wrote: Document the 'reverse-channel-microvolt' vendor property in the Where is "maxim,"? bindings document of the max9286 driver. The newly introduced property allows to specifying the initial Specify? configuration of the GMSL reverse co

Re: [PATCH 0/3] arm64: cpufeature: Add filter function to control

2021-01-14 Thread Marc Zyngier
On 2021-01-14 07:15, Srinivas Ramana wrote: Hi Marc, On 1/11/2021 5:40 AM, Marc Zyngier wrote: Hi Srinivas, On 2021-01-09 00:29, Srinivas Ramana wrote: This patchset adds a control function for cpufeature framework so that the feature can be controlled at runtime. Defer PAC on boot core and

Re: [RFC PATCH 0/5] running kernel mode SIMD with softirqs disabled

2021-01-14 Thread Ard Biesheuvel
On Sat, 19 Dec 2020 at 03:05, Herbert Xu wrote: > > On Fri, Dec 18, 2020 at 06:01:01PM +0100, Ard Biesheuvel wrote: > > > > Questions: > > - what did I miss or break horribly? > > - does any of this matter for RT? AIUI, RT runs softirqs from a dedicated > > kthread, so I don't think it cares. >

Re: [PATCH v6 14/16] reset: core: fix a kernel-doc markup

2021-01-14 Thread Philipp Zabel
Hi Mauro, On Thu, 2021-01-14 at 09:04 +0100, Mauro Carvalho Chehab wrote: > A function has a different name between their prototype > and its kernel-doc markup: > > ../drivers/reset/core.c:888: warning: expecting prototype for > device_reset(). Prototype was for __device_reset() instead >

[PATCH] ALSA: hda/realtek - Limit int mic boost on Acer Aspire E5-575T

2021-01-14 Thread Chris Chiu
The Acer Apire E5-575T laptop with codec ALC255 has a terrible background noise comes from internal mic capture. And the jack sensing dose not work for headset like some other Acer laptops. This patch limits the internal mic boost on top of the existing ALC255_FIXUP_ACER_MIC_NO_PRESENCE quirk for

Re: [PATCH v2] software_node: Add kernel-doc comments to exported symbols

2021-01-14 Thread Daniel Scally
Hi Randy On 13/01/2021 01:01, Randy Dunlap wrote: > On 1/12/21 4:02 PM, Daniel Scally wrote: >> A number of functions which are exported via EXPORT_SYMBOL_GPL() lack any >> kernel-doc comments; add those in so all exported symbols are documented. >> >> Reviewed-by: Andy Shevchenko >> Reviewed-by:

[RESEND PATCH v5 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Reviewed-by: Rob Herring Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 93 ++ 1 file changed, 93 insertions(+) create mode

[RESEND PATCH v5 0/2] PCI: Add new Unisoc PCIe driver

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2)

[RESEND PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 12 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 293

Re: [PATCH v5] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-14 Thread Chunfeng Yun
Hi Ikjoon, On Tue, 2021-01-12 at 13:48 +0800, Ikjoon Jang wrote: > On Fri, Jan 8, 2021 at 10:44 PM Mathias Nyman > wrote: > > > > On 8.1.2021 8.11, Chunfeng Yun wrote: > > > On Thu, 2021-01-07 at 13:09 +0200, Mathias Nyman wrote: > > >> On 29.12.2020 8.24, Ikjoon Jang wrote: > > >>> xhci-mtk has

Re: [PATCH] ata: remove redundant error print in rb532_pata_driver_probe

2021-01-14 Thread Sergei Shtylyov
Hello! On 13.01.2021 17:04, Menglong Dong wrote: [...] irq = platform_get_irq(pdev, 0); - if (irq <= 0) { - dev_err(&pdev->dev, "no IRQ resource found\n"); + if (irq <= 0) return -ENOENT; This still beaks the probe deferral. :-( But that's ano

Re: [PATCH 2/3] reset: mchp: sparx5: add switch reset driver

2021-01-14 Thread Steen Hegelund
On Thu, 2021-01-14 at 00:23 +0100, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > > +static int sparx5_switch_reset(struct reset_controller_dev *rcdev, > > +   unsigned long id) > > +{ > > +

Re: [PATCH v2 0/7] Rid W=1 warnings in Ethernet

2021-01-14 Thread Lee Jones
On Wed, 13 Jan 2021, Jakub Kicinski wrote: > On Wed, 13 Jan 2021 16:41:16 + Lee Jones wrote: > > Resending the stragglers again. > > > > > > This set is part of a larger effort attempting to clean-up W=1

arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types)

2021-01-14 Thread kernel test robot
months ago config: sh-randconfig-s032-20210114 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

[PATCH v3] octeontx2-af: Fix missing check bugs in rvu_cgx.c

2021-01-14 Thread wangyingjie55
From: Yingjie Wang In rvu_mbox_handler_cgx_mac_addr_get() and rvu_mbox_handler_cgx_mac_addr_set(), the msg is expected only from PFs that are mapped to CGX LMACs. It should be checked before mapping, so we add the is_cgx_config_permitted() in the functions. Fixes: 96be2e0da85e ("octeontx2-af: Su

Re: [PATCH 3/4] configfs: implement committable items

2021-01-14 Thread Bartosz Golaszewski
On Thu, Jan 14, 2021 at 12:46 AM Joel Becker wrote: > > On Wed, Nov 25, 2020 at 04:22:46PM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This implements configfs committable items. We mostly follow the > > documentation except that we extend config_group_ops with uncommi

Re: [PATCH 2/2] compiler.h: Include asm/rwonce.h under ARM64 and ALPHA to fix build errors

2021-01-14 Thread Sergei Shtylyov
Hello! On 13.01.2021 13:57, Tiezhu Yang wrote: When make M=samples/bpf on the Loongson 3A3000 platform which belongs to MIPS arch, there exists many similar build errors about 'asm/rwonce.h' file not found, so include it only under CONFIG_ARM64 and CONFIG_ALPHA due to it exists only in arm64 an

[PATCH] mlxsw: pci: switch from 'pci_' to 'dma_' API

2021-01-14 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'mlxsw_pci_queue_init()' and 'mlxsw_pci_fw_area_init

Re: [PATCH][next] media: i2c: fix spelling mistakes: "enpoint" -> "endpoint"

2021-01-14 Thread Paul Kocialkowski
Hi, On Wed 13 Jan 21, 10:05, Colin King wrote: > From: Colin Ian King > > There are two spelling mistakes in dev_err messages. Fix these. Thanks for the patch! Reviewed-by: Paul Kocialkowski Cheers, Paul > Signed-off-by: Colin Ian King > --- > drivers/media/i2c/ov5648.c | 2 +- > drivers

[PATCH 2/2] perf tools: Add 'cgroup-switches' software event

2021-01-14 Thread Namhyung Kim
It counts how often cgroups are changed actually during the context switches. # perf stat -a -e context-switches,cgroup-switches -a sleep 1 Performance counter stats for 'system wide': 11,267 context-switches 10,950 cgroup-switches 1.015634369

[PATCH 1/2] perf core: Add PERF_COUNT_SW_CGROUP_SWITCHES event

2021-01-14 Thread Namhyung Kim
This patch adds a new software event to count context switches involving cgroup switches. So it's counted only if cgroups of previous and next tasks are different. Note that it only checks the cgroups in the perf_event subsystem. For cgroup v2, it shouldn't matter anyway. One can argue that we

Re: linux-next: build warning after merge of the usb tree

2021-01-14 Thread Greg KH
On Thu, Jan 14, 2021 at 09:48:56AM +1100, Stephen Rothwell wrote: > Hi all, > > On Wed, 6 Jan 2021 13:12:25 +1100 Stephen Rothwell > wrote: > > > > After merging the usb tree, today's linux-next build (htmldocs) produced > > this warning: > > > > drivers/usb/dwc3/core.h:1259: warning: Function

Re: [v2] Old platforms: bring out your dead

2021-01-14 Thread Arnd Bergmann
On Wed, Jan 13, 2021 at 8:00 PM Krzysztof Hałasa wrote: > Arnd Bergmann writes: > > > For these I received no reply yet. Again, these will stay for the moment > > unless I get a reply, but if anyone has more information, please reply > > here to document the status (adding a few more people to Cc

Re: [RESEND PATCH v5 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2021-01-14 Thread Leon Romanovsky
On Thu, Jan 14, 2021 at 04:29:28PM +0800, Hongtao Wu wrote: > From: Hongtao Wu > > This series adds PCIe controller driver for Unisoc SoCs. > This controller is based on DesignWare PCIe IP. > > Signed-off-by: Hongtao Wu > --- > drivers/pci/controller/dwc/Kconfig | 12 ++ > drivers/pci/contr

arch/arm64/kvm/va_layout.c:249:6: warning: no previous prototype for 'kvm_update_kimg_phys_offset'

2021-01-14 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d commit: 1db9d9ded771389aae5760d20dd1bac113451b9c KVM: arm64: Add kimg_hyp_va() helper date: 9 weeks ago config: arm64-randconfig-r005-20210113 (attached as .config)

[PATCH -next] media: venus: Mark bufreq_enc with static keyword

2021-01-14 Thread Zou Wei
Fix the following sparse warning: drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c:1242:5: warning: symbol 'bufreq_enc' was not declared. Should it be static? Signed-off-by: Zou Wei --- drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCH 1/1] iommu/vt-d: Consolidate duplicate cache invaliation code

2021-01-14 Thread Lu Baolu
The pasid based IOTLB and devTLB invalidation code is duplicate in several places. Consolidate them by using the common helpers. Signed-off-by: Lu Baolu --- drivers/iommu/intel/pasid.c | 18 ++-- drivers/iommu/intel/svm.c | 55 ++--- 2 files changed, 11

Re: [PATCH 1/4] tracing: add error_report trace points

2021-01-14 Thread Marco Elver
On Thu, 14 Jan 2021 at 08:50, Alexander Potapenko wrote: > > On Wed, Jan 13, 2021 at 10:10 PM Steven Rostedt wrote: > > > > On Wed, 13 Jan 2021 10:16:54 +0100 > > Alexander Potapenko wrote: > > > > > +DECLARE_EVENT_CLASS(error_report_template, > > > + TP_PROTO(const char *error_d

Re: SLUB: percpu partial object count is highly inaccurate, causing some memory wastage and maybe also worse tail latencies?

2021-01-14 Thread Christoph Lameter
On Wed, 13 Jan 2021, Jann Horn wrote: > Some brainstorming: > > Maybe you could have an atomic counter in kmem_cache_cpu that tracks > the number of empty frozen pages that are associated with a specific > CPU? So the freeing slowpath would do its cmpxchg_double, and if the The latencies of thes

Re: [PATCH 07/10] dwc3: document gadget_max_speed

2021-01-14 Thread Felipe Balbi
Mauro Carvalho Chehab writes: > This new field was added to struct dwc3_scratchpad_array, but > a documentation for it was missed: > > ../drivers/usb/dwc3/core.h:1259: warning: Function parameter or member > 'gadget_max_speed' not described in 'dwc3' > > Signed-off-by: Mauro Carvalho Cheha

[PATCH] drivers/usb/gadget/udc: Assign boolean values to a bool variable

2021-01-14 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./drivers/usb/gadget/udc/udc-xilinx.c:1957:2-18: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- drivers/usb/gadget/udc/udc-xilinx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

Re: [PATCH 00/31] Rid W=1 warnings from Video

2021-01-14 Thread Jani Nikula
On Wed, 13 Jan 2021, Lee Jones wrote: > On Wed, 13 Jan 2021, Sam Ravnborg wrote: > >> Hi Lee, >> >> On Wed, Jan 13, 2021 at 02:49:38PM +, Lee Jones wrote: >> > This set is part of a larger effort attempting to clean-up W=1 >> > kernel builds, which are currently overwhelmingly riddled with >>

[PATCH] printk: kmsg_dump: revert msg_print_text() workaround

2021-01-14 Thread John Ogness
The old msg_print_text() function only filled up to size-1 bytes of the buffer. A workaround for this quirky behavior was implemented with commit c9dccacfccc7 ("printk: Do not lose last line in kmsg buffer dump"). However, with commit 896fbe20b4e2 ("printk: use the lockless ringbuffer"), msg_print

Re: [PATCH v7 3/7] fixup! media: i2c: rdacm21: Break-out ov10640 initialization

2021-01-14 Thread Laurent Pinchart
Hi Jacopo, On Thu, Jan 14, 2021 at 08:52:28AM +0100, Jacopo Mondi wrote: > On Thu, Jan 14, 2021 at 01:23:25AM +0200, Laurent Pinchart wrote: > > On Wed, Jan 13, 2021 at 07:55:01PM +0100, Jacopo Mondi wrote: > > > The embedded OV490 ISP chip provides a secondary SCCB interface and > > > two GPIO li

Re: [PATCH v2 00/16] introduce generic IOCTL interface for RPMsg channels management

2021-01-14 Thread Arnaud POULIQUEN
Hi Mathieu, On 1/13/21 9:31 PM, Mathieu Poirier wrote: > Hi Arnaud, > > [...] > >> >> Arnaud Pouliquen (16): >> rpmsg: introduce RPMsg control driver for channel creation >> rpmsg: add RPMsg control API to register service >> rpmsg: add override field in channel info >> rpmsg: ctrl: impl

[PATCH] fs/cifs: Replace one-element array with flexible-array member.

2021-01-14 Thread Jiapeng Zhong
Fix the following coccicheck warning: ./fs/cifs/smb2pdu.h:1711:8-16: WARNING use flexible-array member instead(https://www.kernel.org/doc/html/latest/ process/deprecated.html#zero-length-and-one-element-arrays) ./fs/cifs/smb2pdu.h:1509:8-14: WARNING use flexible-array member instead(https://www.k

[PATCH] fs/cifs: Assign boolean values to a bool variable

2021-01-14 Thread Jiapeng Zhong
Fix the following coccicheck warnings: ./fs/cifs/connect.c:3386:2-21: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- fs/cifs/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cifs/connect.c b/fs/cifs/connect

Re: [RFC PATCH v3 6/6] of: Add plumbing for restricted DMA pool

2021-01-14 Thread Claire Chang
On Wed, Jan 13, 2021 at 7:48 AM Florian Fainelli wrote: > > On 1/5/21 7:41 PM, Claire Chang wrote: > > If a device is not behind an IOMMU, we look up the device node and set > > up the restricted DMA when the restricted-dma-pool is presented. > > > > Signed-off-by: Claire Chang > > --- > > [snip]

Re: [PATCH v2 1/2] rtc: pcf2127: Disable Power-On Reset Override

2021-01-14 Thread Philipp Rosenberger
On 14.01.21 09:05, Uwe Kleine-König wrote: On Wed, Jan 13, 2021 at 12:27:41PM +0100, Philipp Rosenberger wrote: To resume normal operation after a total power loss (no or empty battery) the "Power-On Reset Override (PORO)" facility needs to be disabled. As the oscillator may take a long time

[PATCH] fs/cifs: Simplify bool comparisoni.

2021-01-14 Thread Jiapeng Zhong
Fix the follow coccicheck warnings: ./fs/cifs/connect.c: WARNING: Comparison of 0/1 to bool variable Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- fs/cifs/connect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index b

Re: [PATCH 00/31] Rid W=1 warnings from Video

2021-01-14 Thread Daniel Vetter
On Thu, Jan 14, 2021 at 10:04 AM Jani Nikula wrote: > > On Wed, 13 Jan 2021, Lee Jones wrote: > > On Wed, 13 Jan 2021, Sam Ravnborg wrote: > > > >> Hi Lee, > >> > >> On Wed, Jan 13, 2021 at 02:49:38PM +, Lee Jones wrote: > >> > This set is part of a larger effort attempting to clean-up W=1 >

Re: [RFC PATCH v3 2/6] swiotlb: Add restricted DMA pool

2021-01-14 Thread Claire Chang
On Wed, Jan 13, 2021 at 8:42 PM Christoph Hellwig wrote: > > > +#ifdef CONFIG_SWIOTLB > > + struct io_tlb_mem *dma_io_tlb_mem; > > #endif > > Please add a new config option for this code instead of always building > it when swiotlb is enabled. > > > +static int swiotlb_init_io_tlb_mem(s

Re: Question on workqueue: Manually break affinity on hotplug

2021-01-14 Thread Peter Zijlstra
On Thu, Jan 14, 2021 at 08:03:23AM +, Zhang, Qiang wrote: > Hello Peter > > Excuse me, I have some questions for you, about a description of this change: > > ''Don't rely on the scheduler to force break affinity for us -- it will > stop doing that for per-cpu-kthreads." > > this mean when cp

Re: [PATCH] Documentation/llvm: Add a section about supported architectures

2021-01-14 Thread Miguel Ojeda
On Thu, Jan 14, 2021 at 3:23 AM Nathan Chancellor wrote: > > A clean "make -skj24 htmldocs" takes me a little over three minutes or > so on my Ryzen 9 3900X. Just to give some perspective. Oh, wow, that's something... Thanks a lot for adding this: Reviewed-by: Miguel Ojeda Cheers, Miguel

[PATCH 1/1] iommu/vt-d: Add qi_submit trace event

2021-01-14 Thread Lu Baolu
This adds a new trace event to track the submissions of requests to the invalidation queue. This event will provide the information like: - IOMMU name - Invalidation type - Descriptor raw data A sample output like: | qi_submit: iotlb_inv dmar1: 0x100e2 0x0 0x0 0x0 | qi_submit: dev_tlb_inv dmar1: 0

Re: [PATCH 1/2] PCI/ASPM: Disable ASPM until its LTR and L1ss state is restored

2021-01-14 Thread Victor Ding
On Thu, Jan 14, 2021 at 7:54 AM Bjorn Helgaas wrote: > > On Wed, Jan 13, 2021 at 01:16:05PM +1100, Victor Ding wrote: > > On Wed, Jan 13, 2021 at 9:32 AM Bjorn Helgaas wrote: > > > On Tue, Jan 12, 2021 at 04:02:04AM +, Victor Ding wrote: > > > > Right after powering up, the device may have AS

Re: [PATCH 2/2] mmc: sdhci-pci-gli: Disable ASPM during a suspension

2021-01-14 Thread Victor Ding
On Thu, Jan 14, 2021 at 8:48 AM Bjorn Helgaas wrote: > > [+cc Rafael, suspend/resume expert] > > On Wed, Jan 13, 2021 at 01:16:23PM +1100, Victor Ding wrote: > > On Wed, Jan 13, 2021 at 9:38 AM Bjorn Helgaas wrote: > > > On Tue, Jan 12, 2021 at 04:02:05AM +, Victor Ding wrote: > > > > GL9750

Re: [PATCH v2 2/2] rtc: pcf2127: Run a OTP refresh if not done before

2021-01-14 Thread Philipp Rosenberger
On 14.01.21 09:06, Uwe Kleine-König wrote: On Wed, Jan 13, 2021 at 12:27:42PM +0100, Philipp Rosenberger wrote: The datasheet of the PCF2127 states,it is recommended to process an OTP s/,/, / ACK refresh once the power is up and the oscillator is operating stable. The OTP refresh takes

Re: [PATCH 0/3] Fix broken references at next-20210114 due to yaml conversion

2021-01-14 Thread Greg KH
On Thu, Jan 14, 2021 at 07:25:57AM +0100, Mauro Carvalho Chehab wrote: > Three new broken references were added between next-20210113 and > next-20210114, due to yaml conversion. > > Address them. > > Please add those patches at the same tree as the respective > conve

Re: [PATCH v2 2/2] perf tools: Add documentation for 'perf irq' command

2021-01-14 Thread Alexei Budankov
On 14.01.2021 10:48, Bixuan Cui wrote: > Add documentation for 'perf irq' command. > > Signed-off-by: Bixuan Cui > --- > tools/perf/Documentation/perf-irq.txt | 58 +++ > tools/perf/command-list.txt | 1 + > 2 files changed, 59 insertions(+) > create mode 10

Re: [PATCH v3] tty: make pl011 serial port driver support 485 mode

2021-01-14 Thread Greg KH
On Thu, Jan 14, 2021 at 05:07:33PM +0800, zhangqiumi...@huawei.com wrote: > From: Qiumiao Zhang > > make pl011 serial port support 485 mode full duplex communication > > --- > Changes in v3: > -Fix busy loop forever in pl011_tx_empty > -Move the definition of cr into uart_amba_port > -run

Re: [PATCH v2] kbuild: check the minimum compiler version in Kconfig

2021-01-14 Thread Masahiro Yamada
On Thu, Jan 14, 2021 at 4:55 PM Ilie Halip wrote: > > Hi Masahiro, > > > + #elif defined(__INTEL_COMPILER) > > + /* How to get the version of intel compiler? */ > > + ICC 0 0 0 > > According to Intel documentation[1], this should do the trick: > >

Re: [PATCH] mm: memblock: remove return value of memblock_free_all()

2021-01-14 Thread David Hildenbrand
On 14.01.21 08:08, Daeseok Youn wrote: > No one checks the return value of memblock_free_all(). > Make the return value void. > > memblock_free_all() is used on mem_init() for each > architecture, and the total count of freed pages will be added > to _totalram_pages variable by calling totalram_pa

Re: [PATCH] x86/lib: don't use MMX before FPU initialization

2021-01-14 Thread Krzysztof Mazur
On Tue, Jan 12, 2021 at 01:09:23AM +0100, Borislav Petkov wrote: > On Mon, Dec 28, 2020 at 05:06:31PM +0100, Krzysztof Mazur wrote: > > When enabled, the MMX 3DNow! optimized memcpy() is used very early, > > even before FPU is initialized. It worked fine, but commit > > 7ad816762f9bf89e940e618ea40c

Re: [PATCH] drivers/usb/gadget/udc: Assign boolean values to a bool variable

2021-01-14 Thread Felipe Balbi
Jiapeng Zhong writes: > Fix the following coccicheck warnings: > > ./drivers/usb/gadget/udc/udc-xilinx.c:1957:2-18: WARNING: > Assignment of 0/1 to bool variable. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Zhong Acked-by: Felipe Balbi -- balbi signature.asc Description: PGP sig

Re: [PATCH] HID: hid-input: avoid splitting keyboard, system and consumer controls

2021-01-14 Thread Benjamin Tissoires
Hi Dmitry, On Thu, Jan 14, 2021 at 7:24 AM Dmitry Torokhov wrote: > > A typical USB keyboard usually splits its keys into several reports: > > - one for the basic alphanumeric keys, modifier keys, F keys, six pack > keys and keypad. This report's application is normally listed as > GenericDes

Re: riscv+KASAN does not boot

2021-01-14 Thread Dmitry Vyukov
On Thu, Jan 14, 2021 at 5:57 AM Palmer Dabbelt wrote: > > On Fri, 25 Dec 2020 09:13:23 PST (-0800), dvyu...@google.com wrote: > > On Fri, Dec 25, 2020 at 5:58 PM Andreas Schwab > > wrote: > >> > >> On Dez 25 2020, Dmitry Vyukov wrote: > >> > >> > qemu-system-riscv64 \ > >> > -machine virt -bios

Re: [PATCH] mt76: Fix queue ID variable types after mcu queue split

2021-01-14 Thread Felix Fietkau
On 2021-01-11 09:06, Kalle Valo wrote: > Lorenzo Bianconi writes: > >>> Clang warns in both mt7615 and mt7915: >>> >>> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c:271:9: warning: implicit >>> conversion from enumeration type 'enum mt76_mcuq_id' to different >>> enumeration type 'enum mt76_tx

[PATCH v2 0/3] Adding the Sparx5 Switch Reset Driver

2021-01-14 Thread Steen Hegelund
This series provides the Microchip Sparx5 Switch Reset Driver The Sparx5 Switch SoC has a number of components that can be reset individually, but at least the Switch Core needs to be in a well defined state at power on, when any of the Sparx5 drivers starts to access the Switch Core, this reset d

Re: [PATCH] fs/cifs: Replace one-element array with flexible-array member.

2021-01-14 Thread Aurélien Aptel
Hi Jiapeng, This will change the size returned by sizeof(). Have you checked that this doesn't introduce off-by-one errors in all the sizeof() usage? Cheers, -- Aurélien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Software Solutions Germany GmbH, Max

[PATCH v2 3/3] arm64: dts: reset: add microchip sparx5 switch reset driver

2021-01-14 Thread Steen Hegelund
Signed-off-by: Steen Hegelund --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index 380281f312d8..6f0a21c362e3 100644 --- a/arch/

[PATCH v2 2/3] reset: mchp: sparx5: add switch reset driver

2021-01-14 Thread Steen Hegelund
Signed-off-by: Steen Hegelund --- drivers/reset/Kconfig | 8 ++ drivers/reset/Makefile | 1 + drivers/reset/reset-microchip-sparx5.c | 146 + 3 files changed, 155 insertions(+) create mode 100644 drivers/reset/reset-microchip-sparx5.c

Re: [PATCH 0/3] usb: dwc2: Fixes and improvements

2021-01-14 Thread Nicolas Saenz Julienne
Hi Guenter, Doug, thanks for having a look at this. On Wed, 2021-01-13 at 19:07 -0800, Guenter Roeck wrote: > On Wed, Jan 13, 2021 at 03:20:55PM -0800, Doug Anderson wrote: > > Hi, > > > [ ... ] > > > > It's been long enough ago that I've forgotten where this was left off, > > but IIRC the 3 pat

[PATCH v2 1/3] dt-bindings: reset: microchip sparx5 reset driver bindings

2021-01-14 Thread Steen Hegelund
Signed-off-by: Steen Hegelund --- .../bindings/reset/microchip,rst.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/microchip,rst.yaml diff --git a/Documentation/devicetree/bindings/reset/microchip,rst.yaml b/Doc

SLUB: percpu partial object count is highly inaccurate, causing some memory wastage and maybe also worse tail latencies?

2021-01-14 Thread Vlastimil Babka
On 1/12/21 5:35 PM, Christoph Lameter wrote: > On Tue, 12 Jan 2021, Jann Horn wrote: > >> [This is not something I intend to work on myself. But since I >> stumbled over this issue, I figured I should at least document/report >> it, in case anyone is willing to pick it up.] > > Well yeah all true

Re: [PATCH v2 3/3] KVM: arm64: Mark the page dirty only if the fault is handled successfully

2021-01-14 Thread wangyanan (Y)
On 2021/1/13 23:51, Will Deacon wrote: On Wed, Dec 16, 2020 at 08:28:44PM +0800, Yanan Wang wrote: We now mark the page dirty and set the bitmap before calling fault handlers in user_mem_abort(), and we might end up having spurious dirty pages if update of permissions or mapping has failed. So

  1   2   3   4   5   6   7   8   9   10   >