RE: [PATCH 0/8] remoteproc: imx_rproc: support iMX8MQ/M

2020-12-21 Thread Peng Fan
Hi Bjorn, > Subject: [PATCH 0/8] remoteproc: imx_rproc: support iMX8MQ/M I forgot to add subject-prefix V4 when format-patch. Do you need to send out v5? or you could take this v4 version if it is ok for you? Thanks, Peng. > > From: Peng Fan > > V4: > According to Bjorn's comments, add

WARNING: ODEBUG bug in ext4_fill_super (2)

2020-12-21 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0d52778b Add linux-next specific files for 20201218 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1619061350 kernel config: https://syzkaller.appspot.com/x/.config?x=5c81cc44aa25b5b3 dashboard

[RFC PATCH 3/3] mm: support free hugepage pre zero out

2020-12-21 Thread Liang Li
This patch add support of pre zero out free hugepage, we can use this feature to speed up page population and page fault handing. Cc: Alexander Duyck Cc: Mel Gorman Cc: Andrea Arcangeli Cc: Dan Williams Cc: Dave Hansen Cc: David Hildenbrand Cc: Michal Hocko Cc: Andrew Morton Cc: Alex

Re: [PATCH 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2020-12-21 Thread Laurent Pinchart
Hi Liu, On Tue, Dec 22, 2020 at 09:36:37AM +0200, Laurent Pinchart wrote: > On Thu, Dec 17, 2020 at 05:59:30PM +0800, Liu Ying wrote: > > This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). > > > > Signed-off-by: Liu Ying > > --- > >

[RFC PATCH 2/3] virtio-balloon: add support for providing free huge page reports to host

2020-12-21 Thread Liang Li
Free page reporting only supports buddy pages, it can't report the free pages reserved for hugetlbfs case. On the other hand, hugetlbfs is a good choice for a system with a huge amount of RAM, because it can help to reduce the memory management overhead and improve system performance. This patch

[RFC PATCH 1/3] mm: support hugetlb free page reporting

2020-12-21 Thread Liang Li
Free page reporting only supports buddy pages, it can't report the free pages reserved for hugetlbfs case. On the other hand, hugetlbfs is a good choice for a system with a huge amount of RAM, because it can help to reduce the memory management overhead and improve system performance. This patch

[RFC PATCH 0/3] add support for free hugepage reporting

2020-12-21 Thread Liang Li
A typical usage of hugetlbfs it's to reserve amount of memory when the during kernel booting stage, and the reserved pages are unlikely to return to the buddy system. When application need hugepages, kernel will allocate them from the reserved pool. when application terminates, huge pages will

[PATCH] HID: Add Wireless Radio Control feature for Chicony devices

2020-12-21 Thread Jian-Hong Pan
Some Chicony's keyboards support airplane mode hotkey (Fn+F2) with "Wireless Radio Control" feature. For example, the wireless keyboard [04f2:1236] shipped with ASUS all-in-one desktop. After consulting Chicony for this hotkey, learned the device will send with 0x11 as the report ID and 0x1 as

[PATCH] kunit: tool: Force the use of the 'tty' console for UML

2020-12-21 Thread David Gow
kunit_tool relies on the UML console outputting printk() output to the tty in order to get results. Since the default console driver could change, pass 'console=tty' to the kernel. This is triggered by a change[1] to use ttynull as a fallback console driver which -- by chance or by design --

Re: [PATCH 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2020-12-21 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Thu, Dec 17, 2020 at 05:59:30PM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). > > Signed-off-by: Liu Ying > --- > .../bindings/display/bridge/fsl,imx8qxp-ldb.yaml | 185 > + > 1 file

[PATCH v3 7/7] ARM: dts: exynos: Add top-off charging regulator node for i9100

2020-12-21 Thread Timon Baetz
Value taken from Galaxy S2 Epic 4G Touch SPH-D710 Android vendor kernel [0] which always sets 200mA. Also rearrange regulators based on definition in max8997.h. [0]

[PATCH v3 6/7] ARM: dts: exynos: Fix charging regulator voltage and current for i9100

2020-12-21 Thread Timon Baetz
Set CHARGER current and CHARGER_CV voltage according to Galaxy S2 Epic 4G Touch SPH-D710 Android vendor sources [0,1]. Remove regulator-always-on. The regulator can be enabled and disabled based on extcon events. [0]

[PATCH v3 5/7] ARM: dts: exynos: Added muic and charger nodes for i9100

2020-12-21 Thread Timon Baetz
muic node is only used for extcon consumers. charger node is used to specify muic and regulator. Signed-off-by: Timon Baetz --- arch/arm/boot/dts/exynos4210-i9100.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts

[PATCH v3 1/7] extcon: max8997: Add CHGINS and CHGRM interrupt handling

2020-12-21 Thread Timon Baetz
This allows the MAX8997 charger to set the current limit depending on the detected extcon charger type. Signed-off-by: Timon Baetz --- drivers/extcon/extcon-max8997.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index

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

