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

2020-10-05 Thread Lee Jones
On Mon, 05 Oct 2020, 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. Acked-by: Lee Jon

Re: [PATCH v2] srcu: avoid escaped section names

2020-10-05 Thread Nathan Chancellor
On Mon, Oct 05, 2020 at 11:49:10AM -0700, Paul E. McKenney wrote: > On Mon, Oct 05, 2020 at 08:38:42PM +0200, Sedat Dilek wrote: > > On Mon, Oct 5, 2020 at 8:29 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > On Fri, Oct 2, 2020 at 1:51 PM Paul E. McKenney > > > wrote: > > > >

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

2020-10-05 Thread Lee Jones
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 attempting to clean-up W=1 > >>

Re: [RFC PATCH 0/1] overlayfs: C/R enhancments (RFC)

2020-10-05 Thread Amir Goldstein
On Mon, Oct 5, 2020 at 10:47 PM Alexander Mikhalitsyn wrote: > > Hi Amir, > > On Mon, 5 Oct 2020 10:56:50 +0300 > Amir Goldstein wrote: > > > On Sun, Oct 4, 2020 at 10:25 PM Alexander Mikhalitsyn > > wrote: > > > > > > Some time ago we discussed about the problem of Checkpoint-Restoring > > > ov

Re: [PATCH] mfd: kempld-core: Mark kempld-acpi_table as __maybe_unused

2020-10-05 Thread Lee Jones
On Mon, 05 Oct 2020, Michael Brunner wrote: > On Fri, 2020-10-02 at 08:01 +0100, Lee Jones wrote: > > On Thu, 01 Oct 2020, Michael Brunner wrote: > > > > > The Intel 0-DAY CI Kernel Test Service reports an unused variable > > > warning when compiling with clang for PowerPC: > > > > > > > > drive

Re: [PATCH 00/12] soc: mediatek: pm-domains: Add new driver for SCPSYS power domains controller

2020-10-05 Thread Weiyi Lu
On Fri, 2020-09-25 at 16:04 +0200, Matthias Brugger wrote: > > On 25/09/2020 12:06, Weiyi Lu wrote: > > On Thu, 2020-09-10 at 19:28 +0200, Enric Balletbo i Serra wrote: > >> Dear all, > >> > >> This is a new driver with the aim to deprecate the mtk-scpsys driver. > >> The problem with that driver

RE: [PATCH 1/2] perf stat: Fix segfault when counting armv8_pmu events

2020-10-05 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Jiri Olsa [mailto:jo...@redhat.com] > Sent: Friday, October 2, 2020 10:00 PM > To: Namhyung Kim ; liwei (GF) > > Cc: Mark Rutland ; Andi Kleen ; > Alexander Shishkin ; Alexey Budankov > ; Adrian Hunter > ; Arnaldo Carvalho de Melo ; > linux-kernel ; Peter Zi

[PATCH v2] arm/arm64: xen: Fix to convert percpu address to gfn correctly

2020-10-05 Thread Masami Hiramatsu
Use per_cpu_ptr_to_phys() instead of virt_to_phys() for per-cpu address conversion. In xen_starting_cpu(), per-cpu xen_vcpu_info address is converted to gfn by virt_to_gfn() macro. However, since the virt_to_gfn(v) assumes the given virtual address is in linear mapped kernel memory area, it can no

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

2020-10-05 Thread Dexuan Cui
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 in the ACPI MADT table. Here only the first Local APIC entry's "Pr

Re: [PATCH V2] scsi: ufs: Add DeepSleep feature

2020-10-05 Thread Adrian Hunter
On 5/10/20 6:46 pm, Bean Huo wrote: > Hi Adrian > > thanks for submitting your patch. this patch looks fine to me. > > > do you think the new deepsleep PM level aslo should be added in > "rpm_lvl" description in Documentation/ABI/testing/sysfs-driver-ufs? Thanks for looking at this. Yes, I mis

Re: [PATCH] vdpa/mlx5: should keep avail_index despite device status

2020-10-05 Thread Eli Cohen
On Tue, Oct 06, 2020 at 02:22:15AM -0400, Michael S. Tsirkin wrote: Acked-by: Eli Cohen > On Fri, Oct 02, 2020 at 01:17:00PM -0700, Si-Wei Liu wrote: > > + Eli. > > > > On Thu, Oct 1, 2020 at 2:02 PM Si-Wei Liu wrote: > > > > > > A VM with mlx5 vDPA has below warnings while being reset: > > >

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

2020-10-05 Thread Mauro Carvalho Chehab
Em Mon, 5 Oct 2020 10:17:36 -0600 Jonathan Corbet escreveu: > On Sun, 4 Oct 2020 10:02:03 +0200 > Mauro Carvalho Chehab wrote: > > > When kernel-doc is called via kerneldoc.py, there's no need to > > auto-detect the Sphinx version, as the Sphinx module already > > knows it. So, add an optional

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

