Re: [PATCH v4 20/25] coresight: etm4x: Detect system instructions support

2020-11-22 Thread Tingwei Zhang
Hi Suzuki, On Fri, Nov 20, 2020 at 12:45:42AM +0800, Suzuki K Poulose wrote: > ETM v4.4 onwards adds support for system instruction access > to the ETM. Detect the support on an ETM and switch to using the > mode when available. > > Cc: Mike Leach > Reviewed-by: Mathieu Poirier >

[PATCH net-next 1/2] dt-bindings: net: nfc: s3fwrn5: Support a UART interface

2020-11-22 Thread Bongsu Jeon
Since S3FWRN82 NFC Chip, The UART interface can be used. S3FWRN82 supports I2C and UART interface. Signed-off-by: Bongsu Jeon --- .../bindings/net/nfc/samsung,s3fwrn5.yaml | 28 +-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git

[PATCH net-next 2/2] net: nfc: s3fwrn5: Support a UART interface

2020-11-22 Thread Bongsu Jeon
Since S3FWRN82 NFC Chip, The UART interface can be used. S3FWRN82 uses NCI protocol and supports I2C and UART interface. Signed-off-by: Bongsu Jeon --- drivers/nfc/s3fwrn5/Kconfig | 12 ++ drivers/nfc/s3fwrn5/Makefile | 2 + drivers/nfc/s3fwrn5/uart.c | 250

Re: [PATCH v3 1/2] hwmon: (max127) Add Maxim MAX127 hardware monitoring driver

2020-11-22 Thread Tao Ren
On Sun, Nov 22, 2020 at 10:33:42AM -0800, Guenter Roeck wrote: > On Thu, Nov 19, 2020 at 09:53:23AM -0800, rentao.b...@gmail.com wrote: > > From: Tao Ren > > > > Add hardware monitoring driver for the Maxim MAX127 chip. > > > > MAX127 min/max range handling code is inspired by the max197

Re: [PATCH 3/4] arm64: dts: meson-axg: add PCIe nodes

2020-11-22 Thread Neil Armstrong
On 22/11/2020 23:14, Martin Blumenstingl wrote: > Hi Neil, > > (I have to admit that for me the PCI(e) bindings are very complex, so > I may be mixing up things. I am still sending this review mail because > "you're doing it different than in meson-g12-common.dtsi") > > On Fri, Nov 20, 2020 at

Re: [PATCH 0/4] arm64: dts: meson-axg-s400: add support for USB and PCIe

2020-11-22 Thread Neil Armstrong
On 20/11/2020 20:45, Kevin Hilman wrote: > Kevin Hilman writes: > >> On Fri, 20 Nov 2020 16:32:25 +0100, Neil Armstrong wrote: >>> This adds the USB and PCIe to AXG, and enables USB & the two M.2 PCIe ports >>> on the S400 board. >>> >>> Dependencies: >>> - Patch 1, 2, 4: None >>> - Patch 3:

[PATCH v4 1/2] hwmon: (max127) Add Maxim MAX127 hardware monitoring driver

2020-11-22 Thread rentao . bupt
From: Tao Ren Add hardware monitoring driver for the Maxim MAX127 chip. MAX127 min/max range handling code is inspired by the max197 driver. Signed-off-by: Tao Ren --- Changes in v4: - delete unnecessary "#include" lines. - simplify i2c_transfer() error handling. - add mutex to

Hello dear,

2020-11-22 Thread Mrs. Lia Ahil
Hello dear, Attn Sir/Madam I apologize for the intrusion but this is the only way I can contact you. I have something I wanna talk to you about, it's really important and I wish and hope you'd respond. I'll wait for your response. Thank you! Regards. Mrs. Lia Ahil

[PATCH v4 2/2] docs: hwmon: Document max127 driver

2020-11-22 Thread rentao . bupt
From: Tao Ren Add documentation for the max127 hardware monitoring driver. Signed-off-by: Tao Ren Reviewed-by: Guenter Roeck --- Changes in v4: - None. Changes in v3: - no code change. xdp maintainers were removed from to/cc list. Changes in v2: - add more description for min/max

Re: [External] Re: [PATCH v5 13/21] mm/hugetlb: Use PG_slab to indicate split pmd

2020-11-22 Thread Michal Hocko
On Fri 20-11-20 17:30:27, Muchun Song wrote: > On Fri, Nov 20, 2020 at 4:16 PM Michal Hocko wrote: > > > > On Fri 20-11-20 14:43:17, Muchun Song wrote: > > > When we allocate hugetlb page from buddy, we may need split huge pmd > > > to pte. When we free the hugetlb page, we can merge pte to pmd.

[PATCH v4 0/2] hwmon: (max127) Add Maxim MAX127 hardware monitoring

2020-11-22 Thread rentao . bupt
From: Tao Ren The patch series adds hardware monitoring driver for the Maxim MAX127 chip. Patch #1 adds the max127 hardware monitoring driver, and patch #2 adds documentation for the driver. Tao Ren (2): hwmon: (max127) Add Maxim MAX127 hardware monitoring driver docs: hwmon: Document

Re: [PATCH v2] m68k: Fix WARNING splat in pmac_zilog driver