2020-12-21 Thread Timon Baetz
Add of_compatible ("maxim,max8997-muic") to the mfd_cell to have a of_node set in the extcon driver. Add of_compatible ("maxim,max8997-battery") to the mfd_cell to configure the charger driver. Signed-off-by: Timon Baetz --- drivers/mfd/max8997.c | 4 ++-- 1 file changed, 2 insertions(+), 2

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

2020-12-21 Thread Timon Baetz
Register for extcon notification and set charging current depending on the detected cable type. Current values are taken from vendor kernel, where most charger types end up setting 650mA [0]. Also enable and disable the CHARGER regulator based on extcon events. [0]

[PATCH v3 2/7] regulator: dt-bindings: Document max8997-pmic nodes

2020-12-21 Thread Timon Baetz
Add maxim,max8997-battery and maxim,max8997-muic optional nodes. Signed-off-by: Timon Baetz --- .../bindings/regulator/max8997-regulator.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/max8997-regulator.txt

Re: [RFC PATCH v2 1/8] dt-bindings: net: sparx5: Add sparx5-switch bindings

2020-12-21 Thread Steen Hegelund
Hi Rob, On Mon, 2020-12-21 at 14:40 -0700, Rob Herring wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Thu, Dec 17, 2020 at 08:51:27AM +0100, Steen Hegelund wrote: > > Document the Sparx5 switch device driver bindings > > > >

[PATCH v2 0/2] scsi: ufs: Fix power drain and hci quirk for WriteBooster

2020-12-21 Thread Stanley Chu
Hi, This series fixes two WriteBooster issues, 1. Fix a corner case that device flush capability is not disabled during system suspend 2. Fix the checking of UFSHCI quirk UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL Stanley Chu (2): scsi: ufs: Fix possible power drain during system suspend scsi:

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

2020-12-21 Thread Stanley Chu
Flush during hibern8 is sufficient on MediaTek platforms, thus enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL to skip enabling fWriteBoosterBufferFlush during WriteBooster initialization. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufs-mediatek.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 2/2] scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

2020-12-21 Thread Stanley Chu
UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL is aimed to skip enabling fWriteBoosterBufferFlushEn while WriteBooster is initializing. Therefore it is better to apply the checking during WriteBooster initialization only. Signed-off-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 6 ++ 1 file

[PATCH v2 1/2] scsi: ufs: Fix possible power drain during system suspend

2020-12-21 Thread Stanley Chu
Currently if device needs to do flush or BKOP operations, the device VCC power is kept during runtime-suspend period. However, if system suspend is happening while device is runtime-suspended, such power may not be disabled successfully. The reasons may be, 1. If current PM level is the same as

Re: [PATCH v2] openrisc: Add vmlinux.bin target

2020-12-21 Thread Masahiro Yamada
On Tue, Dec 22, 2020 at 4:07 PM Joel Stanley wrote: > > Build it by default. This is commonly used by fpga targets. > > Signed-off-by: Joel Stanley > --- > v2: Address review from Masahiro > > - Add vmlinux.bin to phony target > - simplfy vmlinux.bin rule > - add cleanup rule > - add

Re: [PATCH v4] iio: Handle enumerated properties with gaps

2020-12-21 Thread Alexandru Ardelean
On Mon, Dec 21, 2020 at 8:02 PM Andy Shevchenko wrote: > > On Mon, Dec 21, 2020 at 5:11 PM Alexandru Ardelean > wrote: > > > > From: Lars-Peter Clausen > > > > Some enums might have gaps or reserved values in the middle of their value > > range. E.g. consider a 2-bit enum where the values 0, 1

drivers/clocksource/timer-clint.c:72:24: sparse: sparse: cast removes address space '__iomem' of expression

