Re: [PATCH 16/20] block: move ->make_request_fn to struct block_device_operations

2020-07-02 Thread Coly Li
On 2020/7/1 16:59, Christoph Hellwig wrote: > The make_request_fn is a little weird in that it sits directly in > struct request_queue instead of an operation vector. Replace it with > a block_device_operations method called submit_bio (which describes much > better what it does). Also remove the

[PATCH 08/30] usb: dwc3: dwc3-omap: Do not read DMA status

2020-07-02 Thread Lee Jones
Commit af566a0be6e49 ("usb: dwc3: omap: get rid of dma_status") rendered reading DMA status from the H/W even more redundant. The variable hasn't been read/used since 2016. Remove the set but unused variable and the call which populates it. Fixes the following W=1 warning: drivers/usb/dwc3/dwc

[PATCH 04/30] usb: common: usb-conn-gpio: Demote comment block which is clearly not kerneldoc

2020-07-02 Thread Lee Jones
This block lacks a title and argument descriptions. Fixes the following W=1 kernel build warning: drivers/usb/common/usb-conn-gpio.c:44: warning: Cannot understand * "DEVICE" = VBUS and "HOST" = !ID, so we have: on line 44 - I thought it was a doc line Cc: Chunfeng Yun Signed-off-by: Lee Jo

[PATCH 10/30] usb: dwc2: gadget: Remove assigned but never used 'maxsize'

2020-07-02 Thread Lee Jones
The value of 'maxsize' has not been checked since commit 729cac693eecf ("usb: dwc2: Change ISOC DDMA flow") back in 2018, so remove the set but unused variable, which fixes the following W=1 kernel build warning: drivers/usb/dwc2/gadget.c: In function ‘dwc2_gadget_fill_isoc_desc’: drivers/usb/dw

Re: [PATCH v2 0/4] Remove 32-bit Xen PV guest support

2020-07-02 Thread Brian Gerst
On Wed, Jul 1, 2020 at 7:07 AM Juergen Gross wrote: > > The long term plan has been to replace Xen PV guests by PVH. The first > victim of that plan are now 32-bit PV guests, as those are used only > rather seldom these days. Xen on x86 requires 64-bit support and with > Grub2 now supporting PVH o

[PATCH 09/30] usb: dwc2: gadget: Do not read GINTMSK2

2020-07-02 Thread Lee Jones
The value of GINTMSK2 hasn't been checked since the inception of dwc2_gadget_wkup_alert_handler() in 2018. Fixes the following W=1 warning: drivers/usb/dwc2/gadget.c: In function ‘dwc2_gadget_wkup_alert_handler’: drivers/usb/dwc2/gadget.c:259:6: warning: variable ‘gintmsk2’ set but not used [-

[PATCH 12/30] usb: host: ehci-omap: Provide documentation for ehci_hcd_omap_probe()'s arg 'pdev'

2020-07-02 Thread Lee Jones
Description for 'pdev' argument was missing from the function header. Fixes the following W=1 warning: drivers/usb/host/ehci-omap.c:87: warning: Function parameter or member 'pdev' not described in 'ehci_hcd_omap_probe' Cc: Alan Stern Cc: Vikram Pandita Cc: Anand Gadiyar Cc: Keshava Munegow

[PATCH 19/30] usb: host: isp1362: Mark the many unused ISP1362_REG entries as __maybe_unused

2020-07-02 Thread Lee Jones
It would seem a shame to strip out all of the unused register entries, since they can act as a fair source of documentation. Instead, mark them all as __maybe_unused to show the build system that this behaviour is known and intentional. Fixes the following kernel build warning(s): In file inclu

[PATCH 15/30] usb: dwc3: dwc3-haps: Function headers are not suitable for kerneldoc

2020-07-02 Thread Lee Jones
Fixes the following W=1 kernel build warnings: drivers/usb/dwc3/dwc3-haps.c:19: warning: Incorrect use of kernel-doc format: * struct dwc3_haps - Driver private structure drivers/usb/dwc3/dwc3-haps.c:23: warning: cannot understand function prototype: 'struct dwc3_haps ' Cc: Felipe Balbi Cc:

[PATCH 11/30] usb: dwc2: gadget: Avoid pointless read of EP control register

2020-07-02 Thread Lee Jones
Commit ec1f9d9f01384 ("usb: dwc2: gadget: parity fix in isochronous mode") moved these checks to dwc2_hsotg_change_ep_iso_parity() back in 2015. The assigned value hasn't been read back since. Let's remove the unnecessary H/W read. Fixes the following W=1 warning: drivers/usb/dwc2/gadget.c: In

[PATCH 16/30] usb: mtu3: mtu3_trace: Function headers are not suitable for kerneldoc

2020-07-02 Thread Lee Jones
Fixes the following W=1 kernel build warnings: drivers/usb/mtu3/mtu3_trace.c:13:6: warning: no previous prototype for ‘mtu3_dbg_trace’ [-Wmissing-prototypes] 13 | void mtu3_dbg_trace(struct device *dev, const char *fmt, ...) | ^~ Cc: Chunfeng Yun Cc: linux-media...@lists.infradea

[PATCH 13/30] usb: cdns3: core: Fix incorrect formatting and misspelled function arg docs