2020-11-22 Thread Geert Uytterhoeven
On Sun, Nov 22, 2020 at 12:40 AM Finn Thain wrote: > Don't add platform resources that won't be used. This avoids a > recently-added warning from the driver core, that can show up on a > multi-platform kernel when !MACH_IS_MAC. > > [ cut here ] > WARNING: CPU: 0 PID: 0 at

linux-next: build failure in Linus' tree

2020-11-22 Thread Stephen Rothwell
Hi all, After merging most of the trees, today's linux-next build (powerpc64 allnoconfig) failed like this: In file included from arch/powerpc/include/asm/kup.h:18, from arch/powerpc/include/asm/uaccess.h:9, from include/linux/uaccess.h:11, from

Re: [External] Re: [PATCH v5 00/21] Free some vmemmap pages of hugetlb page

2020-11-22 Thread Michal Hocko
On Fri 20-11-20 23:44:26, Muchun Song wrote: > On Fri, Nov 20, 2020 at 9:11 PM Michal Hocko wrote: > > > > On Fri 20-11-20 20:40:46, Muchun Song wrote: > > > On Fri, Nov 20, 2020 at 4:42 PM Michal Hocko wrote: > > > > > > > > On Fri 20-11-20 14:43:04, Muchun Song wrote: > > > > [...] > > > > > >

Re: [PATCH v5 00/21] Free some vmemmap pages of hugetlb page

2020-11-22 Thread Michal Hocko
On Fri 20-11-20 09:45:12, Mike Kravetz wrote: > On 11/20/20 1:43 AM, David Hildenbrand wrote: [...] > >>> To keep things easy, maybe simply never allow to free these hugetlb pages > >>> again for now? If they were reserved during boot and the vmemmap > >>> condensed, > >>> then just let them

[RESEND,PATCH] ARM: fix __div64_32() error when compiling with clang

2020-11-22 Thread Antony Yu
__do_div64 clobbers the input register r0 in little endian system. According to the inline assembly document, if an input operand is modified, it should be tied to a output operand. This patch can prevent compilers from reusing r0 register after asm statements. Signed-off-by: Antony Yu ---

[RFC PATCH v4 2/2] ACPI: Advertise Interrupt ResourceSource support

2020-11-22 Thread Chen Baozi
As mentioned in ACPI v6.3, Table 6-200, the platform will indicate to the OS whether or not it supports usage of ResourceSource. If not set, the OS may choose to ignore the ResourceSource parameter in the extended interrupt descriptor. Since we support parsing ResoureSource field of interrupts

[RFC PATCH v4 1/2] PCI/ACPI: Add stacked IRQ domain support to PCI Interrupt Link

2020-11-22 Thread Chen Baozi
The ResourceSource field of an Extended Interrupt Descriptor was ignored when the driver is parsing _PRS method of PNP0C0F PCI Interrupt Link devices, which means PCI INTx would be always registered under the GSI domain. This patch introduces stacked IRQ domain support to PCI Interrupt Link

Re: [PATCH v4 3/4] clk: sifive: Add a driver for the SiFive FU740 PRCI IP block

2020-11-22 Thread Zong Li
On Sat, Nov 21, 2020 at 9:29 AM Palmer Dabbelt wrote: > > On Wed, 11 Nov 2020 02:06:07 PST (-0800), zong...@sifive.com wrote: > > Add driver code for the SiFive FU740 PRCI IP block. This IP block > > handles reset and clock control for the SiFive FU740 device and > > implements SoC-level clock

Re: [PATCH] Documentation: Chinese translation of Documentation/arm64/elf_hwcaps.rst

2020-11-22 Thread Alex Shi
在 2020/11/21 下午6:23, Bailu Lin 写道: > This is a Chinese translated version of > Documentation/arm64/elf_hwcaps.rst > > Signed-off-by: Bailu Lin > --- > Documentation/arm64/elf_hwcaps.rst| 2 + > .../translations/zh_CN/arm64/elf_hwcaps.rst | 240 ++ >

Re: [PATCH v4 3/4] clk: sifive: Add a driver for the SiFive FU740 PRCI IP block

2020-11-22 Thread Zong Li
On Sat, Nov 21, 2020 at 9:29 AM Palmer Dabbelt wrote: > > On Wed, 11 Nov 2020 02:06:07 PST (-0800), zong...@sifive.com wrote: > > Add driver code for the SiFive FU740 PRCI IP block. This IP block > > handles reset and clock control for the SiFive FU740 device and > > implements SoC-level clock

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

2020-11-22 Thread Stephen Rothwell
Hi Balbir, On Tue, 17 Nov 2020 16:21:31 +1100 Balbir Singh wrote: > > I am testing a fix by pointing the ref to a label, will send it out > (hopefully soon), seems to work at my end. Fixes the warning here as well, thanks. -- Cheers, Stephen Rothwell pgpDlpETEsg3r.pgp Description: OpenPGP

Re: [PATCH v3 2/3] media: rockchip: Introduce driver for Rockhip's camera interface

2020-11-22 Thread Maxime Chevallier
Hi Ezequiel, and thanks a lot for the review ! On Fri, 2 Oct 2020 14:35:28 -0300 Ezequiel Garcia wrote: > Hi Maxime, > >Thanks to Dafna, I found the patch ^_^ > >The driver looks real good. Just a few comments below. > >Is the driver passing latest v4l2-compliance tests? I'll post them along

