[PATCH v3 4/4] qla2xxx: Handle incorrect entry_type entries

2020-09-08 Thread Daniel Wagner
It was observed on an ISP8324 16Gb HBA with fw=8.08.203 (d0d5) in a PowerPC64 machine that pkt->entry_type was MBX_IOCB_TYPE/0x39 with an sp->type SRB_SCSI_CMD which is invalid and should not be possible. Reading the entry_type from the crash dump shows the expected value of STATUS_TYPE/0x03 but t

[PATCH v3 0/4] qla2xxx: A couple crash fixes

2020-09-08 Thread Daniel Wagner
The first crash we observed is due memory corruption in the srb memory pool. Unforuntatly, I couldn't find the source of the problem but the workaround by resetting the cleanup callbacks 'fixes' this problem (patch #1). I think as intermeditate step this should be merged until the real cause can be

Re: [RFC PATCH v2 2/3] mm: make pXd_addr_end() functions page-table entry aware

2020-09-08 Thread Christophe Leroy
Le 08/09/2020 à 09:46, Alexander Gordeev a écrit : On Tue, Sep 08, 2020 at 07:14:38AM +0200, Christophe Leroy wrote: You forgot arch/powerpc/mm/book3s64/subpage_prot.c it seems. Yes, and also two more sources :/ arch/powerpc/mm/kasan/8xx.c arch/powerpc/mm/kasan/kasan_init_32

