Re: [PATCH 3/5] drm/panfrost: add support for reset quirk

2020-09-09 Thread Neil Armstrong
On 09/09/2020 14:23, Steven Price wrote: > On 08/09/2020 16:18, Neil Armstrong wrote: >> The T820, G31 & G52 GPUs integratewd by Amlogic in the respective GXM, >> G12A/SM1 & G12B >> SoCs needs a quirk in the PWR registers at the GPU reset time. >> >> This adds a callback in the device compatible

Re: [PATCH 1/5] iommu/io-pgtable-arm: Add BROKEN_NS quirk to disable shareability on ARM LPAE

2020-09-09 Thread Neil Armstrong
On 09/09/2020 14:23, Steven Price wrote: > Subject: s/BROKEN_NS/BROKEN_SH/ Thanks, Neil > > Steve > > On 08/09/2020 16:18, Neil Armstrong wrote: >> The coherency integration of the IOMMU in the Mali-G52 found in the Amlogic >> G12B SoCs >> is broken and leads to constant and random faults

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 02:32:57PM +0200, David Hildenbrand wrote: > On 09.09.20 14:30, Greg Kroah-Hartman wrote: > > On Wed, Sep 09, 2020 at 11:24:24AM +0200, David Hildenbrand wrote: > I am not sure an enum is going to make the existing situation less > messy. Sure we somehow have to

[PATCH] net/netfilter: fix a typo for nf_conntrack_proto_dccp.c

2020-09-09 Thread Wang Qing
Change the comment typo: "direcly" -> "directly". Signed-off-by: Wang Qing --- net/netfilter/nf_conntrack_proto_dccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/nf_conntrack_proto_dccp.c b/net/netfilter/nf_conntrack_proto_dccp.c index b3f4a33..d9bb0ce

Re: [RFC PATCH 00/16] 1GB THP support on x86_64

2020-09-09 Thread Matthew Wilcox
On Wed, Sep 09, 2020 at 09:11:17AM -0300, Jason Gunthorpe wrote: > On Tue, Sep 08, 2020 at 03:27:58PM +0100, Matthew Wilcox wrote: > > I could also see there being an app which benefits from 1GB for > > one mapping and prefers 2GB for a different mapping, so I think the > > per-mapping madvise

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-09 Thread David Hildenbrand
On 09.09.20 14:30, Greg Kroah-Hartman wrote: > On Wed, Sep 09, 2020 at 11:24:24AM +0200, David Hildenbrand wrote: I am not sure an enum is going to make the existing situation less messy. Sure we somehow have to distinguish boot init and runtime hotplug because they have different

Re: [PATCH v5 2/7] media: v4l2: Add extended buffer operations

2020-09-09 Thread Hans Verkuil
Hi Helen, Again I'm just reviewing the uAPI. On 04/08/2020 21:29, Helen Koike wrote: > From: Hans Verkuil > > Those extended buffer ops have several purpose: > 1/ Fix y2038 issues by converting the timestamp into an u64 counting >the number of ns elapsed since 1970 > 2/ Unify

[PATCH] drm/panfrost: Ensure GPU quirks are always initialised

2020-09-09 Thread Steven Price
The GPU 'CONFIG' registers used to work around hardware issues are cleared on reset so need to be programmed every time the GPU is reset. However panfrost_device_reset() failed to do this. To avoid this in future instead move the call to panfrost_gpu_init_quirks() to panfrost_gpu_power_on() so

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 11:24:24AM +0200, David Hildenbrand wrote: > >> I am not sure an enum is going to make the existing situation less > >> messy. Sure we somehow have to distinguish boot init and runtime hotplug > >> because they have different constrains. I am arguing that a) we should > >>

Re: [PATCH] iommu/dma: Fix IOVA reserve dma ranges

2020-09-09 Thread Robin Murphy
On 2020-09-09 06:32, Srinath Mannam wrote: Fix IOVA reserve failure for memory regions listed in dma-ranges in the following cases. - start address of memory region is 0x0. That's fair enough, and in fact generalises to the case of zero-sized gaps between regions, which is indeed an

Re: linux-next: build warning after merge of the char-misc.current tree

2020-09-09 Thread Greg KH
On Tue, Sep 08, 2020 at 09:43:17AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the char-misc.current tree, today's linux-next build > (x86_64 allmodconfig) produced this warning: > > In file included from include/linux/printk.h:7, > from include/linux/kernel.h:15,

Re: [PATCH 2/5] drm/panfrost: add support specifying pgtbl quirks

2020-09-09 Thread Steven Price
On 08/09/2020 16:18, Neil Armstrong wrote: Add a pgtbl_quirks entry in the compatible specific table to permit specyfying IOMMU quirks for platforms. Signed-off-by: Neil Armstrong Reviewed-by: Steven Price --- drivers/gpu/drm/panfrost/panfrost_device.h | 3 +++