2020-12-21 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8653b778e454a7708847aeafe689bce07aeeb94e commit: 2ac6795fcc085e8d03649f1bbd0d70aaff612cad clocksource/drivers: Add CLINT timer driver date: 4 months ago config: riscv-randconfig-s031-20201221 (attached

[RFC 1/2] arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory

2020-12-21 Thread Anshuman Khandual
pfn_valid() validates a pfn but basically it checks for a valid struct page backing for that pfn. It should always return positive for memory ranges backed with struct page mapping. But currently pfn_valid() fails for all ZONE_DEVICE based memory types even though they have struct page mapping.

[RFC 0/2] arm64/mm: Fix pfn_valid() for ZONE_DEVIE based memory

2020-12-21 Thread Anshuman Khandual
This series fixes pfn_valid() for ZONE_DEVICE based memory and also improves its performance for normal hotplug memory. While here, it also reorganizes pfn_valid() on CONFIG_SPARSEMEM. This series has been slightly tested on the current mainline tree. Cc: Catalin Marinas Cc: Will Deacon Cc: Ard

[RFC 2/2] arm64/mm: Reorganize pfn_valid()

2020-12-21 Thread Anshuman Khandual
There are multiple instances of pfn_to_section_nr() and __pfn_to_section() when CONFIG_SPARSEMEM is enabled. This can be just optimized if the memory section is fetched earlier. Hence bifurcate pfn_valid() into two different definitions depending on whether CONFIG_SPARSEMEM is enabled. Also

[PATCH] powerpc/32s: Fix RTAS machine check with VMAP stack

2020-12-21 Thread Christophe Leroy
When we have VMAP stack, exception prolog 1 sets r1, not r11. Fixes: da7bb43ab9da ("powerpc/32: Fix vmap stack - Properly set r1 before activating MMU") Fixes: d2e006036082 ("powerpc/32: Use SPRN_SPRG_SCRATCH2 in exception prologs") Cc: sta...@vger.kernel.org Signed-off-by: Christophe Leroy ---

Re: [PATCH 06/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2020-12-21 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Thu, Dec 17, 2020 at 05:59:25PM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp display pixel link. > > Signed-off-by: Liu Ying > --- > .../display/bridge/fsl,imx8qxp-pixel-link.yaml | 128 > + > 1 file changed,

Re: [PATCH RFC v3 1/1] scsi: ufs: Fix ufs power down/on specs violation

2020-12-21 Thread ziqichen
On 2020-12-22 14:00, Kiwoong Kim wrote: On 2020-12-22 10:04, Kiwoong Kim wrote: >> As per specs, e.g, JESD220E chapter 7.2, while powering off/on the >> ufs device, RST_N signal and REF_CLK signal should be between >> VSS(Ground) and VCCQ/VCCQ2. >> >> To flexibly control device reset line,

[PATCH v2 06/14] phy: cadence: cadence-sierra: Move all clk_get_*() to a separate function

2020-12-21 Thread Kishon Vijay Abraham I
No functional change. Group all devm_clk_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 57 +++- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git

[PATCH v2] openrisc: Add vmlinux.bin target

2020-12-21 Thread Joel Stanley
Build it by default. This is commonly used by fpga targets. Signed-off-by: Joel Stanley --- v2: Address review from Masahiro - Add vmlinux.bin to phony target - simplfy vmlinux.bin rule - add cleanup rule - add vmlinux.bin to targets - Add gitignore --- arch/openrisc/Makefile| 12

[PATCH v2 08/14] phy: cadence: cadence-sierra: Explicitly request exclusive reset control

2020-12-21 Thread Kishon Vijay Abraham I
No functional change. Since the reset controls obtained in Sierra is exclusively used by the Sierra device, use exclusive reset control request API calls. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 14/14] arm64: dts: ti: k3-j721e-common-proc-board: Re-name "link" name as "phy"

2020-12-21 Thread Kishon Vijay Abraham I
Commit 66db854b1f62d ("arm64: dts: ti: k3-j721e-common-proc-board: Configure the PCIe instances") and commit 02c35dca2b488 ("arm64: dts: ti: k3-j721e: Enable Super-Speed support for USB0") added PHY DT nodes with node name as "link" However nodes with #phy-cells should be named 'phy' as discussed

[PATCH v2 11/14] arm64: dts: ti: k3-j721e-main: Add DT nodes for clocks within Sierra SERDES

2020-12-21 Thread Kishon Vijay Abraham I
Add DT nodes for clocks within Sierra SERDES. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 128 -- 1 file changed, 120 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi

[PATCH v2 13/14] arm64: dts: ti: k3-j721e-common-proc-board: Use external clock for SERDES

2020-12-21 Thread Kishon Vijay Abraham I
Use external clock for all the SERDES used by PCIe controller. This will make the same clock used by the local SERDES as well as the clock provided to the PCIe connector. Signed-off-by: Kishon Vijay Abraham I --- .../dts/ti/k3-j721e-common-proc-board.dts | 45 +++ 1 file

[PATCH v2 12/14] arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES

2020-12-21 Thread Kishon Vijay Abraham I
Rename the external refclk inputs to the SERDES from dummy_cmn_refclk/dummy_cmn_refclk1 to cmn_refclk/cmn_refclk1 respectively. Also move the external refclk DT nodes outside the cbass_main DT node. Since in j721e common processor board, only the cmn_refclk1 is connected to 100MHz clock, fix the

[PATCH v2 01/14] phy: cadence: Sierra: Fix PHY power_on sequence

2020-12-21 Thread Kishon Vijay Abraham I
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, instead of de-asserting in probe. Fix it here. Fixes:

[PATCH v2 10/14] phy: cadence: sierra: Enable pll_cmnlc and pll_cmnlc1 clocks

2020-12-21 Thread Kishon Vijay Abraham I
Get pll_cmnlc and pll_cmnlc1 optional clocks and enable them. This will enable REFRCV/1 in case the pll_cmnlc/1 takes input from REFRCV/1 respectively. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 56 +++- 1 file changed, 54

[PATCH v2 09/14] phy: cadence: sierra: Model reference receiver as clocks (gate clocks)

2020-12-21 Thread Kishon Vijay Abraham I
Sierra has two reference recievers REFRCV and REFRCV1. REFRCV is used to drive reference clock cmn_refclk_m/p to PLL_CMNLC1 and REFRCV1 is used to drive reference clock cmn_refclk1_m/p to PLL_CMNLC. Model these reference receivers as clocks in order for PLL_CMNLC and PLL_CMNLC1 to be able to

[PATCH v2 07/14] phy: cadence: cadence-sierra: Move all reset_control_get*() to a separate function

2020-12-21 Thread Kishon Vijay Abraham I
No functional change. Group devm_reset_control_get() and devm_reset_control_get_optional() to a separate function. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/cadence/phy-cadence-sierra.c | 36 1 file changed, 25 insertions(+), 11 deletions(-) diff --git

[PATCH v2 05/14] phy: cadence: cadence-sierra: Create PHY only for "phy" or "link" sub-nodes

2020-12-21 Thread Kishon Vijay Abraham I
Cadence Sierra PHY driver registers PHY using devm_phy_create() for all sub-nodes of Sierra device tree node. However Sierra device tree node can have sub-nodes for the various clocks in addtion to the PHY. Use devm_phy_create() only for nodes with name "phy" (or "link" for old device tree) which

[PATCH v2 04/14] phy: ti: j721e-wiz: Get PHY properties only for "phy" or "link" subnode

2020-12-21 Thread Kishon Vijay Abraham I
"serdes" node (child node of WIZ) can have sub-nodes for representing links or it can have sub-nodes for representing the various clocks within the serdes. Instead of trying to read "reg" from every child node used for assigning "lane_phy_type", read only if the child node's name is "phy" or

[PATCH v2 03/14] dt-bindings: phy: cadence-sierra: Add bindings for the PLLs within SERDES

2020-12-21 Thread Kishon Vijay Abraham I
Add binding for the PLLs within SERDES. Signed-off-by: Kishon Vijay Abraham I --- .../bindings/phy/phy-cadence-sierra.yaml | 89 ++- 1 file changed, 86 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml

[PATCH v2 00/14] PHY: Add support in Sierra to use external clock

2020-12-21 Thread Kishon Vijay Abraham I
The previous version of the patch series can be found @ [1] Changes from v1: 1) Remove the part that prevents configuration if the SERDES is already configured and focus only on using external clock and the associated cleanups 2) Change patch ordering 3) Use exclusive reset control APIs 4)

