Re: exfatprogs-1.0.3 version released

2020-07-02 Thread Goldwyn Rodrigues
On 9:29 02/07, Sedat Dilek wrote: > On Thu, Jul 2, 2020 at 6:57 AM Hyunchul Lee wrote: > As said I contacted the Debian maintainer via PM and he is thinking of > taking the maintenance of exfatprogs. > But he did not do a last decision. > > You happen to know what other Linux distributions do in

[RFC][PATCH] sched: Better document ttwu()

2020-07-02 Thread Peter Zijlstra
Dave hit the problem fixed by commit: b6e13e85829f ("sched/core: Fix ttwu() race") and failed to understand much of the code involved. Per his request a few comments to (hopefully) clarify things. Requested-by: Dave Chinner Signed-off-by: Peter Zijlstra (Intel) --- include/linux/sched.h |

Re: [PATCH v33 15/21] x86/vdso: Add support for exception fixup in vDSO functions

2020-07-02 Thread Thomas Gleixner
Andy Lutomirski writes: > On Tue, Jun 30, 2020 at 1:41 AM Borislav Petkov wrote: >> >> On Mon, Jun 29, 2020 at 11:00:55PM -0700, Sean Christopherson wrote: >> > E.g. the vDSO function should get the fixup even if userspace screws >> > up mmap() and invokes __vdso_sgx_enter_enclave() without being

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-02 Thread Geert Uytterhoeven
Hi Prabhakar, On Thu, Jul 2, 2020 at 1:42 PM Lad, Prabhakar wrote: > On Thu, Jul 2, 2020 at 11:49 AM Lad, Prabhakar > wrote: > > On Thu, Jul 2, 2020 at 10:23 AM Geert Uytterhoeven > > wrote: > > > On Wed, Jul 1, 2020 at 7:28 PM Lad, Prabhakar > > > wrote: > > > > On Wed, Jul 1, 2020 at 6:17 P

Re: [PATCH v2 5/5] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 12:10:39AM +, John Stultz wrote: > Allow the qcom_scm driver to be loadable as a > permenent module. > > Cc: Andy Gross > Cc: Bjorn Andersson > Cc: Joerg Roedel > Cc: Thomas Gleixner > Cc: Jason Cooper > Cc: Marc Zyngier > Cc: Linus Walleij > Cc: Maulik Shah > C

Re: [PATCH] firmware: improve description of firmware_request_nowarn

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jun 25, 2020 at 10:02:21PM +0200, Wolfram Sang wrote: > The doubled 'however' is confusing. Simplify the comment a little and > reformat the paragraph. > > Signed-off-by: Wolfram Sang > Acked-by: Luis Chamberlain > --- > drivers/base/firmware_loader/main.c | 13 +++-- > 1 file c

Re: [PATCH v2 0/6] devres: provide and use devm_krealloc()

2020-07-02 Thread Greg Kroah-Hartman
On Mon, Jun 29, 2020 at 08:50:02AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Regular krealloc() obviously can't work with managed memory. This series > implements devm_krealloc() and adds the first user with hope that this > helper will be adopted by other drivers currentl

Re: [PATCH v2 6/6] hwmon: pmbus: use more devres helpers

2020-07-02 Thread Greg Kroah-Hartman
On Mon, Jun 29, 2020 at 08:50:08AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Shrink pmbus code by using devm_hwmon_device_register_with_groups() > and devm_krealloc() instead of their non-managed variants. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/hwmon/pmb

Re: [PATCH v2 5/6] devres: provide devm_krealloc()

2020-07-02 Thread Greg Kroah-Hartman
On Mon, Jun 29, 2020 at 08:50:07AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Implement the managed variant of krealloc(). This function works with > all memory allocated by devm_kmalloc() (or devres functions using it > implicitly like devm_kmemdup(), devm_kstrdup() etc.).

Re: [PATCH] rtc: ds1374: wdt: Use watchdog core for watchdog part

2020-07-02 Thread kernel test robot
Hi "Johnson, Thank you for the patch! Yet something to improve: [auto build test ERROR on abelloni/rtc-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https://git-scm.com/docs/git-format-patch] url:

Re: [PATCH v4 1/2] gpio: add GPO driver for PCA9570

2020-07-02 Thread Andy Shevchenko
On Thu, Jul 2, 2020 at 3:36 PM Andy Shevchenko wrote: > On Thu, Jul 2, 2020 at 3:18 PM Sungbo Eo wrote: > > + s32 ret; And why not simple int ret; ? -- With Best Regards, Andy Shevchenko

Re: [PATCH 1/2] block: add max_open_zones to blk-sysfs

2020-07-02 Thread Niklas Cassel
On Tue, Jun 30, 2020 at 01:49:41AM +, Damien Le Moal wrote: > On 2020/06/16 19:28, Niklas Cassel wrote: > > diff --git a/drivers/nvme/host/zns.c b/drivers/nvme/host/zns.c > > index c08f6281b614..af156529f3b6 100644 > > --- a/drivers/nvme/host/zns.c > > +++ b/drivers/nvme/host/zns.c > > @@ -82,6

[PATCH v6 2/2] display/drm/bridge: TC358775 DSI/LVDS driver