Re: [PATCH 3/5] drm/panfrost: add support for reset quirk

2020-09-09 Thread Steven Price
On 08/09/2020 16:18, Neil Armstrong wrote: The T820, G31 & G52 GPUs integratewd by Amlogic in the respective GXM, G12A/SM1 & G12B SoCs needs a quirk in the PWR registers at the GPU reset time. This adds a callback in the device compatible struct of permit this. Signed-off-by: Neil Armstrong

Re: [PATCH 1/5] iommu/io-pgtable-arm: Add BROKEN_NS quirk to disable shareability on ARM LPAE

2020-09-09 Thread Steven Price
Subject: s/BROKEN_NS/BROKEN_SH/ Steve On 08/09/2020 16:18, Neil Armstrong wrote: The coherency integration of the IOMMU in the Mali-G52 found in the Amlogic G12B SoCs is broken and leads to constant and random faults from the IOMMU. Disabling shareability completely fixes the issue.

Re: [PATCH 4/5] drm/panfrost: add amlogic reset quirk callback

2020-09-09 Thread Steven Price
On 08/09/2020 16:18, Neil Armstrong wrote: The T820, G31 & G52 GPUs integratewd by Amlogic in the respective GXM, G12A/SM1 & G12B SoCs needs a quirk in the PWR registers at the GPU reset time. Since the documentation of the GPU cores are not public, we do not know what does these values, but

[kbuild] Re: [PATCH v2 5/5] media: uvcvideo: Abort uvc_v4l2_open if video device is unregistered

2020-09-09 Thread Dan Carpenter
Hi Guenter, url: https://github.com/0day-ci/linux/commits/Guenter-Roeck/media-uvcvideo-Fix-race-conditions/20200909-121927 base: git://linuxtv.org/media_tree.git master config: x86_64-randconfig-m001-20200909 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix

Re: [RFT net] net: ipa: fix u32_replace_bits by u32p_xxx version

2020-09-09 Thread Vadym Kochan
Hi Alex, On Wed, Sep 09, 2020 at 06:53:17AM -0500, Alex Elder wrote: > On 9/8/20 9:32 AM, Vadym Kochan wrote: > > Looks like u32p_replace_bits() should be used instead of > > u32_replace_bits() which does not modifies the value but returns the > > modified version. > > > > Fixes: 2b9feef2b6c2

[PATCH] drivers/net/ethernet: fix a typo for stmmac_pltfr_suspend

2020-09-09 Thread Wang Qing
Change the comment typo: "direcly" -> "directly". Signed-off-by: Wang Qing --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

Re: [PATCH] dt-bindings: arm: sunxi: update H2+/H3 cpu clocks