linux-next: build warnings after merge of the tip tree

2020-11-22 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (htmldocs) produced these warnings: arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member 'encl' not described in 'sgx_ioc_enclave_provision' arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter

Re: [PATCH v4 4/4] clk: sifive: Fix the wrong bit field shift

2020-11-22 Thread Zong Li
On Sat, Nov 21, 2020 at 9:29 AM Palmer Dabbelt wrote: > > On Wed, 11 Nov 2020 02:06:08 PST (-0800), zong...@sifive.com wrote: > > The clk enable bit should be 31 instead of 24. > > > > Signed-off-by: Zong Li > > Reported-by: Pragnesh Patel > > --- > > drivers/clk/sifive/sifive-prci.h | 4 ++--

Re: [PATCH v4 2/4] clk: sifive: Use common name for prci configuration

2020-11-22 Thread Zong Li
On Sat, Nov 21, 2020 at 9:29 AM Palmer Dabbelt wrote: > > On Wed, 11 Nov 2020 02:06:06 PST (-0800), zong...@sifive.com wrote: > > Use generic name CLK_SIFIVE_PRCI instead of CLK_SIFIVE_FU540_PRCI. This > > patch is prepared for fu740 support. > > > > Signed-off-by: Zong Li > > Reviewed-by:

[PATCH] spi: dw: fixed missing resource_size

2020-11-22 Thread Tian Tao
fixed the coccicheck: drivers/spi/spi-dw-bt1.c:220:27-30: ERROR: Missing resource_size with mem. Signed-off-by: Tian Tao --- drivers/spi/spi-dw-bt1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-dw-bt1.c b/drivers/spi/spi-dw-bt1.c index f382dfad..da4f4d8

Re: [PATCH 098/141] mmc: sdhci-of-arasan: Fix fall-through warnings for Clang

2020-11-22 Thread Michal Simek
On 20. 11. 20 19:37, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple > warnings by explicitly adding multiple break statements instead of > letting the code fall through to the next case. > > Link: https://github.com/KSPP/linux/issues/115 >

Re: [PATCH net-next 2/3] mlxsw: spectrum_ptp: use PTP wide message type definitions

2020-11-22 Thread Ido Schimmel
On Sun, Nov 22, 2020 at 04:35:58PM +0200, Ido Schimmel wrote: > Anyway, I added all six patches to our regression as we have some PTP > tests. Will let you know tomorrow. Looks good

Re: [PATCH] firmware: xlnx-zynqmp: fix compilation warning

2020-11-22 Thread Michal Simek
On 21. 11. 20 8:09, Wendy Liang wrote: > On Fri, Nov 20, 2020 at 10:14:52AM +0100, Michal Simek wrote: >> >> >> On 18. 11. 20 23:31, Wendy Liang wrote: >>> Fix compilation warning when ZYNQMP_FIRMWARE is not defined. >>> >>> include/linux/firmware/xlnx-zynqmp.h: In function >>>

Re: [PATCH v4 3/4] Input: atmel_mxt_ts - add option to disable firmware loading

2020-11-22 Thread Dmitry Torokhov
Hi Andrej, On Tue, Nov 10, 2020 at 07:15:49PM +0100, Andrej Valek wrote: > Firmware file loadind for mXT336U controller takes too much time (~60s). > There is no check that configuration is the same which is already present. > This happens always during boot, which makes touchscreen unusable. >

Re: [PATCH net-next v4 2/5] net/lapb: support netdev events

2020-11-22 Thread Martin Schiller
On 2020-11-21 00:50, Xie He wrote: On Fri, Nov 20, 2020 at 3:11 PM Xie He wrote: Should we also handle the NETDEV_UP event here? In previous versions of this patch series you seemed to want to establish the L2 connection on device-up. But in this patch, you didn't handle NETDEV_UP. Maybe on

[RFC PATCH v1 3/4] KVM: arm64: GICv4.1: Restore VLPI's pending state to physical side

2020-11-22 Thread Shenming Lu
From: Zenghui Yu When setting the forwarding path of a VLPI, it is more consistent to also transfer the pending state from irq->pending_latch to VPT (especially in migration, the pending states of VLPIs are restored into kvm’s vgic first). And we currently send "INT+VSYNC" to trigger a VLPI to

[RFC PATCH v1 0/4] KVM: arm64: Add VLPI migration support on GICv4.1

2020-11-22 Thread Shenming Lu
In GICv4.1, migration has been supported except for (directly-injected) VLPI. And GICv4.1 spec explicitly gives a way to get the VLPI's pending state (which was crucially missing in GICv4.0). So we make VLPI migration capable on GICv4.1 in this patch set. In order to support VLPI migration, we

[RFC PATCH v1 2/4] KVM: arm64: GICv4.1: Try to save hw pending state in save_pending_tables

2020-11-22 Thread Shenming Lu
After pausing all vCPUs and devices capable of interrupting, in order to save the information of all interrupts, besides flushing the pending states in kvm’s vgic, we also try to flush the states of VLPIs in the virtual pending tables into guest RAM, but we need to have GICv4.1 and safely unmap