2020-07-02 Thread Lee Jones
There are 3 misspellings and 1 incorrect format used in this file's kerneldoc function headers. Fixing them squashes the following W=1 kernel build warnings: drivers/usb/cdns3/gadget.c:653: warning: Function parameter or member 'priv_ep' not described in 'cdns3_wa2_descmissing_packet' drivers/

Re: [PATCH V3] arm64/panic: Unify all three existing notifier blocks

2020-07-02 Thread Catalin Marinas
On Mon, 29 Jun 2020 10:08:31 +0530, Anshuman Khandual wrote: > Currently there are three different registered panic notifier blocks. This > unifies all of them into a single one i.e arm64_panic_block, hence reducing > code duplication and required calling sequence during panic. This preserves > the

[PATCH 20/30] usb: host: ohci-at91: Demote kerneldoc headers down to basic comment blocks

2020-07-02 Thread Lee Jones
Neither usb_hcd_at91_probe() nor usb_hcd_at91_remove()'s function headers reach the standards required of a kerneldoc entry. Only one attempt at describing an argument was made, as it is not correct (we're removing that too to save confusion). Fixes the following kernel build warning(s): driver

[PATCH 22/30] usb: cdns3: ep0: Move 'zlp' description to appropriate function header

2020-07-02 Thread Lee Jones
'zlp' was documented, but in the wrong place. Fixes the following W=1 kernel build warning(s): drivers/usb/cdns3/ep0.c:36: warning: Function parameter or member 'zlp' not described in 'cdns3_ep0_run_transfer' drivers/usb/cdns3/ep0.c:705: warning: Excess function parameter 'zlp' description in

Re: [PATCH 09/20] bcache: stop setting ->queuedata

2020-07-02 Thread Coly Li
On 2020/7/1 16:59, Christoph Hellwig wrote: > Nothing in bcache actually uses the ->queuedata field. > > Signed-off-by: Christoph Hellwig Acked-by: Coly Li > --- > drivers/md/bcache/super.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/

[PATCH RFC] leds: Add support for per-LED device triggers

2020-07-02 Thread Ondrej Jirman
Some LED controllers may come with an internal HW triggering mechanism for the LED and an ability to switch between user control of the LED, or the internal control. One such example is AXP20X PMIC, that allows wither for user control of the LED, or for internal control based on the state of the ba

[PATCH 2/2] i2c: stm32f7: Add SMBus Host-Notify protocol support

