Re: [PATCH] printk: handle blank console arguments passed in.

2020-10-06 Thread Sergey Senozhatsky
On (20/10/05 20:35), Guenter Roeck wrote: > On a side note, I don't see the problem presumably fixed with this > patch in any of my tests. Hmm. This is rather interesting. Empty console= certainly oops-es my laptop, but not the cros board I just tested this on. Do we carry around any chromeos patc

Re: [PATCH 2/4] dt-bindings: Use 'additionalProperties' instead of 'unevaluatedProperties'

2020-10-06 Thread Lee Jones
On Mon, 05 Oct 2020, Rob Herring wrote: > In cases where we don't reference another schema, 'additionalProperties' > can be used instead. This is preferred for now as 'unevaluatedProperties' > support isn't implemented yet. > > In a few cases, this means adding some missing property definitions o

Re: [PATCH] dt-bindings: Another round of adding missing 'additionalProperties'

2020-10-06 Thread Lee Jones
On Fri, 02 Oct 2020, Rob Herring wrote: > Another round of wack-a-mole. The json-schema default is additional > unknown properties are allowed, but for DT all properties should be > defined. Acked-by: Lee Jones -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open sou

Re: [PATCH v11 4/5] dt-bindings: serial: document LiteUART bindings

2020-10-06 Thread Mateusz Holenko
Hi Geert, On Fri, Sep 25, 2020 at 3:16 PM Geert Uytterhoeven wrote: > > Hi Mateusz, > > On Wed, Sep 23, 2020 at 12:10 PM Mateusz Holenko > wrote: > > From: Filip Kokosinski > > > > Add documentation for LiteUART devicetree bindings. > > > > Signed-off-by: Filip Kokosinski > > Signed-off-by: M

Re: [PATCH 2/2] usb: serial: option: add Cellient MPL200 card

2020-10-06 Thread Johan Hovold
On Mon, Oct 05, 2020 at 02:07:23PM +0200, Wilken Gottwalt wrote: > On Mon, 5 Oct 2020 18:36:36 +0700 Lars Melin wrote: > > On 10/5/2020 18:06, Johan Hovold wrote: > > > Do you remember the interface layout and why you blacklisted interface > > > 1? > > It is very likely that Cellient has replace

Re: [REGRESSION] hwmon: (applesmc) avoid overlong udelay()

2020-10-06 Thread Andreas Kemnade
On Thu, 1 Oct 2020 21:07:51 -0700 Guenter Roeck wrote: > On 10/1/20 3:22 PM, Andreas Kemnade wrote: > > On Wed, 30 Sep 2020 22:00:09 +0200 > > Arnd Bergmann wrote: > > > >> On Wed, Sep 30, 2020 at 6:44 PM Guenter Roeck wrote: > >>> > >>> On Wed, Sep 30, 2020 at 10:54:42AM +0200, Andreas Ke

Re: [Question] rtc wake behavior and sysfs

2020-10-06 Thread Alexandre Belloni
On 05/10/2020 21:47:01-0400, Peter Geis wrote: > On Mon, Oct 5, 2020 at 6:29 PM Alexandre Belloni > wrote: > > > > On 05/10/2020 09:13:08-0400, Peter Geis wrote: > > > Good Morning, > > > > > > While testing suspend to ram on the Ouya, I encountered an interesting > > > issue with the rtc-tps65910

Re: [PATCH 1/2] cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale()

2020-10-06 Thread Viresh Kumar
On 24-09-20, 13:30, Ionela Voinescu wrote: > Compared to other arch_* functions, arch_set_freq_scale() has an atypical > weak definition that can be replaced by a strong architecture specific > implementation. > > The more typical support for architectural functions involves defining > an empty st

Re: [PATCH v11 4/5] dt-bindings: serial: document LiteUART bindings

2020-10-06 Thread Geert Uytterhoeven
Hi Mateusz, On Tue, Oct 6, 2020 at 9:01 AM Mateusz Holenko wrote: > On Fri, Sep 25, 2020 at 3:16 PM Geert Uytterhoeven > wrote: > > On Wed, Sep 23, 2020 at 12:10 PM Mateusz Holenko > > wrote: > > > From: Filip Kokosinski > > > > > > Add documentation for LiteUART devicetree bindings. > > > >

Re: [PATCH v2 1/2] arm: use DEBUG_UART_PHYS and DEBUG_UART_VIRT for sti LL_UART

2020-10-06 Thread Patrice CHOTARD
Hi Alain On 8/30/20 9:57 PM, Alain Volmat wrote: > Update the sti platform LL_UART support to rely on > CONFIG_DEBUG_UART_PHYS and CONFIG_DEBUG_UART_VIRT from Kconfig > > Signed-off-by: Alain Volmat > --- > arch/arm/Kconfig.debug | 23 --- > arch/arm/include/debug/sti.S

Re: [PATCH] fs: remove ->sendpage

2020-10-06 Thread Christoph Hellwig
On Mon, Sep 28, 2020 at 03:17:34PM -0700, David Miller wrote: > From: Christoph Hellwig > Date: Sat, 26 Sep 2020 09:00:49 +0200 > > > ->sendpage is only called from generic_splice_sendpage. The only user of > > generic_splice_sendpage is socket_file_ops, which is also the only > > instance that