[RFC PATCH v1 4/4] KVM: arm64: GICv4.1: Give a chance to save VLPI's pending state

2020-11-22 Thread Shenming Lu
Before GICv4.1, we do not have direct access to the VLPI's pending state. So we simply let it fail early when encountering any VLPI. But now we don't have to return -EACCES directly if on GICv4.1. So let’s change the hard code and give a chance to save the VLPI's pending state (and preserve the

[RFC PATCH v1 1/4] irqchip/gic-v4.1: Plumb get_irqchip_state VLPI callback

2020-11-22 Thread Shenming Lu
From: Zenghui Yu Up to now, the irq_get_irqchip_state() callback of its_irq_chip leaves unimplemented since there is no architectural way to get the VLPI's pending state before GICv4.1. Yeah, there has one in v4.1 for VLPIs. With GICv4.1, after unmapping the vPE, which cleans and invalidates

Re: [PATCH 1/3] Input: goodix - add option to disable firmware loading

2020-11-22 Thread Dmitry Torokhov
On Fri, Oct 30, 2020 at 10:56:20AM +0100, Hans de Goede wrote: > Hi, > > On 10/29/20 9:36 PM, Dmitry Torokhov wrote: > > Hi Andrej, > > > > On Thu, Oct 29, 2020 at 06:03:11PM +0100, Andrej Valek wrote: > >> Firmware file loadind for GT911 controller takes too much time (~60s). > >> There is no

Re: [PATCH V5 2/2] mailbox: arm_mhuv2: Add driver

