Re: [PATCH -next] drm/virtio: Make virtgpu_dmabuf_ops with static keyword

2020-11-15 Thread Gerd Hoffmann
On Sat, Nov 14, 2020 at 03:16:13PM +0800, Zou Wei wrote: > Fix the following sparse warning: > > ./virtgpu_prime.c:46:33: warning: symbol 'virtgpu_dmabuf_ops' was not > declared. Should it be static? Pushed to drm-misc-next. thanks, Gerd

[PATCH 2/4] dt-bindings: arm: rockchip: Add FriendlyARM NanoPi M4B

2020-11-15 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi M4B is a minor revision of the original M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recovery button added Additional changes specific to the M4B:

[PATCH 1/4] PCI: rockchip: make ep_gpio optional

2020-11-15 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Rockchip PCIe controller DT binding clearly states that ep-gpios is an optional property. And indeed there are boards that don't require it. Make the driver follow the binding by using devm_gpiod_get_optional() instead of devm_gpiod_get(). Fixes: e77f847df54c ("PCI: rockc

[PATCH 0/4] arm64: rockchip: Fix PCIe ep-gpios requirement and Add Nanopi M4B

2020-11-15 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This series mainly adds support for the new Nanopi M4B, which is a newer variant of the Nanopi M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recov

[PATCH 4/4] arm64: dts: rockchip: rk3399: Add NanoPi M4B

2020-11-15 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi M4B is a minor revision of the original M4. The differences against the original Nanopi M4 that are common with the other M4V2 revision include: - microphone header removed - power button added - recovery button added Additional changes specific to the M4B:

Re: drivers/net/wireless/ath/ath10k/sdio.c:2234:2: warning: Non-boolean value returned from function returning bool

2020-11-15 Thread Kalle Valo
+ ath10k list kernel test robot writes: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1 > commit: 3c45f21af84eb05a355919abc80cf70a3a681cee ath10k: sdio: add > firmware coredump support > compiler: nios2-lin

[PATCH 3/4] arm64: dts: rockchip: nanopi4: Move ep-gpios property to nanopc-t4

2020-11-15 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Only the NanoPC T4 hs the PCIe reset pin routed to the SoC. For the NanoPi M4 family, no such signal is routed to the expansion header on the base board. As the schematics for the expansion board were not released, it is unclear how this is handled, but the likely answer is th

Re: [PATCH 0/2] phy: qualcomm: usb: Fix two COMPILE_TEST errors

2020-11-15 Thread Vinod Koul
On 13-11-20, 15:12, Bryan O'Donoghue wrote: > kernel build robot fired this email at me about an hour ago > https://lkml.org/lkml/2020/11/13/414 > > The build robot has flagged the super-speed PHY driver but both Kconfig > entries have the same error. Fix those now. > > verified with "make menuco

RE: [PATCH] mmc: sdhci-of-arasan: Allow configuring zero tap values

2020-11-15 Thread Manish Narani
Hi, > -Original Message- > From: Manish Narani > Sent: Tuesday, November 10, 2020 11:12 PM > To: Michal Simek ; adrian.hun...@intel.com; > ulf.hans...@linaro.org > Cc: linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; git ; Manish Narani > ;

[PATCH] scsi: pmcraid: replace atomic_add_return()

2020-11-15 Thread Yejune Deng
atomic_inc_return() looks better Signed-off-by: Yejune Deng --- drivers/scsi/pmcraid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index cbe5fab..3e5b70c 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c @

Re: [PATCH] phy: mediatek: fix spelling mistake in Kconfig "veriosn" -> "version"

2020-11-15 Thread Vinod Koul
On 14-11-20, 12:05, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in the Kconfig. Fix it. Applied, thanks -- ~Vinod

[PATCH] Asoc: qcom: lpass-sc7180: Add 32 bit format support for capture

2020-11-15 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Add 32 bit format support for capture in lpass-sc7180 snd_soc_dai_driver capabilities. Need to add contstraints in machine driver so that only specific format allowed. Signed-off-by: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Manidadapu --- sound/soc/qcom/lpa

Re: [PATCH] phy: mapphone-mdm6600: remove the unused variable error value assignment

2020-11-15 Thread Vinod Koul
On 13-11-20, 16:34, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > The value of variable error is overwritten by the following call > devm_request_threaded_irq() in phy_mdm6600_device_power_on(), so here the > value assignment is useless. Remove it. > > Reported-by: Tosk Robot > Signed-off

Re: [PATCH] phy: tegra: Don't warn on probe deferral

2020-11-15 Thread Vinod Koul
On 11-11-20, 10:37, Jon Hunter wrote: > Deferred probe is an expected return value for devm_regulator_bulk_get(). > Given that the driver deals with it properly, there's no need to output a > warning that may potentially confuse users. Applied, thanks -- ~Vinod

[PATCH] dt-bindings: phy: bcm-ns-usb2-phy: convert to yaml