2020-10-05 Thread Luka Kovacic
On Wed, Sep 30, 2020 at 9:48 PM Pavel Machek wrote: > > Hi! > > > +static int iei_wt61p803_puzzle_led_brightness_set_blocking(struct > > led_classdev *cdev, > > + enum led_brightness brightness) > > +{ > > + struct iei_wt61p803_puzzle_led *priv = > > cdev_to_iei_wt61p803_puzzle_l

RE: [PATCH] perf evlist: fix memory corruption for Kernel PMU event

2020-10-05 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Namhyung Kim [mailto:namhy...@kernel.org] > Sent: Tuesday, October 6, 2020 2:26 PM > To: Song Bao Hua (Barry Song) > Cc: Andi Kleen ; linux-kernel@vger.kernel.org; Linuxarm > ; Peter Zijlstra ; Ingo Molnar > ; Arnaldo Carvalho de Melo ; Mark > Rutland ; Alexa

[PATCH V3] scsi: ufs: Add DeepSleep feature

2020-10-05 Thread Adrian Hunter
DeepSleep is a UFS v3.1 feature that achieves the lowest power consumption of the device, apart from power off. In DeepSleep mode, no commands are accepted, and the only way to exit is using a hardware reset or power cycle. This patch assumes that if a power cycle was an option, then power off wo

Re: [PATCH v2 0/5] PCI: dwc: improve msi handling

2020-10-05 Thread Jisheng Zhang
On Tue, 6 Oct 2020 11:56:34 +0530 Vidya Sagar wrote: > > > Hi, Hi, > I would like to verify this series along with the other series "PCI: > dwc: fix two MSI issues" on Tegra194. I tried to apply these series on > both linux-next and Lorenzo's pci/dwc branches but there seem to be non > trivial

[git pull] drm fbdev fixes for 5.9 final

2020-10-05 Thread Dave Airlie
Hi Linus, Daniel queued these up last week and I took a long weekend so didn't get them out, but fixing the OOB access on get font seems like something we should land and it's cc'ed stable as well. The other big change is a partial revert for a regression on android on the clcd fbdev driver, and o

Re: [PATCH] arm64/mm: Validate hotplug range before creating linear mapping

2020-10-05 Thread Anshuman Khandual
On 09/30/2020 01:32 PM, Anshuman Khandual wrote: > But if __is_lm_address() checks against the effective linear range instead > i.e [_PAGE_OFFSET(vabits_actual)..(PAGE_END - 1)], it can be used for hot > plug physical range check there after. Perhaps something like this, though > not tested prop

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

2020-10-05 Thread Mateusz Holenko
Hi Jonathan, thanks for your review! On Wed, Sep 23, 2020 at 1:58 PM Jonathan Cameron wrote: > > On Wed, 23 Sep 2020 12:09:06 +0200 > Mateusz Holenko wrote: > > > From: Pawel Czarnecki > > > > This commit adds driver for the FPGA-based LiteX SoC > > Controller from LiteX SoC builder. > > > > C

Re: [PATCH v7 03/12] dt-bindings: mfd: Fix schema warnings for pwm-leds

2020-10-05 Thread Alexander Dahl
Hello Jeff, Am Dienstag, 6. Oktober 2020, 04:17:29 CEST schrieb Jeff LaBundy: > Hi Alexander, > > On Mon, Oct 05, 2020 at 10:34:42PM +0200, Alexander Dahl wrote: > > The node names for devices using the pwm-leds driver follow a certain > > naming scheme (now). Parent node name is not enforced, b

[PATCH v1] Bluetooth: hci_qca: Enhance retry logic in qca_setup

2020-10-05 Thread Balakrishna Godavarthi
Currently driver only retries to download FW if FW downloading is failed. Sometimes observed command timeout for version request command, if this happen on some platforms during boot time, then a reboot is needed to turn ON BT. Instead to avoid a reboot, now extended retry logic for version request

Re: [PATCH v11 2/5] dt-bindings: soc: document LiteX SoC Controller bindings

2020-10-05 Thread Mateusz Holenko
Hi Geert, On Fri, Sep 25, 2020 at 2:48 PM Geert Uytterhoeven wrote: > > Hi Mateusz, > > On Wed, Sep 23, 2020 at 12:09 PM Mateusz Holenko > wrote: > > From: Pawel Czarnecki > > > > Add documentation for LiteX SoC Controller bindings. > > > > Signed-off-by: Pawel Czarnecki > > Signed-off-by: Ma

Re: [PATCH v3] bluetooth: hci_h5: fix memory leak in h5_close

2020-10-05 Thread Hans de Goede
Hi, On 10/6/20 4:44 AM, Anant Thazhemadam wrote: On 05-10-2020 14:48, Hans de Goede wrote: To fully fix the memleak you also need to add a kfree_skb(h5->rx_skb); call to the end of h5_serdev_remove(), because in the hu->serdev case that is where the h5 struct will be free-ed (it is free-ed afte

Re: [PATCH] arm64/mm: Validate hotplug range before creating linear mapping

2020-10-05 Thread Anshuman Khandual
On 09/30/2020 04:31 PM, Ard Biesheuvel wrote: > On Wed, 30 Sep 2020 at 10:03, Anshuman Khandual > wrote: >> >> >> On 09/29/2020 08:52 PM, Will Deacon wrote: >>> On Tue, Sep 29, 2020 at 01:34:24PM +0530, Anshuman Khandual wrote: On 09/29/2020 02:05 AM, Will Deacon wrote: > On

Re: [PATCH v2 0/5] PCI: dwc: improve msi handling

2020-10-05 Thread Vidya Sagar
Hi, I would like to verify this series along with the other series "PCI: dwc: fix two MSI issues" on Tegra194. I tried to apply these series on both linux-next and Lorenzo's pci/dwc branches but there seem to be non trivial conflicts. Could you please tell me which branch I can use and apply t

Re: [PATCH 2/2] mm/frame-vec: use FOLL_LONGTERM

2020-10-05 Thread Daniel Vetter
On Tue, Oct 6, 2020 at 1:41 AM Jason Gunthorpe wrote: > > On Tue, Oct 06, 2020 at 12:43:31AM +0200, Daniel Vetter wrote: > > > > iow I think I can outright delete the frame vector stuff. > > > > Ok this doesn't work, because dma_mmap always uses a remap_pfn_range, > > which is a VM_IO | VM_PFNMAP

Re: [PATCH] vdpa/mlx5: should keep avail_index despite device status

2020-10-05 Thread Michael S. Tsirkin
On Fri, Oct 02, 2020 at 01:17:00PM -0700, Si-Wei Liu wrote: > + Eli. > > On Thu, Oct 1, 2020 at 2:02 PM Si-Wei Liu wrote: > > > > A VM with mlx5 vDPA has below warnings while being reset: > > > > vhost VQ 0 ring restore failed: -1: Resource temporarily unavailable (11) > > vhost VQ 1 ring restore

Regards

2020-10-05 Thread Peter Joe
-- Dear, Did you receive the message i sent to you? Regards, Peter Joe

Re: [ANNOUNCE] Git v2.29.0-rc0

2020-10-05 Thread Junio C Hamano
Martin Ågren writes: > Minor comments follow. > ... > s/used // (without 'g' flag!) Thanks.

linux-next: manual merge of the tip tree with the dma-mapping tree

2020-10-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/kernel/setup.c between commit: f47e22d65d08 ("dma-mapping: split ") from the dma-mapping tree and commit: a945c8345ec0 ("static_call: Allow early init") from the tip tree. I fixed it up (see below) and can ca

Re: [PATCH v2 1/3] i2c: imx: Fix reset of I2SR_IAL flag

2020-10-05 Thread Uwe Kleine-König
On Fri, Oct 02, 2020 at 05:23:03PM +0200, Christian Eggers wrote: > According to the "VFxxx Controller Reference Manual" (and the comment > block starting at line 97), Vybrid requires writing a one for clearing > an interrupt flag. Syncing the method for clearing I2SR_IIF in > i2c_imx_isr(). > > S

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-05 Thread Josh Triplett
On Mon, Oct 05, 2020 at 10:03:13PM -0700, Josh Triplett wrote: > On Mon, Oct 05, 2020 at 11:18:34PM -0400, Theodore Y. Ts'o wrote: > > What Josh is proposing I'm pretty sure would also break "e2fsck -E > > unshare_blocks", so that's another reason not to accept this as a > > valid format change. >

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

2020-10-05 Thread Stephen Rothwell
Hi all, FIXME: Add owner of second tree to To: Add author(s)/SOB of conflicting commits. Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/arm/samsung/sysreg.yaml between commit: 18394297562a ("dt-bindings: mfd: syscon: Merge Samsun

Re: [PATCH 3/4] ubsan: Force -Wno-maybe-uninitialized only for GCC

2020-10-05 Thread Kees Cook
On Sun, Oct 04, 2020 at 12:16:14AM -0700, Nathan Chancellor wrote: > On Fri, Oct 02, 2020 at 03:15:26PM -0700, Kees Cook wrote: > > Clang handles 'maybe-uninitialized' better in the face of using UBSAN, > > so do not make this universally disabled for UBSAN builds. > > > > Signed-off-by: Kees Cook

Re: [PATCH 1/3] rtlwifi: rtl8192se: remove duplicated legacy_httxpowerdiff

2020-10-05 Thread Kalle Valo
Chris Chiu writes: > On Mon, Oct 5, 2020 at 11:01 PM Chris Chiu wrote: > > From: Chris Chiu > > The legacy_httxpowerdiff in rtl8192se is pretty much the same as > the legacy_ht_txpowerdiff for other chips. Use the same name to > keep the consistency. > > Signed-off

Re: [PATCH 1/4] ubsan: Move cc-option tests into Kconfig

2020-10-05 Thread Kees Cook
On Sun, Oct 04, 2020 at 12:08:47AM -0700, Nathan Chancellor wrote: > On Fri, Oct 02, 2020 at 03:15:24PM -0700, Kees Cook wrote: > > Instead of doing if/endif blocks with cc-option calls in the UBSAN > > Makefile, move all the tests into Kconfig and use the Makefile to > > collect the results. > >

Re: [PATCH] random32: Restore __latent_entropy attribute on net_rand_state

2020-10-05 Thread Kees Cook
On Tue, Oct 06, 2020 at 04:28:09AM +0200, Willy Tarreau wrote: > Hi Kees, > > On Mon, Oct 05, 2020 at 07:12:29PM -0700, Kees Cook wrote: > > On Fri, Oct 02, 2020 at 05:16:11PM +0200, Thibaut Sautereau wrote: > > > From: Thibaut Sautereau > > > > > > Commit f227e3ec3b5c ("random32: update the net

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

2020-10-05 Thread Naresh Kamboju
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 any issues with these being applied, please > let me know. > > Respo

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

2020-10-05 Thread Kalle Valo
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 attempting to clean-up W=1 >> kernel builds, which are currently overwhelmingly riddled

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

2020-10-05 Thread Heiner Kallweit
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, 30 Sep 2020 13:23:29 -0700 Florian Fainelli wrote: > > On 9/30/2020

[PATCH v2] net/x25: Fix null-ptr-deref in x25_connect

2020-10-05 Thread Martin Schiller
This fixes a regression for blocking connects introduced by commit 4becb7ee5b3d ("net/x25: Fix x25_neigh refcnt leak when x25 disconnect"). The x25->neighbour is already set to "NULL" by x25_disconnect() now, while a blocking connect is waiting in x25_wait_for_connection_establishment(). Therefore

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

2020-10-05 Thread Viresh Kumar
On 05-10-20, 13:38, 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-off-by: Ro

Re: linux-next: build failure after merge of the net-next tree

2020-10-05 Thread Stephen Rothwell
Hi Christoph, On Tue, 6 Oct 2020 07:13:01 +0200 Christoph Hellwig wrote: > > On Tue, Oct 06, 2020 at 02:58:47PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the net-next tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > It actually doesn't need

Re: [PATCH] perf inject: Flush ordered events on FINISHED_ROUND

2020-10-05 Thread namhyung
On Tue, Oct 06, 2020 at 11:39:49AM +0900, namhy...@kernel.org wrote: > > > On Fri, Oct 02, 2020 at 10:03:17PM +0900, Namhyung Kim wrote: > > > > Below measures time and memory usage during the perf inject and > > > > report using ~190MB data file. > > > > > > > > Before: > > > > perf inject: 11.

Re: [Patch 2/2] cpufreq: tegra194: Fix unlisted boot freq warning

2020-10-05 Thread Viresh Kumar
On 06-10-20, 00:24, Sumit Gupta wrote: > > > > Warning coming during boot because the boot freq set by bootloader > > > gets filtered out due to big freq steps while creating freq_table. > > > Fixing this by setting closest ndiv value from freq_table. > > > Warning: > > >cpufreq: cpufreq_onlin

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

2020-10-05 Thread Vinod Koul
On 05-10-20, 13: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. Acked-By: Vinod Kou

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

2020-10-05 Thread Vinod Koul
On 05-10-20, 13:38, 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 (via > '$ref') and a

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

2020-10-05 Thread Stephen Rothwell
Hi all, After merging the mmc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/mmc/host/sdhci-acpi.c: In function 'amd_select_drive_strength': drivers/mmc/host/sdhci-acpi.c:562:39: error: 'SDHCI_PRESET_DRV_SHIFT' undeclared (first use in this function); did you mean

Re: [PATCH 5.8 00/85] 5.8.14-rc1 review

2020-10-05 Thread Naresh Kamboju
On Mon, 5 Oct 2020 at 21:01, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.14 release. > There are 85 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. > > Respo

Re: [PATCH] Revert "mtd: spi-nor: Prefer asynchronous probe"

2020-10-05 Thread Vignesh Raghavendra
On Mon, 5 Oct 2020 14:33:21 +0530, Vignesh Raghavendra wrote: > This reverts commit 03edda0e1edaa3c2e99239c66e3c14d749318fd6. > > This leads to warn dump like [1] on some platforms and reorders MTD > devices thus may break user space expectations. So revert the change. > > [1]: > > [...] Applie

Re: linux-next: build failure after merge of the net-next tree

2020-10-05 Thread Christoph Hellwig
On Tue, Oct 06, 2020 at 02:58:47PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (x86_64 > allmodconfig) failed like this: It actually doesn't need that or the two other internal headers. Bjoern has a fixed, and it was supposed to be queued

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

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 08:35:59PM -0700, Guenter Roeck wrote: > On 10/5/20 7:59 PM, Sergey Senozhatsky wrote: > > Cc-ing Guenter, > > > > On (20/05/22 12:00), Petr Mladek wrote: > >> On Fri 2020-05-22 16:53:06, Shreyas Joshi wrote: > >>> If uboot passes a blank string to console_setup then it res

linux-next: manual merge of the input tree with the arm-soc tree

2020-10-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the input tree got a conflict in: Documentation/devicetree/bindings/vendor-prefixes.yaml between commit: cb1cc137a2c1 ("dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd.") from the arm-soc tree and commit: 8f445ffa851e ("dt-bin

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

2020-10-05 Thread Alain Volmat
Hi Russell, Could you have a look a those two patches for the STi platform ? Regards, Alain On Sat, Sep 12, 2020 at 12:13:59PM +0200, Linus Walleij wrote: > On Sun, Aug 30, 2020 at 9:58 PM Alain Volmat wrote: > > > This serie update the STi Platform LL_UART code to rely on > > DEBUG_UART_PHYS

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-05 Thread Josh Triplett
On Mon, Oct 05, 2020 at 11:18:34PM -0400, Theodore Y. Ts'o wrote: > What Josh is proposing I'm pretty sure would also break "e2fsck -E > unshare_blocks", so that's another reason not to accept this as a > valid format change. The kernel already accepted this as a valid mountable filesystem format,

Re: [PATCH v6 02/14] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-05 Thread Samuel Holland
On 10/5/20 7:13 AM, Maxime Ripard wrote: > On Sat, Oct 03, 2020 at 04:19:38PM +0200, Clément Péron wrote: >> As slots and slot_width can be set manually using set_tdm(). >> These values are then kept in sun4i_i2s struct. >> So we need to check if these values are setted or not >> in the struct. >>

Re: [PATCH blk-next 1/2] blk-mq-rdma: Delete not-used multi-queue RDMA map queue code

2020-10-05 Thread Leon Romanovsky
On Mon, Oct 05, 2020 at 10:38:17AM +0200, Christoph Hellwig wrote: > On Fri, Oct 02, 2020 at 01:20:35PM -0700, Sagi Grimberg wrote: > >> Well, why would they change it? The whole point of the infrastructure > >> is that there is a single sane affinity setting for a given setup. Now > >> that setti

Re: [RFC PATCH] DRM: amd: powerplay: don't undef pr_warn() {causes ARC build errors}

2020-10-05 Thread Joe Perches
On Mon, 2020-10-05 at 21:50 -0700, Randy Dunlap wrote: > From: Randy Dunlap > > arch/arc/ implements BUG_ON() with BUG(). ARC has its own BUG() > function and that function uses pr_warn() as part of its implementation. > > Several (8) files in amd/powerplay/ #undef various pr_xyz() functions so

Re: INFO: trying to register non-static key in uhid_dev_destroy

2020-10-05 Thread syzbot
syzbot suspects this issue was fixed by commit: commit bce1305c0ece3dc549663605e567655dd701752c Author: Marc Zyngier Date: Sat Aug 29 11:26:01 2020 + HID: core: Correctly handle ReportSize being zero bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=10b82f5050 start com

Re: [PATCH 23/25] ASoC: sun8i-codec: Generalize AIF clock control

2020-10-05 Thread Samuel Holland
On 10/5/20 7:04 AM, Maxime Ripard wrote: > Hi, > > On Wed, Sep 30, 2020 at 09:11:46PM -0500, Samuel Holland wrote: >> The AIF clock control register has the same layout for all three AIFs. >> The only difference between them is that AIF3 is missing some fields. We >> can reuse the same register fi

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

2020-10-05 Thread Andy Lutomirski
On Mon, Oct 5, 2020 at 7:29 PM Sean Christopherson wrote: > > On Mon, Oct 05, 2020 at 12:30:03PM -0700, Andy Lutomirski wrote: > > On 32-bit kernels, the stackprotector canary is quite nasty -- it is > > stored at %gs:(20), which is nasty because 32-bit kernels use %fs for > > percpu storage. It'

[RFC PATCH] DRM: amd: powerplay: don't undef pr_warn() {causes ARC build errors}

2020-10-05 Thread Randy Dunlap
From: Randy Dunlap arch/arc/ implements BUG_ON() with BUG(). ARC has its own BUG() function and that function uses pr_warn() as part of its implementation. Several (8) files in amd/powerplay/ #undef various pr_xyz() functions so that they won't be used by these drivers, since dev_() functions ar

Re: [PATCH v2] drivers:tty:pty: Fix a race causing data loss on close

2020-10-05 Thread Jiri Slaby
On 05. 10. 20, 13:31, Greg Kroah-Hartman wrote: > On Fri, Oct 02, 2020 at 08:03:04AM -0500, miny...@acm.org wrote: >> From: Corey Minyard >> >> If you write to a pty master an immediately close the pty master, the >> receiver might get a chunk of data dropped, but then receive some later >> data.

Re: [PATCH v9 00/32] Improvements for Tegra I2C driver

2020-10-05 Thread Wolfram Sang
Hi Dmitry, > Hello, Wolfram! Thank you! This series started with 10 small patches and > then was growing with every new review round because more ideas were > suggested and I needed to rebase/redo majority of the patches, hence it > was a bit difficult to split it up into a smaller parts that coul

Re: [PATCH 20/25] ASoC: sun8i-codec: Protect the clock rate while streams are open

2020-10-05 Thread Samuel Holland
On 10/5/20 8:15 AM, Chen-Yu Tsai wrote: > On Mon, Oct 5, 2020 at 8:01 PM Maxime Ripard wrote: >> >> On Wed, Sep 30, 2020 at 09:11:43PM -0500, Samuel Holland wrote: >>> The codec's clock input is shared among all AIFs, and shared with other >>> audio-related hardware in the SoC, including I2S and S

Re: [PATCH 20/25] ASoC: sun8i-codec: Protect the clock rate while streams are open

2020-10-05 Thread Samuel Holland
On 10/5/20 7:01 AM, Maxime Ripard wrote: > On Wed, Sep 30, 2020 at 09:11:43PM -0500, Samuel Holland wrote: >> The codec's clock input is shared among all AIFs, and shared with other >> audio-related hardware in the SoC, including I2S and SPDIF controllers. >> To ensure sample rates selected by user

Re: [PATCH v3] checkpatch: add new warnings to author signoff checks.

2020-10-05 Thread Lukas Bulwahn
On Tue, 6 Oct 2020, Dwaipayan Ray wrote: > On Tue, Oct 6, 2020 at 2:39 AM Joe Perches wrote: > > > > On Tue, 2020-10-06 at 01:37 +0530, Dwaipayan Ray wrote: > > > On Tue, Oct 6, 2020 at 1:07 AM Joe Perches wrote: > > > > On Tue, 2020-10-06 at 00:54 +0530, Dwaipayan Ray wrote: > > > > > The aut

Re: [PATCH] usb: typec: tcpm: Fix if vbus before cc, hard_reset_count not reset issue

2020-10-05 Thread ChiYuan Huang
Guenter Roeck 於 2020年10月5日 週一 下午11:30寫道: > > On 10/5/20 4:08 AM, Greg KH wrote: > [ ... ] > >>> What ever happened with this patch, is there still disagreement? > >>> > >> > >> Yes, there is. I wouldn't have added the conditional without reason, > >> and I am concerned that removing it entirely wi

Re: [PATCH v3 01/24] dt-bindings: iommu: mediatek: Convert IOMMU to DT schema

2020-10-05 Thread Yong Wu
On Fri, 2020-10-02 at 13:07 +0200, Krzysztof Kozlowski wrote: > On Wed, Sep 30, 2020 at 03:06:24PM +0800, Yong Wu wrote: > > Convert MediaTek IOMMU to DT schema. > > > > Signed-off-by: Yong Wu > > --- > > .../bindings/iommu/mediatek,iommu.txt | 103 > > .../bindings/iommu/me

Re: [PATCH] Revert "gpu/drm: ingenic: Add option to mmap GEM buffers cached"

2020-10-05 Thread Stephen Rothwell
Hi all, On Mon, 5 Oct 2020 23:01:50 +1100 Stephen Rothwell wrote: > > On Sun, 04 Oct 2020 22:11:23 +0200 Paul Cercueil wrote: > > > > Pushed to drm-misc-next with the changelog fix, thanks. > > > > Stephen: > > Now it should build fine again. Could you remove the BROKEN flag? > > Thanks for

Re: [PATCH 11/25] ASoC: sun8i-codec: Enable all supported clock inversions

2020-10-05 Thread Samuel Holland
On 10/5/20 6:30 AM, Maxime Ripard wrote: On Wed, Sep 30, 2020 at 09:11:34PM -0500, Samuel Holland wrote: When using the I2S, LEFT_J, or RIGHT_J format, the hardware supports independent BCLK and LRCK inversion control. When using DSP_A or DSP_B, LRCK inversion is not supported. The register bi

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

2020-10-05 Thread Yong Wu
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 | 49 - > > .../mediatek,smi-common.ya

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

2020-10-05 Thread Yong Wu
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 gen2 which uses ARM Short-Descriptor translation > > table format. The

Re: [PATCH v3] checkpatch: add new warnings to author signoff checks.

2020-10-05 Thread Dwaipayan Ray
On Tue, Oct 6, 2020 at 2:39 AM Joe Perches wrote: > > On Tue, 2020-10-06 at 01:37 +0530, Dwaipayan Ray wrote: > > On Tue, Oct 6, 2020 at 1:07 AM Joe Perches wrote: > > > On Tue, 2020-10-06 at 00:54 +0530, Dwaipayan Ray wrote: > > > > The author signed-off-by checks are currently very vague. > > >

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

2020-10-05 Thread Ikjoon Jang
On Tue, Oct 6, 2020 at 11:57 AM Ikjoon Jang wrote: > > On Mon, Oct 5, 2020 at 7:50 PM Stephen Rothwell wrote: > > > > Hi all, > > > > In commit > > > > f9d293364b45 ("power: supply: sbs-battery: keep error code when > > get_property() fails") > > > > Fixes tag > > > > Fixes: c4f382930145 (po

Re: [PATCH v2 1/3] staging: greybus: fix warnings about endianness detected by sparse

2020-10-05 Thread Coiby Xu
On Tue, Oct 06, 2020 at 12:47:37AM +0530, Vaibhav Agarwal wrote: On Sat, Oct 3, 2020 at 5:01 AM Coiby Xu wrote: This patch fix the following warnings from sparse, $ make C=2 drivers/staging/greybus/ drivers/staging/greybus/audio_module.c:222:25: warning: incorrect type in assignment (differe

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

2020-10-05 Thread dmitry . torokhov
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 has a side-effect of fixing issue of accessing inut-

Re: [PATCH] arm/arm64: xen: Fix to convert percpu address to gfn correctly

2020-10-05 Thread Masami Hiramatsu
On Tue, 6 Oct 2020 11:40:58 +0900 Masami Hiramatsu wrote: > On Mon, 5 Oct 2020 18:13:22 -0700 (PDT) > Stefano Stabellini wrote: > > > On Mon, 5 Oct 2020, Julien Grall wrote: > > > Hi Masami, > > > > > > On 05/10/2020 14:39, Masami Hiramatsu wrote: > > > > Use per_cpu_ptr_to_phys() instead of v

Re: [PATCH] rtlwifi: rtl8192se: remove duplicated legacy_httxpowerdiff

2020-10-05 Thread Joe Perches
On Tue, 2020-10-06 at 11:59 +0800, Chris Chiu wrote: > From: Chris Chiu > > The legacy_httxpowerdiff in rtl8192se is pretty much the same as > the legacy_ht_txpowerdiff for other chips. Use the same name to > keep the consistency. > > Signed-off-by: Chris Chiu > --- > drivers/net/wireless/real

Re: [PATCH] arc: include/asm: fix typos of "themselves"

2020-10-05 Thread Vineet Gupta
On 10/5/20 8:30 PM, Randy Dunlap wrote: > From: Randy Dunlap > > Fix copy/paste spello of "themselves" in 3 places. > > Signed-off-by: Randy Dunlap > Cc: Vineet Gupta > Cc: linux-snps-...@lists.infradead.org Thx for the fix Randy. Added to for-curr. -Vineet > --- > arch/arc/include/asm/atom

Re: [PATCH] ARC: SMP: fix typo and use "come up" instead of "comeup"

2020-10-05 Thread Vineet Gupta
On 10/5/20 9:12 AM, Mike Rapoport wrote: > From: Mike Rapoport > > When a secondary CPU fails to come up, there is a missing space in the > log: > > Timeout: CPU1 FAILED to comeup !!! > > Fix it. > > Signed-off-by: Mike Rapoport Thx for the fix Mike. Added to for-curr. -Vineet > --- >

[PATCH] rtlwifi: rtl8192se: remove duplicated legacy_httxpowerdiff

2020-10-05 Thread Chris Chiu
From: Chris Chiu The legacy_httxpowerdiff in rtl8192se is pretty much the same as the legacy_ht_txpowerdiff for other chips. Use the same name to keep the consistency. Signed-off-by: Chris Chiu --- drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c | 2 +- drivers/net/wireless/realtek/rtlwifi

[PATCH v10 0/2] Renovate memcpy_mcsafe with copy_mc_to_{user, kernel}

2020-10-05 Thread Dan Williams
Changes since v9 [1]: - (Boris) Compile out the copy_mc_fragile() infrastructure in the CONFIG_X86_MCE=n case. This had several knock-on effects. The proposed x86: copy_mc_generic() was internally checking for X86_FEATURE_ERMS and falling back to copy_mc_fragile(), however that fallback i

[PATCH v10 2/2] x86/copy_mc: Introduce copy_mc_enhanced_fast_string()

2020-10-05 Thread Dan Williams
The original copy_mc_fragile() implementation had negative performance implications since it did not use the fast-string instruction sequence to perform copies. For this reason copy_mc_to_kernel() fell back to plain memcpy() to preserve performance on platform that did not indicate the capability t

[PATCH v10 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()

2020-10-05 Thread Dan Williams
In reaction to a proposal to introduce a memcpy_mcsafe_fast() implementation Linus points out that memcpy_mcsafe() is poorly named relative to communicating the scope of the interface. Specifically what addresses are valid to pass as source, destination, and what faults / exceptions are handled. Of

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

2020-10-05 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: net/xdp/xsk_buff_pool.c:7:10: fatal error: linux/dma-noncoherent.h: No such file or directory 7 | #include | ^ Caused by commit 1c1efc2af158 (

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

2020-10-05 Thread Ikjoon Jang
On Mon, Oct 5, 2020 at 7:50 PM Stephen Rothwell wrote: > > Hi all, > > In commit > > f9d293364b45 ("power: supply: sbs-battery: keep error code when > get_property() fails") > > Fixes tag > > Fixes: c4f382930145 (power: supply: sbs-battery: don't assume i2c errors as > battery disconnect) >

Re: [ANNOUNCE] Git v2.29.0-rc0

2020-10-05 Thread Martin Ågren
Hi Junio, Thanks for the release candidate! Minor comments follow. On Tue, 6 Oct 2020 at 01:00, Junio C Hamano wrote: > * The final leg of SHA-256 transition plus doc updates. Note that >there is no inter-operability between SHA-1 and SHA-256 >repositories yet. I suspect the dash in

linux-next: manual merge of the sunxi tree with the arm-soc tree

2020-10-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the sunxi tree got a conflict in: arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi between commit: 0dea1794f3b4 ("arm64: allwinner: A100: add the basical Allwinner A100 DTSI file") from the arm-soc tree and commit: 7e66a778cb8b ("arm64: allwinner: A100

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

2020-10-05 Thread Jeremy Linton
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 indirect branch with a bl/ret, bl sequence that can target the existing b

Re: [PATCH 13/14] drm/msm: Drop struct_mutex in shrinker path

2020-10-05 Thread Rob Clark
On Mon, Oct 5, 2020 at 5:44 PM Hillf Danton wrote: > > > On Mon, 5 Oct 2020 18:17:01 Kristian H. Kristensen wrote: > > On Mon, Oct 5, 2020 at 4:02 PM Daniel Vetter wrote: > > > > > > On Mon, Oct 05, 2020 at 05:24:19PM +0800, Hillf Danton wrote: > > > > > > > > On Sun, 4 Oct 2020 12:21:45 > > > >

Re: [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory

2020-10-05 Thread Anshuman Khandual
On 10/02/2020 01:46 AM, Sudarshan Rajagopalan wrote: > When section mappings are enabled, we allocate vmemmap pages from physically > continuous memory of size PMD_SIZE using vmemmap_alloc_block_buf(). Section > mappings are good to reduce TLB pressure. But when system is highly fragmented > and

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

2020-10-05 Thread Guenter Roeck
On 10/5/20 7:59 PM, Sergey Senozhatsky wrote: > Cc-ing Guenter, > > On (20/05/22 12:00), Petr Mladek wrote: >> On Fri 2020-05-22 16:53:06, Shreyas Joshi wrote: >>> If uboot passes a blank string to console_setup then it results in a >>> trashed memory. >>> Ultimately, the kernel crashes during fr

Re: [PATCH 2/2] mm/frame-vec: use FOLL_LONGTERM

2020-10-05 Thread Andrew Morton
On Mon, 5 Oct 2020 14:47:47 -0300 Jason Gunthorpe wrote: > Andrew please let me know if you need a resend Andrew is rather confused. Can we please identify the minimal patch(es) which are needed for 5.9 and -stable?

[PATCH] arc: include/asm: fix typos of "themselves"

2020-10-05 Thread Randy Dunlap
From: Randy Dunlap Fix copy/paste spello of "themselves" in 3 places. Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-...@lists.infradead.org --- arch/arc/include/asm/atomic.h |4 ++-- arch/arc/include/asm/cmpxchg.h |2 +- 2 files changed, 3 insertions(+), 3 deletions(-)

Re: [Freedreno] [PATCH 00/14] drm/msm: de-struct_mutex-ification

2020-10-05 Thread Rob Clark
On Mon, Oct 5, 2020 at 11:20 AM Daniel Vetter wrote: > > On Mon, Oct 5, 2020 at 6:24 PM Kristian Høgsberg wrote: > > > > On Sun, Oct 4, 2020 at 9:21 PM Rob Clark wrote: > > > > > > From: Rob Clark > > > > > > This doesn't remove *all* the struct_mutex, but it covers the worst > > > of it, ie. s

Re: [RFC PATCH next-20200930] treewide: Convert macro and uses of __section(foo) to __section("foo")

2020-10-05 Thread Joe Perches
On Tue, 2020-10-06 at 00:34 +, Joel Stanley wrote: > arch/powerpc/boot is the powerpc wrapper, and it's not built with the > same includes or flags as the rest of the kernel. It doesn't include > any of the headers in the top level include/ directory for hysterical > raisins. > > The straightf

RE: [PATCH] media: ov2740: select regmap

2020-10-05 Thread Cao, Bingbu
Sergey, thanks for your patch. Reviewed-by: Bingbu Cao BRs, Bingbu Cao > -Original Message- > From: Sergey Senozhatsky > Sent: Wednesday, September 30, 2020 9:13 AM > To: Mauro Carvalho Chehab ; Cao, Bingbu > > Cc: Sakari Ailus ; l

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-05 Thread Theodore Y. Ts'o
On Mon, Oct 05, 2020 at 07:51:10PM -0700, Darrick J. Wong wrote: > > > Could /somebody/ please document the ondisk format changes that are > > > associated with this feature? > > > > I pretty much had to sort it out by looking at a combination of > > e2fsprogs and the kernel, and a lot of experime

Re: [PATCH V4 3/3] arm64/mm/hotplug: Ensure early memory sections are all online

2020-10-05 Thread Anshuman Khandual
On 10/01/2020 06:23 AM, Gavin Shan wrote: > Hi Anshuman, > > On 9/29/20 11:54 PM, Anshuman Khandual wrote: >> This adds a validation function that scans the entire boot memory and makes >> sure that all early memory sections are online. This check is essential for >> the memory notifier to work

  1   2   3   4   5   6   7   8   9   10   >