[PATCH v2 02/14] phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()

2020-12-21 Thread Kishon Vijay Abraham I
Invoke wiz_init() before configuring anything else in Sierra/Torrent (invoked as part of of_platform_device_create()). wiz_init() resets the SERDES device and any configuration done in the probe() of Sierra/Torrent will be lost. In order to prevent SERDES configuration from getting reset, invoke

Re: [PATCH] dt-bindings: Drop unnecessary *-supply schemas properties

2020-12-21 Thread Laurent Pinchart
Hi Rob, Thank you for the patch. On Mon, Dec 21, 2020 at 04:46:59PM -0700, Rob Herring wrote: > *-supply properties are always a single phandle, so binding schemas > don't need a type $ref nor 'maxItems'. > > A meta-schema check for this is pending once these existing cases are > fixed. > >

Re: [PATCH] dt-bindings: Drop redundant maxItems/items

2020-12-21 Thread Laurent Pinchart
Hi Rob, Thank you for the patch. On Mon, Dec 21, 2020 at 09:06:45PM -0700, Rob Herring wrote: > 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is > preferred for a single entry while greater than 1 should have an 'items' > list. > > A meta-schema check for this is pending

[GIT PULL] exfat update for 5.11-rc1

2020-12-21 Thread Namjae Jeon
Hi Linus, This is exfat update pull request for v5.11-rc1. I add description of this pull request on below. Please pull exfat with following ones. Thanks! The following changes since commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442: Linux 5.10 (2020-12-13 14:41:30 -0800) are available in the

[PATCH v2] x86/hyperv: Fix kexec panic/hang issues