Re: [PATCH v2] iio: adc: exynos: do not rely on 'users' counter in ISR

2020-10-06 Thread Krzysztof Kozlowski
On Tue, 6 Oct 2020 at 06:12, wrote: > > The order in which 'users' counter is decremented vs calling drivers' > close() method is implementation specific, and we should not rely on > it. Let's introduce driver private flag and use it to signal ISR > to exit when device is being closed. > > This ha

Re: [PATCH v2 2/2] arm: sti LL_UART: add STiH418 SBC UART0 support

2020-10-06 Thread Patrice CHOTARD
Hi Alain On 8/30/20 9:57 PM, Alain Volmat wrote: > Add the entry for the STiH418 SBC UART0 low level uart. > > Signed-off-by: Alain Volmat > --- > arch/arm/Kconfig.debug | 19 +-- > 1 file changed, 17 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/Kconfig.debug b/arch/ar

Re: [PATCH v2 00/29] [Set 1,2,3] Rid W=1 warnings in Wireless

2020-10-06 Thread Kalle Valo
Lee Jones writes: > On Tue, 06 Oct 2020, Kalle Valo wrote: > >> Lee Jones writes: >> >> > On Thu, 10 Sep 2020, Lee Jones wrote: >> > >> >> This is a rebased/re-worked set of patches which have been >> >> previously posted to the mailing list(s). >> >> >> >> This set is part of a larger effort

Re: [PATCH 2/2] arm: disable frequency invariance for CONFIG_BL_SWITCHER

2020-10-06 Thread Viresh Kumar
On 24-09-20, 13:30, Ionela Voinescu wrote: > big.LITTLE switching complicates the setting of a correct cpufreq-based > frequency invariance scale factor due to (as observed in > drivers/cpufreq/vexpress-spc-cpufreq.c): > - Incorrect current and maximum frequencies as a result of the >exposure

[PATCH v6 03/11] device-dax/kmem: move resource tracking to drvdata

2020-10-06 Thread Dan Williams
Towards removing the mode specific @dax_kmem_res attribute from the generic 'struct dev_dax', and preparing for multi-range support, move resource tracking to driver data. The memory for the resource name needs to have its own lifetime separate from the device bind lifetime for cases where the dri

[PATCH v6 08/11] device-dax: add resize support

2020-10-06 Thread Dan Williams
Make the device-dax 'size' attribute writable to allow capacity to be split between multiple instances in a region. The intended consumers of this capability are users that want to split a scarce memory resource between device-dax and System-RAM access, or users that want to have multiple security

[PATCH v6 07/11] drivers/base: make device_find_child_by_name() compatible with sysfs inputs

2020-10-06 Thread Dan Williams
Use sysfs_streq() in device_find_child_by_name() to allow it to use a sysfs input string that might contain a trailing newline. The other "device by name" interfaces, {bus,driver,class}_find_device_by_name(), already account for sysfs strings. Link: https://lkml.kernel.org/r/159643102106.4062302

[PATCH v6 05/11] device-dax: introduce 'struct dev_dax' typed-driver operations

2020-10-06 Thread Dan Williams
In preparation for introducing seed devices the dax-bus core needs to be able to intercept ->probe() and ->remove() operations. Towards that end arrange for the bus and drivers to switch from raw 'struct device' driver operations to 'struct dev_dax' typed operations. Cc: Jason Yan Cc: Vishal Verm

[PATCH v6 09/11] mm/memremap_pages: convert to 'struct range'

2020-10-06 Thread Dan Williams
The 'struct resource' in 'struct dev_pagemap' is only used for holding resource span information. The other fields, 'name', 'flags', 'desc', 'parent', 'sibling', and 'child' are all unused wasted space. This is in preparation for introducing a multi-range extension of devm_memremap_pages(). The

[PATCH v6 02/11] device-dax/kmem: introduce dax_kmem_range()

2020-10-06 Thread Dan Williams
Towards removing the mode specific @dax_kmem_res attribute from the generic 'struct dev_dax', and preparing for multi-range support, teach the driver to calculate the hotplug range from the device range. The hotplug range is the trivially calculated memory-block-size aligned version of the device r

[PATCH v6 00/11] device-dax: support sub-dividing soft-reserved ranges

2020-10-06 Thread Dan Williams
Changes since v5 [1]: - (David) Introduce range_len() to include/linux/range.h immediately in "device-dax: make pgmap optional for instance creation" rather than wait until "mm/memremap_pages: convert to 'struct range'" to move it. - (David) David points out that release_mem_region() can not b

[PATCH v6 04/11] device-dax: add an allocation interface for device-dax instances

2020-10-06 Thread Dan Williams
;In preparation for a facility that enables dax regions to be sub-divided, introduce infrastructure to track and allocate region capacity. The new dax_region/available_size attribute is only enabled for volatile hmem devices, not pmem devices that are defined by nvdimm namespace boundaries. This

[PATCH v6 06/11] device-dax: introduce 'seed' devices

2020-10-06 Thread Dan Williams
Add a seed device concept for dynamic dax regions to be able to split the region amongst multiple sub-instances. The seed device, similar to libnvdimm seed devices, is a device that starts with zero capacity allocated and unbound to a driver. In contrast to libnvdimm seed devices explicit 'create

