Re: Linux 5.12-rc4

2021-03-22 Thread Guenter Roeck
On Sun, Mar 21, 2021 at 03:34:58PM -0700, Linus Torvalds wrote: > Very much an average rc4, possibly just a tad on the smaller side of average. > > Nothing here particularly stands out. The diffstat looks a bit more > spread out than it perhaps normally would do, because of the removal > of the

Re: [PATCH 1/2] clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue

2021-03-22 Thread Daniel Lezcano
On 22/03/2021 17:33, Tony Lindgren wrote: > Hi, > > * Daniel Lezcano [210322 15:56]: >> On 04/03/2021 08:37, Tony Lindgren wrote: >>> There is a timer wrap issue on dra7 for the ARM architected timer. >>> In a typical clock configuration the timer fails to wrap after 388 days. >>> >>> To work

RE: symlinkat() behavior with NFS depends on dentry being on cache or not

2021-03-22 Thread Diego Santa Cruz
> -Original Message- > From: Diego Santa Cruz > Sent: 02 March 2021 10:02 > To: 'Trond Myklebust' ; > 'anna.schuma...@netapp.com' > Cc: 'linux-...@vger.kernel.org' ; 'linux- > ker...@vger.kernel.org' > Subject: symlinkat() behavior with NFS depends on dentry being on cache or > not > >

Re: [PATCH 02/11] staging: rtl8723bs: moved function prototypes out of core/rtw_efuse.c

2021-03-22 Thread Fabio Aiuto
On Mon, Mar 22, 2021 at 05:07:53PM +0100, Greg KH wrote: > On Mon, Mar 22, 2021 at 03:31:40PM +0100, Fabio Aiuto wrote: > > fix the following checkpatch issues: > > > > WARNING: externs should be avoided in .c files > > 35: FILE: drivers/staging/rtl8723bs/core/rtw_efuse.c:35: > > +bool > > > >

[PATCH] of: overlay: fix for_each_child.cocci warnings

2021-03-22 Thread Julia Lawall
From: kernel test robot Function "for_each_child_of_node" should have of_node_put() before goto. Generated by: scripts/coccinelle/iterators/for_each_child.cocci Fixes: 82c2d81361ec ("coccinelle: iterators: Add for_each_child.cocci script") CC: Sumera Priyadarsini Reported-by: kernel test

Re: [PATCH v3 07/10] pinctrl: Ingenic: Add pinctrl driver for JZ4750.

2021-03-22 Thread Paul Cercueil
Le mer. 17 mars 2021 à 17:58, 周琰杰 (Zhou Yanjie) a écrit : Add support for probing the pinctrl-ingenic driver on the JZ4750 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v3: New patch. drivers/pinctrl/pinctrl-ingenic.c | 137

[RFC PATCH 4/4] mtd: core: add OTP nvmem provider support

2021-03-22 Thread Michael Walle
Flash OTP regions can already be read via user space. Some boards have their serial number or MAC addresses stored in the OTP regions. Add support for them being a (read-only) nvmem provider. The API to read the OTP data is already in place. It distinguishes between factory and user OTP, thus

[RFC PATCH 3/4] dt-bindings: mtd: add OTP bindings

2021-03-22 Thread Michael Walle
Flash devices can have one-time-programmable regions. Add a nvmem binding so they can be used as a nvmem provider. Signed-off-by: Michael Walle --- .../devicetree/bindings/mtd/mtd.yaml | 71 +++ 1 file changed, 71 insertions(+) diff --git

[RFC PATCH 0/4] mtd: core: OTP nvmem provider support

2021-03-22 Thread Michael Walle
The goal is to fetch a (base) MAC address from the OTP region of a SPI NOR flash. This is the first part, where I try to add the nvmem provider support to the MTD core. I'm not sure about the device tree bindings. Consider the following two variants: (1) flash@0 { .. otp {

[RFC PATCH 2/4] dt-bindings: mtd: add YAML schema for the generic MTD bindings

2021-03-22 Thread Michael Walle
Convert MTD's common.txt to mtd.yaml. Signed-off-by: Michael Walle --- Btw, I've asked Miquel if I can add it as the maintainer. .../devicetree/bindings/mtd/common.txt| 16 +--- .../devicetree/bindings/mtd/mtd.yaml | 39 +++ 2 files changed, 40

[RFC PATCH 1/4] nvmem: core: allow specifying of_node