2020-09-09 Thread Maxime Ripard
Hi! Thanks for contributing The prefix isn't right though. dt-bindings is used when you're modifying the binding itself, ie the description of what the node is supposed to look like, not when you actually use that node in a DT. In that case, that would be ARM: dts: sunxi: (we're on the ARM

Re: [PATCH 1/1] RAS: Add CPU Correctable Error Collector to isolate an erroneous CPU core

2020-09-09 Thread Borislav Petkov
On Tue, Sep 01, 2020 at 04:20:54PM +, Shiju Jose wrote: > CPU CEC derived the infrastructure of the CEC only and the logic > used in the CEC for CE count storage, CE count calculation and page > isolation is very unique for the memory pages, which seems cannot be > reusable for the CPU CEs.

Re: [PATCH v8 6/6] at24: Support probing while off

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 1:11 PM Wolfram Sang wrote: > > > > This currently conflicts with the fix I queued for at24 for v5.9. > > Which tree is going to take this series? > > I recall we agreed on I2C. > Sakari, can you rebase the at24 driver patch on top of Wolfram's tree as soon as he merges

Re: [PATCH v2 6/6] drm/panel: Add Ilitek ILI9341 DBI panel driver

2020-09-09 Thread Linus Walleij
Hi Paul, just a drive-by comment: On Sat, Aug 22, 2020 at 6:33 PM Paul Cercueil wrote: > + gpiod_set_value_cansleep(priv->reset_gpiod, 0); > + usleep_range(20, 1000); > + gpiod_set_value_cansleep(priv->reset_gpiod, 1); This implies that the reset line is active low. I would

Re: [RFT net] net: ipa: fix u32_replace_bits by u32p_xxx version

2020-09-09 Thread Alex Elder
On 9/8/20 9:32 AM, Vadym Kochan wrote: > Looks like u32p_replace_bits() should be used instead of > u32_replace_bits() which does not modifies the value but returns the > modified version. > > Fixes: 2b9feef2b6c2 ("soc: qcom: ipa: filter and routing tables") > Signed-off-by: Vadym Kochan You

Re: [Linux-kernel-mentees] [PATCH] checkpatch: GIT_COMMIT_ID: handle commit messages with multiple quotes

2020-09-09 Thread Joe Perches
On Wed, 2020-09-09 at 13:32 +0200, Lukas Bulwahn wrote: > dropped the maintainers. > > On Wed, 9 Sep 2020, Ayush wrote: > > > Sir, > > > > > As the mentor in the linux kernel community bridge program, I usually > > > inform the mentees when the review on the mentee mailing list has > > >

Re: [PATCH kernel] srcu: Fix static initialization

2020-09-09 Thread Paul E. McKenney
On Wed, Sep 09, 2020 at 07:24:11PM +1000, Alexey Kardashevskiy wrote: > > > On 09/09/2020 00:43, Alexey Kardashevskiy wrote: > > init_srcu_struct_nodes() is called with is_static==true only internally > > and when this happens, the srcu->sda is not initialized in > > init_srcu_struct_fields()

[PATCH -next] xfs: Remove unneeded semicolon

2020-09-09 Thread Zheng Bin
Fixes coccicheck warning: fs/xfs/xfs_icache.c:1214:2-3: Unneeded semicolon Signed-off-by: Zheng Bin --- fs/xfs/xfs_icache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index 101028ebb571..5e926912e507 100644 ---

Re: [PATCH -next] riscv/mm/fault: fix old-style-declaration warning

2020-09-09 Thread Pekka Enberg
Hi, On Wed, Sep 9, 2020 at 2:20 PM Wei Yongjun wrote: > > gcc report build warning as follows: > > arch/riscv/mm/fault.c:81:1: warning: > 'inline' is not at beginning of declaration [-Wold-style-declaration] >81 | static void inline vmalloc_fault(struct pt_regs *regs, int code, > unsigned

Re: [PATCH] arm64: PCI: fix memleak when calling pci_iomap/unmap()

2020-09-09 Thread Lorenzo Pieralisi
On Mon, Sep 07, 2020 at 12:21:19PM +0100, Catalin Marinas wrote: > + Lorenzo > > On Mon, Sep 07, 2020 at 10:51:21AM +, George Cherian wrote: > > Catalin Marinas wrote: > > > On Sat, Sep 05, 2020 at 10:48:11AM +0800, Yang Yingliang wrote: > > > > diff --git a/arch/arm64/kernel/pci.c

Re: [PATCH v2 1/6] dt-bindings: display: Document NewVision NV3052C DT node

2020-09-09 Thread Linus Walleij
On Sat, Aug 22, 2020 at 6:33 PM Paul Cercueil wrote: > Add documentation for the Device Tree node for LCD panels based on the > NewVision NV3052C controller. > > v2: - Support backlight property > - Add *-supply properties for the 5 different power supplies. > Either they must all be

Re: [PATCH v2 2/2] Bluetooth: sco: expose WBS packet length in socket option

2020-09-09 Thread Pali Rohár
On Wednesday 09 September 2020 17:42:02 Joseph Hwang wrote: > It is desirable to expose the wideband speech packet length via > a socket option to the user space so that the user space can set > the value correctly in configuring the sco connection. Hello! I'm fine with change below, but I would

[PATCH 0/3] pinctrl: aspeed: AST2600 pinconf fixes

2020-09-09 Thread Andrew Jeffery
Hello, The AST2600 pinctrl driver was missing support for bias control on the 1.8V GPIO pins, and in the process of resolving that I discovered a couple of other bugs that are fixed in the first two patches of the series. Please review! Andrew Andrew Jeffery (3): pinctrl: aspeed: Format

[PATCH 2/3] pinctrl: aspeed: Use the right pinconf mask

2020-09-09 Thread Andrew Jeffery
The Aspeed pinconf data structures are split into 'conf' and 'map' types, where the 'conf' struct defines which register and bitfield to manipulate, while the 'map' struct defines what value to write to the register and bitfield. Both structs have a mask member, and the wrong mask was being used

[PATCH 1/3] pinctrl: aspeed: Format pinconf debug consistent with pinmux

2020-09-09 Thread Andrew Jeffery
When displaying which pinconf register and field is being touched, format the field mask so that it's consistent with the way the pinmux portion formats the mask. Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [PATCH v2 3/7] mm/memory_hotplug: prepare passing flags to add_memory() and friends

2020-09-09 Thread David Hildenbrand
On 09.09.20 13:24, Michael Ellerman wrote: > David Hildenbrand writes: >> On 09.09.20 09:17, Greg Kroah-Hartman wrote: >>> On Tue, Sep 08, 2020 at 10:10:08PM +0200, David Hildenbrand wrote: We soon want to pass flags, e.g., to mark added System RAM resources. mergeable. Prepare for

Re: [PATCH] Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume()

2020-09-09 Thread Wei Liu
On Tue, Sep 08, 2020 at 09:05:34PM +, Michael Kelley wrote: > From: Dexuan Cui Sent: Friday, September 4, 2020 7:56 PM > > > > After we Stop and later Start a VM that uses Accelerated Networking (NIC > > SR-IOV), currently the VF vmbus device's Instance GUID can change, so after > >

[PATCH 3/3] pinctrl: aspeed-g6: Add bias controls for 1.8V GPIO banks

2020-09-09 Thread Andrew Jeffery
These were skipped in the original patches adding pinconf support for the AST2600. Cc: Johnny Huang Signed-off-by: Andrew Jeffery --- drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c

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

2020-09-09 Thread Jan Kara
On Wed 09-09-20 10:36:57, Amir Goldstein wrote: > On Wed, Sep 9, 2020 at 10:00 AM Xiaoming Ni wrote: > > > > On 2020/9/9 11:44, Amir Goldstein wrote: > > > On Tue, Sep 8, 2020 at 8:19 PM Matthew Wilcox wrote: > > >> > > >> On Tue, Sep 08, 2020 at 04:18:29PM +0300, Amir Goldstein wrote: > > >>>

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread David Hildenbrand
On 09.09.20 13:36, Michal Hocko wrote: > On Wed 09-09-20 12:48:54, Vlastimil Babka wrote: >> Here's a version that will apply on top of next-20200908. The first 4 >> patches need no change. >> >> 8< >> >From 8febc17272b8e8b378e2e5ea5e76b2616f029c5b Mon Sep 17 00:00:00 2001 >> From:

Re: [PATCH v5 1/7] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2020-09-09 Thread Hans Verkuil
Hi Helen, Some review comments, concentrating on the uAPI. On 04/08/2020 21:29, Helen Koike wrote: > This is part of the multiplanar and singleplanar unification process. > v4l2_ext_pix_format is supposed to work for both cases. > > We also add the concept of modifiers already employed in DRM

Re: [PATCH v18 00/32] per memcg lru_lock

2020-09-09 Thread Michal Hocko
On Wed 09-09-20 10:44:32, Aaron Lu wrote: > On Thu, Aug 27, 2020 at 09:40:22PM -0400, Daniel Jordan wrote: > > I went back to your v1 post to see what motivated you originally, and you > > had > > some results from aim9 but nothing about where this reared its head in the > > first place. How did

Re: [PATCH v8 6/6] at24: Support probing while off

2020-09-09 Thread Wolfram Sang
> This currently conflicts with the fix I queued for at24 for v5.9. > Which tree is going to take this series? I recall we agreed on I2C. signature.asc Description: PGP signature

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread Michal Hocko
On Wed 09-09-20 12:48:54, Vlastimil Babka wrote: > Here's a version that will apply on top of next-20200908. The first 4 patches > need no change. > > 8< > >From 8febc17272b8e8b378e2e5ea5e76b2616f029c5b Mon Sep 17 00:00:00 2001 > From: Vlastimil Babka > Date: Mon, 7 Sep 2020 17:20:39

[PATCH -next] riscv/mm/fault: fix old-style-declaration warning

2020-09-09 Thread Wei Yongjun
gcc report build warning as follows: arch/riscv/mm/fault.c:81:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 81 | static void inline vmalloc_fault(struct pt_regs *regs, int code, unsigned long addr) | ^~ This commit fix it by moving 'inline'

Re: [PATCH] dt-bindings: iio: sx9310: Add various settings as DT properties

2020-09-09 Thread Jonathan Cameron
On Tue, 8 Sep 2020 23:18:43 -0700 Stephen Boyd wrote: > Quoting Jonathan Cameron (2020-09-06 07:02:47) > > On Thu, 3 Sep 2020 15:18:28 -0700 > > Stephen Boyd wrote: > > > > > We need to set various bits in the hardware registers for this device to > > > operate properly depending on how it

Re: [PATCH 5.8 101/186] drm/radeon: Prefer lower feedback dividers

2020-09-09 Thread Christian König
Hi Greg, please drop that patch. It turned out to break a lot of different setups and we are going to revert it now. Thanks, Christian. Am 08.09.20 um 17:24 schrieb Greg Kroah-Hartman: From: Kai-Heng Feng [ Upstream commit fc8c70526bd30733ea8667adb8b8ffebea30a8ed ] Commit 2e26ccb119bd

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-09 Thread Jan Kara
On Wed 09-09-20 12:52:48, Michael Kerrisk (man-pages) wrote: > > So the error state isn't really stored "on pages in the file mapping". > > Current implementation (since 4.14) is that error state is stored in struct > > file (I think this tends to be called "file description" in manpages) and > >

Re: [PATCH 5.8 101/186] drm/radeon: Prefer lower feedback dividers

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 01:15:13PM +0200, Christian König wrote: > Hi Greg, > > please drop that patch. It turned out to break a lot of different setups and > we are going to revert it now. Ok, now dropped from all trees, thanks. greg k-h

Re: [RFC PATCH v8 2/3] docs: scheduler: Add scheduler overview documentation

2020-09-09 Thread Lukas Bulwahn
On Wed, 2 Sep 2020, John Mathew wrote: > Add documentation for > -scheduler overview > -scheduler state transtion > -CFS overview > -scheduler data structs > > Add rst for scheduler APIs and modify sched/core.c > to add kernel-doc comments. > > Suggested-by: Lukas Bulwahn >

Re: [Linux-kernel-mentees] [PATCH] checkpatch: GIT_COMMIT_ID: handle commit messages with multiple quotes

2020-09-09 Thread Lukas Bulwahn
dropped the maintainers. On Wed, 9 Sep 2020, Ayush wrote: > Sir, > > > As the mentor in the linux kernel community bridge program, I usually > > inform the mentees when the review on the mentee mailing list has > > successfully concluded to a first acceptable state and I think it is well > >

Re: [PATCH v6 2/2] Add Intel LGM soc DMA support.

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 07:07:34AM +0800, Amireddy Mallikarjuna reddy wrote: > Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. > > The main function of the DMA controller is the transfer of data from/to any > DPlus compliant peripheral to/from the memory. A memory to memory

Re: [RFC PATCH v2] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-09-09 Thread Mike Leach
Hi, On Wed, 2 Sep 2020 at 11:36, Suzuki K Poulose wrote: > > On 08/27/2020 09:44 PM, Mathieu Poirier wrote: > > Hi Liu, > > > > On Wed, Aug 19, 2020 at 04:06:37PM +0800, Qi Liu wrote: > >> When too much trace information is generated on-chip, the ETM will > >> overflow, and cause data loss. This

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-09 Thread Valentin Schneider
On 03/09/20 02:44, B wrote: >> -Original Message- >> From: Valentin Schneider [mailto:valentin.schnei...@arm.com] >> On 02/09/20 04:24, B wrote: >> > I agree with your idea to remove the topology functionality of MPIDR , >> > but I think we need also consider ARM32 and GIC. >> > >> >>

Re: [RFC 0/5] disable pcplists during page isolation

2020-09-09 Thread David Hildenbrand
On 09.09.20 13:27, osalva...@suse.de wrote: > On 2020-09-09 12:54, Vlastimil Babka wrote: >> Thanks! I expect no performance change while no isolation is in >> progress, as >> there are no new tests added in alloc/free paths. During page isolation >> there's >> a single drain instead of

Re: PCI: Race condition in pci_create_sysfs_dev_files

2020-09-09 Thread Pali Rohár
Hello! I'm adding more people to loop. Can somebody look at these race conditions and my patch? On Friday 14 August 2020 10:08:24 Pali Rohár wrote: > Hello! I would like to remind this issue which I reported month ago. > > On Thursday 16 July 2020 13:04:23 Pali Rohár wrote: > > Hello Bjorn! > >

Re: [PATCH v2 3/7] mm/memory_hotplug: prepare passing flags to add_memory() and friends

2020-09-09 Thread Michael Ellerman
David Hildenbrand writes: > On 09.09.20 09:17, Greg Kroah-Hartman wrote: >> On Tue, Sep 08, 2020 at 10:10:08PM +0200, David Hildenbrand wrote: >>> We soon want to pass flags, e.g., to mark added System RAM resources. >>> mergeable. Prepare for that. >> >> What are these random "flags", and how

Re: [PATCH V2 0/8] opp: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Viresh Kumar
On 31-08-20, 16:39, Viresh Kumar wrote: > On 28-08-20, 11:37, Viresh Kumar wrote: > > Hello, > > > > This cleans up some of the user code around calls to > > dev_pm_opp_of_remove_table(). > > > > All the patches can be picked by respective maintainers directly except > > for the last patch,

Re: [PATCH] gpio: mockup: fix resource leak in error path

2020-09-09 Thread Bartosz Golaszewski
On Tue, Sep 8, 2020 at 3:45 PM Andy Shevchenko wrote: > > On Tue, Sep 08, 2020 at 03:07:49PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > If the module init function fails after creating the debugs directory, > > it's never removed. Add proper cleanup calls to avoid

Re: [PATCH V2 4/8] mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Viresh Kumar
On 31-08-20, 12:57, Ulf Hansson wrote: > On Mon, 31 Aug 2020 at 12:45, Viresh Kumar wrote: > > > > On 28-08-20, 10:43, Ulf Hansson wrote: > > > On Fri, 28 Aug 2020 at 08:08, Viresh Kumar > > > wrote: > > > > > > > > dev_pm_opp_of_remove_table() doesn't report any errors when it fails to > > > >

Re: [PATCH v2] dt-bindings: watchdog: sp-805: Convert to Json-schema

2020-09-09 Thread Viresh Kumar
On 09-09-20, 11:50, Andre Przywara wrote: > Convert the ARM SP-805 watchdog IP DT binding over to Json-schema. > > A straight-forward conversion, but the requirement for providing two > clocks got strengthened from "should" to "must". > > Signed-off-by: Andre Przywara > --- > Hi, > > this is

Re: [PATCH v2 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-09 Thread Pali Rohár
On Wednesday 09 September 2020 17:42:01 Joseph Hwang wrote: > It is desirable to define the HCI packet payload sizes of > USB alternate settings so that they can be exposed to user > space. > > Reviewed-by: Alain Michaud > Reviewed-by: Abhishek Pandit-Subedi > Signed-off-by: Joseph Hwang > ---

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Maxim Uvarov
On Wed, 9 Sep 2020 at 13:47, Ard Biesheuvel wrote: > > On Wed, 9 Sep 2020 at 13:44, Maxim Uvarov wrote: > > > > On Wed, 9 Sep 2020 at 11:17, Ard Biesheuvel wrote: > > > > > > (+ Atish, Palmer) > > > > > > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt > > > wrote: > > > > > > > > In the

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 12:30 PM Uwe Kleine-König wrote: > > On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wrote: > > > > > > The gpio-siox driver uses handle_nested_irq() to implement its > > > interrupt support. This is only

Re: [PATCH][next] mt7601u: Use fallthrough pseudo-keyword

2020-09-09 Thread Joe Perches
On Tue, 2020-09-01 at 12:36 -0500, Gustavo A. R. Silva wrote: > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary > fall-through markings when it is the case. [] > diff --git

Re: [git pull] drm fixes for 5.9-rc4

2020-09-09 Thread Harald Arnesen
Linus Torvalds [08.09.2020 20:19]: > On Fri, Sep 4, 2020 at 2:51 PM Harald Arnesen wrote: >> >> Still doesn't work without the three reverts >> (763fedd6a216, 9e0f9464e2ab, 7ac2d2536dfa)... > > So this didn't make rc4, but it's in my tree now. > > Harald, I'm assuming things work for you again

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-09 Thread Michal Hocko
On Wed 09-09-20 11:21:58, Laurent Dufour wrote: > Le 09/09/2020 à 11:09, Michal Hocko a écrit : > > On Wed 09-09-20 09:48:59, Laurent Dufour wrote: > > > Le 09/09/2020 à 09:40, Michal Hocko a écrit : [...] > > > > > In > > > > > that case, the system is able to boot but later hot-plug operation >

Re: [PATCH v2 0/3] gpiolib: generalize GPIO line names property

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 12:34 PM Andy Shevchenko wrote: > > On Wed, Sep 09, 2020 at 10:54:23AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > I initially sent this as part of the gpio-mockup overhaul but since > > these patches are indepentent and the work on gpio-mockup

[PATCH] media: imx274: add support for sensor mode6, 1280x540

2020-09-09 Thread Eugen Hristev
Add support for the mode 6 for the sensor, this mode uses 3/8 subsampling and 3 horizontal binning. Aspect ratio is changed. Split the bin_ratio variable into two parts, one for width and one for height, as the ratio is no longer preserved when doing subsampling in this mode. Signed-off-by: Eugen

Re: [RFC 0/5] disable pcplists during page isolation

2020-09-09 Thread Vlastimil Babka
On 9/8/20 8:29 PM, David Hildenbrand wrote: > On 07.09.20 18:36, Vlastimil Babka wrote: >> As per the discussions [1] [2] this is an attempt to implement David's >> suggestion that page isolation should disable pcplists to avoid races. This >> is >> done without extra checks in fast paths, as I

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-09 Thread Michael Kerrisk (man-pages)
Hello Jeff, On 9/8/20 9:44 PM, Jeff Layton wrote: > On Tue, 2020-09-08 at 13:27 +0200, Jan Kara wrote: >> Added Jeff to CC since he has written the code... >> >> On Mon 07-09-20 09:11:06, Michael Kerrisk (man-pages) wrote: >>> [Widening the CC to include Andrew and linux-fsdevel@] >>> [Milan:

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-09 Thread Michael Kerrisk (man-pages)
Hello Jan, Thank you for jumping in on this thread. On 9/8/20 1:27 PM, Jan Kara wrote: > Added Jeff to CC since he has written the code... > > On Mon 07-09-20 09:11:06, Michael Kerrisk (man-pages) wrote: >> [Widening the CC to include Andrew and linux-fsdevel@] >> [Milan: thanks for the patch,

[PATCH v2] dt-bindings: watchdog: sp-805: Convert to Json-schema

2020-09-09 Thread Andre Przywara
Convert the ARM SP-805 watchdog IP DT binding over to Json-schema. A straight-forward conversion, but the requirement for providing two clocks got strengthened from "should" to "must". Signed-off-by: Andre Przywara --- Hi, this is just the bindings conversion patch, updated to address Rob's

linux-next: Fixes tag needs some work in the mediatek tree

2020-09-09 Thread Stephen Rothwell
Hi all, In commit 845d404207f1 ("arm: dts: mt7623: move display nodes to separate mt7623n.dtsi") Fixes tag Fixes: 1f6ed224594 ("arm: dts: mt7623: add Mali-450 device node") has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or

Re: [PATCH v3] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-09-09 Thread Miquel Raynal
Hi Thirumalesha, Thirumalesha Narasimhappa wrote on Wed, 9 Sep 2020 18:44:42 +0800: > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > ECC > > Signed-off-by: Thirumalesha Narasimhappa > --- Changelog, please? > drivers/mtd/nand/spi/micron.c | 141

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread Vlastimil Babka
Here's a version that will apply on top of next-20200908. The first 4 patches need no change. 8< >From 8febc17272b8e8b378e2e5ea5e76b2616f029c5b Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Mon, 7 Sep 2020 17:20:39 +0200 Subject: [PATCH] mm, page_alloc: disable pcplists during

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Ard Biesheuvel
On Wed, 9 Sep 2020 at 13:44, Maxim Uvarov wrote: > > On Wed, 9 Sep 2020 at 11:17, Ard Biesheuvel wrote: > > > > (+ Atish, Palmer) > > > > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: > > > > > > In the memory map the regions with the lowest addresses may be of type > > >

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Maxim Uvarov
On Wed, 9 Sep 2020 at 11:17, Ard Biesheuvel wrote: > > (+ Atish, Palmer) > > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: > > > > In the memory map the regions with the lowest addresses may be of type > > EFI_RESERVED_TYPE. The reserved areas may be discontinuous relative to the > >

Re: [PATCH printk v4 5/6] printk: ringbuffer: add finalization/extension support

2020-09-09 Thread Dan Carpenter
Hi John, url: https://github.com/0day-ci/linux/commits/John-Ogness/printk-reimplement-LOG_CONT-handling/20200909-115852 base:dff9f829e5b0181d4ed9d35aa62d695292399b54 config: x86_64-randconfig-m001-20200909 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue

[PATCH v3] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-09-09 Thread Thirumalesha Narasimhappa
The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit ECC Signed-off-by: Thirumalesha Narasimhappa --- drivers/mtd/nand/spi/micron.c | 141 -- 1 file changed, 101 insertions(+), 40 deletions(-) diff --git a/drivers/mtd/nand/spi/micron.c

Re: [PATCH 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-09 Thread Pavel Machek
Hi! > > Add support for the iEi WT61P803 PUZZLE LED driver. > > Currently only the front panel power LED is supported. > > > > This driver depends on the iEi WT61P803 PUZZLE MFD driver. > > Can we make it OF independent? > See below how to achieve this. Is there reason to believe this will be

Re: [PATCH v2 0/3] gpiolib: generalize GPIO line names property

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 10:54:23AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > I initially sent this as part of the gpio-mockup overhaul but since > these patches are indepentent and the work on gpio-mockup may become > more complicated - I'm sending these separately. > >

Re: [PATCH 2/2] Add driver for Moortec MR75203 PVT controller

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 02:52:05PM +0800, Rahul Tanwar wrote: > PVT controller (MR75203) is used to configure & control > Moortec embedded analog IP which contains temprature > sensor(TS), voltage monitor(VM) & process detector(PD) > modules. Add driver to support MR75203 PVT controller. ... >

[PATCH v8 02/20] gpiolib: cdev: replace strncpy with strscpy

2020-09-09 Thread Kent Gibson
Replace usage of strncpy with strscpy to remove -Wstringop-truncation warnings. The structs being populated are zeroed, to prevent stack leakage as they are returned to userspace, so strscpy performs the equivalent function without the warnings. Reported-by: kernel test robot Signed-off-by:

[PATCH v8 06/20] gpiolib: add build option for CDEV v1 ABI

2020-09-09 Thread Kent Gibson
Add a build option to allow the removal of the CDEV v1 ABI. Suggested-by: Bartosz Golaszewski Signed-off-by: Kent Gibson --- This patch is before the v2 implementation, and is non-functional until that patch, as some parts of that patch would be written slightly differently if removing v1 was

[PATCH v8 07/20] gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL

2020-09-09 Thread Kent Gibson
Add support for requesting lines using the GPIO_V2_GET_LINE_IOCTL, and returning their current values using GPIO_V2_LINE_GET_VALUES_IOCTL. The struct linereq implementation is based on the v1 struct linehandle implementation. Signed-off-by: Kent Gibson --- The linereq_ioctl() is a simple

[PATCH v8 08/20] gpiolib: cdev: support GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL

2020-09-09 Thread Kent Gibson
Add support for GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL. The core of this change is the event kfifo switching to contain struct gpioline_info_changed_v2, instead of v1 as v2 is richer. The two uAPI versions are mostly independent - other than where they both provide line

[PATCH v8 10/20] gpiolib: cdev: support GPIO_V2_LINE_SET_CONFIG_IOCTL

2020-09-09 Thread Kent Gibson
Add support for GPIO_V2_LINE_SET_CONFIG_IOCTL, the uAPI v2 line set config ioctl. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index

[PATCH v8 09/20] gpiolib: cdev: support edge detection for uAPI v2

2020-09-09 Thread Kent Gibson
Add support for edge detection to lines requested using GPIO_V2_GET_LINE_IOCTL. The edge_detector implementation is based on the v1 lineevent implementation. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 262 drivers/gpio/gpiolib.c | 2

[PATCH v8 11/20] gpiolib: cdev: support GPIO_V2_LINE_SET_VALUES_IOCTL

2020-09-09 Thread Kent Gibson
Add support for the GPIO_V2_LINE_SET_VALUES_IOCTL. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 61 + 1 file changed, 61 insertions(+) diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index b6da92d9dba1..12d5c6543c15

[PATCH v8 14/20] tools: gpio: port lsgpio to v2 uAPI

2020-09-09 Thread Kent Gibson
Port the lsgpio tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/lsgpio.c | 60 - 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c index b08d7a5e779b..deda38244026 100644

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Uwe Kleine-König
On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wrote: > > > > The gpio-siox driver uses handle_nested_irq() to implement its > > interrupt support. This is only capable of handling threaded irq > > actions. For a hardirq action

[PATCH v8 15/20] tools: gpio: port gpio-watch to v2 uAPI

2020-09-09 Thread Kent Gibson
Port the gpio-watch tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-watch.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/gpio/gpio-watch.c b/tools/gpio/gpio-watch.c index 5cea24fddfa7..6f048350a27e 100644 ---

Re: [RFC PATCH v8 1/3] docs: scheduler: Restructure scheduler documentation.

2020-09-09 Thread Lukas Bulwahn
On Wed, 2 Sep 2020, John Mathew wrote: > Add new sections to enable addition of new documentation on > the scheduler. Existing documentation is moved under the related > new sections. The sections are > - overview > - sched-features > - arch-specific.rst > - sched-debugging.rst > >

[PATCH v8 16/20] tools: gpio: rename nlines to num_lines

2020-09-09 Thread Kent Gibson
Rename nlines to num_lines to be consistent with other usage for fields describing the number of entries in an array. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 26 +- tools/gpio/gpio-utils.c | 20 ++-- tools/gpio/gpio-utils.h | 6 +++---

[PATCH v8 18/20] tools: gpio: port gpio-event-mon to v2 uAPI

2020-09-09 Thread Kent Gibson
Port the gpio-event-mon tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 91 +++-- 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index

[PATCH V3] scripts: coccicheck: Do not use shift command when rule is specified

2020-09-09 Thread Sumera Priyadarsini
The command "make coccicheck C=1 CHECK=scripts/coccicheck" results in the error: ./scripts/coccicheck: line 65: -1: shift count out of range This happens because every time the C variable is specified, the shell arguments need to be "shifted" in order to take only the last argument, which

[PATCH v8 12/20] gpiolib: cdev: support setting debounce

2020-09-09 Thread Kent Gibson
Add support for setting debounce on a line via the GPIO uAPI. Where debounce is not supported by hardware, a software debounce is provided. The implementation of the software debouncer waits for the line to be stable for the debounce period before determining if a level change, and a

[PATCH v8 20/20] tools: gpio: add debounce support to gpio-event-mon

2020-09-09 Thread Kent Gibson
Add support for debouncing monitored lines to gpio-event-mon. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index

[PATCH v8 13/20] gpio: uapi: document uAPI v1 as deprecated

2020-09-09 Thread Kent Gibson
Update uAPI documentation to deprecate v1 structs and ioctls. Signed-off-by: Kent Gibson --- include/uapi/linux/gpio.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h index 87074886e73d..8f768c66fa96 100644

[PATCH v8 19/20] tools: gpio: add multi-line monitoring to gpio-event-mon

2020-09-09 Thread Kent Gibson
Extend gpio-event-mon to support monitoring multiple lines. This would require multiple lineevent requests to implement using uAPI v1, but can be performed with a single line request using uAPI v2. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 45

[PATCH v8 17/20] tools: gpio: port gpio-hammer to v2 uAPI

2020-09-09 Thread Kent Gibson
Port the gpio-hammer tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 32 +--- tools/gpio/gpio-utils.c | 164 --- tools/gpio/gpio-utils.h | 46 ++- 3 files changed, 197 insertions(+), 45 deletions(-)

<    4   5   6   7   8   9   10   11   12   13   >