2020-12-21 Thread Dexuan Cui
Currently the kexec kernel can panic or hang due to 2 causes: 1) hv_cpu_die() is not called upon kexec, so the hypervisor corrupts the old VP Assist Pages when the kexec kernel runs. The same issue is fixed for hibernation in commit 421f090c819d ("x86/hyperv: Suspend/resume the VP assist page for

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

2020-12-21 Thread Viresh Kumar
On 17-12-20, 21:06, Dmitry Osipenko wrote: > Add a ceil version of the dev_pm_opp_find_level(). It's handy to have if > levels don't start from 0 in OPP table and zero usually means a minimal > level. > > Signed-off-by: Dmitry Osipenko Why doesn't the exact version work for you here ? --

Re: [PATCH v2 09/48] opp: Add dev_pm_opp_sync_regulators()

2020-12-21 Thread Viresh Kumar
On 17-12-20, 21:05, Dmitry Osipenko wrote: > Extend OPP API with dev_pm_opp_sync_regulators() function, which syncs > voltage state of regulators. > > Signed-off-by: Dmitry Osipenko We shouldn't be doing this, details in patch 28. -- viresh

Re: [PATCH v2 10/48] opp: Add dev_pm_opp_set_voltage()

2020-12-21 Thread Viresh Kumar
On 17-12-20, 21:06, Dmitry Osipenko wrote: > Add dev_pm_opp_set_voltage() which allows OPP table users to set voltage > in accordance to a given OPP. In particular this is needed for driving > voltage of a generic power domain which uses OPPs and doesn't have a > clock. > > Signed-off-by: Dmitry

RE: [PATCH] x86/hyperv: Fix kexec panic/hang issues

2020-12-21 Thread Dexuan Cui
> From: Michael Kelley > Sent: Monday, December 21, 2020 7:36 PM > ... > Since we don't *need* to do this, I think it might be less risky to just leave > the code "as is". But I'm OK either way. Ok, then I'll leave it as is in v2. Thanks, -- Dexuan

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

2020-12-21 Thread Viresh Kumar
On 17-12-20, 21:06, Dmitry Osipenko wrote: > +++ b/drivers/soc/tegra/core-power-domain.c > @@ -0,0 +1,125 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * NVIDIA Tegra SoC Core Power Domain Driver > + */ > + > +#include > +#include > +#include > +#include > +#include > + > +#include >

Re: [PATCH] dt-bindings: Drop redundant maxItems/items

2020-12-21 Thread Sam Ravnborg
Hi Rob, On Mon, Dec 21, 2020 at 09:06:45PM -0700, Rob Herring wrote: > 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is > preferred for a single entry while greater than 1 should have an 'items' > list. > > A meta-schema check for this is pending once these existing cases

Re: [PATCH] openrisc: Add vmlinux.bin target

2020-12-21 Thread Masahiro Yamada
On Tue, Dec 22, 2020 at 3:18 PM Joel Stanley wrote: > > Build it by default. This is commonly used by fpga targets. > > Signed-off-by: Joel Stanley > --- > arch/openrisc/Makefile | 7 +++ > arch/openrisc/boot/Makefile | 8 > 2 files changed, 15 insertions(+) > create mode

Re: [PATCH] dt-bindings: Drop unnecessary *-supply schemas properties

2020-12-21 Thread Sam Ravnborg
Hi Rob On Mon, Dec 21, 2020 at 04:46:59PM -0700, Rob Herring wrote: > *-supply properties are always a single phandle, so binding schemas > don't need a type $ref nor 'maxItems'. > > A meta-schema check for this is pending once these existing cases are > fixed. > > Cc: Jonathan Cameron > Cc:

Re: [PATCH 3/3] ibmvfc: use correlation token to tag commands

2020-12-21 Thread Nathan Chancellor
On Tue, Nov 17, 2020 at 12:50:31PM -0600, Tyrel Datwyler wrote: > The vfcFrame correlation field is 64bit handle that is intended to trace > I/O operations through both the client stack and VIOS stack when the > underlying physical FC adapter supports tagging. > > Tag vfcFrames with the

[PATCH] openrisc: Add vmlinux.bin target

2020-12-21 Thread Joel Stanley
Build it by default. This is commonly used by fpga targets. Signed-off-by: Joel Stanley --- arch/openrisc/Makefile | 7 +++ arch/openrisc/boot/Makefile | 8 2 files changed, 15 insertions(+) create mode 100644 arch/openrisc/boot/Makefile diff --git a/arch/openrisc/Makefile

Re: [PATCH v5 5/7] scsi: ufs: Group UFS WB related flags to struct ufs_dev_info

2020-12-21 Thread Can Guo
On 2020-12-16 07:05, Bean Huo wrote: From: Bean Huo UFS device-related flags should be grouped in ufs_dev_info. Take wb_enabled and wb_buf_flush_enabled out from the struct ufs_hba, group them to struct ufs_dev_info, and align the names of the structure members vertically. Reviewed-by: Can

Re: k10temp: ZEN3 readings are broken

2020-12-21 Thread Guenter Roeck
On Tue, Dec 22, 2020 at 05:33:17AM +0100, Gabriel C wrote: [ ... ] > At least is what the weird amd_energy driver added and since is only > supporting > fam 17h model 0x31 which is TR 3000 & SP3 Rome, I guess fam 19h 0x1 is > TR/SP3 ZEN3. The limited model support is because people nowadays are

Re: [PATCH v5 6/7] scsi: ufs: Cleanup WB buffer flush toggle implementation

2020-12-21 Thread Can Guo
On 2020-12-16 07:05, Bean Huo wrote: From: Bean Huo Delete ufshcd_wb_buf_flush_enable() and ufshcd_wb_buf_flush_disable(), move the implementation into ufshcd_wb_toggle_flush(). Reviewed-by: Can Guo Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 66

Re: [PATCH] net/ncsi: Use real net-device for response handler

2020-12-21 Thread Joel Stanley
On Sun, 20 Dec 2020 at 12:40, John Wang wrote: > > When aggregating ncsi interfaces and dedicated interfaces to bond > interfaces, the ncsi response handler will use the wrong net device to > find ncsi_dev, so that the ncsi interface will not work properly. > Here, we use the net device

Re: [PATCH v5 1/7] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2020-12-21 Thread Can Guo
On 2020-12-22 14:08, Stanley Chu wrote: Hi Bean, On Wed, 2020-12-16 at 00:05 +0100, Bean Huo wrote: From: Bean Huo Currently UFS WriteBooster driver uses clock scaling up/down to set WB on/off, for the platform which doesn't support UFSHCD_CAP_CLK_SCALING, WB will be always on. Provide a

Re: general protection fault in j1939_netdev_notify (2)

2020-12-21 Thread Oleksij Rempel
On Mon, Dec 21, 2020 at 01:25:47PM +0100, Oliver Hartkopp wrote: > > > On 20.12.20 15:37, Oleksij Rempel wrote: > > Hello Oliver, > > > > On Sun, Dec 20, 2020 at 02:18:27PM +0100, Oliver Hartkopp wrote: > > > Hello Oleksij, > > > > > > I assume there is some ndev->ml_priv value set - but not

Re: [PATCH v5 1/7] scsi: ufs: Add "wb_on" sysfs node to control WB on/off

2020-12-21 Thread Stanley Chu
Hi Bean, On Wed, 2020-12-16 at 00:05 +0100, Bean Huo wrote: > From: Bean Huo > > Currently UFS WriteBooster driver uses clock scaling up/down to set > WB on/off, for the platform which doesn't support UFSHCD_CAP_CLK_SCALING, > WB will be always on. Provide a sysfs attribute to enable/disable WB

Re: [PATCH v3] RISC-V: enable XIP

2020-12-21 Thread Vitaly Wool
On Tue, Dec 22, 2020 at 2:44 AM Bin Meng wrote: > > Hi Vitaly, > > On Tue, Dec 22, 2020 at 4:39 AM Vitaly Wool wrote: > > > > Introduce XIP (eXecute In Place) support for RISC-V platforms. > > It allows code to be executed directly from non-volatile storage > > directly addressable by the CPU,

Re: k10temp: ZEN3 readings are broken

2020-12-21 Thread Wei Huang
On 12/21/20 11:09 PM, Gabriel C wrote: Am Di., 22. Dez. 2020 um 05:33 Uhr schrieb Wei Huang : On 12/21/20 9:58 PM, Guenter Roeck wrote: Hi, On 12/21/20 5:45 PM, Gabriel C wrote: Hello Guenter, while trying to add ZEN3 support for zenpower out of tree modules, I find out the in-kernel

Re: k10temp: ZEN3 readings are broken

2020-12-21 Thread Guenter Roeck
On Tue, Dec 22, 2020 at 05:33:17AM +0100, Gabriel C wrote: > > ( BTW off-topic this amd_energ driver should be removed or depend on BROKEN, > since is working as root only and breaks the sensors command output ) > That is because of a security issue. It just needs to be reworked to cache

RE: [PATCH RFC v3 1/1] scsi: ufs: Fix ufs power down/on specs violation

2020-12-21 Thread Kiwoong Kim
> On 2020-12-22 10:04, Kiwoong Kim wrote: > >> As per specs, e.g, JESD220E chapter 7.2, while powering off/on the > >> ufs device, RST_N signal and REF_CLK signal should be between > >> VSS(Ground) and VCCQ/VCCQ2. > >> > >> To flexibly control device reset line, re-name the function > >>

Re: [PATCH v3] lib: stackdepot: Add support to configure STACK_HASH_SIZE

2020-12-21 Thread Vijayanand Jitta
On 12/22/2020 1:59 AM, Minchan Kim wrote: > On Mon, Dec 21, 2020 at 04:04:09PM +0100, Alexander Potapenko wrote: >> On Mon, Dec 21, 2020 at 12:15 PM Vijayanand Jitta >> wrote: >>> >>> >>> >>> On 12/18/2020 2:10 PM, Vijayanand Jitta wrote: On 12/17/2020 4:24 PM, Alexander

Re: [PATCH v2 43/48] ARM: tegra: Add OPP tables and power domains to Tegra20 device-tree

2020-12-21 Thread Viresh Kumar
On 17-12-20, 21:06, Dmitry Osipenko wrote: > diff --git a/arch/arm/boot/dts/tegra20-peripherals-opp.dtsi > b/arch/arm/boot/dts/tegra20-peripherals-opp.dtsi > index b84afecea154..7e015cdfbc55 100644 > --- a/arch/arm/boot/dts/tegra20-peripherals-opp.dtsi > +++

[PATCH] clocksource: clint: Avoid remove __iomem in get_cycles_hi()

2020-12-21 Thread Palmer Dabbelt
From: Palmer Dabbelt This cast loses the __iomem qualifier from clint_timer_val, which triggers an sparse warning. Reported-by: kernel test robot Signed-off-by: Palmer Dabbelt --- drivers/clocksource/timer-clint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/3] mm/memcg: revise the using condition of lock_page_lruvec function series