2020-11-22 Thread Viresh Kumar
On 20-11-20, 13:06, Jassi Brar wrote: > On Tue, Nov 17, 2020 at 4:02 AM Viresh Kumar wrote: > > > + > > +/** > > + * struct mhuv2 - MHUv2 mailbox controller data > > + * > > + * @mbox: Mailbox controller belonging to the MHU frame. > > + * @send/recv: Base address of the register mapping

Re: [PATCH v10 11/19] PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver

2020-11-22 Thread Chanwoo Choi
On 11/23/20 9:27 AM, Dmitry Osipenko wrote: > Remove tegra20-devfreq in order to replace it with a EMC_STAT based > devfreq driver. Previously we were going to use MC_STAT based > tegra20-devfreq driver because EMC_STAT wasn't working properly, but > now that problem is resolved. This resolves

Re: [PATCH v10 09/19] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-22 Thread Chanwoo Choi
Hi Dmitry, On 11/23/20 9:27 AM, Dmitry Osipenko wrote: > This patch moves ACTMON driver away from generating OPP table by itself, > transitioning it to use the table which comes from device-tree. This > change breaks compatibility with older device-trees and brings support > for the interconnect

Re: About regression caused by commit aea6cb99703e ("regulator: resolve supply after creating regulator")

2020-11-22 Thread Jan Kiszka
On 22.11.20 17:35, Michał Mirosław wrote: > On Sun, Nov 22, 2020 at 03:43:33PM +0100, Jan Kiszka wrote: >> On 09.11.20 00:28, Qu Wenruo wrote: >>> On 2020/11/9 上午1:18, Michał Mirosław wrote: On Sun, Nov 08, 2020 at 03:35:33PM +0800, Qu Wenruo wrote: > [...] > It turns out that, commit

Re: [PATCH v9 0/5] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-22 Thread Chanwoo Choi
Hi Sylwester, On 11/12/20 11:09 PM, Sylwester Nawrocki wrote: > > This patchset adds interconnect API support for the Exynos SoC "samsung, > exynos-bus" compatible devices, which already have their corresponding > exynos-bus driver in the devfreq subsystem. Complementing the devfreq > driver

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-11-22 Thread Jianjun Wang
On Thu, 2020-11-19 at 14:28 -0600, Bjorn Helgaas wrote: > "Add new generation" really contains no information. And "mediatek" > is already used for the pcie-mediatek.c driver, so we should have a > new tag for this new driver. Include useful information in the > subject, e.g., > > PCI:

[PATCH] Input: omap4-keypad - set up interrupt as wakeup source

2020-11-22 Thread Dmitry Torokhov
Marking main interrupt as wakeup interrupt in probe allows us to drop custom suspend/resume methods whose only purpose was to configure interrupt for waking up the system. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/omap4-keypad.c | 43 +-- 1 file changed,

[RESEND PATCH v1] proc: use untagged_addr() for pagemap_read addresses

2020-11-22 Thread Miles Chen
When we try to visit the pagemap of a tagged userspace pointer, we find that the start_vaddr is not correct because of the tag. To fix it, we should untag the usespace pointers in pagemap_read(). I tested with 5.10-rc4 and the issue remains. My test code is baed on [1]: A userspace pointer

[PATCH] Input: synaptics-rmi4 - remove the useless unsigned variable compared with zero

2020-11-22 Thread xiakaixu1987
From: Kaixu Xia It is always true that the value of unsigned variable size_presence_reg greater than or equal to zero, so compared with zero is unnecessary. Remove it. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- drivers/input/rmi4/rmi_driver.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH v10 06/19] memory: tegra124: Support interconnect framework

2020-11-22 Thread Georgi Djakov
On 23.11.20 2:27, Dmitry Osipenko wrote: Now Internal and External memory controllers are memory interconnection providers. This allows us to use interconnect API for tuning of memory configuration. EMC driver now supports OPPs and DVFS. Tested-by: Nicolas Chauvet Signed-off-by: Dmitry

Re: [PATCH v10 03/19] memory: tegra30: Support interconnect framework

2020-11-22 Thread Georgi Djakov
Hi Dmitry, On 23.11.20 2:27, Dmitry Osipenko wrote: Now Internal and External memory controllers are memory interconnection providers. This allows us to use interconnect API for tuning of memory configuration. EMC driver now supports OPPs and DVFS. MC driver now supports tuning of memory

[PATCH v3 3/3] ARM: dts: rainier: Add eMMC clock phase compensation

2020-11-22 Thread Andrew Jeffery
Determined by scope measurements at speed. Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts index

[PATCH v3 0/3] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-11-22 Thread Andrew Jeffery
Hello, This series implements support for the MMC core clk-phase-* devicetree bindings in the Aspeed SD/eMMC driver. The relevant register was introduced on the AST2600 and is present for both the SD/MMC controller and the dedicated eMMC controller. Previously, v1 and v2 of the series

[PATCH v3 2/3] mmc: sdhci-of-aspeed: Add AST2600 bus clock support

2020-11-22 Thread Andrew Jeffery
The AST2600 can achieve HS200 speeds with a change to the bus clock divisor behaviour. The divisor can also be more accurate with respect to the requested clock rate, but keep the one-hot behaviour for backwards compatibility with the AST2400 and AST2500. Signed-off-by: Andrew Jeffery ---

[PATCH v3 1/3] mmc: sdhci-of-aspeed: Expose phase delay tuning

2020-11-22 Thread Andrew Jeffery
The Aspeed SD/eMMC controllers feature up to two SDHCIs alongside a a set of "global" configuration registers. The global configuration registers house controller-specific settings that aren't exposed by the SDHCI, one example being a register for phase tuning. The phase tuning feature is new in

[PATCH RESEND v6 4/4] MAINTAINERS: Add ROHM BD9576MUF and BD9573MUF drivers

2020-11-22 Thread Matti Vaittinen
Add maintainer entries for ROHM BD9576MUF and ROHM BD9573MUF drivers. MFD, regulator and watchdog drivers were introduced for these PMICs. Signed-off-by: Matti Vaittinen --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH RESEND v6 3/4] wdt: Support wdt on ROHM BD9576MUF and BD9573MUF

2020-11-22 Thread Matti Vaittinen
Add Watchdog support for ROHM BD9576MUF and BD9573MUF PMICs which are mainly used to power the R-Car series processors. The watchdog is pinged using a GPIO and enabled using another GPIO. Additionally watchdog time-out can be configured to HW prior starting the watchdog. Watchdog timeout can be

[PATCH RESEND v6 1/4] dt_bindings: mfd: Add ROHM BD9576MUF and BD9573MUF PMICs

2020-11-22 Thread Matti Vaittinen
Add bindings for ROHM BD9576MUF and BD9573MUF PMICs. These PMICs are primarily intended to be used to power the R-Car series processors. They provide 6 power outputs, safety features and a watchdog with two functional modes. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring ---

[PATCH RESEND v6 0/4] Support ROHM BD9576MUF and BD9573MUF PMICs

2020-11-22 Thread Matti Vaittinen
Initial support for ROHM BD9576MUF and BD9573MUF PMICs. Resending in case it fell through the cracks :) Lee, any chance getting this in MFD? (Also, this still lacks of your ack). These PMICs are primarily intended to be used to power the R-Car family processors. BD9576MUF includes some

[PATCH RESEND v6 2/4] mfd: Support ROHM BD9576MUF and BD9573MUF

2020-11-22 Thread Matti Vaittinen
Add core support for ROHM BD9576MUF and BD9573MUF PMICs which are mainly used to power the R-Car series processors. Signed-off-by: Matti Vaittinen --- drivers/mfd/Kconfig | 11 drivers/mfd/Makefile | 1 + drivers/mfd/rohm-bd9576.c| 108

Re: [PATCH net-next v5] net/tun: Call netdev notifiers

2020-11-22 Thread Martin Schiller
On 2020-11-20 19:28, Jakub Kicinski wrote: On Wed, 18 Nov 2020 07:39:19 +0100 Martin Schiller wrote: Call netdev notifiers before and after changing the device type. Signed-off-by: Martin Schiller This is a fix, right? Can you give an example of something that goes wrong without this patch?

Re: [PATCH v10 00/19] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-11-22 Thread Viresh Kumar
On 23-11-20, 03:27, Dmitry Osipenko wrote: > This series brings initial support for memory interconnect to Tegra20, > Tegra30 and Tegra124 SoCs. > > For the starter only display controllers and devfreq devices are getting > interconnect API support, others could be supported later on. The display

Re: [PATCH 037/141] Input: pcspkr - Fix fall-through warnings for Clang

2020-11-22 Thread Dmitry Torokhov
On Fri, Nov 20, 2020 at 12:30:02PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning > by explicitly adding a break statement instead of just letting the code > fall through to the next case. > > Link:

Re: [PATCH 141/141] Input: libps2 - Fix fall-through warnings for Clang

2020-11-22 Thread Dmitry Torokhov
On Fri, Nov 20, 2020 at 12:41:12PM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix a > warning by replacing a /* Fall through */ comment with the new > pseudo-keyword macro fallthrough. > > Notice that Clang doesn't recognize /* Fall through */