2020-07-02 Thread Vinay Simha BN
This driver is tested with two panels individually with Apq8016-IFC6309 board https://www.inforcecomputing.com/products/single-board-computers-sbc/qualcomm-snapdragon-410-inforce-6309-micro-sbc 1. 1366x768@60 auo,b101xtn01 data-mapping = "jeida-24" 2. 800x480@60 innolux,at070tn92 data-mapping = "v

[PATCH v6 1/2] dt-binding: Add DSI/LVDS TC358775 bridge bindings

2020-07-02 Thread Vinay Simha BN
Signed-off-by: Vinay Simha BN --- v1: Initial version wast .txt file v2: From txt to yaml file format v3: * Andrzej Hajda review comments incorporated dual port lvds implemented * Laurent Pinchart review comments incorporated dsi lanes property removed and it is dynamically picked from

Re: [v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Tiezhu Yang
On 07/02/2020 08:24 PM, Markus Elfring wrote: +++ b/drivers/irqchip/irq-csky-apb-intc.c … Let us keep it as it is I propose to reconsider also this view. to make the code clear and to avoid the alignment issue: ret = foo(); if (ret) { ret = -ENOMEM; How do you think about to dele

Re: linux-next: Tree for Jun 23 (objtool (2))

2020-07-02 Thread Josh Poimboeuf
On Tue, Jun 23, 2020 at 08:06:07AM -0700, Randy Dunlap wrote: > On 6/22/20 11:28 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200622: > > > > on x86_64: > > arch/x86/kernel/cpu/mce/core.o: warning: objtool: mce_timed_out()+0x24: > unreachable instruction > kernel/exit.o: war

Re: [PATCH v4 1/2] gpio: add GPO driver for PCA9570

2020-07-02 Thread Andy Shevchenko
On Thu, Jul 2, 2020 at 3:18 PM Sungbo Eo wrote: > > NXP PCA9570 is 4-bit I2C GPO expander without interrupt functionality. is a 4-bit > Its ports are controlled only by a data byte without register address. > > As there is no other driver similar enough to be adapted for it, a new > driver is in

Re: [PATCH v4 28/37] memory: tegra: Register as interconnect provider

2020-07-02 Thread Georgi Djakov
Hi Dmitry, On 7/2/20 02:36, Dmitry Osipenko wrote: > 01.07.2020 20:12, Georgi Djakov пишет: >> Hi Dmitry, >> >> Thank you for updating the patches! > > Hello, Georgi! > > Thank you for the review! > >> On 6/9/20 16:13, Dmitry Osipenko wrote: >>> Now memory controller is a memory interconnection

Re: [PATCH] USB: Fix up terminology in include files

2020-07-02 Thread Felipe Balbi
Greg Kroah-Hartman writes: > USB is a HOST/DEVICE protocol, as per the specification and all > documentation. Fix up terms that are not applicable to make things > match up with the terms used through the rest of the USB stack. > > Signed-off-by: Greg Kroah-Hartman Acked-by: Felipe Balbi --

Re: [PATCH 1/2] [RFC] media: rcar-vin: send a V4L2 event to vdev if no frame captured after a timeout

2020-07-02 Thread Michael Rodin
Hi Niklas, On Wed, Jul 01, 2020 at 12:17:10AM +0200, Niklas Söderlund wrote: > Hi Michael, > > Thanks for your RFC. Thanks your your feedback! > On 2020-06-19 19:46:10 +0200, Michael Rodin wrote: > > Data flow from an upstream subdevice can stop permanently due to: > > - CSI2 transmission erro

Re: [for-next][PATCH 8/8] ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed

2020-07-02 Thread Greg KH
On Thu, Jul 02, 2020 at 08:19:49AM -0400, Steven Rostedt wrote: > On Thu, 2 Jul 2020 09:41:03 +0200 > Greg KH wrote: > > > On Wed, Jul 01, 2020 at 07:17:25PM -0400, Steven Rostedt wrote: > > > From: "Steven Rostedt (VMware)" > > > > > > Add the ktest config option MAIL_MAX_SIZE that will limit

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-07-02 Thread Georgi Djakov
Hi Sylwester, On 7/2/20 15:01, Sylwester Nawrocki wrote: > Hi Georgi, > > On 01.07.2020 14:50, Georgi Djakov wrote: >> Thanks for the patch and apologies for the delayed reply. > > Thanks, no problem. It's actually just in time as I put that patchset > aside for a while and was just about to pos

Re: [PATCH v2 4/6] vt/vt: Add SRG mouse reporting protocol

2020-07-02 Thread Tammo Block
Hi Jiri, thanks for your patience ... ;-) Am Do., 2. Juli 2020 um 10:48 Uhr schrieb Jiri Slaby : > > On 01. 07. 20, 17:13, Tammo Block wrote: > > The SRG protocol indicates a button release by appending a "m" to the > > report. In this case the button number is not 3 (RELEASEEVENT) but > > the nu

Re: [RFC PATCH] ALSA: compress: add support to change codec profile in gapless playback

2020-07-02 Thread Srinivas Kandagatla
Thanks Vinod for quick review, On 02/07/2020 12:36, Vinod Koul wrote: Hi Srini, On 02-07-20, 12:11, Srinivas Kandagatla wrote: For gapless playback its possible that each track can have different s/its/it is codec profile with same decoder, for example we have WMA album, we may have differ

Re: linux-next: Tree for Jun 25 (objtool warnings(4))

2020-07-02 Thread Josh Poimboeuf
On Thu, Jun 25, 2020 at 09:49:51AM -0700, Randy Dunlap wrote: > On 6/24/20 11:34 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200624: > > > > on x86_64: > > kernel/exit.o: warning: objtool: __x64_sys_exit_group()+0x14: unreachable > instruction > kernel/cred.o: warning: objt

Re: [PATCH -next] kcov: make some symbols static

2020-07-02 Thread Andrey Konovalov
On Thu, Jul 2, 2020 at 1:44 PM Wei Yongjun wrote: > > Fix sparse build warnings: > > kernel/kcov.c:99:1: warning: > symbol '__pcpu_scope_kcov_percpu_data' was not declared. Should it be static? > kernel/kcov.c:778:6: warning: > symbol 'kcov_remote_softirq_start' was not declared. Should it be st

Re: [RFC PATCH 03/10] timer: Simplify LVL_START() and calc_index()

2020-07-02 Thread Frederic Weisbecker
On Thu, Jul 02, 2020 at 01:59:17PM +0200, Thomas Gleixner wrote: > Frederic Weisbecker writes: > > LVL_START() makes the first index of a level to start with what would be > > the value of all bits set of the previous level. > > > > For example level 1 starts at 63 instead of 64. > > > > To cope w

Re: Re: Re: [PATCH v4 12/23] ASoC: simple-card: Support DPCM DAI link with multiple Codecs

2020-07-02 Thread Mark Brown
On Thu, Jul 02, 2020 at 04:06:14PM +0530, Sameer Pujar wrote: > For the HW I am using, there are no fixed endpoints and I am not sure if it > is allowed to have empty endpoints in audio-graph-card. Crossbar/router > provides the flexibility to connect the components in any required order. > Patch

Re: [v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Markus Elfring
>> +++ b/drivers/irqchip/irq-csky-apb-intc.c … > Let us keep it as it is I propose to reconsider also this view. > to make the code clear and to avoid the alignment issue: > > ret = foo(); > if (ret) { >     ret = -ENOMEM; How do you think about to delete this assignment if you would li

Re: [for-next][PATCH 7/8] ktest.pl: Add the log of last test in email on failure

2020-07-02 Thread Steven Rostedt
On Thu, 2 Jul 2020 09:42:35 +0200 Greg KH wrote: > > doprint "\n\n"; > > + > > +if (defined($opt{"LOG_FILE"})) { > > + $test_log_start = tell(LOG); > > +} > > Nit, the mix of spaces and tabs in this file is always annoying to me, > but it's your code... > It's the default way

Re: [for-next][PATCH 8/8] ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed

2020-07-02 Thread Steven Rostedt
On Thu, 2 Jul 2020 09:41:03 +0200 Greg KH wrote: > On Wed, Jul 01, 2020 at 07:17:25PM -0400, Steven Rostedt wrote: > > From: "Steven Rostedt (VMware)" > > > > Add the ktest config option MAIL_MAX_SIZE that will limit the size of the > > log file that is placed into the email on failure. > > >

gcc-9: error: missing argument to '-Wframe-larger-than='

2020-07-02 Thread kernel test robot
Hi Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cd77006e01b3198c75fb7819b3d0ff89709539bb commit: a83e4ca26af8fcf1e0d1a3fb681732e239ef5496 kbuild: remove cc-option switch from -Wframe-larger-than= date:

Re: [PATCH] drm/stm: ltdc: remove call of pm-runtime functions

2020-07-02 Thread Philippe CORNU
On 7/1/20 2:04 PM, Yannick Fertre wrote: > It is not necessary to suspend or stop the ltdc clocks > to modify the pixel clock. > > Signed-off-by: Yannick Fertre > --- > drivers/gpu/drm/stm/ltdc.c | 16 > 1 file changed, 16 deletions(-) > > diff --git a/drivers/gpu/drm/stm/l

[PATCH v4 1/2] gpio: add GPO driver for PCA9570

2020-07-02 Thread Sungbo Eo
NXP PCA9570 is 4-bit I2C GPO expander without interrupt functionality. Its ports are controlled only by a data byte without register address. As there is no other driver similar enough to be adapted for it, a new driver is introduced here. Signed-off-by: Sungbo Eo --- v4: * removed ->direction_i

Re: [PATCH v3 1/2] gpio: add GPO driver for PCA9570

2020-07-02 Thread Sungbo Eo
On 2020-07-01 06:30, Andy Shevchenko wrote: On Tue, Jun 30, 2020 at 7:08 PM Sungbo Eo wrote: NXP PCA9570 is 4-bit I2C GPO expander without interrupt functionality. Its ports are controlled only by a data byte without register address. As there is no other driver similar enough to be adapted f

[PATCH 2/3] ACPI: OSL: Use deferred unmapping in acpi_os_unmap_iomem()

2020-07-02 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" There is no reason (knwon to me) why any of the existing users of acpi_os_unmap_iomem() would need to wait for the unused memory mappings left by it to actually go away, so use the deferred unmapping of ACPI memory introduced previously in that function. While at it, fo

[PATCH 0/3] ACPI: OSL: Always use deferred unmapping of memory

2020-07-02 Thread Rafael J. Wysocki
Hi All, This series is on top of the git branch at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpica-osl and it basically makes the deferred unmapping of ACPI memory introduced by the first commit in that branch be the only option. Arguably, it could be done in a sing

[PATCH 3/3] ACPI: OSL: Clean up the removal of unused memory mappings

2020-07-02 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" Fold acpi_os_map_cleanup_deferred() into acpi_os_map_remove() and pass the latter to INIT_RCU_WORK() in acpi_os_drop_map_ref() to make the code more straightforward. No intentional functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/osl.c | 14 ++

[PATCH 1/3] ACPI: OSL: Use deferred unmapping in acpi_os_unmap_generic_address()

2020-07-02 Thread Rafael J. Wysocki
From: "Rafael J. Wysocki" There is no reason (knwon to me) why any of the existing users of acpi_os_unmap_generic_address() would need to wait for the unused memory mappings left by it to actually go away, so use the deferred unmapping of ACPI memory introduced previously in that function. Signe

Re: [PATCH v3 2/7] sched/topology: Define and assign sched_domain flag metadata

2020-07-02 Thread Quentin Perret
Hey Valentin, On Wednesday 01 Jul 2020 at 20:06:50 (+0100), Valentin Schneider wrote: > +/* > + * Domain members have different CPU capacities > + * > + * SHARED_PARENT: Set from the topmost domain down to the first domain where > + * asymmetry is detected. > + */ > +SD_FLAG(SD_ASYM_CPUCAPACITY,

Re: [RFC V2 1/2] arm64/mm: Change THP helpers per generic memory semantics

2020-07-02 Thread Catalin Marinas
Hi Anshuman, On Mon, Jun 15, 2020 at 06:45:17PM +0530, Anshuman Khandual wrote: > --- a/arch/arm64/include/asm/pgtable.h > +++ b/arch/arm64/include/asm/pgtable.h > @@ -353,15 +353,92 @@ static inline int pmd_protnone(pmd_t pmd) > } > #endif > > +#define pmd_table(pmd) ((pmd_val(pmd) & PM

Re: [PATCH v6 1/2] crash_core, vmcoreinfo: Append 'MAX_PHYSMEM_BITS' to vmcoreinfo

2020-07-02 Thread Dave Young
Hi Catalin, On 07/02/20 at 12:00pm, Catalin Marinas wrote: > On Thu, May 14, 2020 at 12:22:36AM +0530, Bhupesh Sharma wrote: > > diff --git a/kernel/crash_core.c b/kernel/crash_core.c > > index 9f1557b98468..18175687133a 100644 > > --- a/kernel/crash_core.c > > +++ b/kernel/crash_core.c > > @@ -413

RE: [PATCH v2] exfat: optimize exfat_zeroed_cluster()

2020-07-02 Thread Sungjong Seo
> Replace part of exfat_zeroed_cluster() with exfat_update_bhs(). > And remove exfat_sync_bhs(). > > Signed-off-by: Tetsuhiro Kohada Reviewed-by: Sungjong Seo Looks good. Thanks. > --- > Changes in v2 > - Rebase to latest exfat-dev > > fs/exfat/fatent.c | 53 +--

Re: [PATCH v1 1/4] regulator: pca9450: add pca9450 pmic driver

2020-07-02 Thread Schrempf Frieder
Hi Robin, On 20.05.20 00:05, Robin Gong wrote: > Add NXP pca9450 pmic driver. > > Signed-off-by: Robin Gong I rebased and applied on v5.8-rc3 an tested this with our i.MX8MM board with PCA9450A. It seems to work fine. Below you can find some comments. Thanks, Frieder > --- > drivers/regula

[BUG] "Pre-boot DMA Protection" makes AMDGPU stop working

2020-07-02 Thread Kai-Heng Feng
Hi, A more detailed bug report can be found at [1]. I have a AMD Renoir system that can't enter graphical session because there are many IOMMU splat. Alex suggested to disable "Pre-boot DMA Protection", I can confirm once it's disabled, AMDGPU starts working with IOMMU enabled. So raise the is

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-07-02 Thread Sylwester Nawrocki
Hi Georgi, On 01.07.2020 14:50, Georgi Djakov wrote: > Thanks for the patch and apologies for the delayed reply. Thanks, no problem. It's actually just in time as I put that patchset aside for a while and was just about to post an update. > On 5/29/20 19:31, Sylwester Nawrocki wrote: >> This pa

Re: [RFC PATCH 03/10] timer: Simplify LVL_START() and calc_index()

2020-07-02 Thread Thomas Gleixner
Frederic Weisbecker writes: > LVL_START() makes the first index of a level to start with what would be > the value of all bits set of the previous level. > > For example level 1 starts at 63 instead of 64. > > To cope with that, calc_index() always adds one offset for the level > granularity to th

Re: [PATCH 04/11] ppc64/kexec_file: avoid stomping memory used by special regions

2020-07-02 Thread Dave Young
> > I'm confused about the "overlap with crashkernel memory", does that mean > > those normal kernel used memory could be put in crashkernel reserved > > memory range? If so why can't just skip those areas while crashkernel > > doing the reservation? > I raised the same question in another mail. A

Re: [PATCH 1/2] mm/slub: Introduce two counters for the partial objects

2020-07-02 Thread Pekka Enberg
On Thu, Jul 2, 2020 at 11:32 AM Xunlei Pang wrote: > The node list_lock in count_partial() spend long time iterating > in case of large amount of partial page lists, which can cause > thunder herd effect to the list_lock contention, e.g. it cause > business response-time jitters when accessing "/p

[PATCH][next] regulator: fix null pointer check on regmap

2020-07-02 Thread Colin King
From: Colin Ian King The null pointer check on regmap that checks for a dev_get_regmap failure is currently returning -ENOENT if the regmap succeeded. Fix this by adding in the missing ! operator. Addresses-Coverity: ("Dereference after null check") Fixes: 4fe66d5a62fb ("regulator: Add support f

Re: [PATCH 04/11] ppc64/kexec_file: avoid stomping memory used by special regions

2020-07-02 Thread Dave Young
On 07/01/20 at 11:48pm, Hari Bathini wrote: > > > On 01/07/20 1:10 pm, Dave Young wrote: > > Hi Hari, > > On 06/27/20 at 12:35am, Hari Bathini wrote: > >> crashkernel region could have an overlap with special memory regions > >> like opal, rtas, tce-table & such. These regions are referred to as

Re: [PATCH v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Tiezhu Yang
On 07/02/2020 04:05 PM, Tiezhu Yang wrote: On 07/02/2020 03:19 PM, Markus Elfring wrote: +++ b/drivers/irqchip/irq-csky-apb-intc.c … I suggest to recheck the parameter alignment for such a function call. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/proc

Re: [PATCH v3] Documentation: Coccinelle: fix various typos etc.

2020-07-02 Thread Matthew Wilcox
On Thu, Jul 02, 2020 at 08:56:24AM +0200, Markus Elfring wrote: > … > > +++ linux-next-20200629/Documentation/dev-tools/coccinelle.rst > … > > @@ -260,13 +260,13 @@ If not using the kernel's coccicheck tar > … > > -We help Coccinelle when used against Linux with a set of sensible defaults > > +We h

Re: [PATCH] v4l: Add source change event for colorimetry

2020-07-02 Thread Stanimir Varbanov
Hi, Once we have this event there is still open question how the client will know the data buffer on which the new colorspace is valid/applied. The options could be: * a new buffer flag and * some information in the v4l2_event structure. Thoughts? On 7/2/20 1:00 PM, Stanimir Varbanov wrote: >

[PATCH 1/2] Revert "powerpc/kasan: Fix shadow pages allocation failure"

2020-07-02 Thread Christophe Leroy
This reverts commit d2a91cef9bbdeb87b7449fdab1a6be6000930210. This commit moved too much work in kasan_init(). The allocation of shadow pages has to be moved for the reason explained in that patch, but the allocation of page tables still need to be done before switching to the final hash table. F

[PATCH 2/2] powerpc/kasan: Fix shadow pages allocation failure

2020-07-02 Thread Christophe Leroy
Doing kasan pages allocation in MMU_init is too early, kernel doesn't have access yet to the entire memory space and memblock_alloc() fails when the kernel is a bit big. Do it from kasan_init() instead. Reported-by: Erhard F. Link: https://bugzilla.kernel.org/show_bug.cgi?id=208181 Fixes: 2edb16

[PATCH][next] ASoC: Intel: bxt-da7219-max98357a: return -EINVAL on unrecognized speaker amplifier

2020-07-02 Thread Colin King
From: Colin Ian King Currently if the ctx->spkamp is not recognized an error message is reported but the code continues to set up the device with uninitialized variables such as the number of widgets. Fix this by returning -EINVAL for unrecognized speaker amplifier types. Addresses-Coverity: ("

Re: [PATCH 01/11] kexec_file: allow archs to handle special regions while locating memory hole

2020-07-02 Thread Dave Young
On 07/02/20 at 12:01am, Hari Bathini wrote: > > > On 01/07/20 1:16 pm, Dave Young wrote: > > On 06/29/20 at 05:26pm, Hari Bathini wrote: > >> Hi Petr, > >> > >> On 29/06/20 5:09 pm, Petr Tesarik wrote: > >>> Hi Hari, > >>> > >>> is there any good reason to add two more functions with a very simil

Re: [PATCH 4/8] cpufreq,vexpress-spc: fix Frequency Invariance (FI) for bL switching

2020-07-02 Thread Viresh Kumar
On 02-07-20, 12:41, Ionela Voinescu wrote: > It was enabled until now, but it was partially broken. If you look over > the driver you'll see arch_set_freq_scale() being called for both > is_bL_switching_enabled() and for when it's not [1]. I missed that completely, it was indeed added here: commi

Re: [PATCH 2/8] cpufreq: move invariance setter calls in cpufreq core

2020-07-02 Thread Ionela Voinescu
Hi Rafael, On Wednesday 01 Jul 2020 at 17:51:26 (+0200), Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 5:28 PM Ionela Voinescu > wrote: > > > > Hey, > > > > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > > On 01-07-20, 10:07, Ionela Voinescu wrote: > > > > From: Valent

Re: [PATCH 1/8] cpufreq: allow drivers to flag custom support for freq invariance

2020-07-02 Thread Ionela Voinescu
Hi, On Thursday 02 Jul 2020 at 08:28:18 (+0530), Viresh Kumar wrote: > On 01-07-20, 18:05, Rafael J. Wysocki wrote: > > On Wed, Jul 1, 2020 at 3:33 PM Ionela Voinescu > > wrote: > > > On Wednesday 01 Jul 2020 at 16:16:17 (+0530), Viresh Kumar wrote: > > > > I will rather suggest CPUFREQ_SKIP_SET

[PATCH -next] kcov: make some symbols static

2020-07-02 Thread Wei Yongjun
Fix sparse build warnings: kernel/kcov.c:99:1: warning: symbol '__pcpu_scope_kcov_percpu_data' was not declared. Should it be static? kernel/kcov.c:778:6: warning: symbol 'kcov_remote_softirq_start' was not declared. Should it be static? kernel/kcov.c:795:6: warning: symbol 'kcov_remote_softirq

Re: [PATCH 4/8] cpufreq,vexpress-spc: fix Frequency Invariance (FI) for bL switching

2020-07-02 Thread Ionela Voinescu
Hi, On Thursday 02 Jul 2020 at 08:35:51 (+0530), Viresh Kumar wrote: > On 01-07-20, 15:07, Ionela Voinescu wrote: > > On Wednesday 01 Jul 2020 at 16:16:19 (+0530), Viresh Kumar wrote: > > > Is there anyone who cares for this driver and EAS ? I will just skip > > > doing the > > > FIE thing here a

Re: [PATCH 04/18] alpha: Override READ_ONCE() with barriered implementation

2020-07-02 Thread Arnd Bergmann
On Thu, Jul 2, 2020 at 1:18 PM Will Deacon wrote: > On Thu, Jul 02, 2020 at 12:08:41PM +0200, Arnd Bergmann wrote: > > On Thu, Jul 2, 2020 at 11:48 AM Will Deacon wrote: > > > On Thu, Jul 02, 2020 at 10:32:39AM +0100, Mark Rutland wrote: > Not sure I follow you here, but I can confirm that what

Re: [PATCH v3 4/8] mux: sparx5: Add Sparx5 SPI mux driver

2020-07-02 Thread Peter Rosin
Hi! On 2020-07-02 12:13, Lars Povlsen wrote: > The Sparx5 mux driver may be used to control selecting between two > alternate SPI bus segments connected to the SPI controller > (spi-dw-mmio). > > Signed-off-by: Lars Povlsen > --- > drivers/mux/Makefile | 2 + > drivers/mux/sparx5-spi.c |

Re: [PATCH V5 2/4] arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR1 register

2020-07-02 Thread Suzuki K Poulose
On 05/27/2020 04:03 AM, Anshuman Khandual wrote: Enable ETS, TWED, XNX and SPECSEI features bits in ID_AA64MMFR1 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@

Re: [PATCH v2] .gitignore: Do not track `defconfig` from `make savedefconfig`

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 01:12:00PM +0200, Paul Menzel wrote: > Running `make savedefconfig` creates by default `defconfig`, which is, > currently, on git’s radar, for example, `git status` lists this file as > untracked. > > So, add the file to `.gitignore`, so it’s ignored by git. > > Cc: linux-

Re: [RFC PATCH] ALSA: compress: add support to change codec profile in gapless playback

2020-07-02 Thread Vinod Koul
Hi Srini, On 02-07-20, 12:11, Srinivas Kandagatla wrote: > For gapless playback its possible that each track can have different s/its/it is > codec profile with same decoder, for example we have WMA album, > we may have different tracks as WMA v9, WMA v10 and so on > > Existing code does not a

[PATCH] md: raid0/linear: fix dereference before null check on pointer mddev

2020-07-02 Thread Colin King
From: Colin Ian King Pointer mddev is being dereferenced with a test_bit call before mddev is being null checked, this may cause a null pointer dereference. Fix this by moving the null pointer checks to sanity check mddev before it is dereferenced. Addresses-Coverity: ("Dereference before null c

Re: [PATCH v3 4/8] mux: sparx5: Add Sparx5 SPI mux driver

2020-07-02 Thread Lars Povlsen
Lars Povlsen writes: > The Sparx5 mux driver may be used to control selecting between two > alternate SPI bus segments connected to the SPI controller > (spi-dw-mmio). > > Signed-off-by: Lars Povlsen > --- > drivers/mux/Makefile | 2 + > drivers/mux/sparx5-spi.c | 138 +++

[PATCH] dt-bindings: mfd: st,stmfx: Remove I2C unit name

2020-07-02 Thread Fabio Estevam
Remove the I2C unit name to fix the following build warning with 'make dt_binding_check': Warning (unit_address_vs_reg): /example-0/i2c@0: node has a unit name, but no reg or ranges property Signed-off-by: Fabio Estevam --- Documentation/devicetree/bindings/mfd/st,stmfx.yaml | 2 +- 1 file cha

KMSAN: uninit-value in __request_module (4)

2020-07-02 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f0d5ec90 kmsan: apply __no_sanitize_memory to dotraplinkag.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1194afad10 kernel config: https://syzkaller.appspot.co

Re: [PATCH 1/3] mm/vmscan: restore zone_reclaim_mode ABI

2020-07-02 Thread Huang, Ying
Dave Hansen writes: > From: Dave Hansen > > I went to go add a new RECLAIM_* mode for the zone_reclaim_mode > sysctl. Like a good kernel developer, I also went to go update the > documentation. I noticed that the bits in the documentation didn't > match the bits in the #defines. > > The VM nev

Re: [PATCH 03/12] KVM: arm64: Report hardware dirty status of stage2 PTE if coverred

2020-07-02 Thread zhukeqian
Hi Steven, On 2020/7/1 19:28, Steven Price wrote: > Hi, > > On 16/06/2020 10:35, Keqian Zhu wrote: >> kvm_set_pte is called to replace a target PTE with a desired one. >> We always do this without changing the desired one, but if dirty >> status set by hardware is coverred, let caller know it. >>

[PATCH 2/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed a blank space coding style issue.

2020-07-02 Thread B K Karthik
add blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h inde

[PATCH net-next 0/4] net: ipa: simplify endpoint programming

2020-07-02 Thread Alex Elder
Add tests to functions so they don't update undefined endpoint registers, rather than requiring the caller to avoid calling them. Move the call to a workaround function required when suspending inside the function that puts an endpoint into suspend mode. This requires moving a few functions (whic

[PATCH net-next 4/4] net: ipa: simplify ipa_endpoint_program()

2020-07-02 Thread Alex Elder
Have functions that write endpoint configuration registers return immediately if they are not valid for the direction of transfer for the endpoint. This allows most of the calls in ipa_endpoint_program() to be made unconditionally. Reorder the register writes to match the order of their definitio

[PATCH net-next 2/4] net: ipa: always handle suspend workaround

2020-07-02 Thread Alex Elder
IPA version 3.5.1 has a hardware quirk that requires special handling if an RX endpoint is suspended while aggregation is active. This handling is implemented by ipa_endpoint_suspend_aggr(). Have ipa_endpoint_program_suspend() be responsible for calling ipa_endpoint_suspend_aggr() if suspend mode

[PATCH net-next 3/4] net: ipa: move version test inside ipa_endpoint_program_suspend()

2020-07-02 Thread Alex Elder
IPA version 4.0+ does not support endpoint suspend. Put a test at the top of ipa_endpoint_program_suspend() that returns immediately if suspend is not supported rather than making that check in the caller. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_endpoint.c | 29 +--

[PATCH net-next 1/4] net: ipa: move version test inside ipa_endpoint_program_delay()

2020-07-02 Thread Alex Elder
IPA version 4.2 has a hardware quirk that affects endpoint delay mode, so it isn't used there. Isolate the test that avoids using delay mode for that version inside ipa_endpoint_program_delay(), rather than making that check in the caller. Signed-off-by: Alex Elder --- drivers/net/ipa/ipa_endpo

Re: [PATCH v2] arm64/module: Optimize module load time by optimizing PLT counting

2020-07-02 Thread Catalin Marinas
On Mon, 22 Jun 2020 18:18:02 -0700, Saravana Kannan wrote: > When loading a module, module_frob_arch_sections() tries to figure out > the number of PLTs that'll be needed to handle all the RELAs. While > doing this, it tries to dedupe PLT allocations for multiple > R_AARCH64_CALL26 relocations to t

Re: [PATCH v2 1/4] i2c: smbus: add core function handling SMBus host-notify

2020-07-02 Thread Alain Volmat
Hi Wolfram, > Okay, now I got it to work, I also noted a few more issues. > > First, I'd suggest s/i2c_smbus_host_notify/i2c_slave_host_notify/g for > all occurences in this patch. This makes a stronger distinction between > the generic HostNotify support and the slave specific one. Ok with that

[PATCH 1/2] staging: rtl8188eu: include: rtw_pwrctrl.h: fixed multiple parentheses coding style issues.

2020-07-02 Thread B K Karthik
add parentheses since complex valued macros must be enclosed within parentheses. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_pwrctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_pwrctrl.h b/drivers/stagi

[PATCH v3 2/4] input: gpio-vibra: Allow to use vcc-supply alone to control the vibrator

2020-07-02 Thread Ondrej Jirman
Make enable-gpio optional to allow using this driver with boards that have vibrator connected to a power supply without intermediate gpio based enable circuitry. Also avoid a case where neither regulator nor enable gpio is specified, and bail out in probe in such a case. Signed-off-by: Ondrej Jir

[PATCH v3 4/4] ARM: dts: sun8i-a83t-tbs-a711: Increase voltage on the vibrator

2020-07-02 Thread Ondrej Jirman
Vibrator motor is weak at the current voltage. Increase the voltage. Signed-off-by: Ondrej Jirman --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a7

[PATCH v3 3/4] ARM: dts: sun8i-a83t-tbs-a711: Add support for the vibrator motor

2020-07-02 Thread Ondrej Jirman
The board has a vibrator mottor. Hook it to the input subsystem. According to the PMIC specification, LDO needs to be enabled (value 0b11) to achieve the specified max driving current of 150mA. We can't drive the motor with just GPIO mode. In GPIO mode the chip is probably just using the regular

[PATCH v3 0/4] Add support for vibrator motor for TBS A711 Tablet

2020-07-02 Thread Ondrej Jirman
The tablet has a vibrator motor. This patch series exposes it via input subsystem (EV_FF). I'd like to ask input maintainers to take the patches 1 and 2. Patches 3 and 4 should go via the sunxi tree. The change to the vibrator driver is meant to enable toggling the vibrator motor just via a power

[PATCH v3 1/4] dt-bindings: input: gpio-vibrator: Don't require enable-gpios

2020-07-02 Thread Ondrej Jirman
It is possible to turn the motor on/off just by enabling/disabling the vcc-supply. Change the binding to require either enable-gpios or vcc-supply or both. Signed-off-by: Ondrej Jirman --- Documentation/devicetree/bindings/input/gpio-vibrator.yaml | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH] staging: rtl8188eu: include: rtw_recv.h: fixed a blank space coding style issue.

2020-07-02 Thread B K Karthik
added blank spaces to improve code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_recv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h index e383c

[PATCH] staging: rtl8188eu: include: rtw_cmd.h: fixed a blank space coding style issue.

2020-07-02 Thread B K Karthik
add blank spaces for improved code readability. Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtw_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8188eu/include/rtw_cmd.h b/drivers/staging/rtl8188eu/include/rtw_cmd.h index fa5e212f

Re: [PATCH AUTOSEL 5.7 15/53] ASoC: SOF: Intel: add PCI IDs for ICL-H and TGL-H

2020-07-02 Thread Mark Brown
On Wed, Jul 01, 2020 at 09:21:24PM -0400, Sasha Levin wrote: > From: Pierre-Louis Bossart > > [ Upstream commit c8d2e2bfaeffa0f914330e8b4e45b986c8d30b58 ] > > Usually the DSP is not traditionally enabled on H skews but this might > be used moving forward. "This might be used moving forward"?

Re: [PATCH 04/18] alpha: Override READ_ONCE() with barriered implementation

2020-07-02 Thread Will Deacon
On Thu, Jul 02, 2020 at 12:08:41PM +0200, Arnd Bergmann wrote: > On Thu, Jul 2, 2020 at 11:48 AM Will Deacon wrote: > > On Thu, Jul 02, 2020 at 10:32:39AM +0100, Mark Rutland wrote: > > > On Tue, Jun 30, 2020 at 06:37:20PM +0100, Will Deacon wrote: > > > > -#define read_barrier_depends() __asm__ _

Re: [PATCH V5 1/4] arm64/cpufeature: Add remaining feature bits in ID_AA64MMFR0 register

2020-07-02 Thread Suzuki K Poulose
On 05/27/2020 04:03 AM, Anshuman Khandual wrote: Enable EVC, FGT, EXS features bits in ID_AA64MMFR0 register as per ARM DDI 0487F.a specification. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Suzuki K Poulose Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.o

[PATCH] staging: rtl8188eu: include: rtl8188e_xmit.h: fixed multiple blank space coding style issues

2020-07-02 Thread B K Karthik
added blank spaces to improve code readability. (coding style issue) Signed-off-by: B K Karthik --- drivers/staging/rtl8188eu/include/rtl8188e_xmit.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/rtl8188e_xmit.h b/drivers/stag

Re: [PATCH v1] dmaengine: fsl-edma-common: correct DSIZE_32BYTE

2020-07-02 Thread Angelo Dureghello
Hi Robin, 29.06.2020, 10:53, "Robin Gong" : > Correct EDMA_TCD_ATTR_DSIZE_32BYTE define since it's broken by the below: > '0x0005 --> BIT(3) | BIT(0))' > > Fixes: 4d6d3a90e4ac ("dmaengine: fsl-edma: fix macros") > Cc: sta...@vger.kernel.org > Signed-off-by: Robin Gong > --- >  drivers/dma/fsl-edm

[PATCH v2] .gitignore: Do not track `defconfig` from `make savedefconfig`

2020-07-02 Thread Paul Menzel
Running `make savedefconfig` creates by default `defconfig`, which is, currently, on git’s radar, for example, `git status` lists this file as untracked. So, add the file to `.gitignore`, so it’s ignored by git. Cc: linux-kernel@vger.kernel.org Signed-off-by: Paul Menzel --- .gitignore | 3 +++

[RFC PATCH] ALSA: compress: add support to change codec profile in gapless playback

2020-07-02 Thread Srinivas Kandagatla
For gapless playback its possible that each track can have different codec profile with same decoder, for example we have WMA album, we may have different tracks as WMA v9, WMA v10 and so on Existing code does not allow to change this profile while doing gapless playback. This patch adds new SNDR

Re: [PATCH 4/4] interconnect: qcom: Fix small BW votes being truncated to zero

2020-07-02 Thread Georgi Djakov
Hi Mike, On 6/23/20 07:08, Mike Tipton wrote: > Small BW votes that translate to less than a single BCM unit are > currently truncated to zero. Ensure that non-zero BW requests always > result in at least a vote of 1 to BCM. > > Fixes: 976daac4a1c5 ("interconnect: qcom: Consolidate interconnect R

Re: [PATCH v3] cpufreq: CPPC: simply the code access 'highest_perf' value in cppc_perf_caps struct

2020-07-02 Thread Viresh Kumar
On 02-07-20, 13:06, Rafael J. Wysocki wrote: > But you could respond to the "applied" message from me. :-) Haha. I was expecting you to pick the other patches (around governor cleanup) from me and I completely missed that you picked cppc one as well. In fact, I had to go to the thread again now to

[PATCH v2 1/4] drm/msm/dpu: Use OPP API to set clk/perf state

2020-07-02 Thread Rajendra Nayak
On some qualcomm platforms DPU needs to express a performance state requirement on a power domain depending on the clock rates. Use OPP table from DT to register with OPP framework and use dev_pm_opp_set_rate() to set the clk/perf state. Signed-off-by: Rajendra Nayak Reviewed-by: Rob Clark Revie

<    7   8   9   10   11   12   13   14   15   >