2020-12-21 Thread Alex Shi
在 2020/12/22 上午11:01, Hugh Dickins 写道: > On Thu, 17 Dec 2020, Alex Shi wrote: > >> The series function could be used under lock_page_memcg(), add this and >> a bit style changes following commit_charge(). >> >> Signed-off-by: Alex Shi >> Cc: Hugh Dickins > > This patch, or its intention, >

[PATCH v2 1/3] mm/memcg: revise the using condition of lock_page_lruvec function series

2020-12-21 Thread Alex Shi
lock_page_lruvec() and its variants are safe to use under the same conditions as commit_charge(): add lock_page_memcg() to the comment. Polished with Hugh Dickins' suggestions, thanks! Signed-off-by: Alex Shi Acked-by: Hugh Dickins Cc: Hugh Dickins Cc: Johannes Weiner Cc: Michal Hocko Cc:

[PATCH v2 3/3] mm/compaction: remove rcu_read_lock during page compaction

2020-12-21 Thread Alex Shi
isolate_migratepages_block() used rcu_read_lock() with the intention of safeguarding against the mem_cgroup being destroyed concurrently; but its TestClearPageLRU already protects against that. Delete the unnecessary rcu_read_lock() and _unlock(). Hugh Dickin' helped on commit log polishing,

[PATCH v2 2/3] mm/memcg: remove rcu locking for lock_page_lruvec function series