2020-11-15 Thread Rafał Miłecki
From: Rafał Miłecki 1. Convert from txt to yaml 2. Drop "Driver for" from the title 3. Document "#phy-cells" 4. Fix example node name (noticed by dt_binding_check) 5. Add #include to example (noticed by dt_binding_check) 6. Specify license Signed-off-by: Rafał Miłecki --- I think this should go

[PATCH] dt-bindings: phy: bcm-ns-usb3-phy: convert to yaml

2020-11-15 Thread Rafał Miłecki
From: Rafał Miłecki 1. Change syntax from txt to yaml 2. Drop "Driver for" from the title 3. Drop "reg = <0x0>;" from example (noticed by dt_binding_check) 4. Specify license Signed-off-by: Rafał Miłecki --- I think this should go through linux-phy tree. Kishon, Vinod, can you take this patch?

Re: [PATCH v2] mm: memblock: add more debug logs

2020-11-15 Thread Mike Rapoport
On Mon, Nov 16, 2020 at 10:14:04AM +0530, Faiyaz Mohammed wrote: > It is useful to know the exact caller of memblock_phys_alloc_range() to > track early memory reservations during development. > > Currently, when memblock debugging is enabled, the allocations done with > memblock_phys_alloc_range(

[PATCH] net/tun: Call notifiers before and after changing device type

2020-11-15 Thread Martin Schiller
Signed-off-by: Martin Schiller --- drivers/net/tun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index be69d272052f..8253c5b03105 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -3124,9 +3124,11 @@ static long __tun_chr_ioctl(struct file *

Re: [PATCH v2 0/2] phy: phy-brcm-sata: Allow configuration SATA AFE TX amplitude

2020-11-15 Thread Vinod Koul
On 22-10-20, 13:50, Florian Fainelli wrote: > Hi Vinod, Kishon, > > This patch series allows the configuration of the Broadcom SATA PHY TX > amplitude which may be required in order to meet specific tests. Applied, thanks Btw please do convert the binding doc to yaml Thanks -- ~Vinod

Re: [PATCH] phy: intel: PHY_INTEL_KEEMBAY_EMMC should depend on ARCH_KEEMBAY

2020-11-15 Thread Vinod Koul
On 10-11-20, 15:46, Geert Uytterhoeven wrote: > The Intel Keem Bay eMMC PHY is only present on Intel Keem Bay SoCs. > Hence add a dependency on ARCH_KEEMBAY, to prevent asking the user about > this driver when configuring a kernel without Intel Keem Bay platform > support. Applied, thanks -- ~Vi

Re: [PATCH 1/2] phy: stm32: don't print an error on probe deferral

2020-11-15 Thread Vinod Koul
On 10-11-20, 11:23, Amelie Delaunay wrote: > Change stm32-usbphyc driver to not print an error message when the device > probe operation is deferred. Applied all, thanks -- ~Vinod

[PATCH 6/6] net/lapb: fix t1 timer handling

2020-11-15 Thread Martin Schiller
fix t1 timer handling in LAPB_STATE_0: o DTE interface changes immediately to LAPB_STATE_1 and start sending SABM(E). o DCE interface sends N2-times DM and changes to LAPB_STATE_1 afterwards if there is no response in the meantime. Signed-off-by: Martin Schiller --- net/lapb/lapb_timer.c

Re: [PATCH] phy: tegra: Constify static device_type structs

2020-11-15 Thread Vinod Koul
On 09-11-20, 22:58, Rikard Falkeborn wrote: > The only usage of tegra_xusb_pad_type and tegra_xusb_port_type is to > assign their address to the type field in the device struct, which is a > const pointer. Make them const to allow the compiler to put them in > read-only memory. Applied, thanks --

[PATCH 1/6] net/x25: add/remove x25_link_device by NETDEV_REGISTER/UNREGISTER

2020-11-15 Thread Martin Schiller
and also by NETDEV_POST_TYPE_CHANGE/NETDEV_PRE_TYPE_CHANGE. This change is needed so that the x25_neigh struct for an interface is already created when it shows up and is kept independantly if the interface goes UP or DOWN. This is used in the next commit, where x25 params of an neighbour will ge

Re: [PATCH 5/9] phy: cadence: Sierra: Fix PHY power_on sequence

2020-11-15 Thread Vinod Koul
On 03-11-20, 09:25, Kishon Vijay Abraham I wrote: > Commit 44d30d622821d ("phy: cadence: Add driver for Sierra PHY") > de-asserts PHY_RESET even before the configurations are loaded in > phy_init(). However PHY_RESET should be de-asserted only after > all the configurations has been initialized, in

[PATCH] ipmi/watchdog: replace atomic_add() and atomic_sub()

2020-11-15 Thread Yejune Deng
atomic_inc() and atomic_dec() looks better Signed-off-by: Yejune Deng --- drivers/char/ipmi/ipmi_watchdog.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/ipmi/ipmi_watchdog.c b/drivers/char/ipmi/ipmi_watchdog.c index f78156d..32c334e 100644 --- a/drive

RE: [PATCH v4 06/17] PCI: add SIOV and IMS capability detection

2020-11-15 Thread Tian, Kevin
> From: Raj, Ashok > Sent: Monday, November 16, 2020 8:23 AM > > On Sun, Nov 15, 2020 at 11:11:27PM +0100, Thomas Gleixner wrote: > > On Sun, Nov 15 2020 at 11:31, Ashok Raj wrote: > > > On Sun, Nov 15, 2020 at 12:26:22PM +0100, Thomas Gleixner wrote: > > >> > opt-in by device or kernel? The way

Re: [PATCH] md: dm-writeback: add __noreturn to BUG-ging function

2020-11-15 Thread Christian Borntraeger
On 13.11.20 23:52, Randy Dunlap wrote: > Building on arch/s390/ flags this as an error, so add the > __noreturn attribute modifier to prevent the build error. > > cc1: some warnings being treated as errors > ../drivers/md/dm-writecache.c: In function 'persistent_memory_claim': > ../drivers/md/d

Re: [PATCH 3/9] phy: ti: j721e-wiz: Don't configure wiz if its already configured

2020-11-15 Thread Vinod Koul
On 03-11-20, 09:25, Kishon Vijay Abraham I wrote: > From: Faiz Abbas > > Serdes lanes might be shared between multiple cores in some usecases > and its not possible to lock PLLs for both the lanes independently > by the two cores. This requires a bootloader to configure both the > lanes at early

[PATCH 5/6] net/lapb: support netdev events

2020-11-15 Thread Martin Schiller
This makes it possible to handle carrier loss and detection. In case of Carrier Loss, layer 2 is terminated In case of Carrier Detection, we start timer t1 on a DCE interface, and on a DTE interface we change to state LAPB_STATE_1 and start sending SABM(E). Signed-off-by: Martin Schiller --- net

[PATCH 3/6] net/x25: replace x25_kill_by_device with x25_kill_by_neigh

2020-11-15 Thread Martin Schiller
Remove unnecessary function x25_kill_by_device. Signed-off-by: Martin Schiller --- net/x25/af_x25.c | 22 +- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index 439ae65ab7a8..d98d1145500e 100644 --- a/net/x25/af_x25.c +++ b

[PATCH 4/6] net/x25: support NETDEV_CHANGE notifier

2020-11-15 Thread Martin Schiller
This makes it possible to handle carrier lost and detection. In case of carrier lost, we shutdown layer 3 and flush all sessions. Signed-off-by: Martin Schiller --- net/x25/af_x25.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index d98d114

[PATCH 2/6] net/x25: make neighbour params configurable

2020-11-15 Thread Martin Schiller
Extended struct x25_neigh and x25_subscrip_struct to configure following params through SIOCX25SSUBSCRIP: o mode (DTE/DCE) o number of channels o facilities (packet size, window size) o timer T20 Based on this configuration options the follwing changes/extensions where made: o DTE/DCE ha

Re: [PATCH 2/3] phy: mediatek: Move mtk_mipi_dsi_phy driver into drivers/phy/mediatek folder

2020-11-15 Thread Vinod Koul
On 02-11-20, 07:08, Chun-Kuang Hu wrote: > + Vinod: > > Hi, Chunfeng: > > Chunfeng Yun 於 2020年10月30日 週五 下午2:24寫道: > > > > On Thu, 2020-10-29 at 23:27 +0800, Chun-Kuang Hu wrote: > > > mtk_mipi_dsi_phy is currently placed inside mediatek drm driver, but it's > > > more suitable to place a phy dri

Re: [PATCH] phy: amlogic: Replace devm_reset_control_array_get()

2020-11-15 Thread Vinod Koul
On 03-11-20, 12:37, Yejune Deng wrote: > devm_reset_control_array_get_exclusive() looks more readable Applied, thanks -- ~Vinod

Re: [PATCH] irqchip/gic-v4.1: Optimize the wait for the completion of the analysis of the VPT

2020-11-15 Thread Shenming Lu
Hi Marc, Friendly ping, it is some time since I sent this patch according to your last advice... Besides, recently we found that the mmio delay on GICv4.1 system is about 10 times higher than that on GICv4.0 system in kvm-unit-tests (the specific data is as follows). By the way, HiSilicon GICv

Re: [PATCH v2 01/17] phy: allwinner: convert to devm_platform_ioremap_resource(_byname)

2020-11-15 Thread Vinod Koul
On 06-11-20, 14:08, Chunfeng Yun wrote: > Use devm_platform_ioremap_resource(_byname) to simplify code Applied all, thanks -- ~Vinod

Re: [PATCH] dt-bindings: phy: Add Cadence Sierra PHY bindings in YAML format

2020-11-15 Thread Vinod Koul
On 28-10-20, 16:22, Swapnil Jakhade wrote: > Add Cadence Sierra PHY bindings in YAML format. Applied, thanks -- ~Vinod

[PATCH v2] checkpatch: add fix option for MAINTAINERS_STYLE

2020-11-15 Thread Aditya Srivastava
Checkpatch expects entries in MAINTAINERS file in a specific order and warns if the changes made do not follow the specified order. E.g., running checkpatch on commit 6f736909f0a4 ("MAINTAINERS: Add patchwork link for PWM entry") reports this warning: WARNING: Misordered MAINTAINERS entry - list

RE: [EXT] Re: [PATCH v3 3/4] arm64: dts: imx8m: add nvmem-cell related stuff

2020-11-15 Thread Alice Guo
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2020年11月15日 0:01 > To: Alice Guo > Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > dl-linux-imx ; Peng Fan ; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org

Re: [RESEND PATCH 03/10] fpga: fpga-mgr: dfl-fme-mgr: Simplify registration

2020-11-15 Thread Xu Yilun
Tested on DFL FPGA platform, it is OK. Thanks, Yilun On Sun, Nov 15, 2020 at 11:51:20AM -0800, Moritz Fischer wrote: > Simplify registration using new devm_fpga_mgr_register() API. > > Reviewed-by: Tom Rix > Signed-off-by: Moritz Fischer > --- > drivers/fpga/dfl-fme-mgr.c | 13 + >

Re: [PATCH v2 1/6] bus: mhi: core: Allow receiving a STOP channel command response

2020-11-15 Thread Manivannan Sadhasivam
On Wed, Nov 11, 2020 at 11:21:08AM -0800, Bhaumik Bhatt wrote: > Add support to receive the response to a STOP channel command to the > MHI bus. If a client would like to STOP a channel instead of issuing > a RESET to it, this would provide support for it. > > Signed-off-by: Bhaumik Bhatt > --- >

RE: [EXT] Re: [PATCH v3 2/4] arm64: dts: imx8m: add compatible string to .dtsi file

2020-11-15 Thread Alice Guo
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2020年11月14日 23:57 > To: Alice Guo > Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > dl-linux-imx ; Peng Fan ; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.or

Re: [PATCH 1/2] mmc: sdhci-of-arasan: Use Mask writes for Tap delays

2020-11-15 Thread Michal Simek
On 16. 11. 20 7:15, Manish Narani wrote: > Mask the ITAP and OTAP delay bits before updating with the new > tap value for Versal platform. > > Fixes: 1a470721c8f5 ("sdhci: arasan: Add support for Versal Tap Delays") > Signed-off-by: Sai Krishna Potthuri > Signed-off-by: Manish Narani > --- >

Re: [PATCH v2] PCI: check also dynamic IDs for duplicate in new_id_store()

2020-11-15 Thread Zhenzhong Duan
Hi Bjorn, On Sat, Nov 14, 2020 at 6:47 AM Bjorn Helgaas wrote: > > [+cc Alex, Cornelia in case VFIO cares about new_id/remove_id > semantics] > > On Mon, Oct 26, 2020 at 11:57:10AM +0800, Zhenzhong Duan wrote: > > When a device ID data is writen to /sys/bus/pci/drivers/.../new_id, > > only static

Antw: [EXT] [systemd-devel] [SPECIFICATION RFC] The firmware and bootloader log specification

2020-11-15 Thread Ulrich Windl
>>> Daniel Kiper schrieb am 14.11.2020 um 00:52 in Nachricht <20201113235242.k6fzlwmwm2xqh...@tomti.i.net-space.pl>: ... > The members of struct bf_log_msg: > ‑ size: total size of bf_log_msg struct, > ‑ ts_nsec: timestamp expressed in nanoseconds starting from 0, Who or what defines t == 0?

Re: [PATCH 2/2] mmc: sdhci-of-arasan: Issue DLL reset explicitly

2020-11-15 Thread Michal Simek
On 16. 11. 20 7:15, Manish Narani wrote: > In the current implementation DLL reset will be issued for > each ITAP and OTAP setting inside ATF, this is creating issues > in some scenarios and this sequence is not inline with the TRM. > To fix the issue, DLL reset should be removed from the ATF an

Re: [GIT PULL] bootconfig: Extend the magic check range to the preceding 3 bytes

2020-11-15 Thread Masami Hiramatsu
On Fri, 13 Nov 2020 13:03:05 -0500 Steven Rostedt wrote: > On Fri, 13 Nov 2020 09:57:54 -0800 > Linus Torvalds wrote: > > > On Fri, Nov 13, 2020 at 9:54 AM Steven Rostedt wrote: > > > > > > The issue is that grub padded the end of the ramdisk after loading it > > > into memory. I'm not sure ho

[PATCH V3] clocksource/drivers/cadence_ttc: fix memory leak in ttc_setup_clockevent()

2020-11-15 Thread Yu Kuai
If clk_notifier_register() failed, ttc_setup_clockevent() will return without freeing 'ttcce', which will leak memory. Fixes: 70504f311d4b ("clocksource/drivers/cadence_ttc: Convert init function to return error") Reported-by: Hulk Robot Signed-off-by: Yu Kuai --- drivers/clocksource/timer-cad

RE: [EXT] Re: [PATCH v3 1/4] dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-15 Thread Alice Guo
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2020年11月15日 0:50 > To: Alice Guo > Cc: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > dl-linux-imx ; Peng Fan ; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org

[rcu:dev.2020.11.10a] BUILD REGRESSION 1bc2f285f9c940176cc2c231db1372d5b2f0c635

2020-11-15 Thread kernel test robot
torture.ko] undefined! Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- i386-randconfig-m021-20201115 | |-- ERROR:get_state_synchronize_srcu-kernel-rcu-rcutorture.ko-undefined | |-- ERROR:poll_state_synchronize_srcu-kernel-rcu-rcutorture.ko-undefined | `-- ERROR:start_po

linux-next: Tree for Nov 16

2020-11-15 Thread Stephen Rothwell
Hi all, Changes since 20201113: The drivers-memory tree lost its build failure. The ext3 tree lost its build failure. The amdgpu tree gained a conflict against the drm tree. The usb-chipidea-next tree lost its build failure. Non-merge commits (relative to Linus' tree): 5389 5443 files change

[PATCH] scsi: sd: remove obsolete variable in sd_remove()

2020-11-15 Thread Lukas Bulwahn
Commit 140ea3bbf39a ("sd: use __register_blkdev to avoid a modprobe for an unregistered dev_t") removed blk_register_region(devt, ...) in sd_remove() and since then, devt is unused in sd_remove(). Hence, make W=1 warns: drivers/scsi/sd.c:3516:8: warning: variable 'devt' set but not used [

[PATCH] lockdep: fix the typo

2020-11-15 Thread Huang Shijie
Fix the 'signle' to 'single". Signed-off-by: Huang Shijie --- include/linux/lockdep_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/lockdep_types.h b/include/linux/lockdep_types.h index 9a1fd49df17f..1989017d663f 100644 --- a/include/linux/lockdep_types.

[PATCH v1 0/9] scsi: ufs: Refactoring and cleanups

2020-11-15 Thread Stanley Chu
Hi, This series simply do some refactoring and cleanups in UFS drivers. Stanley Chu (9): scsi: ufs-mediatek: Refactor performance scaling functions scsi: ufs: Introduce device parameter initialization function scsi: ufs-mediatek: Use device parameter initialization function scsi: ufs-qcom:

[PATCH net-next] r8153_ecm: avoid to be prior to r8152 driver

2020-11-15 Thread Hayes Wang
Avoid r8153_ecm is compiled as built-in, if r8152 driver is compiled as modules. Otherwise, the r8153_ecm would be used, even though the device is supported by r8152 driver. Fixes: c1aedf015ebd ("net/usb/r8153_ecm: support ECM mode for RTL8153") Reported-by: Marek Szyprowski Signed-off-by: Hayes

[PATCH v1 8/9] scsi: ufs-mediatek: Use common ADAPT configuration function

2020-11-15 Thread Stanley Chu
Use common ADAPT configuration function to reduce duplicated code in UFS drivers. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c index

[PATCH v1 9/9] scsi: ufs-qcom: Use common ADAPT configuration function

2020-11-15 Thread Stanley Chu
Use common ADAPT configuration function to reduce duplicated code in UFS drivers. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-qcom.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 04adfbd

[PATCH v1 5/9] scsi: ufs-exynos: Use device parameter initialization function

2020-11-15 Thread Stanley Chu
Use common device parameter initialization function instead of initialziing those parameters by vendor driver itself. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-exynos.c | 15 +-- drivers/scsi/ufs/ufs-exynos.h | 13 - 2 files changed, 1 insertion(+), 27 deletions

[PATCH v1 7/9] scsi: ufs: Refactor ADAPT configuration function

2020-11-15 Thread Stanley Chu
Several vendors are using same code to configure ADAPT settings for HS-G4. Simply refactor it as common function. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 16 drivers/scsi/ufs/ufshcd.h | 3 +++ 2 files changed, 19 insertions(+) diff --git a/drivers/scsi/ufs/u

[PATCH v1 4/9] scsi: ufs-qcom: Use device parameter initialization function

2020-11-15 Thread Stanley Chu
Use common device parameter initialization function instead of initialziing those parameters by vendor driver itself. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-qcom.c | 13 + drivers/scsi/ufs/ufs-qcom.h | 11 --- 2 files changed, 1 insertion(+), 23 deletions(-) dif

[PATCH v1 2/9] scsi: ufs: Introduce device parameter initialization function

2020-11-15 Thread Stanley Chu
Nowadays many vendors initialize their device parameters in their own vendor drivers. The initialization code is almost the same as well as the pre-defined definitions. Introduce a common device parameter initialization function which assign the most common initial values. With this function, we co

[PATCH v1 6/9] scsi: ufs-hisi: Use device parameter initialization function

2020-11-15 Thread Stanley Chu
Use common device parameter initialization function instead of initialziing those parameters by vendor driver itself. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-hisi.c | 13 + drivers/scsi/ufs/ufs-hisi.h | 13 - 2 files changed, 1 insertion(+), 25 deletions(-) d

[PATCH v1 1/9] scsi: ufs-mediatek: Refactor performance scaling functions

2020-11-15 Thread Stanley Chu
Refactor preformance scaling related functions in MediaTek UFS driver. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c in

[PATCH v1 3/9] scsi: ufs-mediatek: Use device parameter initialization function

2020-11-15 Thread Stanley Chu
Use common device parameter initialization function instead of initialziing those parameters by vendor driver itself. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 16 +++- drivers/scsi/ufs/ufs-mediatek.h | 16 2 files changed, 3 insertions(+), 29

[PATCH doc] doc: zh_CN: add tmpfs to index tree

2020-11-15 Thread Wang Qing
Add temfs to the index tree while adding tempfs translation. Signed-off-by: Wang Qing --- Documentation/translations/zh_CN/filesystems/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/translations/zh_CN/filesystems/index.rst b/Documentation/translations/zh_CN/filesyst

Re: [PATCH v2] mfd: kempld-core: Check for DMI definition before ACPI

2020-11-15 Thread Michael Brunner
On Fri, 2020-11-13 at 10:16 +, Lee Jones wrote: > On Tue, 10 Nov 2020, Michael Brunner wrote: > > > Change the detection order to priorize DMI table entries over > > available > > ACPI entries. > > > > This makes it more easy for product developers to patch product > > specific > > handling i

[PATCH v3] mfd: kempld-core: Check for DMI definition before ACPI

2020-11-15 Thread Michael Brunner
Change the detection order to priorize DMI table entries over available ACPI entries. This makes it more easy for product developers to patch product specific handling into the driver. Furthermore it allows to simplify the implementation a bit and especially to remove the need to force synchronous

[PATCH] arm64: dts: meson: enable rtc node on Khadas VIM1/VIM2 boards

2020-11-15 Thread Christian Hewitt
Enable the rtc node on VIM1/VIM2 boards so users can simply attach a power cell and use the on-board RTC without modifying the device-tree. Cold boot with no cell attached is gracefully handled: VIM2:~ # dmesg | grep rtc [7.716150] rtc-hym8563 1-0051: no valid clock/calendar values available

Re: [PATCH v4 00/12] Bug fixes and improvements for MHI power operations

2020-11-15 Thread Manivannan Sadhasivam
On Mon, Nov 09, 2020 at 12:47:19PM -0800, Bhaumik Bhatt wrote: > Bug fixes and improvements for MHI powerup and shutdown handling. > Firmware load function names are updated to accurately reflect their purpose. > Closed certain design gaps where the host (MHI bus) would allow clients to > operate a

linux-next: build warning after merge of the ftrace tree

2020-11-15 Thread Stephen Rothwell
Hi all, After merging the ftrace tree, today's linux-next build (htmldocs) produced this warning: Documentation/trace/ftrace-uses.rst:123: WARNING: Unexpected indentation. Introduced by commit a25d036d939a ("ftrace: Reverse what the RECURSION flag means in the ftrace_ops") -- Cheers, Steph

[PATCH v2 0/1] Fix object remain in offline per-cpu quarantine

2020-11-15 Thread Kuan-Ying Lee
This patch fixes object remain in the offline per-cpu quarantine as describe below. Free objects will get into per-cpu quarantine if enable generic KASAN. If a cpu is offline and users use kmem_cache_destroy, kernel will detect objects still remain in the offline per-cpu quarantine and report erro

[PATCH v2 1/1] kasan: fix object remain in offline per-cpu quarantine

2020-11-15 Thread Kuan-Ying Lee
We hit this issue in our internal test. When enabling generic kasan, a kfree()'d object is put into per-cpu quarantine first. If the cpu goes offline, object still remains in the per-cpu quarantine. If we call kmem_cache_destroy() now, slub will report "Objects remaining" error. [ 74.982625] ==

Re: [PATCH 0/9] iio: adc: at91_adc: cleanup DT bindings

2020-11-15 Thread Ludovic Desroches
On Fri, Nov 13, 2020 at 10:26:41PM +0100, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Hello, > > This series cleans up the at91_adc devicetree bindings. This mainly > moves back the resolution options and names and t

Re: [PATCH 3/3] powerpc: fix -Wimplicit-fallthrough

2020-11-15 Thread Gustavo A. R. Silva
On Sun, Nov 15, 2020 at 08:35:32PM -0800, Nick Desaulniers wrote: > The "fallthrough" pseudo-keyword was added as a portable way to denote > intentional fallthrough. Clang will still warn on cases where there is a > fallthrough to an immediate break. Add explicit breaks for those cases. > > Link:

Re: [PATCH 1/3] powerpc: boot: include compiler_attributes.h

2020-11-15 Thread Gustavo A. R. Silva
On Sun, Nov 15, 2020 at 08:35:30PM -0800, Nick Desaulniers wrote: > The kernel uses `-include` to include include/linux/compiler_types.h > into all translation units (see scripts/Makefile.lib), which #includes > compiler_attributes.h. > > arch/powerpc/boot/ uses different compiler flags from the r

Re: [PATCH 2/3] Revert "lib: Revert use of fallthrough pseudo-keyword in lib/"

2020-11-15 Thread Gustavo A. R. Silva
On Sun, Nov 15, 2020 at 08:35:31PM -0800, Nick Desaulniers wrote: > This reverts commit 6a9dc5fd6170 ("lib: Revert use of fallthrough > pseudo-keyword in lib/") > > Now that we can build arch/powerpc/boot/ free of -Wimplicit-fallthrough, > re-enable these fixes for lib/. > > Link: https://github.

[PATCH v3 1/7] arm64: dts: meson: add audio playback to a95x

2020-11-15 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../dts/amlogic/meson-gxbb-nexbox-a95x.dts| 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts b/arch/arm64/boot/dts/amlogic/meson-gx

[PATCH v3 4/7] arm64: dts: meson: add audio playback to nanopi-k2

2020-11-15 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb

[PATCH v3 6/7] arm64: dts: meson: add audio playback to wetek-hub

2020-11-15 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-gxbb-wetek-hub.dts | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-hub.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb

[PATCH v3 2/7] arm64: dts: meson: add audio playback to khadas-vim

2020-11-15 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../amlogic/meson-gxl-s905x-khadas-vim.dts| 43 ++- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/

[PATCH v3 7/7] arm64: dts: meson: add audio playback to wetek-play2

2020-11-15 Thread Christian Hewitt
Add initial support limited to HDMI i2s and SPDIF (LPCM). Signed-off-by: Christian Hewitt --- .../dts/amlogic/meson-gxbb-wetek-play2.dts| 61 +++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts b/arch/arm64/boot/dts/amlog

[PATCH v3 0/7] arm64: dts: meson: add more GX soundcards

2020-11-15 Thread Christian Hewitt
This series adds basic support for LPCM audio over HDMI and S/PDIF to GXBB/GXL/GXM devices that I own and have tested with. Audio can be extended in the future (some devices have DACs and headphone hardware to connect) but this gets the basics working. Changes from v2 - Drop p200/p201/p212-s905x/v

[PATCH v3 3/7] arm64: dts: meson: add audio playback to khadas-vim2

2020-11-15 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../dts/amlogic/meson-gxm-khadas-vim2.dts | 44 +-- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts b/arch/arm64/boot/dts/a

[PATCH v3 5/7] arm64: dts: meson: add audio playback to odroid-c2

2020-11-15 Thread Christian Hewitt
Add initial audio support limited to HDMI i2s. Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-gxbb-odroidc2.dts | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-

[PATCH 0/2] Bug Fixes to Tap Delay code in SDHCI Arasan driver

2020-11-15 Thread Manish Narani
This patch set consists a couple of minor bug fixes for SDHCI Arasan driver. The fixes are for tap delay programming where in some cases tuning is failing for some of the SD cards. Manish Narani (2): mmc: sdhci-of-arasan: Use Mask writes for Tap delays mmc: sdhci-of-arasan: Issue DLL reset exp

[PATCH 2/2] mmc: sdhci-of-arasan: Issue DLL reset explicitly

2020-11-15 Thread Manish Narani
In the current implementation DLL reset will be issued for each ITAP and OTAP setting inside ATF, this is creating issues in some scenarios and this sequence is not inline with the TRM. To fix the issue, DLL reset should be removed from the ATF and host driver will request it explicitly. This patch

Re: [PATCH v4 10/12] bus: mhi: core: Separate system error and power down handling

2020-11-15 Thread Manivannan Sadhasivam
On Mon, Nov 09, 2020 at 12:47:29PM -0800, Bhaumik Bhatt wrote: > Currently, there exist a set of if...else statements in the > mhi_pm_disable_transition() function which make handling system > error and disable transitions differently complex. To make that > cleaner and facilitate differences in be

Re: [PATCH] pinctrl: at91-pio4: add support for fewer lines on last PIO bank

2020-11-15 Thread Ludovic Desroches
On Fri, Nov 13, 2020 at 03:24:29PM +0200, Eugen Hristev wrote: > Some products, like sama7g5, do not have a full last bank of PIO lines. > In this case for example, sama7g5 only has 8 lines for the PE bank. > PA0-31, PB0-31, PC0-31, PD0-31, PE0-7, in total 136 lines. > To cope with this situation,

Re: linux-next: build failure after merge of the akpm tree

2020-11-15 Thread Stephen Rothwell
Hi Mike, On Sun, 15 Nov 2020 11:01:05 +0200 Mike Rapoport wrote: > > My preference would be to put the entire function body in '#ifdef > CONFIG_MEMCG' here. OK, so today I used this: From: Stephen Rothwell Date: Mon, 16 Nov 2020 16:55:10 +1100 Subject: [PATCH] secretmem-add-memcg-accounting-fi

[PATCH 1/2] mmc: sdhci-of-arasan: Use Mask writes for Tap delays

2020-11-15 Thread Manish Narani
Mask the ITAP and OTAP delay bits before updating with the new tap value for Versal platform. Fixes: 1a470721c8f5 ("sdhci: arasan: Add support for Versal Tap Delays") Signed-off-by: Sai Krishna Potthuri Signed-off-by: Manish Narani --- drivers/mmc/host/sdhci-of-arasan.c | 5 + 1 file change

Re: [PATCH v4 04/12] bus: mhi: core: Move to SYS_ERROR regardless of RDDM capability

2020-11-15 Thread Manivannan Sadhasivam
On Mon, Nov 09, 2020 at 12:47:23PM -0800, Bhaumik Bhatt wrote: > In some cases, the entry of device to RDDM execution environment > can occur after a significant amount of time has elapsed and a > SYS_ERROR state change event has already arrived. This can result > in scenarios where MHI controller

RE: [PATCH v2 0/3] Enable support IPI_CPU_CRASH_STOP to be pseudo-NMI

2020-11-15 Thread ito-yui...@fujitsu.com
Hi Marc, Sumit What should I do to merge this patch. I would appreciate if you have any advice. I have not tested it with ThunderX2 yet. Best regards, Yuichi Ito > -Original Message- > From: Yuichi Ito > Sent: Wednesday, November 4, 2020 5:06 PM > To: m...@kernel.org; sumit.g...@linar

Re: [PATCH] NFS: only invalidate dentrys that are clearly invalid.

2020-11-15 Thread NeilBrown
On Mon, Nov 16 2020, Trond Myklebust wrote: > On Mon, 2020-11-16 at 16:12 +1100, NeilBrown wrote: >> On Mon, Nov 16 2020, Trond Myklebust wrote: >> >> > On Mon, 2020-11-16 at 16:00 +1100, NeilBrown wrote: >> > > On Mon, Nov 16 2020, Trond Myklebust wrote: >> > > >> > > > On Mon, 2020-11-16 at 15

Re: [PATCH] tick/nohz: Reduce the critical region for jiffies_seq

2020-11-15 Thread Yunfeng Ye
On 2020/11/16 3:43, Thomas Gleixner wrote: > On Wed, Nov 11 2020 at 17:11, Yunfeng Ye wrote: >> When nohz or nohz_full is configured, the concurrency calls of >> tick_do_update_jiffies64 increases, > > Why? > When nohz=off, tick_do_update_jiffies64() is called by tick_sched_do_timer() on the t

Re: [PATCH v2] bus: mhi: core: Add support MHI EE FP for download firmware

2020-11-15 Thread Manivannan Sadhasivam
On Mon, Nov 02, 2020 at 08:34:14AM -0800, Bhaumik Bhatt wrote: > On 2020-11-02 04:27, carl@quectel.com wrote: > > From: "carl.yin" > > > > MHI wwan modems support download firmware to nand or emmc > > by firehose protocol, process as next: > > 1. modem boot up and enter EE AMSS, create DIAG c

Re: Error: invalid switch -me200

2020-11-15 Thread Michael Ellerman
Christophe Leroy writes: > Le 14/11/2020 à 01:20, Segher Boessenkool a écrit : >> On Fri, Nov 13, 2020 at 12:14:18PM -0800, Nick Desaulniers wrote: >> Error: invalid switch -me200 >> Error: unrecognized option -me200 > > 251 cpu-as-$(CONFIG_E200) += -Wa,-me200 > > Are tho

linux-next: build warning after merge of the jc_docs tree

2020-11-15 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced this warning: Documentation/translations/zh_CN/filesystems/tmpfs.rst:5: WARNING: undefined label: tmpfs_index (if the link has no caption the label must precede a section header) Introduced by commit 09028e

Fair Pay: Foundation in Philosophy

2020-11-15 Thread Ywe Cærlyn
One needs a solid basis for Fair Pay. I have translated the prayer of La Quran. Using the concept Sino, that unifies science and Islam, represents a Fair Pay political unity of east and west. https://www.youtube.com/watch?v=-XHzklQnKhw Serenity, Ywe Cærlyn.

Re: [PATCH v5 2/5] phy: qcom-qmp: Add SM8250 PCIe QMP PHYs

2020-11-15 Thread Vinod Koul
On 27-10-20, 22:30, Manivannan Sadhasivam wrote: > SM8250 has multiple different PHY versions: > QMP GEN3x1 PHY - 1 lane > QMP GEN3x2 PHY - 2 lanes > QMP Modem PHY - 2 lanes > > Add support for these with relevant init sequence. In order to abstract > the init sequence, this commit introduces seco

  1   2   3   4   5   >