[PATCH v6 01/11] device-dax: make pgmap optional for instance creation

2020-10-06 Thread Dan Williams
The passed in dev_pagemap is only required in the pmem case as the libnvdimm core may have reserved a vmem_altmap for dev_memremap_pages() to place the memmap in pmem directly. In the hmem case there is no agent reserving an altmap so it can all be handled by a core internal default. Pass the res

[PATCH v6 11/11] device-dax: add dis-contiguous resource support

2020-10-06 Thread Dan Williams
Break the requirement that device-dax instances are physically contiguous. With this constraint removed it allows fragmented available capacity to be fully allocated. This capability is useful to mitigate the "noisy neighbor" problem with memory-side-cache management for virtual machines, or any o

[PATCH v6 10/11] mm/memremap_pages: support multiple ranges per invocation

2020-10-06 Thread Dan Williams
In support of device-dax growing the ability to front physically dis-contiguous ranges of memory, update devm_memremap_pages() to track multiple ranges with a single reference counter and devm instance. Convert all [devm_]memremap_pages() users to specify the number of ranges they are mapping in t

Re: [PATCH v3 02/24] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-06 Thread Krzysztof Kozlowski
On Tue, 6 Oct 2020 at 06:27, Yong Wu wrote: > > On Fri, 2020-10-02 at 13:08 +0200, Krzysztof Kozlowski wrote: > > On Wed, Sep 30, 2020 at 03:06:25PM +0800, Yong Wu wrote: > > > Convert MediaTek SMI to DT schema. > > > > > > Signed-off-by: Yong Wu > > > --- > > > .../mediatek,smi-common.txt

Re: [PATCH v3 18/24] iommu/mediatek: Support master use iova over 32bit

2020-10-06 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:41PM +0800, Yong Wu wrote: > After extending v7s, our pagetable already support iova reach > 16GB(34bit). the master got the iova via dma_alloc_attrs may reach > 34bits, but its HW register still is 32bit. then how to set the > bit32/bit33 iova? this depend on a SMI la

Re: [RFC] net: phy: add shutdown hook to struct phy_driver

2020-10-06 Thread Jisheng Zhang
On Tue, 6 Oct 2020 07:45:10 +0200 Heiner Kallweit wrote: > > On 05.10.2020 18:00, Florian Fainelli wrote: > > > > > > On 10/5/2020 8:54 AM, Heiner Kallweit wrote: > >> On 05.10.2020 17:41, Florian Fainelli wrote: > >>> > >>> > >>> On 10/5/2020 1:53 AM, Jisheng Zhang wrote: > On Wed,

Re: [PATCH v3 06/24] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2020-10-06 Thread Krzysztof Kozlowski
On Tue, Oct 06, 2020 at 12:26:45PM +0800, Yong Wu wrote: > Hi Krzysztof, > > On Fri, 2020-10-02 at 13:10 +0200, Krzysztof Kozlowski wrote: > > On Wed, Sep 30, 2020 at 03:06:29PM +0800, Yong Wu wrote: > > > This patch adds decriptions for mt8192 IOMMU and SMI. > > > > > > mt8192 also is MTK IOMMU

Re: [PATCH v11 5/5] drivers/tty/serial: add LiteUART driver

2020-10-06 Thread Mateusz Holenko
Hi Geert, On Fri, Sep 25, 2020 at 3:41 PM Geert Uytterhoeven wrote: > > Hi Mateusz, > > On Wed, Sep 23, 2020 at 12:12 PM Mateusz Holenko > wrote: > > From: Filip Kokosinski > > > > This commit adds driver for the FPGA-based LiteUART serial controller > > from LiteX SoC builder. > > > > The cur

Re: [PATCH] usb: host: ehci-sched: avoid possible NULL dereference

2020-10-06 Thread gre...@linuxfoundation.org
On Mon, Oct 05, 2020 at 11:19:02PM +, Harley A.W. Lorenzo wrote: > On Monday, October 5, 2020 5:31 PM, Sudip Mukherjee > wrote: > > > find_tt() can return NULL or the error value in ERR_PTR() and > > dereferencing the return value without checking for the error can > > lead to a possible der

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-06 Thread Viresh Kumar
On 24-09-20, 10:53, Nicola Mazzucato wrote: > I am seeking some feedback/comments on the following approach. > > Intro: > Info of performance depency for cpus will be beneficial for systems > where f/w description of the CPU performance control domain is different > from the clock domain, e.g. per

[PATCH 0/1] scsi: arcmsr: fix warning: right shift count >= width of type

2020-10-06 Thread ching Huang
This patch is against to mkp's 5.10/scsi-staging. 1. fix warning: right shift count >= width of type. ---

Re: [PATCH 2/3] drm/msm: add DRM_MSM_GEM_SYNC_CACHE for non-coherent cache maintenance

2020-10-06 Thread Christoph Hellwig
On Mon, Oct 05, 2020 at 10:35:43AM -0400, Jonathan Marek wrote: > The cache synchronization doesn't have anything to do with IOMMU (for > example: cache synchronization would be useful in cases where drm/msm > doesn't use IOMMU). It has to do with doing DMA. And we have two frameworks for doing D

Re: [BUG][PATCH] arm64: bti: fix BTI to handle local indirect branches