[PATCH] Input: soc_button_array - add missing include

2020-11-22 Thread Dmitry Torokhov
This fixes the following build errors: CC [M] drivers/input/misc/soc_button_array.o drivers/input/misc/soc_button_array.c:156:4: error: implicit declaration of function 'irq_set_irq_type' [-Werror,-Wimplicit-function-declaration] irq_set_irq_type(irq,

Re: [RFC 09/11] coresight: etm-perf: Disable the path before capturing the trace data

2020-11-22 Thread Anshuman Khandual
On 11/12/20 2:57 PM, Suzuki K Poulose wrote: > On 11/10/20 12:45 PM, Anshuman Khandual wrote: >> perf handle structure needs to be shared with the TRBE IRQ handler for >> capturing trace data and restarting the handle. There is a probability >> of an undefined reference based crash when etm

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-11-22 Thread Jianjun Wang
On Thu, 2020-11-19 at 09:22 -0600, Rob Herring wrote: > On Wed, Nov 18, 2020 at 04:29:34PM +0800, Jianjun Wang wrote: > > MediaTek's PCIe host controller has three generation HWs, the new > > generation HW is an individual bridge, it supoorts Gen3 speed and > > up to 256 MSI interrupt numbers for

Re: [PATCH] kconfig: qconf: show Qt version in the About dialog

2020-11-22 Thread Masahiro Yamada
On Mon, Nov 2, 2020 at 12:40 PM Masahiro Yamada wrote: > > You can get the Qt version by running "pkg-config --modversion Qt5Core" > or something, but this might be useful to get the runtime Qt version > more easily. Go to the menu "Help" -> "About", then you can see it. > > Signed-off-by:

Re: [PATCH 2/2] scsi: pm8001: Make implicit use of pm8001_ha in pm8001_printk explicit

2020-11-22 Thread Jinpu Wang
On Sat, Nov 21, 2020 at 12:16 AM Joe Perches wrote: > > Make the pm8001_printk macro take an explicit HBA instead of > assuming the existence of an unspecified pm8001_ha argument > > Miscellanea: > > o Add pm8001_ha to the few uses of pm8001_printk > o Add HBA to the pm8001_dbg macro call to

Re: [PATCH v6] checkpatch: add fix option for LOGICAL_CONTINUATIONS

2020-11-22 Thread Joe Perches
On Sun, 2020-11-22 at 18:29 +0530, Aditya Srivastava wrote: > Currently, checkpatch warns if logical continuations are placed at the > start of a line and not at the end of previous line. > > E.g., running checkpatch on commit 3485507fc272 ("staging: > bcm2835-camera: Reduce length of enum

Re: [PATCH v3 5/5] perf metric: Don't compute unused events.

2020-11-22 Thread Andi Kleen
> +| expr '|' expr > +{ > + if (!compute_ids || (isfinite($1.val) && isfinite($3.val))) { > + assert($1.ids == NULL); > + assert($3.ids == NULL); > + $$.val = (long)$1.val | (long)$3.val; > + $$.ids = NULL; > + } else { > + /* > +

RE: [EXT] Re: [PATCH v1 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-22 Thread Bhaskara Budiredla
Big thanks Uffe, my answers in line to yours. >-Original Message- >From: Ulf Hansson >Sent: Friday, November 20, 2020 6:51 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List >Subject:

[PATCH 1/2] events/core: introduce perf_pmu_disable_all() to turn off all PMU

2020-11-22 Thread Pingfan Liu
In crash context, NMI should be suppressed before jump to a new kernel. Naturally as the source of NMI on some arches, PMU should be turned off at that time. Introduce perf_pmu_disable_all() to achieve the goal. Signed-off-by: Pingfan Liu Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo

[PATCH 2/2] x86/machine_kexec: disable PMU before jumping to new kernel

2020-11-22 Thread Pingfan Liu
During jumping to the new kernel, on the crashed cpu, the memory mapping switches from an old one to an identity one. It had better disable PMU to suppress NMI, which can be delivered using the old mapping. Also on x86_64, idt_invalidate() to clear idt as on 32 bits. Signed-off-by: Pingfan Liu

[PATCH] mmc: sdhci-pci-gli: Reduce power consumption for GL9755

2020-11-22 Thread Ben Chuang
From: Ben Chuang For GL9755, reduce power consumption by lowering the LFCLK and disabling the DMACLK on low-power. Signed-off-by: Ben Chuang --- drivers/mmc/host/sdhci-pci-gli.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci-gli.c

Re: [RFC 10/11] coresgith: etm-perf: Connect TRBE sink with ETE source

2020-11-22 Thread Anshuman Khandual
On 11/12/20 3:01 PM, Suzuki K Poulose wrote: > Hi Anshuman, > On 11/10/20 12:45 PM, Anshuman Khandual wrote: >> Unlike traditional sink devices, individual TRBE instances are not detected >> via DT or ACPI nodes. Instead TRBE instances are detected during CPU online >> process. Hence a path

Re: [PATCH 1/2] mmc: sdhci-sprd: drop of_match_ptr from of_device_id table

2020-11-22 Thread Chunyan Zhang
On Sat, 21 Nov 2020 at 00:23, Krzysztof Kozlowski wrote: > > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it is not relevant here). This fixes > compile

[PATCH net v2] devlink: Fix reload stats structure

2020-11-22 Thread Moshe Shemesh
Fix reload stats structure exposed to the user. Change stats structure hierarchy to have the reload action as a parent of the stat entry and then stat entry includes value per limit. This will also help to avoid string concatenation on iproute2 output. Reload stats structure before this fix:

[PATCH] f2fs: change to use rwsem for cp_mutex

2020-11-22 Thread Sahitya Tummala
Use rwsem to ensure serialization of the callers and to avoid starvation of high priority tasks, when the system is under heavy IO workload. Signed-off-by: Sahitya Tummala --- fs/f2fs/checkpoint.c | 8 fs/f2fs/f2fs.h | 2 +- fs/f2fs/gc.c | 4 ++-- fs/f2fs/recovery.c | 4

Re: [PATCH] kbuild: add extra-y to targets-for-modules

2020-11-22 Thread Masahiro Yamada
On Tue, Nov 3, 2020 at 3:23 PM WANG Chao wrote: > > extra-y target doesn't build for 'make M=...' since commit 6212804f2d78 > ("kbuild: do not create built-in objects for external module builds"). > > This especially breaks kpatch, which is using 'extra-y := kpatch.lds' > and 'make M=...' to

Re: [PATCH v2 05/12] x86: rework arch_local_irq_restore() to not use popf

2020-11-22 Thread Jürgen Groß
On 22.11.20 22:44, Andy Lutomirski wrote: On Sat, Nov 21, 2020 at 10:55 PM Jürgen Groß wrote: On 20.11.20 12:59, Peter Zijlstra wrote: On Fri, Nov 20, 2020 at 12:46:23PM +0100, Juergen Gross wrote: +static __always_inline void arch_local_irq_restore(unsigned long flags) +{ +if

[PATCH] arm64: dts: qcom: sdm845: Limit ipa iommu streams

2020-11-22 Thread Bjorn Andersson
The Android and Windows firmware does not accept the use of 3 as a mask to cover the IPA streams. But with 0x721 being related to WiFi and 0x723 being unsed the mapping can be reduced to just cover 0x720 and 0x722, which is accepted. Fixes: e9e89c45bfeb ("arm64: dts: sdm845: add IPA iommus

[PATCH] soc: qcom: Introduce debugfs interface to smem

2020-11-22 Thread Bjorn Andersson
Every now and then it's convenient to be able to inspect the content of SMEM items. Rather than carrying some hack locally let's upstream a driver that when inserted exposes a debugfs interface for dumping available items. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/Kconfig| 7

Re: [RFC] MAINTAINERS tag for cleanup robot

2020-11-22 Thread Joe Perches
(removing almost all the cc: lists and leaving scsi and lkml) On Sat, 2020-11-21 at 10:02 -0800, Joe Perches wrote: > On Sat, 2020-11-21 at 09:18 -0800, James Bottomley wrote: > > On Sat, 2020-11-21 at 08:50 -0800, t...@redhat.com wrote: > > > A difficult part of automating commits is composing

Re: [PATCH net] devlink: Fix reload stats structure

2020-11-22 Thread Moshe Shemesh
On 11/22/2020 12:53 AM, Jakub Kicinski wrote: External email: Use caution opening links or attachments On Fri, 20 Nov 2020 15:40:37 +0200 Moshe Shemesh wrote: Fix reload stats structure exposed to the user. Change stats structure hierarchy to have the reload action as a parent of the stat

Re: [PATCH -tip 17/32] arch/x86: Add a new TIF flag for untrusted tasks

2020-11-22 Thread Balbir Singh
On Tue, Nov 17, 2020 at 06:19:47PM -0500, Joel Fernandes (Google) wrote: > Add a new TIF flag to indicate whether the kernel needs to be careful > and take additional steps to mitigate micro-architectural issues during > entry into user or guest mode. > > This new flag will be used by the series

Re: [PATCH v2] arm64: dts: sdm845: Add iommus property to qup

2020-11-22 Thread Caleb Connolly
On 2020-11-22 03:41, Bjorn Andersson wrote: > From: Stephen Boyd > > The SMMU that sits in front of the QUP needs to be programmed properly > so that the i2c geni driver can allocate DMA descriptors. Failure to do > this leads to faults when using devices such as an i2c touchscreen where > the

Re: [PATCH 3/7] kbuild: doc: fix 'List directories to visit when descending' section

2020-11-22 Thread Masahiro Yamada
On Mon, Nov 23, 2020 at 1:54 PM Masahiro Yamada wrote: > > Fix state information: I mean "Fix stale information" > > - Fix the section number in the reference from 6.4 to 7.4. > > - Remove init-y and net-y. They were removed by commit 23febe375d94 >("kbuild: merge init-y into core-y")

Re: [PATCH 09/16] mfd: max77686: drop of_match_ptr from of_device_id table

2020-11-22 Thread Chanwoo Choi
Hi Krzysztof, On 11/21/20 1:21 AM, Krzysztof Kozlowski wrote: > The driver can match only via the DT table so the table should be always > used and the of_match_ptr does not have any sense (this also allows ACPI > matching via PRP0001, even though it is not relevant here). This fixes > compile

[PATCH 2/7] kbuild: doc: replace arch/$(ARCH)/ with arch/$(SRCARCH)/

2020-11-22 Thread Masahiro Yamada
Precisely speaking, the arch directory is specified by $(SRCARCH), not $(ARCH). In old days, $(ARCH) actually matched to the arch directory because 32-bit and 64-bit were supported as separate architectures. Most architectures (except arm/arm64) were unified like follows: arch/i386,

[PATCH 3/7] kbuild: doc: fix 'List directories to visit when descending' section

2020-11-22 Thread Masahiro Yamada
Fix state information: - Fix the section number in the reference from 6.4 to 7.4. - Remove init-y and net-y. They were removed by commit 23febe375d94 ("kbuild: merge init-y into core-y") and commit 95fb6317b3ab ("kbuild: merge net-y and virt-y into drivers-y"), respectively. - Update

[PATCH 7/7] kbuild: doc: document subdir-y syntax

2020-11-22 Thread Masahiro Yamada
There is no explanation about subdir-y. Let's document it. Signed-off-by: Masahiro Yamada --- Documentation/kbuild/makefiles.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index

[PATCH 5/7] kbuild: doc: split if_changed explanation to a separate section

2020-11-22 Thread Masahiro Yamada
The if_changed macro is currently explained in the section "Commands useful for building a boot image", but the use of if_changed is not limited to the boot image. It is often used together with custom rules. Let's split it as a separate section, and insert it after the "Custom Rules" section. I

[PATCH 1/7] kbuild: doc: update the description about kbuild Makefiles

2020-11-22 Thread Masahiro Yamada
This line was written in 2003. Now we have much more Makefiles. The number of Makefiles is not important. The point is we have a Makefile in (almost) every directory. Signed-off-by: Masahiro Yamada --- Documentation/kbuild/makefiles.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 6/7] kbuild: doc: clarify the difference between extra-y and always-y

2020-11-22 Thread Masahiro Yamada
The difference between extra-y and always-y is obscure. Basically, Kbuild builds targets listed in extra-y and always-y in visited Makefiles without relying on any dependency. The difference is that extra-y is used to list the targets needed for vmlinux whereas always-y is used to list the

[PATCH 4/7] kbuild: doc: merge 'Special Rules' and 'Custom kbuild commands' sections

2020-11-22 Thread Masahiro Yamada
The two sections "3.10 Special Rules" and "7.8 Custom kbuild commands" are related because you must understand both of them when you write custom rules. Actually I do not understand the policy about what to go into "3 The kbuild files" and what into "7 Architecture Makefile". This commit reworks

Re: [PATCH next] mm/swap.c: reduce lock contention in lru_cache_add

2020-11-22 Thread Alex Shi
在 2020/11/21 上午7:19, Andrew Morton 写道: > On Fri, 20 Nov 2020 16:27:27 +0800 Alex Shi > wrote: > >> The current relock logical will change lru_lock when found a new >> lruvec, so if 2 memcgs are reading file or alloc page at same time, >> they could hold the lru_lock alternately, and wait for

Re: [PATCH v3 6/6] ARM: dts: sun8i: v3s: Add video engine node

2020-11-22 Thread Chen-Yu Tsai
On Mon, Nov 16, 2020 at 8:58 PM Martin Cerveny wrote: > > Allwinner V3S SoC has a video engine. > Add a node for it. > > Signed-off-by: Martin Cerveny Acked-by: Chen-Yu Tsai

Re: [PATCH v3 5/6] dt-bindings: media: cedrus: Add V3s compatible

2020-11-22 Thread Chen-Yu Tsai
On Mon, Nov 16, 2020 at 8:58 PM Martin Cerveny wrote: > > Allwinner V3s SoC contains video engine. Add compatible for it. > > Signed-off-by: Martin Cerveny Acked-by: Chen-Yu Tsai

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

2020-11-22 Thread Alice Guo
> -Original Message- > From: Krzysztof Kozlowski > Sent: 2020年11月20日 18:51 > 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; >

Re: [PATCH] ARM: dts: mvebu: Add device tree for RD-AC3X-48G4X2XL board

2020-11-22 Thread Chris Packham
Hi Aryan, On 23/11/20 4:52 pm, Aryan Srivastava wrote: > Add device tree for RD-AC3X-48G4X2XL board. This has a Armada 382 SoC on > a interposer board connected to a baseboard with a Prestera AC3X ASIC > connected via PCI. > > Signed-off-by: Aryan Srivastava Reviewed-by: Chris Packham > --- >

[PATCH] arm64/fpsimd: add to to fix fpsimd build

2020-11-22 Thread Randy Dunlap
Adding brought in which uses , which uses 'pstate_check_t' so the latter needs to #include for this typedef. Fixes this build error: In file included from arch/arm64/include/asm/kprobes.h:24, from arch/arm64/include/asm/exception.h:11, from

  1   2   3   4   5   >