2020-12-21 Thread Alex Shi
lock_page_lruvec() and its variants used rcu_read_lock() with the intention of safeguarding against the mem_cgroup being destroyed concurrently; but so long as they are called under the specified conditions (as they are), there is no way for the page's mem_cgroup to be destroyed. Delete the

Re: [PATCH v3] RISC-V: enable XIP

2020-12-21 Thread Anup Patel
On Tue, Dec 22, 2020 at 2:08 AM Vitaly Wool wrote: > > Introduce XIP (eXecute In Place) support for RISC-V platforms. > It allows code to be executed directly from non-volatile storage > directly addressable by the CPU, such as QSPI NOR flash which can > be found on many RISC-V platforms. This

Re: k10temp: ZEN3 readings are broken

2020-12-21 Thread Gabriel C
Am Di., 22. Dez. 2020 um 05:33 Uhr schrieb Wei Huang : > > > > On 12/21/20 9:58 PM, Guenter Roeck wrote: > > Hi, > > > > On 12/21/20 5:45 PM, Gabriel C wrote: > >> Hello Guenter, > >> > >> while trying to add ZEN3 support for zenpower out of tree modules, I find > >> out > >> the in-kernel

Re: update.c:undefined reference to `irq_work_queue'

2020-12-21 Thread Paul E. McKenney
On Tue, Dec 22, 2020 at 11:24:22AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 8653b778e454a7708847aeafe689bce07aeeb94e > commit: b38f57c1fe64276773b124dffb0a139cc32ab3cb rcu-tasks: Allow >

Re: [PATCH v2] RISC-V: Fix usage of memblock_enforce_memory_limit

2020-12-21 Thread Palmer Dabbelt
On Fri, 18 Dec 2020 16:13:56 PST (-0800), Atish Patra wrote: memblock_enforce_memory_limit accepts the maximum memory size not the maximum address that can be handled by kernel. Fix the function invocation accordingly. Fixes: 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable

[PATCH] arm64: dts: mt8192: Add cpu-idle-states

2020-12-21 Thread James Liao
Add idle states for cpu-off and cluster-off. Signed-off-by: James Liao --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 44 1 file changed, 44 insertions(+) This patch bases on v5.10 and [1], adds idle-states for MT8192 CPUs. [1]

Re: [PATCH] crypto: x86/crc32c-intel - Don't match some Zhaoxin CPUs

2020-12-21 Thread hpa
On December 21, 2020 7:01:39 PM PST, tonywwang...@zhaoxin.com wrote: >On December 22, 2020 3:27:33 AM GMT+08:00, h...@zytor.com wrote: >>On December 20, 2020 6:46:25 PM PST, tonywwang...@zhaoxin.com wrote: >>>On December 16, 2020 1:56:45 AM GMT+08:00, Eric Biggers >>> wrote: On Tue, Dec 15,

Re: [PATCH 3/3] aspeed-video: add COMP_READY to VE_SPURIOUS_IRQS

2020-12-21 Thread Joel Stanley
On Tue, 15 Dec 2020 at 02:46, Zev Weiss wrote: > > This joins CAPTURE_COMPLETE and FRAME_COMPLETE in the set of interrupts > that have been seen asserted by the hardware even when disabled, leading > to the interrupt eventually getting disabled as described in commit >

Re: [PATCH 2/3] aspeed-video: clear spurious interrupt bits unconditionally

2020-12-21 Thread Joel Stanley
On Tue, 15 Dec 2020 at 02:46, Zev Weiss wrote: > > Instead of testing and conditionally clearing them one by one, we can > instead just unconditionally clear them all at once. > > Signed-off-by: Zev Weiss I had a poke at the assembly and it looks like GCC is clearing the bits unconditionally

[rcu:rcu/test] BUILD SUCCESS 4c4c8e04a7f8522de634aa062f4cd6b8b80c151b

2020-12-21 Thread kernel test robot
x86_64 randconfig-a001-20201221 x86_64 randconfig-a006-20201221 x86_64 randconfig-a002-20201221 x86_64 randconfig-a004-20201221 x86_64 randconfig-a003-20201221 x86_64 randconfig-a005-20201221 i386

Re: [PATCH v2 0/9] arch: riscv: add board and SoC DT file support

2020-12-21 Thread Palmer Dabbelt
On Mon, 07 Dec 2020 20:55:32 PST (-0800), yash.s...@sifive.com wrote: Start board support by adding initial support for the SiFive FU740 SoC and the first development board that uses it, the SiFive HiFive Unmatched A00. Boot-tested on Linux 5.10-rc4 on a HiFive Unmatched A00 board using the

[PATCH] arm64: defconfig: Make INTERCONNECT_QCOM_SDM845 builtin

2020-12-21 Thread Bjorn Andersson
As of v5.11-rc1 the QUP nodes of SDM845 has got their interconnect properties specified, this means that the relevant interconnect provider needs to be builtin for the UART device to probe and the console to be registered before userspace needs to access it. Signed-off-by: Bjorn Andersson ---

Re: [PATCH] cpufreq: brcmstb-avs-cpufreq: Fix some resource leaks in the error handling path of the probe function

2020-12-21 Thread Viresh Kumar
On 19-12-20, 11:17, Christophe JAILLET wrote: > If 'cpufreq_register_driver()' fails, we must release the resources > allocated in 'brcm_avs_prepare_init()' as already done in the remove > function. > > To do that, introduce a new function 'brcm_avs_prepare_uninit()' in order > to avoid code

Re: [PATCH 1/3] aspeed-video: add error message for unhandled interrupts

2020-12-21 Thread Joel Stanley
On Tue, 15 Dec 2020 at 02:46, Zev Weiss wrote: > > This device seems to have a propensity for asserting interrupts that > aren't enabled -- in addition to the CAPTURE_COMPLETE and FRAME_COMPLETE > interrupts squashed in commit 65d270acb2d662c3346793663ac3a759eb4491b8, > COMP_READY has also been

Re: k10temp: ZEN3 readings are broken

2020-12-21 Thread Gabriel C
Am Di., 22. Dez. 2020 um 04:58 Uhr schrieb Guenter Roeck : > > Hi, > > On 12/21/20 5:45 PM, Gabriel C wrote: > > Hello Guenter, > > > > while trying to add ZEN3 support for zenpower out of tree modules, I find > > out > > the in-kernel k10temp driver is broken with ZEN3 ( and partially ZEN2 even

Re: k10temp: ZEN3 readings are broken

2020-12-21 Thread Wei Huang
On 12/21/20 9:58 PM, Guenter Roeck wrote: Hi, On 12/21/20 5:45 PM, Gabriel C wrote: Hello Guenter, while trying to add ZEN3 support for zenpower out of tree modules, I find out the in-kernel k10temp driver is broken with ZEN3 ( and partially ZEN2 even ). commit

Re: [PATCH 1/4] sched/idle: Fix missing need_resched() check after rcu_idle_enter()

2020-12-21 Thread Paul E. McKenney
On Tue, Dec 22, 2020 at 02:37:09AM +0100, Frederic Weisbecker wrote: > Entering RCU idle mode may cause a deferred wake up of an RCU NOCB_GP > kthread (rcuog) to be serviced. > > Usually a wake up happening while running the idle task is spotted in > one of the need_resched() checks carefully

Re: [PATCH] mm/userfaultfd: fix memory corruption due to writeprotect

2020-12-21 Thread Linus Torvalds
On Mon, Dec 21, 2020 at 7:19 PM Andy Lutomirski wrote: > > Ugh, this is unpleasantly complicated. I probably should have phrased it differently, because the case you quote is actually a good one: > I will admit that any API that > takes an address and more-or-less-blindly marks it RO makes me

Re: [PATCH] i2c: aspeed: disable additional device addresses on ast2[56]xx

2020-12-21 Thread Joel Stanley
On Fri, 18 Dec 2020 at 21:40, Zev Weiss wrote: > > On Tue, Sep 15, 2020 at 01:45:25PM CDT, Zev Weiss wrote: > >The ast25xx and ast26xx have, respectively, two and three configurable > >slave device addresses to the ast24xx's one. We only support using > >one at a time, but the others may come up

Re: [PATCH] checkpatch: make the line length warnings match the coding style document

2020-12-21 Thread Joe Perches
On Thu, 2020-12-10 at 13:27 -0800, Joe Perches wrote: > On Thu, 2020-12-10 at 20:09 +, Matthew Wilcox wrote: > > On Thu, Dec 10, 2020 at 12:05:04PM -0800, Joe Perches wrote: > > > Also, given the ever increasing average identifier length, strict > > > adherence to 80 columns is sometimes just

Re: [PATCH v4] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-21 Thread Halil Pasic
On Mon, 21 Dec 2020 13:56:25 -0500 Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event). When

[PATCH] dt-bindings: Drop redundant maxItems/items

2020-12-21 Thread Rob Herring
'maxItems' equal to the 'items' list length is redundant. 'maxItems' is preferred for a single entry while greater than 1 should have an 'items' list. A meta-schema check for this is pending once these existing cases are fixed. Cc: Laurent Pinchart Cc: Vinod Koul Cc: Mark Brown Cc: Greg

  1   2   3   4   5   6   7   8   >