2020-10-06 Thread kernel test robot
note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jeremy-Linton/arm64-bti-fix-BTI-to-handle-local-indirect-branches/20201006-021958 base: https://git.kernel.org/pub

Re: [PATCH -v2 03/17] sched/hotplug: Ensure only per-cpu kthreads run during hotplug

2020-10-06 Thread Peter Zijlstra
On Mon, Oct 05, 2020 at 04:57:20PM +0200, Peter Zijlstra wrote: > +static inline void balance_switch(struct rq *rq) > +{ > + if (unlikely(rq->balance_flags)) { > + /* > + * Run the balance_callbacks, except on hotplug > + * when we need to push the current

Re: [PATCH 2/2] ath11k: Handle errors if peer creation fails

2020-10-06 Thread Kalle Valo
Alex Dewar writes: > ath11k_peer_create() is called without its return value being checked, > meaning errors will be unhandled. Add missing check and, as the mutex is > unconditionally unlocked on leaving this function, simplify the exit > path. > > Addresses-Coverity-ID: 1497531 ("Code maintaina

PATCH 1/1] scsi: arcmsr: fix warning: right shift count >= width of type

2020-10-06 Thread ching Huang
From: ching Huang Fix warning: right shift count >= width of type. Reported-by: kernel test robot Signed-off-by: ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index be6fb72..d13d672 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/

Re: [PATCH v2] drm/msm/dp: add opp_table corner voting support base on dp_ink_clk rate

2020-10-06 Thread Rajendra Nayak
On 10/4/2020 3:56 AM, Kuogee Hsieh wrote: Set link rate by using OPP set rate api so that CX level will be set accordingly based on the link rate. Changes in v2: -- remove dev from dp_ctrl_put() parameters -- address review comments This needs to go below '---' and should not be part of the

Re: [PATCH] leds: lm3697: Fix out-of-bound access

2020-10-06 Thread Marek Behun
By the way I just realized that the DT binding in this driver seems incorrect to me. The controller logically supports 3 LED strings, each having configurable control bank. But the DT binding supports 2 DT nodes, one for each control bank (identified by the `reg` property) and then `led-sources`

Re: [PATCH] scripts: kernel-doc: allow passing desired Sphinx C domain dialect

2020-10-06 Thread Joe Perches
On Tue, 2020-10-06 at 08:42 +0200, Mauro Carvalho Chehab wrote: > Em Mon, 5 Oct 2020 10:17:36 -0600 > Jonathan Corbet escreveu: [] > Sure. It should be easy to make the third argument optional, although > the regex will be a little more harder to understand. > > Something like this should do the

linux-next: manual merge of the char-misc tree with the powerpc tree

2020-10-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/misc/ocxl/Kconfig between commit: dde6f18a8779 ("ocxl: Don't return trigger page when allocating an interrupt") from the powerpc tree and commit: 4b53a3c72116 ("ocxl: fix kconfig dependency warning for OCX

Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties'

2020-10-06 Thread Geert Uytterhoeven
Hi Rob, On Mon, Oct 5, 2020 at 8:39 PM Rob Herring wrote: > This doesn't yet do anything in the tools, but make it explicit so we can > check either 'unevaluatedProperties' or 'additionalProperties' is present > in schemas. > > 'unevaluatedProperties' is appropriate when including another schema

Re: [PATCH 2/3] dt-bindings: can: rcar_can: Add r8a7742 support

2020-10-06 Thread Lad, Prabhakar
Hi Marc, On Tue, Aug 25, 2020 at 3:21 AM Rob Herring wrote: > > On Sun, 16 Aug 2020 20:07:31 +0100, Lad Prabhakar wrote: > > Document RZ/G1H (r8a7742) SoC specific bindings. The R8A7742 CAN module > > is identical to R-Car Gen2 family. > > > > No driver change is needed due to the fallback compat

Re: [PATCH 1/4] drivers core: Introduce CPU type sysfs interface

2020-10-06 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 05:57:36PM -0700, Ricardo Neri wrote: > On Sat, Oct 03, 2020 at 10:53:45AM +0200, Greg Kroah-Hartman wrote: > > On Fri, Oct 02, 2020 at 06:17:42PM -0700, Ricardo Neri wrote: > > > Hybrid CPU topologies combine CPUs of different microarchitectures in the > > > same die. Thus,

Re: [PATCH V7 0/2] percpu_ref & block: reduce memory footprint of percpu_ref in fast path

2020-10-06 Thread Ming Lei
On Thu, Oct 01, 2020 at 11:48:40PM +0800, Ming Lei wrote: > Hi, > > The 1st patch removes memory footprint of percpu_ref in fast path > from 7 words to 2 words, since it is often used in fast path and > embedded in user struct. > > The 2nd patch moves .q_usage_counter to 1st cacheline of > 'reque

Re: [PATCH 3/4] dt-bindings: Explicitly allow additional properties in board/SoC schemas

2020-10-06 Thread Geert Uytterhoeven
On Mon, Oct 5, 2020 at 8:39 PM Rob Herring wrote: > In order to add meta-schema checks for additional/unevaluatedProperties > being present, all schema need to make this explicit. As the top-level > board/SoC schemas always have additional properties, add > 'additionalProperties: true'. > > Signed

Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas

2020-10-06 Thread Geert Uytterhoeven
On Mon, Oct 5, 2020 at 8:39 PM Rob Herring wrote: > In order to add meta-schema checks for additional/unevaluatedProperties > being present, all schema need to make this explicit. As common/shared > schema are included by other schemas, they should always allow for > additionalProperties. > > Sign

Re: [RFC] Status of orinoco_usb

2020-10-06 Thread Arend Van Spriel
+ Jes On 10/5/2020 4:12 PM, Kalle Valo wrote: Greg Kroah-Hartman writes: On Fri, Oct 02, 2020 at 01:53:58PM +0200, Sebastian Andrzej Siewior wrote: On 2020-10-02 13:37:25 [+0200], Greg Kroah-Hartman wrote: Is it possible to end up here in softirq context or is this a relic? I think it's a

Re: [PATCH] KVM: x86: filter guest NX capability for cpuid2

2020-10-06 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Mon, Oct 05, 2020 at 05:29:47PM +0200, Vitaly Kuznetsov wrote: >> Tianjia Zhang writes: >> >> > Original KVM_SET_CPUID has removed NX on non-NX hosts as it did >> > before. but KVM_SET_CPUID2 does not. The two should be consistent. >> > >> > Signed-off-by: Tianj

Re: [RFC V2] mm/vmstat: Add events for HugeTLB migration

2020-10-06 Thread Michal Hocko
On Tue 06-10-20 08:26:35, Anshuman Khandual wrote: > > > On 10/05/2020 11:35 AM, Michal Hocko wrote: > > On Mon 05-10-20 07:59:12, Anshuman Khandual wrote: > >> > >> > >> On 10/02/2020 05:34 PM, Michal Hocko wrote: > >>> On Wed 30-09-20 11:30:49, Anshuman Khandual wrote: > Add following new

[PATCH v5 2/4] spi: spi-mtk-nor: use dma_alloc_coherent() for bounce buffer

2020-10-06 Thread Ikjoon Jang
Use dma_alloc_coherent() for bounce buffer instead of kmalloc() to make sure the bounce buffer to be allocated within its DMAable range. Signed-off-by: Ikjoon Jang --- drivers/spi/spi-mtk-nor.c | 94 ++- 1 file changed, 52 insertions(+), 42 deletions(-) diff

Re: [GIT PULL] devfreq next for v5.10

2020-10-06 Thread Chanwoo Choi
Dear Rafael, On 10/1/20 12:56 AM, Rafael J. Wysocki wrote: > On Tue, Sep 29, 2020 at 10:56 AM Chanwoo Choi wrote: >> >> Dear Rafael, >> >> This is devfreq-next pull request for v5.10-rc1. I add detailed description >> of >> this pull request on the following tag. Please pull devfreq with followi

[PATCH] ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887

2020-10-06 Thread Jian-Hong Pan
The ASUS D700SA desktop's audio (1043:2390) with ALC887 cannot detect the headset microphone and another headphone jack until ALC887_FIXUP_ASUS_HMIC and ALC887_FIXUP_ASUS_AUDIO quirks are applied. The NID 0x15 maps as the headset microphone and NID 0x19 maps as another headphone jack. Also need the

[PATCH v5 1/4] dt-bindings: spi: add mt8192-nor compatible string

2020-10-06 Thread Ikjoon Jang
Add MT8192 spi-nor controller support. Signed-off-by: Ikjoon Jang Acked-by: Rob Herring --- Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mtk-nor.yaml b/Documentation/devic

Re: [PATCH 05/11] arm64: dts: qcom: msm8992: Add support for SDHCI2

2020-10-06 Thread kernel test robot
umented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Konrad-Dybcio/pm8994-msm8992-4-DT-updates/20201006-003302 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allyesconfig (attached as .config) compile

linux-next: manual merge of the staging tree with the devicetree tree

2020-10-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got a conflict in: Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml between commit: 41fb845621ea ("dt-bindings: Another round of adding missing 'additionalProperties'") from the devicetree tree and commit: 3b17dd2204

Re: [PATCH -v2 15/17] sched: Fix migrate_disable() vs rt/dl balancing

2020-10-06 Thread Peter Zijlstra
On Mon, Oct 05, 2020 at 04:57:32PM +0200, Peter Zijlstra wrote: > +static inline struct task_struct *get_push_task(struct rq *rq) > +{ > + struct task_struct *p = rq->curr; > + > + lockdep_assert_held(&rq->lock); > + > + if (rq->push_busy) > + return NULL; > + > + if (p-

[PATCH v5 4/4] spi: spi-mtk-nor: Add power management support

2020-10-06 Thread Ikjoon Jang
This patch adds dev_pm_ops to mtk-nor to support suspend/resume, auto suspend delay is set to -1 by default. Accessing registers are only permitted after its clock is enabled to deal with unknown state of operating clk at probe time. Signed-off-by: Ikjoon Jang --- drivers/spi/spi-mtk-nor.c | 98

[PATCH v5 0/4] spi: spi-mtk-nor: Add mt8192 support.

2020-10-06 Thread Ikjoon Jang
This patchset adds 36bit dma address and power management supports for mt8192-nor. Changes in v5: - Rebase from merge conflict Changes in v4: - Drop two patches from a list, addressed by an another series - Fix 0-day ci 'shift-count-overflow' warning Changes in v3: - Fix a bugfix of v2 in checki

[PATCH v5 3/4] spi: spi-mtk-nor: support 36bit dma addressing

2020-10-06 Thread Ikjoon Jang
This patch enables 36bit dma address support to spi-mtk-nor. Currently this is enabled only for mt8192-nor. Signed-off-by: Ikjoon Jang --- drivers/spi/spi-mtk-nor.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-mtk-nor.c b/drivers/spi/s

Re: [PATCH v11 3/5] drivers/soc/litex: add LiteX SoC Controller driver

2020-10-06 Thread Mateusz Holenko
Hi Geert, On Fri, Sep 25, 2020 at 3:16 PM Geert Uytterhoeven wrote: > > Hi Mateusz, > > On Wed, Sep 23, 2020 at 12:10 PM Mateusz Holenko > wrote: > > From: Pawel Czarnecki > > > > This commit adds driver for the FPGA-based LiteX SoC > > Controller from LiteX SoC builder. > > > > Co-developed-b

PHY reset question

2020-10-06 Thread Oleksij Rempel
Hello PHY experts, Short version: what is the proper way to handle the PHY reset before identifying PHY? Long version: I stumbled over following issue: If PHY reset is registered within PHY node. Then, sometimes, we will not be able to identify it (read PHY ID), because PHY is under reset. mdio

WARNING in ieee80211_probe_client

2020-10-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c2568c8c Merge branch 'net-Constify-struct-genl_small_ops' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=14051a2b90 kernel config: https://syzkaller.appspot.com/x/.config?x=1e6c5266df853ae dashbo

WARNING in sta_info_alloc

2020-10-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:549738f1 Linux 5.9-rc8 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15b97ba390 kernel config: https://syzkaller.appspot.com/x/.config?x=c06bcf3cc963d91c dashboard link: https://syzkaller.appspot

WARNING in ieee80211_check_rate_mask

2020-10-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:c2568c8c Merge branch 'net-Constify-struct-genl_small_ops' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16e2fb4d90 kernel config: https://syzkaller.appspot.com/x/.config?x=1e6c5266df853ae dashbo

Re: [PATCH v16 15/15] mtd: spi-nor: micron-st: allow using MT35XU512ABA in Octal DTR mode

2020-10-06 Thread Tudor.Ambarus
On 10/5/20 6:31 PM, Pratyush Yadav wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Since this flash doesn't have a Profile 1.0 table, the Octal DTR > capabilities are enabled in the post SFDP fixup, along with the 8D-8D-8D > fast read sett

Re: [PATCH 2/2] ath11k: Handle errors if peer creation fails

2020-10-06 Thread Alex Dewar
On Tue, Oct 06, 2020 at 10:26:28AM +0300, Kalle Valo wrote: > Alex Dewar writes: > > > ath11k_peer_create() is called without its return value being checked, > > meaning errors will be unhandled. Add missing check and, as the mutex is > > unconditionally unlocked on leaving this function, simplif

Re: [PATCH v6 03/11] device-dax/kmem: move resource tracking to drvdata

2020-10-06 Thread David Hildenbrand
On 06.10.20 08:55, Dan Williams wrote: > Towards removing the mode specific @dax_kmem_res attribute from the > generic 'struct dev_dax', and preparing for multi-range support, move > resource tracking to driver data. The memory for the resource name > needs to have its own lifetime separate from t

Re: [PATCH 0/2] Enable GPIO and I2C configs for TI's J721e platform

2020-10-06 Thread Faiz Abbas
Nishanth, On 02/10/20 10:32 pm, Nishanth Menon wrote: > On 22:15-20201002, Faiz Abbas wrote: >> The following patches enable configs in the arm64 defconfig to support >> GPIO and I2C support on TI's J721e platform. >> >> Faiz Abbas (2): >> arm64: defconfig: Enable OMAP I2C driver >> arm64: def

Re: WARNING in sta_info_alloc

2020-10-06 Thread Will Deacon
On Tue, Oct 06, 2020 at 01:08:23AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:549738f1 Linux 5.9-rc8 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15b97ba390 > kernel config: https://syzkaller.appspot.co

[PATCH 2/2] media: staging: atomisp: Removed else branch in function

2020-10-06 Thread Leonid Kushnir
This patch fixes the checkpatch.pl warning : WARNING: else is not generally useful after a break or return Expressions under 'else' branch in function 'gc0310_s_power' are executed whenever the exppression in 'if' is False. Otherwise, return from function occurs. Therefore, there is no need in 'e

BUG: unable to handle kernel paging request in cfb_imageblit

2020-10-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:22fbc037 Merge tag 'for-linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=133731eb90 kernel config: https://syzkaller.appspot.com/x/.config?x=4e672827d2ffab1f das

INFO: task hung in hub_port_init

2020-10-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d3d45f82 Merge tag 'pinctrl-v5.9-2' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14c3b3db90 kernel config: https://syzkaller.appspot.com/x/.config?x=89ab6a0c48f30b49 das

INFO: task hung in usb_get_descriptor

2020-10-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d3d45f82 Merge tag 'pinctrl-v5.9-2' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1318aab790 kernel config: https://syzkaller.appspot.com/x/.config?x=89ab6a0c48f30b49 das

[PATCH v2 0/2] dt-bindings: Document tpu, pwm support for R8A7742

2020-10-06 Thread Lad Prabhakar
Hi All, This patches are part of series [1], where patch 1/2 was missed to be applied before YAML conversation and patch 2/2 was never applied. I have restored the Acks for patch 1/2 and patch 2/2 is unchanged. [1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=329853 Cheer

[PATCH v2 1/2] dt-bindings: pwm: renesas,tpu-pwm: Document r8a7742 support

2020-10-06 Thread Lad Prabhakar
Document r8a7742 specific compatible strings. No driver change is needed as the fallback compatible string "renesas,tpu" activates the right code in the driver. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring --- Document

[PATCH v2 2/2] dt-bindings: pwm: renesas,pwm-rcar: Add r8a7742 support

2020-10-06 Thread Lad Prabhakar
Document RZ/G1H (R8A7742) SoC bindings. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Acked-by: Uwe Kleine-König Reviewed-by: Geert Uytterhoeven Reviewed-by: Yoshihiro Shimoda Acked-by: Rob Herring --- Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml | 1 + 1

Re: [PATCH 4/4] dt-bindings: Explicitly allow additional properties in common schemas

2020-10-06 Thread Srinivas Kandagatla
On 05/10/2020 19:38, Rob Herring wrote: In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As common/shared schema are included by other schemas, they should always allow for additionalProperties. Signed-off-by: Rob He

[gustavoars-linux:testing/drm/amd/pm/phm] BUILD SUCCESS c43a9eea7b3f51236a4dccc448f636500e3704d9

2020-10-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/drm/amd/pm/phm branch HEAD: c43a9eea7b3f51236a4dccc448f636500e3704d9 drm/amd/pm: Replace one-element array with flexible-array member elapsed time: 725m configs tested: 97 configs skipped: 2 The follow

Re: [PATCH v4 35/52] docs: fs: fscrypt.rst: get rid of :c:type: tags

2020-10-06 Thread Mauro Carvalho Chehab
Em Mon, 5 Oct 2020 12:08:23 -0700 Eric Biggers escreveu: > On Mon, Oct 05, 2020 at 02:06:22PM +0200, Mauro Carvalho Chehab wrote: > > The latest version at: > > > > > > https://git.linuxtv.org/mchehab/experimental.git/log/?h=sphinx3-fixes-v4 > > Doesn't work either. > > $ git remote add

RE: [PATCH v3 1/2] exfat: add exfat_update_inode()

2020-10-06 Thread Namjae Jeon
> @@ -1352,19 +1340,13 @@ static int exfat_rename(struct inode *old_dir, struct > dentry *old_dentry, > new_dir->i_ctime = new_dir->i_mtime = new_dir->i_atime = > EXFAT_I(new_dir)->i_crtime = current_time(new_dir); > exfat_truncate_atime(&new_dir->i_atime); > - if (IS

Re: [PATCH 5.4 00/57] 5.4.70-rc1 review

2020-10-06 Thread Naresh Kamboju
On Tue, 6 Oct 2020 at 11:24, Naresh Kamboju wrote: > > On Mon, 5 Oct 2020 at 20:59, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.4.70 release. > > There are 57 patches in this series, all will be posted as a response > > to this one. If anyone has an

Re: [RFC PATCH v2 00/30] 1GB PUD THP support on x86_64

2020-10-06 Thread David Hildenbrand
On 05.10.20 21:11, Roman Gushchin wrote: > On Mon, Oct 05, 2020 at 08:33:44PM +0200, David Hildenbrand wrote: >> On 05.10.20 20:25, Roman Gushchin wrote: >>> On Mon, Oct 05, 2020 at 07:27:47PM +0200, David Hildenbrand wrote: On 05.10.20 19:16, Roman Gushchin wrote: > On Mon, Oct 05, 2020 a

Re: [PATCH 0/4] dt-bindings: additional/unevaluatedProperties clean-ups

2020-10-06 Thread Srinivas Kandagatla
On 05/10/2020 19:38, Rob Herring wrote: The default behavior for json-schema is any unknown property is allowed. T hat is generally not the behavior we want for DT. In order to disallow extra properties, schemas need to define 'additionalProperties: false' typically. Ideally, we'd just add th

Re: [PATCH 1/2] x86/stackprotector/32: Make the canary into a regular percpu variable

2020-10-06 Thread Peter Zijlstra
On Mon, Oct 05, 2020 at 12:30:03PM -0700, Andy Lutomirski wrote: > @@ -441,6 +441,9 @@ struct fixed_percpu_data { >* GCC hardcodes the stack canary as %gs:40. Since the >* irq_stack is the object at %gs:0, we reserve the bottom >* 48 bytes of the irq stack for the canary. >

[PATCH v6] Introduce support for Systems Management Driver over WMI for Dell Systems

2020-10-06 Thread Divya Bharathi
The Dell WMI Systems Management Driver provides a sysfs interface for systems management to enable BIOS configuration capability on certain Dell Systems. This driver allows user to configure Dell systems with a uniform common interface. To facilitate this, the patch introduces a generic way for dr

Re: [PATCH 0/2] Clean up x86_32 stackprotector

2020-10-06 Thread Peter Zijlstra
On Mon, Oct 05, 2020 at 07:10:39PM -0400, Brian Gerst wrote: > On Mon, Oct 5, 2020 at 3:30 PM Andy Lutomirski wrote: > > > > x86_32 stackprotector is a maintenance nightmare. Clean it up. This > > disables stackprotector on x86_32 on GCC 8.1 and on all clang > > versions -- I'll file a bug for t

Re: [PATCH v2 0/2] arm: sti: LL_UART updates & STiH418 addition

2020-10-06 Thread Linus Walleij
On Tue, Oct 6, 2020 at 7:04 AM Alain Volmat wrote: > Hi Russell, > > Could you have a look a those two patches for the STi platform ? I don't think there is much to say about those patches they are straight-forward. I would just put them into Russell's patch tracker. I think the SoC tree also t

Re: [BUG][PATCH] crypto: arm64: Avoid indirect branch to bti_c

2020-10-06 Thread Will Deacon
On Mon, Oct 05, 2020 at 10:48:54PM -0500, Jeremy Linton wrote: > The AES code uses a 'br x7' as part of a function called by > a macro. That branch needs a bti_j as a target. This results > in a panic as seen below. Instead of trying to replace the branch > target with a bti_jc, lets replace the in

Re: [PATCH RFC v2 0/6] Break heap spraying needed for exploiting use-after-free

2020-10-06 Thread Christopher Lameter
On Mon, 5 Oct 2020, Kees Cook wrote: > > TYPESAFE_BY_RCU, but if forcing that on by default would enhance security > > by a measurable amount, it wouldn't be a terribly hard sell ... > > Isn't the "easy" version of this already controlled by slab_merge? (i.e. > do not share same-sized/flagged km

Re: [PATCH 2/2] x86/entry/32: Remove leftover macros after stackprotector cleanups

2020-10-06 Thread Peter Zijlstra
On Mon, Oct 05, 2020 at 12:30:04PM -0700, Andy Lutomirski wrote: > .macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 skip_gs=0 unwind_espfix=0 > cld > .if \skip_gs == 0 > - PUSH_GS > + pushl $0 > .endif > pushl %fs > Is there a good reason not to just push gs into it? It

Re: [PATCH 9/9] mm, page_alloc: optionally disable pcplists during page isolation

2020-10-06 Thread Michal Hocko
On Tue 22-09-20 16:37:12, Vlastimil Babka wrote: > Page isolation can race with process freeing pages to pcplists in a way that > a page from isolated pageblock can end up on pcplist. This can be fixed by > repeated draining of pcplists, as done by patch "mm/memory_hotplug: drain > per-cpu pages ag

ACPI _CST introduced performance regresions on Haswll

2020-10-06 Thread Mel Gorman
Hi Rafael, Numerous workload regressions have bisected repeatedly to the commit 6d4f08a6776 ("intel_idle: Use ACPI _CST on server systems") but only on a set of haswell machines that all have the same CPU. CPU(s): 48 On-line CPU(s) list: 0-47 Thread(s) per core: 2 Core(s) per socket

Re: irq_build_affinity_masks() allocates improper affinity if num_possible_cpus() > num_present_cpus()?

2020-10-06 Thread David Woodhouse
On Tue, 2020-10-06 at 06:47 +, Dexuan Cui wrote: > Hi all, > I'm running a single-CPU Linux VM on Hyper-V. The Linux kernel is v5.9-rc7 > and I have CONFIG_NR_CPUS=256. > > The Hyper-V Host (Version 17763-10.0-1-0.1457) provides a guest firmware, > which always reports 128 Local APIC entries i

Re: [PATCH v2 0/4] AX88796C SPI Ethernet Adapter

2020-10-06 Thread Lukasz Stelmach
It was <2020-10-02 pią 21:45>, when Andrew Lunn wrote: > On Fri, Oct 02, 2020 at 09:22:06PM +0200, Łukasz Stelmach wrote: >> This is a driver for AX88796C Ethernet Adapter connected in SPI mode as >> found on ARTIK5 evaluation board. The driver has been ported from a >> v3.10.9 vendor kernel for AR

Re: [PATCH v4 00/32] Make charlcd device independent

2020-10-06 Thread Lars Poeschel
On Mon, Oct 05, 2020 at 05:30:59PM +0200, Miguel Ojeda wrote: > Hi Lars, > > On Mon, Oct 5, 2020 at 2:27 PM wrote: > > > > This tries to make charlcd device independent. > > Thanks a lot for the work! > > I see you have written the differences between versions in each patch, > but given there a

Re: [PATCH v11 3/5] drivers/soc/litex: add LiteX SoC Controller driver

2020-10-06 Thread Geert Uytterhoeven
Hi Mateusz, On Tue, Oct 6, 2020 at 10:02 AM Mateusz Holenko wrote: > On Fri, Sep 25, 2020 at 3:16 PM Geert Uytterhoeven > wrote: > > On Wed, Sep 23, 2020 at 12:10 PM Mateusz Holenko > > wrote: > > > From: Pawel Czarnecki > > > > > > This commit adds driver for the FPGA-based LiteX SoC > > >

  1   2   3   4   5   6   7   8   9   10   >