2020-07-02 Thread Alain Volmat
Rely on the core functions to implement the host-notify protocol via the a I2C slave device. Signed-off-by: Alain Volmat --- drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-stm32f7.c | 110 +-- 2 files changed, 96 insertions(+), 15 deletions(-

[PATCH 0/2] i2c: stm32: add host-notify support via i2c slave

2020-07-02 Thread Alain Volmat
This serie replaces the previous 'stm32-f7: Addition of SMBus Alert / Host-notify features' serie to only focus on the SMBus Host-Notify feature. It should be applied with "[PATCH] i2c: add binding to mark a bus as SMBus" from Wolfram which defines the newly introduced "smbus" binding. Alain Volma

[PATCH 25/30] usb: mtu3: mtu3_core: Demote obvious misuse of kerneldoc to standard comment block

2020-07-02 Thread Lee Jones
No attempt has been made to document the function. Fixes the following W=1 kernel build warning(s): drivers/usb/mtu3/mtu3_core.c:805: warning: Function parameter or member 'mtu' not described in 'mtu3_set_dma_mask' Cc: Chunfeng Yun Cc: linux-arm-ker...@lists.infradead.org Cc: linux-media...@l

[PATCH 23/30] usb: host: oxu210hp-hcd: Move declaration of 'qtd' into 'ifdef OXU_URB_TRACE'

2020-07-02 Thread Lee Jones
If we assign 'epnum' during the declaration we can also avoid "ISO C90 forbids mixed declarations" issues. So it does looks like we can have our cake and eat it in this scenario. Fixes the following W=1 kernel build warning(s): drivers/usb/host/oxu210hp-hcd.c: In function ‘submit_async’: drive

[PATCH 24/30] usb: mtu3: mtu3_trace: Supply missing mtu3_debug.h include file

2020-07-02 Thread Lee Jones
If the header file containing a function's prototype isn't included by the sourcefile containing the associated function, the build system complains of missing prototypes. Fixes the following W=1 kernel build warning(s): drivers/usb/mtu3/mtu3_trace.c:13:6: warning: no previous prototype for ‘mt

[PATCH 1/2] i2c: smbus: add core function handling SMBus host-notify

2020-07-02 Thread Alain Volmat
SMBus Host-Notify protocol, from the adapter point of view consist of receiving a message from a client, including the client address and some other data. It can be simply handled by creating a new slave device and registering a callback performing the parsing of the message received from the clie

[PATCH 27/30] usb: class: cdc-wdm: Provide description for usb_cdc_wdm_register()'s manage_power arg

2020-07-02 Thread Lee Jones
A good attempt was made to document everything else. Fixes the following W=1 kernel build warning(s): drivers/usb/class/cdc-wdm.c:961: warning: Function parameter or member 'manage_power' not described in 'usb_cdc_wdm_register' Cc: Oliver Neukum Signed-off-by: Lee Jones --- drivers/usb/clas

[PATCH 28/30] usb: c67x00: c67x00-hcd: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-02 Thread Lee Jones
No attempt has been made to document any of the functions here. Fixes the following W=1 kernel build warning(s): drivers/usb/c67x00/c67x00-hcd.c:237: warning: Function parameter or member 'sie' not described in 'c67x00_hcd_irq' drivers/usb/c67x00/c67x00-hcd.c:237: warning: Function parameter o

[PATCH 26/30] usb: c67x00: c67x00-ll-hpi: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-02 Thread Lee Jones
No attempt has been made to document any of the functions here. Fixes the following W=1 kernel build warning(s): drivers/usb/c67x00/c67x00-ll-hpi.c:269: warning: Function parameter or member 'sie' not described in 'c67x00_ll_usb_clear_status' drivers/usb/c67x00/c67x00-ll-hpi.c:269: warning: Fu

[PATCH 30/30] usb: c67x00: c67x00-sched: Demote obvious misuse of kerneldoc to standard comment blocks

2020-07-02 Thread Lee Jones
No attempt has been made to document any of the functions here. Fixes the following W=1 kernel build warning(s): drivers/usb/c67x00/c67x00-sched.c:35: warning: Function parameter or member 'queue' not described in 'c67x00_ep_data' drivers/usb/c67x00/c67x00-sched.c:35: warning: Function paramet

[PATCH 14/30] usb: cdns3: ep0: Fix a bunch of kerneldoc issues

2020-07-02 Thread Lee Jones
Add some missing function argument descriptions for 'ep', 'desc' and 'zlp', and correct spelling/bitrot issues surrounding the correct spelling of present args. Fixes the following W=1 warnings: drivers/usb/cdns3/ep0.c:36: warning: Function parameter or member 'zlp' not described in 'cdns3_ep0_

[PATCH 29/30] usb: class: usbtmc: File headers are not good candidates for kerneldoc

2020-07-02 Thread Lee Jones
Demote usbtmc's file header to a standard comment block. Fixes the following W=1 kernel build warning(s): drivers/usb/class/usbtmc.c:11: warning: Function parameter or member 'fmt' not described in 'pr_fmt' Signed-off-by: Lee Jones --- drivers/usb/class/usbtmc.c | 2 +- 1 file changed, 1 ins

[PATCH 17/30] usb: cdns3: gadget: Fix a bunch of kernel doc issues

2020-07-02 Thread Lee Jones
Mainline misspelled function argument descriptions. Also one formatting issue with a missing '@' identifier. Fixes the following W=1 build warnings: drivers/usb/cdns3/gadget.c:653: warning: Function parameter or member 'priv_ep' not described in 'cdns3_wa2_descmissing_packet' drivers/usb/cdns

[PATCH 05/30] usb: dwc3: drd: File headers are not doc headers

2020-07-02 Thread Lee Jones
Demote drd.c's file header to a standard comment block. Fixes the following W=1 build warnings: drivers/usb/dwc3/drd.c:20: warning: Function parameter or member 'dwc' not described in 'dwc3_otg_disable_events' drivers/usb/dwc3/drd.c:20: warning: Function parameter or member 'disable_mask' not

[PATCH 06/30] usb: dwc3: ulpi: File headers are not doc headers

2020-07-02 Thread Lee Jones
Demote ulpi.c's file header to a standard comment block. Fixes the following W=1 build warning: drivers/usb/dwc3/ulpi.c:18: warning: Function parameter or member 'a' not described in 'DWC3_ULPI_ADDR' Cc: Felipe Balbi Cc: Heikki Krogerus Signed-off-by: Lee Jones --- drivers/usb/dwc3/ulpi.c

Re: [PATCH 1/3] glibc: Perform rseq registration at C startup and thread creation (v22)

2020-07-02 Thread Florian Weimer
* Mathieu Desnoyers via Libc-alpha: > Register rseq TLS for each thread (including main), and unregister for > each thread (excluding main). "rseq" stands for Restartable Sequences. > > See the rseq(2) man page proposed here: > https://lkml.org/lkml/2018/9/19/647 > > Those are based on glibc ma

[PATCH 03/30] usb: common: debug: Demote comment blocks which are obviously not kerneldoc

2020-07-02 Thread Lee Jones
File headers and simple comments are not kerneldoc worthy. Fixes the following W=1 warnings: drivers/usb/common/debug.c:15: warning: Function parameter or member 'bRequestType' not described in 'usb_decode_get_status' drivers/usb/common/debug.c:15: warning: Function parameter or member 'wIndex

[PATCH 02/30] usb: host: pci-quirks: Demote function header from kerneldoc to comment block

2020-07-02 Thread Lee Jones
quirk_usb_handoff_xhci()'s function header is the only one across the sourcefile which is denoted as a kerneldoc header. Despite no attempt to document its arguments. Drop it down in status from kerneldoc to a standard comment block to match the other headers in the file. Fixes the following W=1

[PATCH 21/30] usb: host: ohci: Mark cc_to_error as __maybe_unused

2020-07-02 Thread Lee Jones
drivers/usb/host/ohci.h in included by a whole much of different sourcefiles. Not all of them make use of cc_to_error. So mark it as __maybe_used to convey that this behaviour is not only acceptable it's expected. Fixes the following kernel build warning(s): In file included from drivers/usb/h

[PATCH 18/30] usb: dwc3: dwc3-of-simple: Function headers are not good candidates for kerneldoc

2020-07-02 Thread Lee Jones
Fixes the following kernel build warning(s): drivers/usb/dwc3/dwc3-of-simple.c:25: warning: cannot understand function prototype: 'struct dwc3_of_simple ' Cc: Felipe Balbi Cc: iiva...@mm-sol.com Cc: Sundeep Bhatta Signed-off-by: Lee Jones --- drivers/usb/dwc3/dwc3-of-simple.c | 2 +- 1 file

[PATCH 01/30] usb: phy: phy: Fix-up a whole bunch of formatting issues

2020-07-02 Thread Lee Jones
Kerneldoc expects arg descriptions to be in the format '@.*: '. If either the '@' or the ':' is omitted then kerneldoc complains that the description is missing. Add the missing ':'s here. Also provide a new description for 'event'. Fixes the following kernel build W=1 warnings: drivers/usb/p

Re: [PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards

2020-07-02 Thread Frieder Schrempf
On 02.07.20 16:25, Mark Brown wrote: On Thu, Jul 02, 2020 at 04:18:46PM +0200, Schrempf Frieder wrote: From: Frieder Schrempf Allow external SPI ports on Kontron boards to use the spidev driver. I'd have expected this to require loading a DT overlay for whatever's attached? My intention is

[PATCH 00/30] Fix a bunch of W=1 issues in USB

2020-07-02 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (30): usb: phy: phy: Fix-up a whole bunch of formatting issues usb: host: pci-quirks: Demote function header from kerneldoc to com

Re: [PATCH] ARM: dts: rockchip: Add usb host0 ohci node for rk3288

2020-07-02 Thread Robin Murphy
On 2020-07-02 10:02, Jagan Teki wrote: rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and the quirk in ohci platform driver will disable ohci on rk3288. The b

Re: [PATCH] Remove __init from padata_do_multithreaded and padata_mt_helper

2020-07-02 Thread kernel test robot
Hi Nico, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.8-rc3 next-20200702] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as

Re: [PATCH] clk: vc5: Add memory check to prevent oops

2020-07-02 Thread Dan Carpenter
Hi Adam, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Adam-Ford/clk-vc5-Add-memory-check-to-prevent-oops/20200701-050451 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next config: i386-randconfig-m021-20200701

Re: [PATCH 04/18] alpha: Override READ_ONCE() with barriered implementation

2020-07-02 Thread Joel Fernandes
On Tue, Jun 30, 2020 at 1:38 PM Will Deacon wrote: > > Rather then relying on the core code to use smp_read_barrier_depends() > as part of the READ_ONCE() definition, instead override __READ_ONCE() > in the Alpha code so that it is treated the same way as > smp_load_acquire(). > > Acked-by: Paul E

[PATCH] sched/fair: handle case of task_h_load() returning 0

2020-07-02 Thread Vincent Guittot
task_h_load() can return 0 in some situations like running stress-ng mmapfork, which forks thousands of threads, in a sched group on a 224 cores system. The load balance doesn't handle this correctly because env->imbalance never decreases and it will stop pulling tasks only after reaching loop_max,

Re: [PATCH 1/2] moduleparams: Add hex type parameter

2020-07-02 Thread Christian König
Am 02.07.20 um 16:01 schrieb Paul Menzel: For bitmasks printing values in hex is more convenient. Prefix with 0x (#) to make it clear, that it’s a hex value. Using the helper for `amdgpu.ppfeaturemask`, it will look like below. Before: $ more /sys/module/amdgpu/parameters/ppfeaturemask

Re: [PATCH] md: raid0/linear: fix dereference before null check on pointer mddev

2020-07-02 Thread Guilherme Piccoli
Great catch Colin, thanks! Feel free to add my: Reviewed-by: Guilherme G. Piccoli P.S. Not sure if it's only me, but the diff is soo much easier to read when git is set to use patience diff algorithm: https://termbin.com/f8ig

Re: [PATCH] MAINTAINERS: Change Maintainer for some at91 drivers

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 03:42:24PM +0200, nicolas.fe...@microchip.com wrote: > I kept these entries together as it may generate conflicts if handled > separately. I suggest that Mark take the chunk as maintainer of SPI and > Audio sub-systems. > Anyway, don't hesitate to tell me if I should handle

Re: [PATCH] rtc: ds1374: wdt: Use watchdog core for watchdog part

2020-07-02 Thread kernel test robot
Hi "Johnson, Thank you for the patch! Yet something to improve: [auto build test ERROR on abelloni/rtc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url:

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Geert Uytterhoeven
Hi Prabhakar, On Thu, Jul 2, 2020 at 4:05 PM Lad, Prabhakar wrote: > Hi Geert, > > On Thu, Jul 2, 2020 at 1:52 PM Geert Uytterhoeven > wrote: > > > > Hi Prabhakar, > > > > On Thu, Jul 2, 2020 at 1:42 PM Lad, Prabhakar > > wrote: > > > On Thu, Jul 2, 2020 at 11:49 AM Lad, Prabhakar > > > wrot

Re: [PATCH] usb: host: ohci-platform: Disable ohci for rk3288

2020-07-02 Thread Robin Murphy
On 2020-07-02 10:05, Jagan Teki wrote: rk3288 has usb host0 ohci controller but doesn't actually work on real hardware but it works with new revision chip rk3288w. So, disable ohci for rk3288. For rk3288w chips the compatible update code is handled by bootloader. Cc: William Wu Signed-off-by:

[PATCH -next] scftorture: Make symbol 'scf_torture_rand' static

2020-07-02 Thread Wei Yongjun
Fix sparse build warning: kernel/scftorture.c:124:1: warning: symbol '__pcpu_scope_scf_torture_rand' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- kernel/scftorture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/scf

Re: [PATCH 1/3] mm/vmscan: restore zone_reclaim_mode ABI

2020-07-02 Thread Dave Hansen
On 7/2/20 4:28 AM, Huang, Ying wrote: >> But, when the bit was removed (bit 0) the _other_ bit locations also >> got changed. That's not OK because the bit values are documented to >> mean one specific thing and users surely rely on them meaning that one >> thing and not changing from kernel to ke

Re: [PATCH v5 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline

2020-07-02 Thread Srikar Dronamraju
* Michal Hocko [2020-07-02 10:41:23]: > On Thu 02-07-20 12:14:08, Srikar Dronamraju wrote: > > * Michal Hocko [2020-07-01 14:21:10]: > > > > > > > The autonuma problem sounds interesting but again this patch > > > > > doesn't > > > > > really solve the underlying problem because I

[PATCH 2/2] dt-bindings: arm: fsl: Add Kontron i.MX8MM SoMs and boards

2020-07-02 Thread Schrempf Frieder
From: Frieder Schrempf Add entries for the SoMs and boards based on i.MX8MM from Kontron Electronics GmbH. Signed-off-by: Frieder Schrempf --- Documentation/devicetree/bindings/arm/fsl.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/ar

[kbuild] Re: [PATCH 5/5] connector: Create connector per namespace

2020-07-02 Thread Dan Carpenter
Hi Matt, url: https://github.com/0day-ci/linux/commits/Matt-Bennett/RFC-connector-Add-network-namespace-awareness/20200702-083030 base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master config: arm-randconfig-m031-20200701 (attached as .config) compiler: arm-linux

[PATCH 1/2] arm64: dts: Add the Kontron i.MX8M-Mini SoMs and baseboards

2020-07-02 Thread Schrempf Frieder
From: Frieder Schrempf Kontron Electronics GmbH offers small and powerful SoMs based on the i.MX8MM including PMIC, LPDDR4-RAM, eMMC and SPI NOR. The matching baseboards have the same form factor and similar interfaces as the other boards from the Kontron "Board-Line" family, including SD card,

[PATCH 0/2] Add support for Kontron i.MX8MM SoMs and boards

2020-07-02 Thread Schrempf Frieder
From: Frieder Schrempf Kontron Electronics GmbH offers small and powerful SoMs based on the i.MX8MM including PMIC, LPDDR4-RAM, eMMC and SPI NOR. Currently there are two SoM models: * SL i.MX8MM N8010 with 1GB RAM and 8 GB eMMC * SL i.MX8MM N8011 with 2GB RAM and 8 GB eMMC The matching base

Re: [PATCH v3 3/7] sched/topology: Verify SD_* flags setup when sched_debug is on

2020-07-02 Thread Valentin Schneider
On 02/07/20 15:20, Peter Zijlstra wrote: > On Wed, Jul 01, 2020 at 08:06:51PM +0100, Valentin Schneider wrote: > >> @@ -29,6 +29,7 @@ static int sched_domain_debug_one(struct sched_domain *sd, >> int cpu, int level, >>struct cpumask *groupmask) >> { >> struc

Re: [RFC PATCH 01/10] timer: Prevent base->clk from moving backward

2020-07-02 Thread Frederic Weisbecker
On Thu, Jul 02, 2020 at 11:59:59AM +0200, Juri Lelli wrote: > On 02/07/20 01:20, Frederic Weisbecker wrote: > > On Wed, Jul 01, 2020 at 06:35:04PM +0200, Juri Lelli wrote: > > > Guess you might be faster to understand what I'm missing. :-) > > > > So, did you port only this patch or the whole set

Re: [PATCH v3 2/7] sched/topology: Define and assign sched_domain flag metadata

2020-07-02 Thread Valentin Schneider
Hi Quentin, Thanks for having a look! On 02/07/20 13:15, Quentin Perret wrote: > Hey Valentin, > > On Wednesday 01 Jul 2020 at 20:06:50 (+0100), Valentin Schneider wrote: >> +/* >> + * Domain members have different CPU capacities >> + * >> + * SHARED_PARENT: Set from the topmost domain down to

Re: [PATCH 1/2] dt-bindings: sound: fsl-asoc-card: add new compatible for I2S slave

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 04:11:14PM +0200, Arnaud Ferraris wrote: > fsl-asoc-card currently doesn't support generic codecs with the SoC > acting as I2S slave. > > This commit adds a new `fsl,imx-audio-i2s-slave` for this use-case, as > well as the following mandatory properties: Why require that t

Re: [PATCH v2 6/6] hwmon: pmbus: use more devres helpers

2020-07-02 Thread Guenter Roeck
On 7/2/20 5:44 AM, Greg Kroah-Hartman wrote: > On Mon, Jun 29, 2020 at 08:50:08AM +0200, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski >> >> Shrink pmbus code by using devm_hwmon_device_register_with_groups() >> and devm_krealloc() instead of their non-managed variants. >> >> Signed-off-

Re: Perf: WARNING: arch/x86/entry/common.c:624 idtentry_exit_cond_rcu+0x92/0xc0

2020-07-02 Thread Naresh Kamboju
I have reported this warning on linux-next and now it is happening on linux mainline tree. May I know , are we missing a fix patch on linus 's tree ? - Naresh --- While running selftest x86 single_step_syscall_32 on i386 kernel linux 5.8.0-rc3 kernel warning noticed. steps to reproduce: -

Re: [PATCH] IB/hfi1: Add explicit cast OPA_MTU_8192 to 'enum ib_mtu'

2020-07-02 Thread Jason Gunthorpe
On Mon, Jun 22, 2020 at 05:52:24PM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/infiniband/hw/hfi1/qp.c:198:9: warning: implicit conversion from > enumeration type 'enum opa_mtu' to different enumeration type 'enum > ib_mtu' [-Wenum-conversion] > mtu = OPA_MTU_8192; >

Re: [PATCH net-next v2 0/5] mvpp2: XDP support

2020-07-02 Thread Matteo Croce
On Thu, Jul 2, 2020 at 4:12 PM Matteo Croce wrote: > > From: Matteo Croce > > From: Matteo Croce > DUP! Sorry. -- per aspera ad upstream

Re: [PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 04:18:46PM +0200, Schrempf Frieder wrote: > From: Frieder Schrempf > > Allow external SPI ports on Kontron boards to use the spidev driver. I'd have expected this to require loading a DT overlay for whatever's attached? signature.asc Description: PGP signature

Re: [PATCH v2 06/17] irqchip/gic-v3: Configure SGIs as standard interrupts

2020-07-02 Thread Valentin Schneider
On 02/07/20 14:48, Marc Zyngier wrote: > On 2020-07-02 14:23, Valentin Schneider wrote: >> On 30/06/20 11:15, Marc Zyngier wrote: >>> On 2020-06-25 19:25, Valentin Schneider wrote: Also, while staring at this it dawned on me that IPI's don't need the eoimode=0 isb(): due to how the IPI

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-07-02 Thread Sylwester Nawrocki
On 02.07.2020 14:33, Georgi Djakov wrote: > On 7/2/20 15:01, Sylwester Nawrocki wrote: >> On 01.07.2020 14:50, Georgi Djakov wrote: >>> On 5/29/20 19:31, Sylwester Nawrocki wrote: +static int exynos_generic_icc_remove(struct platform_device *pdev) +{ + struct exynos_icc_priv *priv

[PATCH 3/4] ASoC: fsl_asrc: always use ratio for conversion

2020-07-02 Thread Arnaud Ferraris
Even when not in "Ideal Ratio" mode, ASRC can use an internally measured ratio, which greatly improves the conversion quality. This patch ensures we always use at least the internal ratio. Signed-off-by: Arnaud Ferraris --- sound/soc/fsl/fsl_asrc.c | 5 ++--- 1 file changed, 2 insertions(+), 3

[PATCH 1/4] dt-bindings: sound: fsl,asrc: add properties to select in/out clocks

2020-07-02 Thread Arnaud Ferraris
The ASRC peripheral accepts a wide range of input and output clocks, but no mechanism exists at the moment to define those as they are currently hardcoded in the driver. This commit adds new properties allowing selection of arbitrary input and output clocks. Signed-off-by: Arnaud Ferraris --- D

[PATCH 2/4] ASoC: fsl_asrc: allow using arbitrary input and output clocks

2020-07-02 Thread Arnaud Ferraris
fsl_asrc currently uses hardcoded input and output clocks, preventing its use for anything other than S/PDIF output. This patch adds the ability to select any clock as input or output (by using new DT properties), making it possible to use this peripheral in a more advanced way. Signed-off-by: Ar

[PATCH 4/4] ASoC: fsl_asrc: swap input and output clocks in capture mode

2020-07-02 Thread Arnaud Ferraris
The input clock is the reference clock we need to convert the stream to, which therefore has to be the clock of the origin stream/device. When the stream is bi-directional and we want ASRC to act on both directions, we need to swap the input and output clocks between the playback and capture strea

[PATCH 0/4] ASoC: fsl_asrc: allow selecting arbitrary clocks

2020-07-02 Thread Arnaud Ferraris
The current ASRC driver hardcodes the input and output clocks used for sample rate conversions. In order to allow greater flexibility and to cover more use cases, it would be preferable to select the clocks using device-tree properties. This series also fix register configuration and clock assignm

[PATCH][next] xen-netfront: remove redundant assignment to variable 'act'

2020-07-02 Thread Colin King
From: Colin Ian King The variable act is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/net/xen-netfront.c | 2 +

[PATCH] spi: spidev: Add compatible for external SPI ports on Kontron boards

2020-07-02 Thread Schrempf Frieder
From: Frieder Schrempf Allow external SPI ports on Kontron boards to use the spidev driver. Signed-off-by: Frieder Schrempf --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 59e07675ef86..058b08a3767d 100644 --- a/dri

[PATCHv3 3/6] irqchip/irq-pruss-intc: Add support for shared and invalid interrupts

2020-07-02 Thread Grzegorz Jaszczyk
From: Suman Anna The PRUSS INTC has a fixed number of output interrupt lines that are connected to a number of processors or other PRUSS instances or other devices (like DMA) on the SoC. The output interrupt lines 2 through 9 are usually connected to the main Arm host processor and are referred t

Re: [PATCH v3 3/7] sched/topology: Verify SD_* flags setup when sched_debug is on

2020-07-02 Thread Peter Zijlstra
On Wed, Jul 01, 2020 at 08:06:51PM +0100, Valentin Schneider wrote: > @@ -29,6 +29,7 @@ static int sched_domain_debug_one(struct sched_domain *sd, > int cpu, int level, > struct cpumask *groupmask) > { > struct sched_group *group = sd->groups; > + int fl

[PATCHv3 5/6] irqchip/irq-pruss-intc: Add support for ICSSG INTC on K3 SoCs

2020-07-02 Thread Grzegorz Jaszczyk
From: Suman Anna The K3 AM65x and J721E SoCs have the next generation of the PRU-ICSS IP, commonly called ICSSG. The PRUSS INTC present within the ICSSG supports more System Events (160 vs 64), more Interrupt Channels and Host Interrupts (20 vs 10) compared to the previous generation PRUSS INTC i

[PATCHv3 4/6] irqchip/irq-pruss-intc: Implement irq_{get,set}_irqchip_state ops

2020-07-02 Thread Grzegorz Jaszczyk
From: David Lechner This implements the irq_get_irqchip_state and irq_set_irqchip_state callbacks for the TI PRUSS INTC driver. The set callback can be used by drivers to "kick" a PRU by enabling a PRU system event. Example: irq_set_irqchip_state(irq, IRQCHIP_STATE_PENDING, true); Signed-o

[PATCHv3 6/6] irqchip/irq-pruss-intc: Add event mapping support

2020-07-02 Thread Grzegorz Jaszczyk
The PRUSS INTC receives a number of system input interrupt source events and supports individual control configuration and hardware prioritization. These input events can be mapped to some output host interrupts through 2 levels of many-to-one mapping i.e. events to channel mapping and channels to

[PATCHv3 2/6] irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts

2020-07-02 Thread Grzegorz Jaszczyk
From: Suman Anna The Programmable Real-Time Unit Subsystem (PRUSS) contains a local interrupt controller (INTC) that can handle various system input events and post interrupts back to the device-level initiators. The INTC can support upto 64 input events with individual control configuration and

[PATCHv3 1/6] dt-bindings: irqchip: Add PRU-ICSS interrupt controller bindings

2020-07-02 Thread Grzegorz Jaszczyk
From: Suman Anna The Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS or simply PRUSS) contains an interrupt controller (INTC) that can handle various system input events and post interrupts back to the device-level initiators. The INTC can support upto 64 input events

[PATCHv3 0/6] Add TI PRUSS Local Interrupt Controller IRQChip driver

2020-07-02 Thread Grzegorz Jaszczyk
Hi All, The following is a v3 version of the series [1][2] that adds an IRQChip driver for the local interrupt controller present within a Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) present on a number of TI SoCs including OMAP architecture based AM335x, AM437x,

Re: [PATCH v2 5/5] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module

2020-07-02 Thread Will Deacon
On Thu, Jun 25, 2020 at 12:10:39AM +, John Stultz wrote: > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > index b510f67dfa49..714893535dd2 100644 > --- a/drivers/iommu/Kconfig > +++ b/drivers/iommu/Kconfig > @@ -381,6 +381,7 @@ config SPAPR_TCE_IOMMU > config ARM_SMMU > tri

[PATCH net-next v2 4/5] mvpp2: XDP TX support

2020-07-02 Thread Matteo Croce
From: Matteo Croce Add the transmit part of XDP support, which includes: - support for XDP_TX in mvpp2_xdp() - .ndo_xdp_xmit hook for AF_XDP and XDP_REDIRECT with mvpp2 as destination mvpp2_xdp_submit_frame() is a generic function which is called by mvpp2_xdp_xmit_back() when doing XDP_TX, and b

Re: [PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Daniel Vetter
On Thu, Jul 2, 2020 at 3:34 PM Neil Armstrong wrote: > > On 02/07/2020 15:18, Daniel Vetter wrote: > > On Thu, Jul 02, 2020 at 09:23:11AM +, Simon Ser wrote: > >> On Thursday, July 2, 2020 9:47 AM, Neil Armstrong > >> wrote: > >> > >>> Finally is also adds the Scatter Memory layout, meaning

[PATCH net-next v2 5/5] mvpp2: xdp ethtool stats

2020-07-02 Thread Matteo Croce
From: Sven Auhagen Add ethtool statistics for XDP. Signed-off-by: Sven Auhagen --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h| 8 + .../net/ethernet/marvell/mvpp2/mvpp2_main.c | 158 -- 2 files changed, 148 insertions(+), 18 deletions(-) diff --git a/drivers/net/ethern

Re: linux-next test error: KASAN: stack-out-of-bounds Read in bio_alloc_bioset

2020-07-02 Thread Qian Cai
On Thu, Jul 02, 2020 at 03:02:14AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:d37d5704 Add linux-next specific files for 20200702 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=15

[PATCH net-next v2 3/5] mvpp2: add basic XDP support

2020-07-02 Thread Matteo Croce
From: Matteo Croce Add XDP native support. By now only XDP_DROP, XDP_PASS and XDP_REDIRECT verdicts are supported. Co-developed-by: Sven Auhagen Signed-off-by: Sven Auhagen Signed-off-by: Matteo Croce --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h| 28 ++- .../net/ethernet/marvell/mvpp2

[PATCH net-next v2 2/5] mvpp2: use page_pool allocator

2020-07-02 Thread Matteo Croce
From: Matteo Croce Use the page_pool API for memory management. This is a prerequisite for native XDP support. Tested-by: Sven Auhagen Signed-off-by: Matteo Croce --- drivers/net/ethernet/marvell/Kconfig | 1 + drivers/net/ethernet/marvell/mvpp2/mvpp2.h| 8 + .../net/ethernet

[PATCH net-next v2 1/5] mvpp2: refactor BM pool init percpu code

2020-07-02 Thread Matteo Croce
From: Matteo Croce In mvpp2_swf_bm_pool_init_percpu(), a reference to a struct mvpp2_bm_pool is obtained traversing multiple structs, when a local variable already points to the same object. Fix it and, while at it, give the variable a meaningful name. Signed-off-by: Matteo Croce --- .../net/

[PATCH 1/2] dt-bindings: sound: fsl-asoc-card: add new compatible for I2S slave

2020-07-02 Thread Arnaud Ferraris
fsl-asoc-card currently doesn't support generic codecs with the SoC acting as I2S slave. This commit adds a new `fsl,imx-audio-i2s-slave` for this use-case, as well as the following mandatory properties: - `audio-codec-dai-name` for specifying the codec DAI to be used - `audio-slot-width` Signed-

[PATCH net-next v2 0/5] mvpp2: XDP support

2020-07-02 Thread Matteo Croce
From: Matteo Croce From: Matteo Croce Add XDP support to mvpp2. This series converts the driver to the page_pool API for RX buffer management, and adds native XDP support. XDP support comes with extack error reporting and statistics as well. These are the performance numbers, as measured by S

[PATCH 2/2] ASoC: fsl-asoc-card: add support for generic I2S slave use-case

2020-07-02 Thread Arnaud Ferraris
This commit implements support for generic codecs with the SoC acting as I2S slave, by implementing the new `fsl,imx-audio-i2s-slave` compatible and related properties. This is particularly useful when using a Bluetooth controller acting as I2S master, but other simple or dummy codecs might benefi

Re: [PATCH tip/core/rcu 03/17] rcu/tree: Skip entry into the page allocator for PREEMPT_RT

2020-07-02 Thread Sebastian Andrzej Siewior
On 2020-06-30 11:35:34 [-0700], Paul E. McKenney wrote: > > This is not going to work together with the "wait context validator" > > (CONFIG_PROVE_RAW_LOCK_NESTING). As of -rc3 it should complain about > > printk() which is why it is still disabled by default. > > Fixing that should be "interestin

[PATCH 0/2] ASoC: fsl-asoc-card: add support for generic codecs

2020-07-02 Thread Arnaud Ferraris
fsl-asoc-card currently only works with AC97 or a selection of codecs, although the hardware is capable of more. Supporting generic codecs when acting as I2S slave (codec is master) would be useful, especially when using Bluetooth audio, as these are generally simple I2S devices not controlled by

[RFC] hung_task:add detecting task in D state milliseconds timeout

2020-07-02 Thread yang che
current hung_task_check_interval_secs and hung_task_timeout_secs only supports seconds.in some cases,the TASK_UNINTERRUPTIBLE state takes less than 1 second.The task of the graphical interface, the unterruptible state lasts for hundreds of milliseconds will cause the interface to freeze echo 1 > /

Re: [PATCH 18/20] block: refator submit_bio_noacct

2020-07-02 Thread Qian Cai
.590615][ T1373] CPU: 2 PID: 1373 Comm: mount Not tainted 5.8.0-rc3-next-20200702 #2 [ 55.598672][ T1373] Hardware name: HPE ProLiant DL385 Gen10/ProLiant DL385 Gen10, BIOS A40 07/10/2019 [ 55.607972][ T1373] Call Trace: [ 55.607980][ T1373] dump_stack+0x9d/0xe0 [ 55.607984][ T1373] ? bi

Re: [PATCH V3 (RESEND) 3/3] arm64/mm: Enable vmem_altmap support for vmemmap mappings

2020-07-02 Thread Catalin Marinas
On Thu, Jun 18, 2020 at 06:45:30AM +0530, Anshuman Khandual wrote: > Device memory ranges when getting hot added into ZONE_DEVICE, might require > their vmemmap mapping's backing memory to be allocated from their own range > instead of consuming system memory. This prevents large system memory usag

<    5   6   7   8   9   10   11   12   13   14   >