[PATCH V4 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-08 Thread Anson Huang
Change PINCTR_IMX_SCU to tristate, add module author, description and license to support building SCU pinctrl core driver as module. Signed-off-by: Anson Huang --- changes since V3: - remove the prompt for PINCTRL_IMX_SCU. --- drivers/pinctrl/freescale/Kconfig | 2 +- drivers/pinct

[PATCH V4 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-08 Thread Anson Huang
Change PINCTRL_IMX to tristate to support loadable module build. And i.MX common pinctrl driver should depend on CONFIG_OF to make sure no build error when i.MX common pinctrl driver is enabled for different architectures without CONFIG_OF. Also add module author, description and license. Signed

[PATCH V4 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-08 Thread Anson Huang
Use function callbacks for SCU related functions in pinctrl-imx.c in order to support the scenario of PINCTRL_IMX is built in while PINCTRL_IMX_SCU is built as module, all drivers using SCU pinctrl driver need to initialize the SCU related function callback, and no need to check CONFIG_PINCTRL_IMX_

Re: [PATCH] drm: mxsfb: check framebuffer pitch

2020-09-08 Thread Tomi Valkeinen
Hi, On 08/09/2020 10:55, Stefan Agner wrote: > On 2020-09-07 20:18, Daniel Vetter wrote: >> On Mon, Sep 07, 2020 at 07:17:12PM +0300, Laurent Pinchart wrote: >>> Hi Stefan, >>> >>> Thank you for the patch. >>> >>> On Mon, Sep 07, 2020 at 06:03:43PM +0200, Stefan Agner wrote: The lcdif IP does

Re: [PATCH] misc: fastrpc: add ioctl for attaching to sensors pd

2020-09-08 Thread Srinivas Kandagatla
On 07/09/2020 15:02, Jonathan Marek wrote: Srini do you have any suggestions for how to name these values? These are domain id corresponding to each core. you can use SDSP_DOMAIN_ID in here! these are already defined in the file as: #define ADSP_DOMAIN_ID (0) #define MDSP_DOMAIN_ID (1) #de

[PATCH v6 1/3] dt-bindings: interrupt-controller: Add Actions SIRQ controller binding

2020-09-08 Thread Cristian Ciocaltea
Actions Semi Owl SoCs SIRQ interrupt controller is found in S500, S700 and S900 SoCs and provides support for handling up to 3 external interrupt lines. Signed-off-by: Cristian Ciocaltea --- Changes in v6: - Got rid of the 'actions,owl-sirq' compatible, per Robs's feedback - Replaced 'actions,e

[PATCH v6 2/3] irqchip: Add Actions Semi Owl SIRQ controller

2020-09-08 Thread Cristian Ciocaltea
This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 and S900) and provides support for handling up to 3 external interrupt lines. Each line can be independently configured as interrupt and triggers on either of the edges or either of the levels. Additionally, each line can

[PATCH v6 0/3] Add Actions Semi Owl family sirq support

2020-09-08 Thread Cristian Ciocaltea
This patch series adds support for the external interrupt controller (SIRQ) found in the Actions Semi Owl family of SoC's (S500, S700 and S900). The controller handles up to 3 external interrupt lines through dedicated SIRQ pins. This is a rework of the patch series submitted some time ago by Par

[PATCH v6 3/3] MAINTAINERS: Add entries for Actions Semi Owl SIRQ controller

2020-09-08 Thread Cristian Ciocaltea
Add entries for Actions Semi Owl SIRQ controller binding and driver. Signed-off-by: Cristian Ciocaltea --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9544eec4eff2..04c75815fac6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1525,6 +1525,7 @@

Re: [PATCH] mfd: syscon: Don't free allocated name for regmap_config

2020-09-08 Thread Lee Jones
On Thu, 03 Sep 2020, Marc Zyngier wrote: > The name allocated for the regmap_config structure is freed > pretty early, right after the registration of the MMIO region. > > Unfortunately, that doesn't follow the life cycle that debugfs > expects, as it can access the name field long after the free

Re: linux-next: manual merge of the drm-intel tree with Linus' tree

2020-09-08 Thread Hans de Goede
Hi Stephen, On 9/8/20 6:00 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/display/intel_panel.c between commit: f8bd54d21904 ("drm/i915: panel: Use atomic PWM API for devs with an external PWM controller") fr

Re: [PATCH 1/4] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions

2020-09-08 Thread Greg Kroah-Hartman
On Mon, Sep 07, 2020 at 10:58:05AM -0700, Joe Perches wrote: > Convert the various sprintf fmaily calls in sysfs device show functions > to sysfs_emit and sysfs_emit_at for PAGE_SIZE buffer safety. But no sysfs_emit_at() calls are used in this patch :( thanks, greg k-h

Re: [PATCH] mm/memcg: no one use charge_type

2020-09-08 Thread Michal Hocko
On Tue 08-09-20 16:12:07, Alex Shi wrote: > After commit 0a31bc97c80c3f mm: memcontrol: rewrite uncharge API, no one > using MEM_CGROUP_CHARGE_TYPE_xxx, let's remove them. > > Signed-off-by: Alex Shi > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Vladimir Davydov > Cc: Andrew Morton > Cc:

[PATCH] add the FPGA Device Feature List (DFL) EMIF support

2020-09-08 Thread Xu Yilun
This patch depend on the patchsets: "Modularization of DFL private feature drivers" & "add dfl bus support to MODULE_DEVICE_TABLE()" https://lore.kernel.org/linux-fpga/1599488581-16386-1-git-send-email-yilun...@intel.com/ The driver supports the EMIF controller on Intel Programmable Acceleration

Re: [PATCH 2/4] drivers core: Remove strcat uses around sysfs_emit and neaten

2020-09-08 Thread Greg Kroah-Hartman
On Mon, Sep 07, 2020 at 10:58:06AM -0700, Joe Perches wrote: > strcat is no longer necessary for sysfs_emit and sysfs_emit_at uses. > > Convert the strcat uses to sysfs_emit calls and neaten other block > uses of direct returns to use an intermediate const char *. > > Signed-off-by: Joe Perches

Re: [PATCH 1/4] drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions

2020-09-08 Thread Joe Perches
On Tue, 2020-09-08 at 10:27 +0200, Greg Kroah-Hartman wrote: > On Mon, Sep 07, 2020 at 10:58:05AM -0700, Joe Perches wrote: > > Convert the various sprintf fmaily calls in sysfs device show functions > > to sysfs_emit and sysfs_emit_at for PAGE_SIZE buffer safety. > > But no sysfs_emit_at() calls

Re: [24/30] mwifiex: wmm: Mark 'mwifiex_1d_to_wmm_queue' as __maybe_unused

2020-09-08 Thread Lee Jones
On Tue, 01 Sep 2020, Kalle Valo wrote: > Lee Jones wrote: > > > 'mwifiex_1d_to_wmm_queue' is used in'; main.c, txrx.c and uap_txrx.c > > > > ... but not used in 14 other source files which include 'wmm.h'. > > > > Fixes the following W=1 kernel build warning(s): > > > > In file included from

Re: [PATCH net-next v7 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-08 Thread Vadym Kochan
On Fri, Sep 04, 2020 at 10:12:07PM +0300, Andy Shevchenko wrote: > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan wrote: > > > > Marvell Prestera 98DX326x integrates up to 24 ports of 1GbE with 8 > > ports of 10GbE uplinks or 2 ports of 40Gbps stacking for a largely > > wireless SMB deployment. > > >

[PATCH 2/2] ASoC: tlv320adcx140: Wake up codec before accessing register

2020-09-08 Thread Camel Guo
From: Camel Guo According to its datasheet, after reset this codec goes into sleep mode. In this mode, any register accessing should be avoided except for exiting sleep mode. Hence this commit moves SLEEP_CFG access before any register accessing. Signed-off-by: Camel Guo --- sound/soc/codecs/t

Re: [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add Shanghai Top Display Optolelectronics vendor prefix

2020-09-08 Thread Anders Larsen
On Tuesday, 2020-09-08 09:54 Neil Armstrong wrote: > Shanghai Top Display Optolelectronics Co., Ltd is a display manufacturer > from Shanghai. > Web site of the company: http://www.shtdo.com/ > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++

[PATCH 1/2] ASoC: tlv320adcx140: Avoid accessing invalid gpio_reset

2020-09-08 Thread Camel Guo
From: Camel Guo When gpio_reset is not well defined in devicetree, the adcx140->gpio_reset is an error code instead of NULL. In this case, adcx140->gpio_reset should not be used by adcx140_reset. This commit sets it NULL to avoid accessing an invalid variable. Signed-off-by: Camel Guo --- soun

Re: [PATCH v11 0/2] s390: virtio: let arch validate VIRTIO features

2020-09-08 Thread Michael S. Tsirkin
On Tue, Sep 08, 2020 at 08:55:21AM +0200, Cornelia Huck wrote: > On Tue, 8 Sep 2020 00:39:51 +0200 > Halil Pasic wrote: > > > On Mon, 7 Sep 2020 11:39:05 +0200 > > Pierre Morel wrote: > > > > > Hi all, > > > > > > The goal of the series is to give a chance to the architecture > > > to validat

Re: [RFT 09/25] ARM: dts: s5pv210: fix number of I2S DAI cells

2020-09-08 Thread Sylwester Nawrocki
On 9/8/20 08:53, Krzysztof Kozlowski wrote: On Mon, Sep 07, 2020 at 04:55:26PM -0700, Jonathan Bakker wrote: Sadly, this is causing issues for me. The machine driver is no longer probing correctly on the Galaxy S. The failing call in sound/soc/samsung/aries_wm8994.c is /* Set CPU of_

Re: [PATCH v6 14/35] i2c: tegra: Clean up probe function

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 5:11 AM Dmitry Osipenko wrote: > > The driver's probe function code is a bit difficult to read. This patch > reorders code of the probe function, forming groups of code that are easy > to work with. > > The probe tear-down order now matches the driver-removal order. > All d

Re: [PATCH v2 1/6] dt-bindings: mux-j7200-wiz: Add lane function defines

2020-09-08 Thread Roger Quadros
+Peter On 07/09/2020 17:52, Roger Quadros wrote: Each SERDES lane mux can select upto 4 different IPs. There are 4 lanes in each J7200 SERDES. Define all the possible functions in this file. Signed-off-by: Roger Quadros --- include/dt-bindings/mux/mux-j7200-wiz.h | 29 +++

Re: [PATCH 2/4] drivers core: Remove strcat uses around sysfs_emit and neaten

2020-09-08 Thread Joe Perches
On Tue, 2020-09-08 at 10:32 +0200, Greg Kroah-Hartman wrote: > On Mon, Sep 07, 2020 at 10:58:06AM -0700, Joe Perches wrote: > > strcat is no longer necessary for sysfs_emit and sysfs_emit_at uses. > > > > Convert the strcat uses to sysfs_emit calls and neaten other block > > uses of direct returns

Re: Question about dev_validate_header used in af_packet.c

2020-09-08 Thread Willem de Bruijn
On Mon, Sep 7, 2020 at 11:17 PM Xie He wrote: > > On Mon, Sep 7, 2020 at 2:06 AM Willem de Bruijn > wrote: > > > > The CAP_SYS_RAWIO exception indeed was requested to be able to > > purposely test devices against bad inputs. The gmane link > > unfortunately no longer works, but this was the discu

Re: [PATCH 4/5] drm_dp_cec: add plumbing in preparation for MST support

2020-09-08 Thread Hans Verkuil
On 01/09/2020 08:22, Sam McNally wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > [sa...@chromium.org: > - rebased > - removed polling-related changes > - moved the calls to drm_dp_cec_(un)set_edid() into the next patch > ] > Signed-off-by: Sam McNally > --- > > .../display/am

Re: [PATCH v1 1/5] powerpc/mm: sanity_check_fault() should work for all, not only BOOK3S

2020-09-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 7, 2020 3:15 am: > The verification and message introduced by commit 374f3f5979f9 > ("powerpc/mm/hash: Handle user access of kernel address gracefully") > applies to all platforms, it should not be limited to BOOK3S. > > Make the BOOK3S version of

Re: [PATCH v6 16/35] i2c: tegra: Reorder location of functions in the code

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 5:11 AM Dmitry Osipenko wrote: > > Reorder location of functions in the code in order to have definition > of functions closer to the place of the invocation. This change makes > easier to navigate around the code and removes the need to have a > prototype for tegra_i2c_init

Re: [PATCH v1 2/5] powerpc/fault: Unnest definition of page_fault_is_write() and page_fault_is_bad()

2020-09-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 7, 2020 3:15 am: > To make it more readable, separate page_fault_is_write() and > page_fault_is_bad() > to avoir several levels of #ifdefs Reviewed-by: Nicholas Piggin > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/fault.c | 8

Re: [PATCH v6 24/35] i2c: tegra: Rename wait/poll functions

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 5:11 AM Dmitry Osipenko wrote: > > Drop '_timeout' postfix from the wait/poll completion function names in > order to make the names shorter, making code cleaner a tad. ... > + time_left = tegra_i2c_wait_completion(i2c_dev, &i2c_dev->msg_complete, > +

Re: [PATCH 00/32] Set 2: Rid W=1 warnings in Wireless

2020-09-08 Thread Lee Jones
On Tue, 01 Sep 2020, Kalle Valo wrote: > Lee Jones writes: > > > This set is part of a larger effort attempting to clean-up W=1 > > kernel builds, which are currently overwhelmingly riddled with > > niggly little warnings. > > > > There are quite a few W=1 warnings in the Wireless. My plan > >

Re: [PATCH 6/6] drm/meson: add support for MIPI-DSI transceiver

2020-09-08 Thread Daniel Vetter
On Tue, Sep 08, 2020 at 10:06:03AM +0200, Neil Armstrong wrote: > Hi, > > On 07/09/2020 20:03, Daniel Vetter wrote: > > On Mon, Sep 07, 2020 at 11:03:29AM +0200, Neil Armstrong wrote: > >> On 07/09/2020 10:44, Daniel Vetter wrote: > >>> On Mon, Sep 07, 2020 at 10:43:51AM +0200, Daniel Vetter wrote

Re: [PATCH v1 3/5] powerpc/fault: Reorder tests in bad_kernel_fault()

2020-09-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 7, 2020 3:15 am: > Check address earlier to simplify the following test. Good logic reduction. Reviewed-by: Nicholas Piggin > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/fault.c | 10 +- > 1 file changed, 5 insertions(+),

RE: [PATCH v8 1/3] phy: intel: Rename phy-intel to phy-intel-lgm

2020-09-08 Thread Wan Mohamad, Wan Ahmad Zainie
> -Original Message- > From: Andy Shevchenko > Sent: Tuesday, September 1, 2020 4:11 PM > To: Wan Mohamad, Wan Ahmad Zainie > > Cc: kis...@ti.com; vk...@kernel.org; robh...@kernel.org; linux- > ker...@vger.kernel.org; devicet...@vger.kernel.org; > vadivel.muruganx.ramuthe...@linux.inte

Re: [PATCH] drm: mxsfb: check framebuffer pitch

2020-09-08 Thread Daniel Vetter
On Tue, Sep 08, 2020 at 11:18:25AM +0300, Tomi Valkeinen wrote: > Hi, > > On 08/09/2020 10:55, Stefan Agner wrote: > > On 2020-09-07 20:18, Daniel Vetter wrote: > >> On Mon, Sep 07, 2020 at 07:17:12PM +0300, Laurent Pinchart wrote: > >>> Hi Stefan, > >>> > >>> Thank you for the patch. > >>> > >>>

Re: [PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 11:14 AM Lee Jones wrote: > On Sat, 05 Sep 2020, Andy Shevchenko wrote: > > On Saturday, September 5, 2020, Jonathan Neuschäfer > > wrote: ... > > > +config PWM_NTXEC > > > + tristate "Netronix embedded controller PWM support" > > > > > > > > > > > + depends o

Re: [PATCH v6 25/35] i2c: tegra: Factor out error recovery from tegra_i2c_xfer_msg()

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 5:11 AM Dmitry Osipenko wrote: > > Factor out error recovery code from tegra_i2c_xfer_msg() in order to > make this function easier to read and follow. Ordering issue. You have a patch that replaces int -> unsigned int or so, which obviously has less impact (severity) than

Re: [PATCH 16/28] wireless: marvell: mwifiex: init: Move 'tos_to_tid_inv' to where it's used

2020-09-08 Thread Lee Jones
On Mon, 31 Aug 2020, Kalle Valo wrote: > Lee Jones wrote: > > > 'tos_to_tid_inv' is only used in 2 of 17 files it's current being > > included into. > > > > Fixes the following W=1 kernel build warning(s): > > > > In file included from drivers/net/wireless/marvell/mwifiex/main.c:23: > > In f

Re: [PATCH] Platform integrity information in sysfs

2020-09-08 Thread Vignesh Raghavendra
Hi, On 9/3/20 9:48 PM, Daniel Gutson wrote: > This patch exports information about the platform integrity > firmware configuration in the sysfs filesystem. > In this initial patch, I include some configuration attributes > for the system SPI chip. > Please avoid first-person singular pronouns in

RE: [PATCH V4 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-08 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, September 8, 2020 4:12 PM > > Use function callbacks for SCU related functions in pinctrl-imx.c in order to > support the scenario of PINCTRL_IMX is built in while PINCTRL_IMX_SCU is built > as module, all drivers using SCU pinctrl driver need to initialize th

Re: [PATCH v6 27/35] i2c: tegra: Factor out register polling into separate function

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 5:12 AM Dmitry Osipenko wrote: > > Factor out register polling into a separate function in order to remove > boilerplate code and make code cleaner. I'm wondering if you can make it before the patch that touches one of these conditionals. -- With Best Regards, Andy Shevch

Re: [PATCH 1/3] Input: atmel_mxt_ts - use runtime PM instead of custom functions

2020-09-08 Thread Pavel Machek
Hi! > Let's use standard runtime PM functions instead of custom start and stop > functions. This way we can implement runtime idle mode using runtime PM > autosuspend in the following patches. This is not in recent kernel. What needs to be done here? Best regards,

RE: [PATCH V4 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-08 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, September 8, 2020 4:12 PM > > Change PINCTR_IMX_SCU to tristate, add module author, description and > license to support building SCU pinctrl core driver as module. > > Signed-off-by: Anson Huang > --- > changes since V3: > - remove the prompt for PINC

Re: [PATCHv3 0/3] Lost key-up interrupt handling for omap4-keypad

2020-09-08 Thread Pavel Machek
Hi! > This series updates omap4-keypad to disable unused long interrupts, and > implements the missing parts for the lost key-up interrupt quirk as > described in the silicon errata pdf. I do not see this in 5.9-rc4; problem is real, could we get this merged? Best regards,

Re: [PATCH v1 4/5] powerpc/fault: Avoid heavy search_exception_tables() verification

2020-09-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 7, 2020 3:15 am: > search_exception_tables() is an heavy operation, we have to avoid it. > When KUAP is selected, we'll know the fault has been blocked by KUAP. > Otherwise, it behaves just as if the address was already in the TLBs > and no fault w

Re: [PATCH net] net/packet: Fix a comment about hard_header_len and headroom allocation

2020-09-08 Thread Willem de Bruijn
On Tue, Sep 8, 2020 at 2:07 AM Xie He wrote: > > Thank you for your comment! > > On Mon, Sep 7, 2020 at 2:41 AM Willem de Bruijn > wrote: > > > > On Sun, Sep 6, 2020 at 5:18 AM Xie He wrote: > > > > > > This comment is outdated and no longer reflects the actual implementation > > > of af_packet.

Re: [PATCH v4 1/1] drm: allow limiting the scatter list size.

2020-09-08 Thread Daniel Vetter
On Tue, Sep 08, 2020 at 07:48:58AM +0200, Gerd Hoffmann wrote: > On Mon, Sep 07, 2020 at 03:53:02PM +0200, Daniel Vetter wrote: > > On Mon, Sep 7, 2020 at 1:24 PM Gerd Hoffmann wrote: > > > > > > Add drm_device argument to drm_prime_pages_to_sg(), so we can > > > call dma_max_mapping_size() to fig

Re: [PATCH v1 1/5] powerpc/mm: sanity_check_fault() should work for all, not only BOOK3S

2020-09-08 Thread Christophe Leroy
Le 08/09/2020 à 10:43, Nicholas Piggin a écrit : Excerpts from Christophe Leroy's message of August 7, 2020 3:15 am: The verification and message introduced by commit 374f3f5979f9 ("powerpc/mm/hash: Handle user access of kernel address gracefully") applies to all platforms, it should not be l

Re: [PATCH] drm/virtio: drop quirks handling

2020-09-08 Thread Daniel Vetter
On Tue, Sep 08, 2020 at 08:47:41AM +0200, Gerd Hoffmann wrote: > These days dma ops can be overridden per device, and the virtio core "can be overridden" or "are"? The comment above vring_use_dma_api() suggests that's not yet done. If that's wrong then I think updating the comment would be really

Re: [PATCH] add the FPGA Device Feature List (DFL) EMIF support

2020-09-08 Thread Krzysztof Kozlowski
On Tue, Sep 08, 2020 at 04:27:24PM +0800, Xu Yilun wrote: > This patch depend on the patchsets: "Modularization of DFL private > feature drivers" & "add dfl bus support to MODULE_DEVICE_TABLE()" The need for bus I understand but why it depends on the "Modularization of DFL private feature drivers"

[PATCH] ASoC: tlv320adcx140: Fix digital gain range

2020-09-08 Thread Camel Guo
From: Camel Guo According to its datasheet, the digital gain should be -100 dB when CHx_DVOL is 1 and 27 dB when CHx_DVOL is 255. But with the current dig_vol_tlv, "Digital CHx Out Volume" shows 27.5 dB if CHx_DVOL is 255 and -95.5 dB if CHx_DVOL is 1. This commit fixes this bug. Fixes: 689c7655

[PATCH 1/1] sched/rt: add rt throttled/unthrottled log

2020-09-08 Thread Jing-Ting Wu
Always print logs when rt throttle/unthrottle, it is much easier to locate the throttled period. Signed-off-by: Jing-Ting Wu --- kernel/sched/rt.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index f215eea..598046c 100644 --- a/

Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu

2020-09-08 Thread Lu Baolu
On 2020/9/8 14:23, Christoph Hellwig wrote: On Tue, Sep 08, 2020 at 02:04:53PM +0800, Lu Baolu wrote: Do you mind telling where can I find Marek's series? [PATCH v10 00/30] DRM: fix struct sg_table nents vs. orig_nents misuse on various lists including the iommu one. Get it. Thank you! Be

Re: [PATCH v3 1/2] iio: adc: mt6360: Add ADC driver for MT6360

2020-09-08 Thread Jonathan Cameron
On Tue, 8 Sep 2020 14:17:42 +0800 Gene Chen wrote: > Jonathan Cameron 於 2020年8月30日 週日 上午1:12寫道: > > > > On Mon, 24 Aug 2020 17:06:24 +0800 > > Gene Chen wrote: > > > > > From: Gene Chen > > > > > > Add MT6360 ADC driver include Charger Current, Voltage, and > > > Temperature. > > > > > > Sig

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-09-08 Thread David Hildenbrand
On 20.08.20 17:52, Mike Rapoport wrote: > On Wed, Aug 19, 2020 at 07:45:29PM +0200, David Hildenbrand wrote: >> On 19.08.20 19:33, Mike Rapoport wrote: >>> On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbrand wrote: On 19.08.20 13:53, Mike Rapoport wrote: > On Wed, Aug 19, 2020 at 1

Re: [PATCH v2 03/10] mm/memory_hotplug: simplify page offlining

2020-09-08 Thread David Hildenbrand
On 07.09.20 08:45, Michal Hocko wrote: > On Fri 04-09-20 12:21:34, Andrew Morton wrote: >> On Fri, 4 Sep 2020 07:47:45 +0200 David Hildenbrand wrote: > [...] >> @@ -1589,9 +1567,7 @@ int __ref offline_pages(unsigned long st >> reason = "failure to dissolve huge pages"; >>

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

2020-09-08 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (powerpc allyesconfig) failed like this: ERROR: modpost: too long symbol ".__tracepoint_iter_pnfs_mds_fallback_pg_get_mirror_count" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] Caused by commit d25e37d89dd2 ("tracepoint: Optimi

Re: [PATCH v1 5/5] powerpc/fault: Perform exception fixup in do_page_fault()

2020-09-08 Thread Nicholas Piggin
Excerpts from Christophe Leroy's message of August 7, 2020 3:15 am: > Exception fixup doesn't require the heady full regs saving, heavy > do it from do_page_fault() directly. > > For that, split bad_page_fault() in two parts. > > As bad_page_fault() can also

Re: [RFC] dt-bindings: mailbox: add doorbell support to ARM MHU

2020-09-08 Thread Arnd Bergmann
Picking up the old thread again after and getting pinged by multiple colleagues about it (thanks!) reading through the history. On Fri, Jun 12, 2020 at 7:29 AM Viresh Kumar wrote: > > On 11-06-20, 19:34, Jassi Brar wrote: > > In the first post in this thread, Viresh lamented that mailbox > > intr

Re: [PATCH v2 02/10] mm/memory_hotplug: enforce section granularity when onlining/offlining

2020-09-08 Thread David Hildenbrand
On 25.08.20 04:11, Wei Yang wrote: > On Mon, Aug 24, 2020 at 12:39:18PM +0200, Oscar Salvador wrote: >> On Wed, Aug 19, 2020 at 07:59:49PM +0200, David Hildenbrand wrote: >>> Already two people (including me) tried to offline subsections, because >>> the function looks like it can deal with it. But

Re: [PATCH] mailbox: sti: fix struct description warnings

2020-09-08 Thread Lee Jones
On Mon, 31 Aug 2020, Alain Volmat wrote: > Fix formating of struct description to avoid warning highlighted > by W=1 compilation. > > Fixes: 9ef4546cbd7e ("mailbox: Add support for ST's Mailbox IP") Please remove this tag. This patch is not a Stable candidate. > Signed-off-by: Alain Volmat >

Re: [PATCH v2 2/3] irqchip: dw-apb-ictl: support hierarchy irq domain

2020-09-08 Thread kernel test robot
e' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Zhen-Lei/irqchip-dw-apb-ictl-support-hierarchy-irq-domain/20200908-151343 base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 3d5128c1deb5d27993fb11ba5e517798f8021

[PATCH] ASoC: tlv320adcx140: Add support for master mode

2020-09-08 Thread Camel Guo
From: Camel Guo Add setup of bclk-to-ws ratio and sample rate when in master mode, as well as MCLK input pin setup. Limitations: - MCLK is assumed to be connected to GPIO1 (other possible choices would be GPI0..3 if they weren't used for analog positive inputs). - PLL is always enabled, and c

linux-next: manual merge of the akpm-current tree with Linus' tree

2020-09-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: .clang-format between commit: 4e4bb894467c ("clang-format: Update with the latest for_each macro list") from Linus' tree and commits: 7008a2f408a3 ("memblock: implement for_each_reserved_mem_region() using __n

[PATCH] clk: imx: lpcg-scu: SW workaround for errata (e10858)

2020-09-08 Thread peng . fan
From: Peng Fan Back-to-back LPCG writes can be ignored by the LPCG register due to a HW bug. The writes need to be separated by at least 4 cycles of the gated clock. The workaround is implemented as follows: 1. For clocks running greater than or equal to 24MHz, a read followed by the write will

Re: [PATCH V2] arm64/hotplug: Improve memory offline event notifier

2020-09-08 Thread Anshuman Khandual
On 08/24/2020 09:34 AM, Anshuman Khandual wrote: > This brings about three different changes to the sole memory event notifier > for arm64 platform and improves it's robustness while also enhancing debug > capabilities during potential memory offlining error conditions. > > This moves the memor

linux-next: manual merge of the akpm-current tree with Linus' tree

2020-09-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: drivers/dax/device.c between commit: 4533d3aed857 ("memremap: rename MEMORY_DEVICE_DEVDAX to MEMORY_DEVICE_GENERIC") from Linus' tree and commit: ceb1b473719c ("device-dax: make pgmap optional for instance cre

Re: [PATCH 5/5] drm_dp_cec: add the implementation of MST support

2020-09-08 Thread Hans Verkuil
On 01/09/2020 08:22, Sam McNally wrote: > With DP v2.0 errata E5, CEC tunneling can be supported through an MST > topology. > > There are some minor differences for CEC tunneling through an MST > topology compared to CEC tunneling to an SST port: > - CEC IRQs are delivered via a sink event notify

Re: [PATCH v3 2/2] mm: drain per-cpu pages outside of isolate_migratepages_range

2020-09-08 Thread David Hildenbrand
>> Signed-off-by: Pavel Tatashin > > I believe we should be going an opposite direction and define a more > understandable and usable semantic for start_isolate_page_range. We do > not want callers to scratch their heads to call all caches they might > need to flush. I still prefer temporarily d

Re: [RESEND PATCH V5 0/3] Intel Platform Monitoring Technology

2020-09-08 Thread Lee Jones
On Fri, 28 Aug 2020, Andy Shevchenko wrote: > On Fri, Aug 28, 2020 at 1:57 PM Lee Jones wrote: > > On Wed, 19 Aug 2020, David E. Box wrote: > > > > [...] > > > > > David E. Box (3): > > > PCI: Add defines for Designated Vendor-Specific Extended Capability > > > mfd: Intel Platform Monitoring

Re: [RFC] dt-bindings: mailbox: add doorbell support to ARM MHU

2020-09-08 Thread Viresh Kumar
On 08-09-20, 11:14, Arnd Bergmann wrote: > Picking up the old thread again after and getting pinged by multiple > colleagues about it (thanks!) reading through the history. Thanks for your inputs Arnd. > Earlier, Jassi also commented "Linux does not provide real-time > guarantees", which to me is

Re: [PATCH v5 2/3] dt-bindings: media: imx274: Add optional input clock and supplies

2020-09-08 Thread Sakari Ailus
On Thu, Sep 03, 2020 at 09:40:57AM -0700, Sowjanya Komatineni wrote: > > On 9/3/20 9:35 AM, Jacopo Mondi wrote: > > Hi Sowjanya, > > > > On Thu, Sep 03, 2020 at 09:05:27AM -0700, Sowjanya Komatineni wrote: > > > On 9/3/20 5:55 AM, Jacopo Mondi wrote: > > > > Hello Sowjanya, > > > > > > > > On Tu

Re: [PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-09-08 Thread Lee Jones
On Tue, 08 Sep 2020, Andy Shevchenko wrote: > On Tue, Sep 8, 2020 at 11:14 AM Lee Jones wrote: > > On Sat, 05 Sep 2020, Andy Shevchenko wrote: > > > On Saturday, September 5, 2020, Jonathan Neuschäfer > > > > > > wrote: > > ... > > > > > +config PWM_NTXEC > > > > + tristate "Netronix em

Re: [PATCH net-next v7 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 11:35 AM Vadym Kochan wrote: > On Fri, Sep 04, 2020 at 10:12:07PM +0300, Andy Shevchenko wrote: > > On Fri, Sep 4, 2020 at 7:52 PM Vadym Kochan > > wrote: ... > > > + words[3] |= FIELD_PREP(PRESTERA_W3_HW_DEV_NUM, (dsa->hw_dev_num > > > >> 5)); > > > > Ditto. > >

Re: [PATCH v2 07/10] rtc: Introduce RTC_TIMESTAMP_END_2255

2020-09-08 Thread Alexandre Belloni
On 05/09/2020 15:32:27+0200, Jonathan Neuschäfer wrote: > Some RTCs store the year as an 8-bit number relative to the year 2000. > This results in a maximum timestamp of 2255-12-31 23:59:59. > > Signed-off-by: Jonathan Neuschäfer > --- > > v2: > - New patch > --- > include/linux/rtc.h | 1 + >

[PATCH 1/3] drm/qxl: use drmm_mode_config_init

2020-09-08 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index fa79688013b7..4be04eaf7f37 100644 --- a/drivers/gpu/drm/qxl/qxl_display.c +++ b/

[PATCH 2/3] drm/qxl: release shadow on shutdown

2020-09-08 Thread Gerd Hoffmann
In case we have a shadow surface on shutdown release it so it doesn't leak. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 4be04eaf7f37..85dcb7

Re: [RFC PATCH 1/2] lib/string: Disable instrumentation

2020-09-08 Thread Marco Elver
On Sun, 6 Sep 2020 at 00:23, Arvind Sankar wrote: > > String functions can be useful in early boot, but using instrumented > versions can be problematic: eg on x86, some of the early boot code is > executing out of an identity mapping rather than the kernel virtual > addresses. Accessing any globa

[PATCH 3/3] drm/qxl: handle shadow in primary destroy

2020-09-08 Thread Gerd Hoffmann
qxl_primary_atomic_disable must check whenever the framebuffer bo has a shadow surface and in case it has check the shadow primary status. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b

Fair Pay..

2020-09-08 Thread Ywe Cærlyn
People. Another update to the name - why not go all muslim? A solid basis for fair pay, is The Quran, and it has the background all the way to the adam-prophetic ban on amanita. Both The Kaba and this are solid symbols for all we want in computing space. And since myths of Tor still haunts her

Re: [PATCH v2 2/3] irqchip: dw-apb-ictl: support hierarchy irq domain

2020-09-08 Thread Leizhen (ThunderTown)
On 2020/9/8 15:41, Marc Zyngier wrote: > On 2020-09-08 08:11, Zhen Lei wrote: >> Add support to use dw-apb-ictl as primary interrupt controller. >> >> Suggested-by: Marc Zyngier >> Signed-off-by: Zhen Lei >> Tested-by: Haoyu Lv >> --- >>  drivers/irqchip/Kconfig   |  2 +- >>  drivers/

Re: [PATCH v4 4/4] media: i2c: gc5035: Add OTP configuration handling

2020-09-08 Thread Sakari Ailus
Hi Tomasz, Thanks for the patch. On Wed, Sep 02, 2020 at 10:48:13PM +, Tomasz Figa wrote: > From: Hao He > > The sensor OTP holds values for various configuration registers > deteremined at manufacturing time and dead pixel correction tables. Add > code to load both from the OTP and initial

Re: [PATCH v2 2/3] irqchip: dw-apb-ictl: support hierarchy irq domain

2020-09-08 Thread Marc Zyngier
On 2020-09-08 10:40, Leizhen (ThunderTown) wrote: On 2020/9/8 15:41, Marc Zyngier wrote: On 2020-09-08 08:11, Zhen Lei wrote: Add support to use dw-apb-ictl as primary interrupt controller. Suggested-by: Marc Zyngier Signed-off-by: Zhen Lei Tested-by: Haoyu Lv ---  drivers/irqchip/Kconfig  

Re: [RFC PATCH] x86/mce: Make mce_rdmsrl() do a plain RDMSR only

2020-09-08 Thread Borislav Petkov
On Mon, Sep 07, 2020 at 01:06:22PM -0700, Luck, Tony wrote: > Digging into the history it seems that this rdmsrl_safe() was added for > a possible bug on a pentiumIII back in 2009 that was eventually closed > as "unreproducible". So this is the $ 10^6 question so far: if I can assume that those tw

Re: [RFC v2 4/5] dt-bindings: of: Add plumbing for restricted DMA pool

2020-09-08 Thread Claire Chang
On Tue, Aug 25, 2020 at 1:30 AM Tomasz Figa wrote: > > On Tue, Aug 11, 2020 at 11:15 AM Tomasz Figa wrote: > > > > On Mon, Aug 3, 2020 at 5:15 PM Tomasz Figa wrote: > > > > > > Hi Claire and Rob, > > > > > > On Mon, Aug 3, 2020 at 4:26 PM Claire Chang wrote: > > > > > > > > On Sat, Aug 1, 2020

Re: [PATCH v3 1/2] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-08 Thread David Hildenbrand
On 04.09.20 17:14, Pavel Tatashin wrote: > There is a race during page offline that can lead to infinite loop: > a page never ends up on a buddy list and __offline_pages() keeps > retrying infinitely or until a termination signal is received. > > Thread#1 - a new process: > > load_elf_binary > b

[PATCH v2] dwc3-of-simple: add support for Hikey 970

2020-09-08 Thread Mauro Carvalho Chehab
This binding driver is needed for Hikey 970 to work, as otherwise a Serror is produced: [1.837458] SError Interrupt on CPU0, code 0xbf02 -- SError [1.837462] CPU: 0 PID: 74 Comm: kworker/0:1 Not tainted 5.8.0+ #205 [1.837463] Hardware name: HiKey970 (DT) [1.8374

Re: linux-next: Signed-off-by missing for commit in the printk tree

2020-09-08 Thread Sergey Senozhatsky
On (20/09/08 09:46), Petr Mladek wrote: > On Sat 2020-09-05 12:18:27, Stephen Rothwell wrote: > > Hi all, > > > > Commit > > > > 4c31ead75f41 ("printk: ringbuffer: support dataless records") > > > > is missing a Signed-off-by from its committer. > > Thanks for catching this. It should be fixe

[PATCH v1] x86/defconfigs: Unbreak 32-bit defconfig builds

2020-09-08 Thread Andy Shevchenko
After the commit 1d0e12fd3a84 ("x86/defconfigs: Refresh defconfig files") 32-bit builds using defconfig become broken because on x86_64 build host with no ARCH provided the default behaviour is to assume 64-bit independently on the configuration file name. The crucial part is CONFIG_64BIT option th

Re: [PATCH] memory: dfl-emif: add the DFL EMIF private feature driver

2020-09-08 Thread Krzysztof Kozlowski
On Tue, Sep 08, 2020 at 04:27:25PM +0800, Xu Yilun wrote: > This driver is for the EMIF private feature implemented under FPGA > Device Feature List (DFL) framework. It is used to expose memory > interface status information as well as memory clearing control. > > The purpose of memory clearing bl

Re: [PATCH v2] dwc3-of-simple: add support for Hikey 970

2020-09-08 Thread Felipe Balbi
Hi, Mauro Carvalho Chehab writes: > This binding driver is needed for Hikey 970 to work, > as otherwise a Serror is produced: you mentioned Serror doesn't happen anymore... > [1.837458] SError Interrupt on CPU0, code 0xbf02 -- SError > [1.837462] CPU: 0 PID: 74 Comm: kworke

Re: [PATCH v4 1/1] drm: allow limiting the scatter list size.

2020-09-08 Thread Gerd Hoffmann
> > > The comments I've found suggest very much not ... Or is that all very > > > old stuff only that no one cares about anymore? > > > > I think these days it is possible to override dma_ops per device, which > > in turn allows virtio to deal with the quirks without the rest of the > > kernel kno

Re: [PATCH] drm/virtio: drop quirks handling

2020-09-08 Thread Gerd Hoffmann
On Tue, Sep 08, 2020 at 10:57:21AM +0200, Daniel Vetter wrote: > On Tue, Sep 08, 2020 at 08:47:41AM +0200, Gerd Hoffmann wrote: > > These days dma ops can be overridden per device, and the virtio core > > "can be overridden" or "are"? Didn't happen yet, so scratch this one for now ... take care,

Re: Question: Why is there no notification when a file is opened using filp_open()?

2020-09-08 Thread Amir Goldstein
On Tue, Sep 8, 2020 at 11:02 AM Xiaoming Ni wrote: > > The file opening action on the system may be from user-mode sys_open() > or kernel-mode filp_open(). > Currently, fsnotify_open() is invoked in do_sys_openat2(). > But filp_open() is not notified. Why? Is this an omission? > > Do we need to ca

Re: [PATCH v4 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2020-09-08 Thread Viresh Kumar
On 08-09-20, 15:35, Hector Yuan wrote: > From: "Hector.Yuan" > > Add devicetree bindings for MediaTek HW driver. > > Signed-off-by: Hector.Yuan > --- > .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 141 > > 1 file changed, 141 insertions(+) > create mode 100644

<    1   2   3   4   5   6   7   8   9   10   >