2021-03-22 Thread Michael Walle
Until now, the of_node of the parent device is used. Some devices provide more than just the nvmem provider. To avoid name space clashes, add a way to allow specifying the nvmem cells in subnodes. Consider the following example: flash@0 { compatible = "jedec,spi-nor";

Re: [PATCH] PCI:tegra:Correct typo for PCIe endpoint mode in Tegra194

2021-03-22 Thread Lorenzo Pieralisi
On Thu, 31 Dec 2020 11:25:39 +0800, Wesley Sheng wrote: > In config PCIE_TEGRA194_EP the mode incorrectly referred to > host mode. Applied to pci/tegra, thanks! [1/1] PCI: tegra: Fix typo for PCIe endpoint mode in Tegra194 https://git.kernel.org/lpieralisi/pci/c/10739e2a5e Thanks, Lorenzo

Re: [PATCH 05/11] staging: rtl8723bs: remove argument in recv_indicatepkts_pkt_loss_cnt

2021-03-22 Thread Fabio Aiuto
On Mon, Mar 22, 2021 at 05:11:13PM +0100, Greg KH wrote: > On Mon, Mar 22, 2021 at 03:31:43PM +0100, Fabio Aiuto wrote: > > remove debug_priv argument so function prototype can be > > easily moved away > > > > Signed-off-by: Fabio Aiuto > > --- > > drivers/staging/rtl8723bs/core/rtw_recv.c | 11

Re: [PATCH] kgdb: fix gcc-11 warning on indentation

2021-03-22 Thread Arnd Bergmann
On Mon, Mar 22, 2021 at 6:07 PM Doug Anderson wrote: > On Mon, Mar 22, 2021 at 9:43 AM Arnd Bergmann wrote: > > > > -#define v1printk(a...) do { \ > > - if (verbose) \ > > - printk(KERN_INFO a); \ > > - } while (0) > > -#define v2printk(a...) do { \ > > - if

Re: [PATCH v6 2/5] drm: rockchip: add sound support to rk3066 hdmi driver

2021-03-22 Thread Johan Jonker
ping On 12/6/20 2:33 PM, Johan Jonker wrote: > From: Zheng Yang > > Add sound support to the rk3066 HDMI driver. > > The I2S input of the HDMI TX allows transmission of > DVD-Audio and decoded Dolby Digital > to A/V Receivers and high-end displays. > The interface supports 2 to 8 channels

Re: [PATCH v3 06/10] pinctrl: Ingenic: Add pinctrl driver for JZ4730.

2021-03-22 Thread Paul Cercueil
Le mer. 17 mars 2021 à 17:58, 周琰杰 (Zhou Yanjie) a écrit : Add support for probing the pinctrl-ingenic driver on the JZ4730 SoC from Ingenic. This driver is derived from Paul Boddie. It is worth to noting that the JZ4730 SoC is special in having two control registers (upper/lower), so add

Re: [PATCH v5 1/7] mm: memcontrol: slab: fix obtain a reference to a freeing memcg

2021-03-22 Thread Roman Gushchin
On Sat, Mar 20, 2021 at 12:38:14AM +0800, Muchun Song wrote: > The rcu_read_lock/unlock only can guarantee that the memcg will not be > freed, but it cannot guarantee the success of css_get (which is in the > refill_stock when cached memcg changed) to memcg. > > rcu_read_lock() > memcg =

Re: [PATCH 2/3] dt-bindings: iommu: add DART iommu bindings

2021-03-22 Thread Sven Peter
Hi Rob, On Mon, Mar 22, 2021, at 01:15, Rob Herring wrote: > > This check can fail if there are any dependencies. The base for a patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-22 Thread Borislav Petkov
On Fri, Mar 19, 2021 at 08:22:19PM +1300, Kai Huang wrote: > +/** > + * sgx_encl_free_epc_page - free EPC page assigned to an enclave > + * @page:EPC page to be freed > + * > + * Free EPC page assigned to an enclave. It does EREMOVE for the page, and > + * only upon success, it puts the page

Re: [PATCH v5 6/7] mm: memcontrol: inline __memcg_kmem_{un}charge() into obj_cgroup_{un}charge_pages()

2021-03-22 Thread Roman Gushchin
On Sat, Mar 20, 2021 at 12:38:19AM +0800, Muchun Song wrote: > There is only one user of __memcg_kmem_charge(), so manually inline > __memcg_kmem_charge() to obj_cgroup_charge_pages(). Similarly manually > inline __memcg_kmem_uncharge() into obj_cgroup_uncharge_pages() and > call

Re: [PATCH v5 5/7] mm: memcontrol: use obj_cgroup APIs to charge kmem pages

2021-03-22 Thread Roman Gushchin
On Sat, Mar 20, 2021 at 12:38:18AM +0800, Muchun Song wrote: > Since Roman series "The new cgroup slab memory controller" applied. All > slab objects are charged via the new APIs of obj_cgroup. The new APIs > introduce a struct obj_cgroup to charge slab objects. It prevents > long-living objects

Re: [RFC PATCH 7/8] hugetlb: add update_and_free_page_no_sleep for irq context

2021-03-22 Thread Roman Gushchin
On Mon, Mar 22, 2021 at 10:42:23AM -0700, Mike Kravetz wrote: > Cc: Roman, Christoph > > On 3/22/21 1:41 AM, Peter Zijlstra wrote: > > On Fri, Mar 19, 2021 at 03:42:08PM -0700, Mike Kravetz wrote: > >> The locks acquired in free_huge_page are irq safe. However, in certain > >> circumstances the

Re: [PATCH] PCI: dwc: Move forward the iATU detection process

2021-03-22 Thread Bjorn Helgaas
On Mon, Jan 25, 2021 at 12:48:03PM +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > In the dw_pcie_ep_init(), it depends on the detected iATU region > numbers to allocate the in/outbound window management bit map. > It fails after the commit 281f1f99cf3a ("PCI: dwc: Detect number > of iATU

Re: [PATCH] of/fdt: Make sure no-map does not remove already reserved regions

2021-03-22 Thread Jan Kiszka
On 22.03.21 08:58, Jan Kiszka wrote: > On 03.07.19 07:08, Nicolas Boichat wrote: >> If the device tree is incorrectly configured, and attempts to >> define a "no-map" reserved memory that overlaps with the kernel >> data/code, the kernel would crash quickly after boot, with no >> obvious clue

Re: [PATCH] PCI: dwc: Move forward the iATU detection process

2021-03-22 Thread Lorenzo Pieralisi
On Mon, Mar 22, 2021 at 06:03:57PM +, Lorenzo Pieralisi wrote: > On Mon, 25 Jan 2021 12:48:03 +0800, Zhiqiang Hou wrote: > > In the dw_pcie_ep_init(), it depends on the detected iATU region > > numbers to allocate the in/outbound window management bit map. > > It fails after the commit

Re: [PATCH linux-next tag: next-20210322] ARM: aspeed: Add CPU hotplug callbacks for kexec support

2021-03-22 Thread Bruce Mitchell
On 3/22/2021 09:40, Bruce Mitchell wrote: On 3/22/2021 08:57, Bruce Mitchell wrote: These callbacks are required for kexec to function. The AST2600 does not expose any controls for powering down it's CPU cores, so we borrow the approach taken from socfpga and wait in the idle loop. Author:

Re: [PATCH] PCI: dwc: Move forward the iATU detection process

2021-03-22 Thread Lorenzo Pieralisi
On Mon, 25 Jan 2021 12:48:03 +0800, Zhiqiang Hou wrote: > In the dw_pcie_ep_init(), it depends on the detected iATU region > numbers to allocate the in/outbound window management bit map. > It fails after the commit 281f1f99cf3a ("PCI: dwc: Detect number > of iATU windows"). > > So this patch

Re: [PATCH] kgdb: fix gcc-11 warning on indentation

2021-03-22 Thread Arnd Bergmann
On Mon, Mar 22, 2021 at 6:03 PM Daniel Thompson wrote: > > > Acked-by: Daniel Thompson > > Which tree do you want to merge this one though? I've got nothing else > pending for this file so I am very relaxed about the route... I don't plan to merge any of the build fixes through my own tree. If

Re: [PATCH rdma-next 0/2] Spring cleanup

2021-03-22 Thread Adit Ranadive
On 3/22/21 7:12 AM, Leon Romanovsky wrote: > On Mon, Mar 22, 2021 at 10:00:12AM -0300, Jason Gunthorpe wrote: >> On Sun, Mar 14, 2021 at 03:39:06PM +0200, Leon Romanovsky wrote: >>> From: Leon Romanovsky >>> >>> Bunch of cleanup in RDMA subsystem. >>> >>> Leon Romanovsky (2): >>> RDMA: Fix

Re: linux-next: manual merge of the akpm tree with the arm64 tree

2021-03-22 Thread Catalin Marinas
On Mon, Mar 22, 2021 at 05:40:23PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm tree got a conflict in: > > arch/arm64/mm/mmu.c > > between commit: > > 87143f404f33 ("arm64: mm: use XN table mapping attributes for the linear > region") > > from the

Re: [PATCH 2/2] integrity: double check iint_cache was initialized

2021-03-22 Thread Mimi Zohar
On Mon, 2021-03-22 at 09:52 -0700, Eric Biggers wrote: > On Mon, Mar 22, 2021 at 11:42:07AM -0400, Mimi Zohar wrote: > > > > Reported-by: Dmitry Vyukov > > Fixes: 79f7865d844c ("LSM: Introduce "lsm=" for boottime LSM selection") > > Signed-off-by: Mimi Zohar > > Missing Cc stable? Yes, I was

Re: [PATCH 1/2] ima: don't access a file's integrity status before an IMA policy is loaded

2021-03-22 Thread Mimi Zohar
On Mon, 2021-03-22 at 09:51 -0700, Eric Biggers wrote: > On Mon, Mar 22, 2021 at 11:42:06AM -0400, Mimi Zohar wrote: > > Only after an IMA policy is loaded, check, save, or update the cached > > file's integrity status. > > > > Signed-off-by: Mimi Zohar > > This commit message doesn't describe

Re: [PATCH next v1 2/3] printk: remove safe buffers

2021-03-22 Thread Petr Mladek
On Mon 2021-03-22 12:16:15, John Ogness wrote: > On 2021-03-21, Sergey Senozhatsky wrote: > >> @@ -369,7 +70,10 @@ __printf(1, 0) int vprintk_func(const char *fmt, > >> va_list args) > >> * Use the main logbuf even in NMI. But avoid calling console > >> * drivers that might have their

Re: [PATCH 5.4 00/60] 5.4.108-rc1 review

2021-03-22 Thread Florian Fainelli
On 3/22/2021 5:27 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.108 release. > There are 60 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v3 05/10] dt-bindings: pinctrl: Add bindings for new Ingenic SoCs.

2021-03-22 Thread Paul Cercueil
Le mer. 17 mars 2021 à 17:57, 周琰杰 (Zhou Yanjie) a écrit : Add the pinctrl bindings for the JZ4730 SoC, the JZ4750 SoC, the JZ4755 SoC, the JZ4775 SoC and the X2000 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v2: New patch. v2->v3: No change.

Re: [PATCH] [v2] audit: avoid -Wempty-body warning

2021-03-22 Thread Richard Guy Briggs
On 2021-03-22 17:27, Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc warns about an empty statement when audit_remove_mark is defined to > nothing: > > kernel/auditfilter.c: In function 'audit_data_to_entry': > kernel/auditfilter.c:609:51: error: suggest braces around empty body in an >

Re: [PATCH 2/6] sched: tagging interface for core scheduling

2021-03-22 Thread Chris Hyser
On 3/20/21 11:46 AM, Peter Zijlstra wrote: On Fri, Mar 19, 2021 at 04:32:49PM -0400, Joel Fernandes (Google) wrote: From: Josh Don Adds per-task and per-cgroup interfaces for specifying which tasks can co-execute on adjacent SMT hyperthreads via core scheduling. The per-task interface hooks

Re: [PATCH v5 00/27] Memory Folios

2021-03-22 Thread Johannes Weiner
On Sat, Mar 20, 2021 at 05:40:37AM +, Matthew Wilcox (Oracle) wrote: > Managing memory in 4KiB pages is a serious overhead. Many benchmarks > exist which show the benefits of a larger "page size". As an example, > an earlier iteration of this idea which used compound pages got a 7% >

Re: [PATCH 1/2] mmc: block: Issue flush only if allowed

2021-03-22 Thread Adrian Hunter
On 22/03/21 3:36 pm, Avri Altman wrote: > The cache may be flushed to the nonvolatile storage by writing to > FLUSH_CACHE byte (EXT_CSD byte [32]). When in command queueing mode, the > cache may be flushed by issuing a CMDQ_TASK_ DEV_MGMT (CMD48) with a > FLUSH_CACHE op-code. Either way, verify

Re: [PATCH v3 02/10] pinctrl: Ingenic: Add support for read the pin configuration of X1830.

2021-03-22 Thread Paul Cercueil
Le mer. 17 mars 2021 à 17:57, 周琰杰 (Zhou Yanjie) a écrit : Add X1830 support in "ingenic_pinconf_get()", so that it can read the configuration of X1830 SoC correctly. Fixes: d7da2a1e4e08 ("pinctrl: Ingenic: Add pinctrl driver for X1830.") Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes:

Re: [PATCH] audit: avoid -Wempty-body warning

2021-03-22 Thread Richard Guy Briggs
On 2021-03-22 17:28, Arnd Bergmann wrote: > On Mon, Mar 22, 2021 at 3:33 PM Richard Guy Briggs wrote: > > > Change the macros to use the usual "do { } while (0)" instead, and change > > > a > > > few more that were (void)0, for consistency. > > > > So what about audit_put_watch() and

Re: [Ksummit-discuss] RFC: create mailing list "linux-issues" focussed on issues/bugs and regressions

2021-03-22 Thread James Bottomley
On Mon, 2021-03-22 at 13:16 -0400, Konstantin Ryabitsev wrote: > On Mon, Mar 22, 2021 at 04:18:14PM +0100, Thorsten Leemhuis wrote: > > Note, there is a second reason why ksummit-discuss is CCed: another > > reason why I want to create this new list is making it easier to > > find and track

Re: [PATCH 0/3] iommu/iova: Add CPU hotplug handler to flush rcaches to core code

2021-03-22 Thread John Garry
On 01/03/2021 12:12, John Garry wrote: The Intel IOMMU driver supports flushing the per-CPU rcaches when a CPU is offlined. Let's move it to core code, so everyone can take advantage. Also correct a code comment. Based on v5.12-rc1. Tested on arm64 only. Hi guys, Friendly reminder ...

[PATCH v2 2/3] KVM: arm64: Generate final CTR_EL0 value when running in Protected mode

2021-03-22 Thread Marc Zyngier
In protected mode, late CPUs are not allowed to boot (enforced by the PSCI relay). We can thus specialise the read_ctr macro to always return a pre-computed, sanitised value. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/assembler.h | 9 + arch/arm64/kernel/image-vars.h | 1

[PATCH v2 0/3] KVM:arm64: Proposed host stage-2 improvements

2021-03-22 Thread Marc Zyngier
[apologies for the noise: this is the real thing, please ignore the previous posting... :-(] Hi all, Since Quentin's series is pretty close to final, I though that instead of asking for additional rework, I'd have a go at it myself. These patches try to bring some simplifications to the

[PATCH v2 3/3] KVM: arm64: Drop the CPU_FTR_REG_HYP_COPY infrastructure

2021-03-22 Thread Marc Zyngier
Now that the read_ctr macro has been specialised for nVHE, the whole CPU_FTR_REG_HYP_COPY infrastrcture looks completely overengineered. Simplify it by populating the two u64 quantities (MMFR0 and 1) that the hypervisor need. Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/cpufeature.h

[PATCH v2 1/3] KVM: arm64: Constraint KVM's own __flush_dcache_area to protectected mode

2021-03-22 Thread Marc Zyngier
As we are about to specialise KVM's version of __flush_dcache_area via a hack on the read_ctr macro, make sure that we won't ever use KVM's copy of __flush_dcache_area(), as things would otherwise break for late arriving CPUs. Signed-off-by: Marc Zyngier --- arch/arm64/kvm/hyp/nvhe/cache.S | 4

Re: [PATCH] mtd: require write permissions for locking and badblock ioctls

2021-03-22 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Rafał Miłecki" > An: "Michael Walle" , "linux-mtd" > , "linux-kernel" > > CC: "Miquel Raynal" , "richard" , > "Vignesh Raghavendra" , > "Greg Kroah-Hartman" > Gesendet: Montag, 22. März 2021 17:39:41 > Betreff: Re: [PATCH] mtd: require write permissions

Re: [PATCH v2 1/4] iommu/vt-d: Enable write protect for supervisor SVM

2021-03-22 Thread Guenter Roeck
On Tue, Mar 02, 2021 at 02:13:57AM -0800, Jacob Pan wrote: > Write protect bit, when set, inhibits supervisor writes to the read-only > pages. In supervisor shared virtual addressing (SVA), where page tables > are shared between CPU and DMA, IOMMU PASID entry WPE bit should match > CR0.WP bit in

Re: [PATCH v2 0/8] Implement EBPF on powerpc32

2021-03-22 Thread Andrii Nakryiko
On Mon, Mar 22, 2021 at 9:37 AM Christophe Leroy wrote: > > This series implements extended BPF on powerpc32. For the implementation > details, see the patch before the last. > > The following operations are not implemented: > > case BPF_ALU64 | BPF_DIV | BPF_X: /* dst /= src */ >

Re: [PATCH v3 01/10] pinctrl: Ingenic: Add missing pins to the JZ4770 MAC MII group.

2021-03-22 Thread Paul Cercueil
Hi Zhou, Le mer. 17 mars 2021 à 17:57, 周琰杰 (Zhou Yanjie) a écrit : The MII group of JZ4770's MAC should have 7 pins, add missing pins to the MII group. Fixes: 5de1a73e78ed ("Pinctrl: Ingenic: Add missing parts for JZ4770 and JZ4780.") This fixes a commit that was introduced in an older

Re: [PATCH 04/17] auxdisplay: img-ascii-lcd: Add helper variable dev

2021-03-22 Thread Geert Uytterhoeven
Hi Miguel, On Mon, Mar 22, 2021 at 5:59 PM Miguel Ojeda wrote: > On Mon, Mar 22, 2021 at 3:48 PM Geert Uytterhoeven > wrote: > > + struct device *dev = >dev; > > Do we want helpers like this to be `*const` (assuming they can)? (same > for patch 12). No, e.g. the devm_*() functions need

Re: [syzbot] WARNING in io_wq_destroy

2021-03-22 Thread Jens Axboe
On 3/22/21 11:37 AM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:0d02ec6b Linux 5.12-rc4 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1739e4aad0 > kernel config:

Re: [PATCH 10/13] usb: mtu3: support ip-sleep wakeup for MT8183

2021-03-22 Thread kernel test robot
Hi Chunfeng, I love your patch! Perhaps something to improve: [auto build test WARNING on usb/usb-testing] [also build test WARNING on robh/for-next linus/master v5.12-rc4 next-20210322] [cannot apply to mediatek/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH 01/17] uapi: Add

2021-03-22 Thread Geert Uytterhoeven
Hi Miguel, On Mon, Mar 22, 2021 at 6:05 PM Miguel Ojeda wrote: > On Mon, Mar 22, 2021 at 3:48 PM Geert Uytterhoeven > wrote: > > You can find an image of the full character set at > > https://drive.google.com/file/d/1h3EYFBWHIjh8B_cwPA5ocAD-lFYipRie/view > > Should we put it in e.g. the Docs

[PATCH] userfaultfd/hugetlbfs: Fix minor fault page leak

2021-03-22 Thread Peter Xu
When uffd-minor enabled, we need to put the page cache before handling the userfault in hugetlb_no_page(), otherwise the page refcount got leaked. This can be reproduced by running userfaultfd selftest with hugetlb_shared mode, then cat /proc/meminfo. Cc: Axel Rasmussen Cc: Andrea Arcangeli

[tip:irq/core] BUILD SUCCESS a359f757965aafd0f58570de95dc6bc06cf12a9c

2021-03-22 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a004-20210322 i386 randconfig-a003-20210322 i386 randconfig-a001-20210322 i386 randconfig-a002-20210322 i386 randconfig-a006

[tip:master] BUILD SUCCESS 84ff07b87611fd30a764323e282ef70f8b132ee4

2021-03-22 Thread kernel test robot
allnoconfig i386 randconfig-a004-20210322 i386 randconfig-a003-20210322 i386 randconfig-a001-20210322 i386 randconfig-a002-20210322 i386 randconfig-a006-20210322 i386 randconfig-a005

Re: [PATCH 1/2] vfio/pci: remove vfio_pci_nvlink2

2021-03-22 Thread Alex Williamson
On Mon, 22 Mar 2021 16:01:54 +0100 Christoph Hellwig wrote: > diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h > index 8ce36c1d53ca11..db7e782419d5d9 100644 > --- a/include/uapi/linux/vfio.h > +++ b/include/uapi/linux/vfio.h > @@ -332,19 +332,6 @@ struct

Re: [RFC PATCH 7/8] hugetlb: add update_and_free_page_no_sleep for irq context

2021-03-22 Thread Mike Kravetz
Cc: Roman, Christoph On 3/22/21 1:41 AM, Peter Zijlstra wrote: > On Fri, Mar 19, 2021 at 03:42:08PM -0700, Mike Kravetz wrote: >> The locks acquired in free_huge_page are irq safe. However, in certain >> circumstances the routine update_and_free_page could sleep. Since >> free_huge_page can be

Re: linux-next: Tree for Mar 22 (net/ipa)

2021-03-22 Thread Alex Elder
On 3/22/21 12:16 PM, Randy Dunlap wrote: On 3/22/21 12:52 AM, Stephen Rothwell wrote: Hi all, Warning: Some of the branches in linux-next may still based on v5.12-rc1, so please be careful if you are trying to bisect a bug. News: if your -next included tree is based on Linus' tree tag

Re: [PATCH 2/3] KVM: arm64: Generate final CTR_EL0 value when running in Protected mode

2021-03-22 Thread Quentin Perret
Hey Marc, On Monday 22 Mar 2021 at 16:48:27 (+), Marc Zyngier wrote: > In protected mode, late CPUs are not allowed to boot (enforced by > the PSCI relay). We can thus specialise the read_ctr macro to > always return a pre-computed, sanitised value. > > Signed-off-by: Marc Zyngier > --- >

Re: [PATCH 6/6] clk: ingenic: Add support for the JZ4760

2021-03-22 Thread Paul Cercueil
Hi Zhou, Le mer. 17 mars 2021 à 20:41, Zhou Yanjie a écrit : Hi Paul, On 2021/3/7 下午10:17, Paul Cercueil wrote: Add the CGU code and the compatible string to the TCU driver to support the JZ4760 SoC. Signed-off-by: Paul Cercueil --- drivers/clk/ingenic/Kconfig| 10 +

Re: [PATCH] md: Fix missing unused status line of /proc/mdstat

2021-03-22 Thread Song Liu
On Wed, Mar 17, 2021 at 7:05 AM Jan Glauber wrote: > > Reading /proc/mdstat with a read buffer size that would not > fit the unused status line in the first read will skip this > line from the output. > > So 'dd if=/proc/mdstat bs=64 2>/dev/null' will not print something > like: unused devices:

Re: [PATCH 02/17] dt-bindings: auxdisplay: ht16k33: Document Adafruit segment displays

2021-03-22 Thread Rob Herring
On Mon, 22 Mar 2021 15:48:33 +0100, Geert Uytterhoeven wrote: > The Holtek HT16K33 LED controller is not only used for driving > dot-matrix displays, but also for driving segment displays. > > Document compatible values for the Adafruit 7-segment[1] and > 14-segment[2] FeatherWing expansion

Re: [PATCH v2] dt-binding: leds: Document leds-multi-gpio bindings

2021-03-22 Thread Rob Herring
On Mon, 22 Mar 2021 17:18:19 +0800, Hermes Zhang wrote: > From: Hermes Zhang > > Document the device tree bindings of the multiple GPIOs LED driver > Documentation/devicetree/bindings/leds/leds-multi-gpio.yaml. > > Signed-off-by: Hermes Zhang > --- > > Notes: > Fix typo and missing item >

[syzbot] WARNING in io_wq_destroy

2021-03-22 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:0d02ec6b Linux 5.12-rc4 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1739e4aad0 kernel config: https://syzkaller.appspot.com/x/.config?x=5adab0bdee099d7a dashboard link:

Re: [PATCH v7 2/3] devicetree: nvmem: nvmem: drop $nodename restriction

2021-03-22 Thread Rob Herring
On Fri, 12 Mar 2021 07:28:20 +0100, Ansuel Smith wrote: > Drop $nodename restriction as now mtd partition can also be used as > nvmem provider. > > Signed-off-by: Ansuel Smith > --- > Documentation/devicetree/bindings/nvmem/nvmem.yaml | 3 --- > 1 file changed, 3 deletions(-) > Reviewed-by:

Re: [PATCH 3/3] static_call: Fix static_call_update() sanity check

2021-03-22 Thread Jessica Yu
+++ Peter Zijlstra [22/03/21 17:54 +0100]: On Mon, Mar 22, 2021 at 03:50:14PM +0100, Jessica Yu wrote: It should be doable. If you want the exit sections to be treated the same as module init, the following patch should stuff any exit sections into the module init "region" (completely

Re: [PATCH v1 2/3] dt-bindings: riscv: convert plic bindings to json-schema

2021-03-22 Thread Rob Herring
On Mon, Mar 22, 2021 at 9:38 AM Geert Uytterhoeven wrote: > > Hi Sagar, Rob, > > (replying to an old email, as this one seems to be the most appropriate) > > On Tue, Sep 22, 2020 at 10:34 PM Rob Herring wrote: > > On Thu, Sep 10, 2020 at 04:14:03PM +0530, Sagar Kadam wrote: > > > Convert device

Re: [PATCH] arm64: dts: qcom: sc7280: Add PMIC peripherals for SC7280

2021-03-22 Thread Matthias Kaehlcke
Hi Satya, On Mon, Mar 22, 2021 at 06:50:47PM +0530, ska...@codeaurora.org wrote: > Hi Matthias, > > On 2021-03-13 02:10, Matthias Kaehlcke wrote: > > Hi Satya, > > > > On Thu, Mar 11, 2021 at 04:10:29PM +0530, satya priya wrote: > > > Add PM7325/PM8350C/PMK8350/PMR735A peripherals such as PON,

Re: [PATCH V5 1/2] backlight: qcom-wled: Fix FSC update issue for WLED5

2021-03-22 Thread Lee Jones
On Thu, 18 Mar 2021, Kiran Gunda wrote: > Currently, for WLED5, the FSC (Full scale current) setting is not > updated properly due to driver toggling the wrong register after > an FSC update. > > On WLED5 we should only toggle the MOD_SYNC bit after a brightness > update. For an FSC update we

[PATCH v6] add support for pci in the pvpanic driver

2021-03-22 Thread Mihai Carabas
This patchset adds support for PCI in the pvpanic driver. The device already got in qemu [1]. v2: - mmio -> MMIO, pci -> PCI suggested by Randy Dunlap. - group pvpanic-common.c and mmio.c in the same module. The intention was to have only one module and the common code splitted up to be re-used

[PATCH v6 1/3] misc/pvpanic: split-up generic and platform dependent code

2021-03-22 Thread Mihai Carabas
Split-up generic and platform dependent code in order to be able to re-use generic event handling code in pvpanic PCI device driver in the next patches. The code from pvpanic.c was split in two new files: - pvpanic.c: generic code that handles pvpanic events - pvpanic-mmio.c: platform/bus

[PATCH v6 2/3] misc/pvpanic: probe multiple instances

2021-03-22 Thread Mihai Carabas
Create the mecahism that allows multiple pvpanic instances to call pvpanic_probe and receive panic events. A global list will retain all the mapped addresses where to write panic events. Signed-off-by: Mihai Carabas --- drivers/misc/pvpanic/pvpanic-mmio.c | 41 -

[PATCH v6 3/3] misc/pvpanic: add PCI driver

2021-03-22 Thread Mihai Carabas
Add support for pvpanic PCI device added in qemu [1]. At probe time, obtain the address where to read/write pvpanic events and pass it to the generic handling code. Will follow the same logic as pvpanic MMIO device driver. At remove time, unmap base address and disable PCI device. [1]

[PATCH v5 4/4] arm64: dts: qcom: sc7180: Add wakeup-source property for USB node in IDP and trogdor

2021-03-22 Thread Sandeep Maheswaram
Adding wakeup-source property for USB controller in SC7180 IDP and trogdor boards. Signed-off-by: Sandeep Maheswaram Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180-idp.dts | 1 + arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 1 + 2 files

[PATCH v5 0/4] USB DWC3 host wake up support from system suspend

2021-03-22 Thread Sandeep Maheswaram
Avoiding phy powerdown in host mode when wakeup capable devices are connected, so that it can be wake up by devices. Set GENPD_FLAG_ACTIVE_WAKEUP flag to keep usb30_prim gdsc active when wakeup capable devices are connected to the host. Changes in v5: Added phy_power_off flag to check presence

[PATCH v5 1/4] usb: dwc3: core: Host wake up support from system suspend

2021-03-22 Thread Sandeep Maheswaram
Avoiding phy powerdown when wakeup capable devices are connected. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 94fdbe5..9ecd7ac 100644 ---

[PATCH v5 2/4] usb: dwc3: host: Add suspend_quirk for dwc3 host

2021-03-22 Thread Sandeep Maheswaram
Adding suspend quirk function for dwc3 host which will be called during xhci suspend. Setting hs_phy_mode, ss_phy_mode , phy_power_off flags and phy mode during host suspend. Signed-off-by: Sandeep Maheswaram --- drivers/usb/dwc3/core.h | 3 +++ drivers/usb/dwc3/host.c | 58

[PATCH v5 3/4] usb: dwc3: qcom: Configure wakeup interrupts and set genpd active wakeup flag

2021-03-22 Thread Sandeep Maheswaram
Configure interrupts based on hs_phy_mode to avoid triggering of interrupts during system suspend and suspends successfully. Set genpd active wakeup flag for usb gdsc if wakeup capable devices are connected so that wake up happens without reenumeration. Add helper functions to enable,disable wake

Re: [PATCH v4 15/19] dts: bindings: Document device tree bindings for ETE

2021-03-22 Thread Rob Herring
On Mon, Mar 22, 2021 at 10:53 AM Suzuki K Poulose wrote: > > Hi Rob > > On 06/03/2021 21:06, Rob Herring wrote: > > On Thu, Feb 25, 2021 at 07:35:39PM +, Suzuki K Poulose wrote: > >> Document the device tree bindings for Embedded Trace Extensions. > >> ETE can be connected to legacy coresight

Re: [PATCH v23 14/28] x86/mm: Shadow Stack page fault error checking

2021-03-22 Thread Yu, Yu-cheng
On 3/22/2021 3:38 AM, Kirill A. Shutemov wrote: On Tue, Mar 16, 2021 at 08:10:40AM -0700, Yu-cheng Yu wrote: [...] diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index a73347e2cdfc..4316732a18c6 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -1100,6 +1100,17 @@

Re: [PATCH v2 2/2] arm64: dts: qcom: sm8350: Add thermal zones and throttling support

2021-03-22 Thread Konrad Dybcio
Hi! > + tsens0: thermal-sensor@c222000 { > + compatible = "qcom,sm8350-tsens", "qcom,tsens-v2"; > + reg = <0 0x0C263000 0 0x1ff>, /* TM */ > + <0 0x0C222000 0 0x8>; /* SROT */ Please use lowercase hex > +

Re: [syzbot] upstream boot error: WARNING in __context_tracking_enter

2021-03-22 Thread Mark Rutland
Hi Russell, On Fri, Mar 19, 2021 at 10:10:43AM +, Russell King - ARM Linux admin wrote: > On Fri, Mar 19, 2021 at 10:54:48AM +0100, Dmitry Vyukov wrote: > > .On Fri, Mar 19, 2021 at 10:44 AM syzbot > > wrote: > > > syzbot found the following issue on: > > > > > > HEAD commit:8b12a62a

[PATCH v2] arm64: dts: renesas: falcon-cpu: Add GP LEDs

2021-03-22 Thread Kieran Bingham
Three general purpose LEDs are provided on the Falcon CPU board. Connect GP_LED1, GP_LED2, and GP_LED3 to the gpio-leds frameworks as indicator LEDs. These LEDs are arranged in a block of four LEDs on the board itself, but the fourth LED is as yet unidentified. Signed-off-by: Kieran Bingham

Re: [RFC PATCH v2 net-next 16/16] net: bridge: switchdev: let drivers inform which bridge ports are offloaded

2021-03-22 Thread Vladimir Oltean
On Mon, Mar 22, 2021 at 05:30:52PM +0100, Tobias Waldekranz wrote: > > --- > > .../ethernet/freescale/dpaa2/dpaa2-switch.c | 4 +- > > .../marvell/prestera/prestera_switchdev.c | 7 ++ > > .../mellanox/mlxsw/spectrum_switchdev.c | 4 +- > > drivers/net/ethernet/mscc/ocelot_net.c

Re: [PATCH] lockdep: add a hint for "INFO: trying to register non-static key." message

2021-03-22 Thread Waiman Long
On 3/21/21 2:49 AM, Tetsuo Handa wrote: Since this message is printed when dynamically allocated spinlocks (e.g. kzalloc()) are used without initialization (e.g. spin_lock_init()), suggest developers to check whether initialization functions for objects are called, before making developers

Re: linux-next: Tree for Mar 22 (net/ipa)

2021-03-22 Thread Randy Dunlap
On 3/22/21 12:52 AM, Stephen Rothwell wrote: > Hi all, > > Warning: Some of the branches in linux-next may still based on v5.12-rc1, > so please be careful if you are trying to bisect a bug. > > News: if your -next included tree is based on Linus' tree tag > v5.12-rc1{,-dontuse} (or somewhere

Re: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support

2021-03-22 Thread Andy Shevchenko
On Mon, Mar 22, 2021 at 5:25 PM Sai Krishna Potthuri wrote: > > From: Andy Shevchenko > > Sent: Friday, March 19, 2021 3:53 PM > > On Thu, Mar 18, 2021 at 4:42 PM Sai Krishna Potthuri > > wrote: > > > > From: Andy Shevchenko > > > > Sent: Wednesday, March 17, 2021 6:26 PM On Wed, Mar 17, 2021

Re: RFC: create mailing list "linux-issues" focussed on issues/bugs and regressions

2021-03-22 Thread Konstantin Ryabitsev
On Mon, Mar 22, 2021 at 04:18:14PM +0100, Thorsten Leemhuis wrote: > Note, there is a second reason why ksummit-discuss is CCed: another > reason why I want to create this new list is making it easier to find > and track regressions reported to our various mailing lists (often > without LKML in

Re: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-22 Thread Randy Dunlap
On 3/22/21 2:38 AM, Perry Yuan wrote: > From: Perry Yuan > > diff --git a/drivers/platform/x86/dell/Kconfig > b/drivers/platform/x86/dell/Kconfig > index e0a55337f51a..0e0f1eb35bd6 100644 > --- a/drivers/platform/x86/dell/Kconfig > +++ b/drivers/platform/x86/dell/Kconfig > @@ -204,4 +204,20 @@

Re: [PATCH] fs: Improve eventpoll logging to stop indicting timerfd

2021-03-22 Thread Manish Varma
Hi Thomas, On Thu, Mar 18, 2021 at 6:04 AM Thomas Gleixner wrote: > > Manish, > > On Mon, Mar 01 2021 at 19:49, Manish Varma wrote: > > > All together, that will give us names like the following: > > > > 1) timerfd file descriptor: [timerfd14:system_server] > > 2) eventpoll top-level per-process

Re: [PATCH v5 08/24] wfx: add bus_sdio.c

2021-03-22 Thread Jérôme Pouiller
Hello Ulf, On Monday 22 March 2021 13:20:35 CET Ulf Hansson wrote: > On Mon, 15 Mar 2021 at 14:25, Jerome Pouiller > wrote: > > > > From: Jérôme Pouiller > > > > Signed-off-by: Jérôme Pouiller > > --- > > drivers/net/wireless/silabs/wfx/bus_sdio.c | 259 + > > 1 file

Re: [PATCH v4 08/28] netfs: Provide readahead and readpage netfs helpers

2021-03-22 Thread David Howells
Matthew Wilcox wrote: > > + while ((page = readahead_page(ractl))) > > + put_page(page); > > You don't need this pair of lines (unless I'm missing something). > read_pages() in mm/readahead.c puts the reference and unlocks any > pages which are not read by the readahead op. Indeed,

Re: [RFC PATCH v2 net-next 09/16] net: dsa: replay port and local fdb entries when joining the bridge

2021-03-22 Thread Vladimir Oltean
On Mon, Mar 22, 2021 at 06:07:51PM +0100, Tobias Waldekranz wrote: > On Mon, Mar 22, 2021 at 18:19, Vladimir Oltean wrote: > > On Mon, Mar 22, 2021 at 04:44:41PM +0100, Tobias Waldekranz wrote: > >> I do not know if it is a problem or not, more of an observation: This is > >> not guaranteed to be

Re: [PATCH] bluetooth: fix set_ecdh_privkey() prototype

2021-03-22 Thread Marcel Holtmann
Hi Arnd, > gcc-11 points out that the declaration does not match the definition: > > net/bluetooth/ecdh_helper.c:122:55: error: argument 2 of type ‘const u8[32]’ > {aka ‘const unsigned char[32]’} with mismatched bound > [-Werror=array-parameter=] > 122 | int set_ecdh_privkey(struct crypto_kpp

[PATCH v2] ntfs: fix incorrect kernel-doc comment syntax in files

2021-03-22 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. There are certain files in fs/ntfs which follow this syntax, but the content inside does not comply with kernel-doc. Such lines were probably not meant for kernel-doc parsing, but are parsed due to the

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-22 Thread Alex Williamson
On Sun, 21 Mar 2021 10:40:55 +0200 Leon Romanovsky wrote: > On Sat, Mar 20, 2021 at 08:59:42AM -0600, Alex Williamson wrote: > > On Sat, 20 Mar 2021 11:10:08 +0200 > > Leon Romanovsky wrote: > > > On Fri, Mar 19, 2021 at 10:23:13AM -0600, Alex Williamson wrote: > > > > > > > > What if we

Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig

2021-03-22 Thread Cye Borg
PWS 500au: snow / # lspci -vvx -s 7.1 00:07.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [ISA Compatibility mode-only controller, supports bus mastering]) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx- Status: Cap-

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