Re: [PATCH v2 2/7] dt-bindings: reset: add BCM6345 reset controller bindings

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > Add support for resetting blocks through the Linux reset controller > subsystem for BCM63xx SoCs. The commit message should be paraphrasing part of your binding content, not necessarily describing why this is useful. This looks good to me th

Re: [PATCH v2 6/7] mips: bmips: dts: add BCM6362 reset controller support

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > BCM6362 SoCs have a reset controller for certain components. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 7/7] mips: bmips: dts: add BCM6368 reset controller support

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > BCM6368 SoCs have a reset controller for certain components. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 5/7] mips: bmips: dts: add BCM6358 reset controller support

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > BCM6358 SoCs have a reset controller for certain components. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-06-09 Thread Kent Overstreet
On Tue, Jun 09, 2020 at 05:47:53PM -0700, Matthew Wilcox wrote: > On Tue, Jun 09, 2020 at 08:10:36PM -0400, Kent Overstreet wrote: > > @@ -2275,83 +2287,93 @@ static ssize_t generic_file_buffered_read(struct > > kiocb *iocb, > > struct iov_iter *iter, ssize_t written) > > { > > st

Re: [PATCH v2 4/7] mips: bmips: dts: add BCM6328 reset controller support

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > BCM6328 SoCs have a reset controller for certain components. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli You should probably create include files under include/dt-bindings/ which designate the various reset contro

Re: [PATCH v2] sample-trace-array: Fix sleeping function called from invalid context

2020-06-09 Thread Kefeng Wang
On 2020/6/10 0:29, Divya Indi wrote: On 6/9/20 6:51 AM, Kefeng Wang wrote: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:935 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/5 1 lock held by swapper/5/0: #0: 80001002bd90 (samp

Re: [PATCH v2 3/7] drivers: reset: simple: add BCM6345 reset support

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > Add support for resetting blocks through the Linux reset controller > subsystem for BCM63xx SoCs. > > Signed-off-by: Álvaro Fernández Rojas This looks good to me, however in v1 there was a need for sleeping after the reset assertion, and th

Re: [PATCH v1 2/2] usb: phy: Add USB3 PHY support for Intel LGM SoC

2020-06-09 Thread Ramuthevar, Vadivel MuruganX
Hi Philipp, Thank you very much for review comments and your time... On 9/6/2020 8:14 pm, Philipp Zabel wrote: + + for (i = 0; i < ARRAY_SIZE(CTL_RESETS); i++) { + resets[i] = devm_reset_control_get(dev, CTL_RESETS[i]); Please use devm_reset_control_get_exclusive() instead.

Re: crypto API and GFP_ATOMIC

2020-06-09 Thread Herbert Xu
On Tue, Jun 09, 2020 at 01:11:05PM -0400, Mikulas Patocka wrote: > > Do you have another idea how to solve this problem? I think the better approach would be to modify the drivers to not allocate any memory. In general, any memory needed by the driver to fulfil a request *should* be allocated wit

Re: [PATCH v2 1/7] mips: bmips: select ARCH_HAS_RESET_CONTROLLER

2020-06-09 Thread Florian Fainelli
On 6/9/2020 9:02 AM, Álvaro Fernández Rojas wrote: > This allows to add reset controllers support. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH] iommu/arm-smmu: Don't bypass pinned stream mappings

2020-06-09 Thread kernel test robot
Hi Jordan, Thank you for the patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v5.7 next-20200609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

Re: [kbuild-all] Re: gcc-5: error: -gz is not supported in this configuration

2020-06-09 Thread Fangrui Song
:   abfbb29297c27e3f101f348dc9e467b0fe70f919 commit: 10e68b02c861ccf2b3adb59d3f0c10dc6b5e3ace Makefile: support compressed debug info date:   12 days ago config: x86_64-randconfig-r032-20200609 (attached as .config) compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 reproduce (this is a W=1 build):     git checkout

Re: [PATCH v5 0/4] introduction of migration_version attribute for VFIO live migration

2020-06-09 Thread Yan Zhao
On Fri, Jun 05, 2020 at 03:39:50PM +0100, Dr. David Alan Gilbert wrote: > > > > I tried to simplify the problem a bit, but we keep going backwards. If > > > > the requirement is that potentially any source device can migrate to any > > > > target device and we cannot provide any means other than w

Re: [PATCH 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-06-09 Thread Matthew Wilcox
On Tue, Jun 09, 2020 at 08:10:36PM -0400, Kent Overstreet wrote: > @@ -2275,83 +2287,93 @@ static ssize_t generic_file_buffered_read(struct > kiocb *iocb, > struct iov_iter *iter, ssize_t written) > { > struct file *filp = iocb->ki_filp; > + struct file_ra_state *ra = &fil

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-09 Thread Rajat Jain
On Tue, Jun 9, 2020 at 5:04 PM Bjorn Helgaas wrote: > > On Tue, Jun 09, 2020 at 04:23:54PM -0700, Rajat Jain wrote: > > Hi Bjorn, > > > > Thanks for sending out the summary, I was about to send it out but got lazy. > > > > On Tue, Jun 9, 2020 at 2:04 PM Bjorn Helgaas wrote: > > > > > > On Sun, Ju

Re: [kbuild-all] Re: gcc-5: error: -gz is not supported in this configuration

2020-06-09 Thread Rong Chen
: 10e68b02c861ccf2b3adb59d3f0c10dc6b5e3ace Makefile: support compressed debug info date:   12 days ago config: x86_64-randconfig-r032-20200609 (attached as .config) compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 reproduce (this is a W=1 build):     git checkout

Re: [PATCH] dtc: also check for libyaml

2020-06-09 Thread Masahiro Yamada
On Tue, Jun 9, 2020 at 12:08 PM Jiping Ma wrote: > > > > On 06/09/2020 10:52 AM, Masahiro Yamada wrote: > > On Tue, Jun 9, 2020 at 10:01 AM Jiping Ma wrote: > >> > >> > >> On 06/09/2020 03:09 AM, Rob Herring wrote: > >>> On Mon, Jun 8, 2020 at 2:42 AM Jiping Ma wrote: > yamltree.c includes

Re: [PATCH v4] x86/umip: Add emulation/spoofing for SLDT and STR instructions

2020-06-09 Thread Ricardo Neri
On Tue, Jun 09, 2020 at 10:54:23AM -0700, Brendan Shanks wrote: > Add emulation/spoofing of SLDT and STR for both 32- and 64-bit > processes. > > Wine users have found a small number of Windows apps using SLDT that > were crashing when run on UMIP-enabled systems. > > Reported-by: Andreas Rammhol

[PATCH 2/2] fs: generic_file_buffered_read() now uses find_get_pages_contig

2020-06-09 Thread Kent Overstreet
Convert generic_file_buffered_read() to get pages to read from in batches, and then copy data to userspace from many pages at once - in particular, we now don't touch any cachelines that might be contended while we're in the loop to copy data to userspace. This is is a performance improvement on w

[PATCH 0/2] generic_file_buffered_read() refactoring & optimization

2020-06-09 Thread Kent Overstreet
This is a small patch series that's been in the bcachefs tree for awhile. In the buffered read path, we look up a page in the page cache, then copy from that page in a loop - i.e. mixing the data copies in between looking up each individual page. When we're doing large reads from the page cache, t

[PATCH 1/2] fs: Break generic_file_buffered_read up into multiple functions

2020-06-09 Thread Kent Overstreet
This is prep work for changing generic_file_buffered_read() to use find_get_pages_contig() to batch up all the pagecache lookups. This patch should be functionally identical to the existing code and changes as little as of the flow control as possible. More refactoring could be done, this patch is

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-09 Thread Bjorn Helgaas
On Tue, Jun 09, 2020 at 04:23:54PM -0700, Rajat Jain wrote: > Hi Bjorn, > > Thanks for sending out the summary, I was about to send it out but got lazy. > > On Tue, Jun 9, 2020 at 2:04 PM Bjorn Helgaas wrote: > > > > On Sun, Jun 07, 2020 at 01:36:32PM +0200, Greg Kroah-Hartman wrote: > > > > > Y

COVID-19 COMPENSATION FUNDS.

2020-06-09 Thread funkydubgirl
INTERNATIONAL MONETARY FUND IMF USA COVID-19 COMPENSATION FUNDS. Dear beneficiary, I'm Mr.Packer Director of International Monetary Funds IMF Washington DC United States of America USA, I'm writing to let you know that due to this Global Pandemic of Covid-19 therefore the federal government and

Re: linux-next: manual merge of the net tree with Linus' tree

2020-06-09 Thread Arjun Roy
Ack, and thank you very much for the fix. -Arjun On Tue, Jun 9, 2020 at 4:30 PM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the net tree got a conflict in: > > net/ipv4/tcp.c > > between commit: > > d8ed45c5dcd4 ("mmap locking API: use coccinelle to convert mmap_sem

Re: [PATCH 1/2] dt-bindings: chrome: Add cros-ec-typec mux props

2020-06-09 Thread Prashant Malani
Hi Rob, Thanks again for the comments and feedback. Kindly see responses inline: (Trimming unrelated text from thread): On Tue, Jun 09, 2020 at 02:30:11PM -0600, Rob Herring wrote: > On Fri, May 29, 2020 at 5:30 PM Prashant Malani wrote: > > > > Nodes truncated and unrelated fields omitted in t

Re: [PATCH 09/21] KVM: x86/mmu: Separate the memory caches for shadow pages and gfn arrays

2020-06-09 Thread Ben Gardon
On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson wrote: > > Use separate caches for allocating shadow pages versus gfn arrays. This > sets the stage for specifying __GFP_ZERO when allocating shadow pages > without incurring extra cost for gfn arrays. > > No functional change intended. > > Signe

Re: [PATCH v2] arm64: vdso32: add CONFIG_THUMB2_COMPAT_VDSO

2020-06-09 Thread Nick Desaulniers
On Tue, Jun 9, 2020 at 1:35 PM Catalin Marinas wrote: > > On Mon, Jun 08, 2020 at 01:57:08PM -0700, Nick Desaulniers wrote: > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > > index 7f9d38444d6d..fe9e6b231cac 100644 > > --- a/arch/arm64/Kconfig > > +++ b/arch/arm64/Kconfig > > @@ -1299,6

[PATCH v3] gpiolib: split character device into gpiolib-cdev

2020-06-09 Thread Kent Gibson
Split the cdev specific functionality out of gpiolib.c and into gpiolib-cdev.c. This improves the readability and maintainability of both the cdev and core gpiolib code. Suggested-by: Bartosz Golaszewski Signed-off-by: Kent Gibson --- Changes in v3: - updated the gpiolib-cdev.c file comment.

[PATCH 2/2] perf parse-events: enable more flex/yacc warnings

2020-06-09 Thread Ian Rogers
All C compiler warnings are disabled are disabled by -w. This change removes the -w from flex and bison targets. To avoid implicit declarations header files are declared as targets and included. Tested with GCC 9.3.0 and clang 9.0.1. Signed-off-by: Ian Rogers --- tools/perf/util/Build

[PATCH 1/2] perf pmu: remove unused declaration

2020-06-09 Thread Ian Rogers
This avoids multiple declarations if the flex header is included. Signed-off-by: Ian Rogers --- tools/perf/util/pmu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/pmu.h b/tools/perf/util/pmu.h index 85e0c7f2515c..f971d9aa4570 100644 --- a/tools/perf/util/pmu.h +++ b/tools/p

[PATCH] kvm: i8254: remove redundant assignment to pointer s

2020-06-09 Thread Colin King
From: Colin Ian King The pointer s is being assigned a value that is never read, the assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- arch/x86/kvm/i8254.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/i8254.c b

linux-next: manual merge of the net tree with Linus' tree

2020-06-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net tree got a conflict in: net/ipv4/tcp.c between commit: d8ed45c5dcd4 ("mmap locking API: use coccinelle to convert mmap_sem rwsem call sites") from Linus' tree and commit: 3763a24c727e ("net-zerocopy: use vm_insert_pages() for tcp rcv zerocopy

Re: [PATCH 1/2] power: supply: Add new power supply prop for date of manufacture

2020-06-09 Thread Sebastian Reichel
Hi, Support for SBS battery manufacturer date is part of power-supply's pull request for v5.8 with a different API allowing other batteries to expose less precise information: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git/commit/?h=for-next&id=feabe49e46bb556b8d43e28d

Re: [RFC] Restrict the untrusted devices, to bind to only a set of "whitelisted" drivers

2020-06-09 Thread Rajat Jain
Hi Bjorn, Thanks for sending out the summary, I was about to send it out but got lazy. On Tue, Jun 9, 2020 at 2:04 PM Bjorn Helgaas wrote: > > On Sun, Jun 07, 2020 at 01:36:32PM +0200, Greg Kroah-Hartman wrote: > > > Your "problem" I think can be summed up a bit more concise: > > - you don

[PATCH] NFS: remove redundant pointer clnt

2020-06-09 Thread Colin King
From: Colin Ian King The pointer clnt is being initialized with a value that is never read and so this is assignment redundant and can be removed. The pointer can removed because it is being used as a temporary variable and it is clearer to make the direct assignment and remove it completely. Ad

Re: [PATCH] libbpf: Define __WORDSIZE if not available

2020-06-09 Thread Daniel Borkmann
On 6/9/20 11:16 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 09, 2020 at 10:37:48PM +0200, Daniel Borkmann escreveu: Hey Arnaldo, On 6/9/20 5:34 PM, Arnaldo Carvalho de Melo wrote: Some systems, such as Android, don't have a define for __WORDSIZE, do it in terms of __SIZEOF_LONG__, as done

Re: [GIT PULL] fuse update for 5.8

2020-06-09 Thread pr-tracker-bot
The pull request you sent on Tue, 9 Jun 2020 22:51:18 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git > tags/fuse-update-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5b14671be58d0084e7e2d1cc9c2c36a94467f6e0 Thank you! -- Deet-doot-dot

Re: [GIT PULL] afs: Misc small fixes

2020-06-09 Thread pr-tracker-bot
The pull request you sent on Tue, 09 Jun 2020 21:30:33 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > tags/afs-fixes-20200609 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4964dd29140a44e26474dbdca559b7393aba6c39 Thank you! --

Re: [GIT PULL] overlayfs update for 5.8

2020-06-09 Thread pr-tracker-bot
The pull request you sent on Tue, 9 Jun 2020 22:37:18 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > tags/ovl-update-5.8 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/52435c86bf0f5c892804912481af7f1a5b95ff2d Thank you! -- Deet-doot-dot,

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-09 Thread Zi Yan
On 9 Jun 2020, at 7:35, Anshuman Khandual wrote: > On 06/05/2020 07:54 PM, Zi Yan wrote: >> On 4 Jun 2020, at 23:35, Anshuman Khandual wrote: >> >>> On 06/04/2020 10:19 PM, Zi Yan wrote: On 4 Jun 2020, at 12:36, Matthew Wilcox wrote: > On Thu, Jun 04, 2020 at 09:51:10AM -0400, Zi Yan

Re: [PATCHv2 2/3] dt-binding: phy: ti,omap-usb2: Add quirk to disable charger detection

2020-06-09 Thread Rob Herring
On Tue, Jun 02, 2020 at 02:46:05PM +0300, Roger Quadros wrote: > Add "ti,dis-chg-det-quirk" property to disable the USB2_PHY Charger Detect > logic. > > Signed-off-by: Roger Quadros > --- > Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml | 5 + > 1 file changed, 5 insertions(+) > >

Re: [PATCHv2 1/3] dt-binding: phy: convert ti,omap-usb2 to YAML

2020-06-09 Thread Rob Herring
On Tue, Jun 02, 2020 at 02:46:04PM +0300, Roger Quadros wrote: > Move ti,omap-usb2 to its own YAML schema. > > Signed-off-by: Roger Quadros > --- > .../devicetree/bindings/phy/ti,omap-usb2.yaml | 69 +++ > .../devicetree/bindings/phy/ti-phy.txt| 37 -- > 2 files c

Re: [PATCH 06/21] KVM: x86/mmu: Move fast_page_fault() call above mmu_topup_memory_caches()

2020-06-09 Thread Ben Gardon
On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson wrote: > > Avoid refilling the memory caches and potentially slow reclaim/swap when > handling a fast page fault, which does not need to allocate any new > objects. > > Signed-off-by: Sean Christopherson Reviewed-by: Ben Gardon > --- > arch/x86

Re: [PATCH v2] x86/mm: use max memory block size on bare metal

2020-06-09 Thread Daniel Jordan
On Tue, Jun 09, 2020 at 06:54:51PM -0400, Daniel Jordan wrote: > Some of our servers spend significant time at kernel boot initializing > memory block sysfs directories and then creating symlinks between them > and the corresponding nodes. The slowness happens because the machines > get stuck with

Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

2020-06-09 Thread Wei Yang
On Tue, Jun 09, 2020 at 12:16:49PM +0300, Andy Shevchenko wrote: >On Mon, Jun 08, 2020 at 10:31:12PM +, Wei Yang wrote: >> On Fri, Jun 05, 2020 at 05:16:29PM -0700, Andrew Morton wrote: > >... > >> The test on 64bit machine pass. Since I don't have a 32bit machine by hand, > >Out of curiosity

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-09 Thread Guenter Roeck
On 6/9/20 3:06 PM, Peter Zijlstra wrote: > On Tue, Jun 09, 2020 at 02:38:29PM -0700, Eric Biggers wrote: >> Does the struct actually have to be named? How about: >> >> diff --git a/include/linux/sched.h b/include/linux/sched.h >> index c5d96e3e7fff42..14ca25cda19150 100644 >> --- a/include/linux/s

Re: [PATCH V3 1/3] dt-bindings: mmc: Supply max load for mmc supplies

2020-06-09 Thread Rob Herring
+Mark B On Tue, Jun 02, 2020 at 04:17:54PM +0530, Veerabhadrarao Badiganti wrote: > Supply the max load needed for driving the mmc supplies. > > Signed-off-by: Veerabhadrarao Badiganti > --- > Documentation/devicetree/bindings/mmc/mmc-controller.yaml | 6 ++ > 1 file changed, 6 insertions(+

[RFC] drivers/hwmon: Corsair Commander Pro driver

2020-06-09 Thread Marius Zachmann
This is a driver for the Corsair Commander Pro. Since this is my first addition to the kernel I would be happy, if you would take a look at it. I am using this driver on my computer at home and I had a few people test it. The device: The Corsair Commander Pro is a USB device, which is usually co

[PATCH] soundwire: qcom: Constify static structs

2020-06-09 Thread Rikard Falkeborn
qcom_swrm_port_ops and qcom_swrm_ops are not modified and can be made const to allow the compiler to put them in read-only memory. Before: textdata bss dec hex filename 182663056 256 21578544a drivers/soundwire/qcom.o After: textdata bss dec h

[PATCH v8 3/8] test_firmware: add partial read support for request_firmware_into_buf

2020-06-09 Thread Scott Branden
Add additional hooks to test_firmware to pass in support for partial file read using request_firmware_into_buf. buf_size: size of buffer to request firmware into partial: indicates that a partial file request is being made file_offset: to indicate offset into file to request Signed-off-by: Scott B

[PATCH v8 4/8] firmware: test partial file reads of request_firmware_into_buf

2020-06-09 Thread Scott Branden
Add firmware tests for partial file reads of request_firmware_into_buf. Signed-off-by: Scott Branden --- .../selftests/firmware/fw_filesystem.sh | 80 +++ 1 file changed, 80 insertions(+) diff --git a/tools/testing/selftests/firmware/fw_filesystem.sh b/tools/testing/selft

Re: [PATCH 04/21] KVM: x86/mmu: Remove superfluous gotos from mmu_topup_memory_caches()

2020-06-09 Thread Ben Gardon
On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson wrote: > > Return errors directly from mmu_topup_memory_caches() instead of > branching to a label that does the same. > > No functional change intended. > > Signed-off-by: Sean Christopherson Reviewed-by: Ben Gardon > --- > arch/x86/kvm/mmu/mm

[PATCH v8 8/8] ima: add FIRMWARE_PARTIAL_READ support

2020-06-09 Thread Scott Branden
Add FIRMWARE_PARTIAL_READ support for integrity measurement on partial reads of firmware files. Signed-off-by: Scott Branden --- security/integrity/ima/ima_main.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/security/integrity/ima/ima_main.c b/sec

[PATCH v8 6/8] misc: bcm-vk: add Broadcom VK driver

2020-06-09 Thread Scott Branden
Add Broadcom VK driver offload engine. This driver interfaces to the VK PCIe offload engine to perform should offload functions as video transcoding on multiple streams in parallel. VK device is booted from files loaded using request_firmware_into_buf mechanism. After booted card status is update

[PATCH v8 7/8] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-06-09 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5985a7847316..28e3dc1d3244 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3656,6 +3656,13 @@ L: net...@vge

[PATCH v8 2/8] firmware: add offset to request_firmware_into_buf

2020-06-09 Thread Scott Branden
Add offset to request_firmware_into_buf to allow for portions of firmware file to be read into a buffer. Necessary where firmware needs to be loaded in portions from file in memory constrained systems. Signed-off-by: Scott Branden --- drivers/base/firmware_loader/firmware.h | 5 ++ drivers/bas

[PATCH v8 1/8] fs: introduce kernel_pread_file* support

2020-06-09 Thread Scott Branden
Add kernel_pread_file* support to kernel to allow for partial read of files with an offset into the file. Signed-off-by: Scott Branden --- fs/exec.c | 93 ++ include/linux/fs.h | 15 2 files changed, 85 insertions(+), 23 deletions(-)

[PATCH v8 5/8] bcm-vk: add bcm_vk UAPI

2020-06-09 Thread Scott Branden
Add user space api for bcm-vk driver. Signed-off-by: Scott Branden --- include/uapi/linux/misc/bcm_vk.h | 99 1 file changed, 99 insertions(+) create mode 100644 include/uapi/linux/misc/bcm_vk.h diff --git a/include/uapi/linux/misc/bcm_vk.h b/include/uapi/linux

[PATCH v8 0/8] firmware: add request_partial_firmware_into_buf

2020-06-09 Thread Scott Branden
This patch series adds partial read support via a new call request_partial_firmware_into_buf. Such support is needed when the whole file is not needed and/or only a smaller portion of the file will fit into allocated memory at any one time. In order to accept the enhanced API it has been requested

[PATCH v2] x86/mm: use max memory block size on bare metal

2020-06-09 Thread Daniel Jordan
Some of our servers spend significant time at kernel boot initializing memory block sysfs directories and then creating symlinks between them and the corresponding nodes. The slowness happens because the machines get stuck with the smallest supported memory block size on x86 (128M), which results

Re: [PATCH v7 1/8] fs: introduce kernel_pread_file* support

2020-06-09 Thread Scott Branden
Hi Matthew, On 2020-06-09 6:21 a.m., Matthew Wilcox wrote: On Mon, Jun 08, 2020 at 03:29:22PM -0700, Scott Branden wrote: Hi Matthew, I am requesting the experts in the filesystem subsystem to come to a consensus here. This is not my area of expertise at all but every time I have addressed all

[GIT PULL] clk changes for the merge window

2020-06-09 Thread Stephen Boyd
The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-for-linus for you to fetch changes up to 9ac1eafa885a9b2d3be

Re: [PATCH 02/21] KVM: x86/mmu: Consolidate "page" variant of memory cache helpers

2020-06-09 Thread Ben Gardon
On Fri, Jun 5, 2020 at 2:39 PM Sean Christopherson wrote: > > Drop the "page" variants of the topup/free memory cache helpers, using > the existence of an associated kmem_cache to select the correct alloc > or free routine. > > No functional change intended. > > Signed-off-by: Sean Christopherson

[PATCH V2] soc: imx8m: Correct i.MX8MP UID fuse offset

2020-06-09 Thread Anson Huang
Correct i.MX8MP UID fuse offset according to fuse map: UID_LOW: 0x420 UID_HIGH: 0x430 Fixes: fc40200ebf82 ("soc: imx: increase build coverage for imx8m soc driver") Signed-off-by: Anson Huang --- Changes since V1: - add fix tag. --- drivers/soc/imx/soc-imx8m.c | 8 ++-- 1 file chang

Re: [PATCH v4 2/5] dt-bindings: regulator: Add labibb regulator

2020-06-09 Thread Rob Herring
On Tue, Jun 02, 2020 at 03:39:21PM +0530, Sumit Semwal wrote: > From: Nisha Kumari > > Adding the devicetree binding for labibb regulator. > > Signed-off-by: Nisha Kumari > Signed-off-by: Sumit Semwal > [sumits: cleanup as per review comments and update to yaml] > -- > v2: updated for better

[PATCH v2] power: supply: axp20x_usb_power: fix spelling mistake

2020-06-09 Thread Keyur Patel
Fix typo: "triger" --> "trigger" Signed-off-by: Keyur Patel --- drivers/power/supply/axp20x_usb_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/axp20x_usb_power.c b/drivers/power/supply/axp20x_usb_power.c index 4fde24b5f35a..d01dc0332edc 100644 -

RFC: Allow kfree to free all types of allocations ?

2020-06-09 Thread Joe Perches
There are a lot of patches trying to match various [kv].alloc allocations to specific frees. But are there frees in a fast path? Why not convert kfree to add a few extra tests and add #defines for existing uses Something like: void kfree(const void *addr) { if (is_kernel_rodata((unsigne

RE: [PATCH] soc: imx8m: Correct i.MX8MP UID fuse offset

2020-06-09 Thread Anson Huang
Hi, Luliana > Subject: RE: [PATCH] soc: imx8m: Correct i.MX8MP UID fuse offset > > Hi, Luliana > > > > Subject: Re: [PATCH] soc: imx8m: Correct i.MX8MP UID fuse offset > > > > > > > > On 6/9/2020 4:15 PM, Anson Huang wrote: > > > Correct i.MX8MP UID fuse offset according to fuse map: > > > > >

Re: [PATCH v4 2/2] dt-bindings: clocks: rk3288: add rk3288w compatible

2020-06-09 Thread Rob Herring
On Tue, 02 Jun 2020 10:06:44 +0200, Mylène Josserand wrote: > Add the possible compatible "rockchip,rk3288w-cru" that handles > the difference between the rk3288 and the new revision rk3288w. > > This compatible will be added by bootloaders. > > Signed-off-by: Mylène Josserand > --- > .../devic

[tip:x86/urgent] BUILD SUCCESS 7778d8417b74aded842eeb372961cfc460417fa0

2020-06-09 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: 7778d8417b74aded842eeb372961cfc460417fa0 x86/vdso: Unbreak paravirt VDSO clocks i386-tinyconfig vmlinux size: +---++

Re: [PATCH v2 2/2] ARM: dts: imx6ull: add MYiR MYS-6ULX SBC

2020-06-09 Thread Rob Herring
On Mon, Jun 01, 2020 at 04:58:57PM +0200, Parthiban Nallathambi wrote: > Add support for the MYiR imx6ULL based single board computer > equipped with on board 256MB NAND & RAM. The board also > provides expansion header for expansion board, but this > commit adds only support for SBC. > > Signed-o

[PATCH] power: supply: axp20x_usb_power: fix spelling mistake

2020-06-09 Thread Keyur Patel
Fix typo: "tigger" --> "trigger" Signed-off-by: Keyur Patel --- drivers/power/supply/axp20x_usb_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/axp20x_usb_power.c b/drivers/power/supply/axp20x_usb_power.c index 4fde24b5f35a..d01dc0332edc 100644 -

Re: [PATCH 2/4] Add compatible strings and the include files for the msm8992 GCC.

2020-06-09 Thread Konrad Dybcio
>'dt-bindings: clock: qcom,gcc: ...' for the subject. Will do. >Don't care about DT on non-GPL OSs? I'm not sure I understand? Now that I look at it the copyright to TLF looks kinda out of place.. what should it be? >License? Derp. Will correct in v2. Thanks for your review Konrad

RE: [PATCH] soc: imx8m: Correct i.MX8MP UID fuse offset

2020-06-09 Thread Anson Huang
Hi, Luliana > Subject: Re: [PATCH] soc: imx8m: Correct i.MX8MP UID fuse offset > > > > On 6/9/2020 4:15 PM, Anson Huang wrote: > > Correct i.MX8MP UID fuse offset according to fuse map: > > > > UID_LOW: 0x420 > > UID_HIGH: 0x430 > > > > Signed-off-by: Anson Huang > > If this patch corrects t

Re: [GIT PULL] afs: Misc small fixes

2020-06-09 Thread Linus Torvalds
On Tue, Jun 9, 2020 at 1:30 PM David Howells wrote: > > Would you prefer I defer and submit it again after -rc1? No, I'll take fixes at any time, and the better shape rc1 is in, the happier everybody will be and the more likely we'll have testers.. Linus

[PATCH] iio: cros_ec: fix spelling mistake

2020-06-09 Thread Keyur Patel
Fix typo: "tigger" --> "trigger" Signed-off-by: Keyur Patel --- drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c b/drivers/iio/common/cros_ec_sensors/cros_ec_se

linux-next: Signed-off-by missing for commits in the omap-fixes tree

2020-06-09 Thread Stephen Rothwell
Hi all, Commits e711da8e6306 ("ARM: dts: am437x-epos-evm: remove lcd timings") 02d1ba4bdba0 ("ARM: dts: am437x-gp-evm: remove lcd timings") dc7677dbb854 ("ARM: dts: am437x-sk-evm: remove lcd timings") are missing a Signed-off-by from their committer. -- Cheers, Stephen Rothwell pgpTQrz

Re: [PATCH v2 1/2] dt-bindings: arm: fsl: Add MYiR Tech boards

2020-06-09 Thread Rob Herring
On Mon, Jun 01, 2020 at 04:58:56PM +0200, Parthiban Nallathambi wrote: > Add entries for MYiR Tech imx6ULL eval boards. > > Signed-off-by: Parthiban Nallathambi > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/device

Re: memory leak in ctnetlink_start

2020-06-09 Thread Pablo Neira Ayuso
On Tue, Jun 09, 2020 at 02:58:12PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=128a9df210 > kernel

Re: [RFC PATCH 1/3] dt-bindings: Add ARM PSA FF binding for non-secure VM partitions

2020-06-09 Thread Rob Herring
On Mon, Jun 01, 2020 at 10:45:10AM +0100, Sudeep Holla wrote: > Add devicetree bindings for a Arm PSA FF-A compliant non-secure partition > at virtual interface(VMs). > > Signed-off-by: Sudeep Holla > --- > .../devicetree/bindings/arm/arm,psa-ffa.txt | 47 +++ > 1 file changed,

Re: memory leak in nf_tables_parse_netdev_hooks (3)

2020-06-09 Thread Pablo Neira Ayuso
On Tue, Jun 09, 2020 at 02:58:12PM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1741f5f210 > kernel

Re: [PATCH V2] mm/vmstat: Add events for THP migration without split

2020-06-09 Thread Daniel Jordan
On Tue, Jun 09, 2020 at 05:05:45PM +0530, Anshuman Khandual wrote: > On 06/05/2020 07:54 PM, Zi Yan wrote: > > On 4 Jun 2020, at 23:35, Anshuman Khandual wrote: > >> Thanks Zi, for such a detailed explanation. Ideally, we should separate THP > >> migration from base page migration in terms of stati

Re: [PATCH v3] f2fs: use kfree() instead of kvfree() to free superblock data

2020-06-09 Thread Eric Biggers
On Wed, Jun 10, 2020 at 01:14:46AM +0300, Denis Efremov wrote: > Use kfree() instead of kvfree() to free super in read_raw_super_block() > because the memory is allocated with kzalloc() in the function. > Use kfree() instead of kvfree() to free sbi, raw_super in > f2fs_fill_super() and f2fs_put_sup

Re: [PATCH v3 0/7] Venus dynamic debug

2020-06-09 Thread Joe Perches
On Tue, 2020-06-09 at 15:21 -0600, jim.cro...@gmail.com wrote: > On Tue, Jun 9, 2020 at 10:49 AM Joe Perches wrote: > > (adding Jim Cromie and comments) > > On Tue, 2020-06-09 at 09:03 -0700, Randy Dunlap wrote: > > > On 6/9/20 4:13 AM, Matthew Wilcox wrote: > > > > On Tue, Jun 09, 2020 at 01:45:5

Re: [PATCH 2/4] Add compatible strings and the include files for the msm8992 GCC.

2020-06-09 Thread Rob Herring
On Sun, May 31, 2020 at 07:46:08PM +0200, Konrad Dybcio wrote: > This commit adds the include files and documents compatible > strings for the msm8992 GCC driver 'dt-bindings: clock: qcom,gcc: ...' for the subject. > > Signed-off-by: Konrad Dybcio > --- > .../devicetree/bindings/clock/qcom,gcc

Re: vim: linux-kernel: Add "fallthrough" as a keyword

2020-06-09 Thread Vivien Didelot
Hi Joe, On Sat, 14 Mar 2020 12:08:40 -0700, Joe Perches wrote: > Add fallthrough as a keyword for source code highlighting as > fallthrough was added as a pseudo-keyword macro to replace the > various forms of switch/case /* fallthrough */ comments. > > Signed-off-by: Joe Perches > --- > plugi

Re: [PATCH 05/14] Documentation: Document msm8992 qcom_scm compatible

2020-06-09 Thread Rob Herring
On Sun, 31 May 2020 19:27:55 +0200, Konrad Dybcio wrote: > Signed-off-by: Konrad Dybcio > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH 1/2] dt-bindings: USB: Add Ingenic X1000 and X1830 bindings.

2020-06-09 Thread Rob Herring
On Sun, 31 May 2020 00:52:52 +0800, 周琰杰 (Zhou Yanjie) wrote: > Add the USB PHY bindings for the X1000 SoC and > the X1830 SoC from Ingenic. > > Signed-off-by: 周琰杰 (Zhou Yanjie) > --- > Documentation/devicetree/bindings/usb/ingenic,jz4770-phy.yaml | 5 - > 1 file changed, 4 insertions(+), 1 d

[PATCH v3] f2fs: use kfree() instead of kvfree() to free superblock data

2020-06-09 Thread Denis Efremov
Use kfree() instead of kvfree() to free super in read_raw_super_block() because the memory is allocated with kzalloc() in the function. Use kfree() instead of kvfree() to free sbi, raw_super in f2fs_fill_super() and f2fs_put_super() because the memory is allocated with kzalloc(). Fixes: 5222595d09

[PATCH] memory: tegra: Constify struct thermal_cooling_device_ops

2020-06-09 Thread Rikard Falkeborn
tegra210_emc_cd_ops is never modified and can be made const to allow the compiler to put it in read-only memory. Before: textdata bss dec hex filename 279365600 192 3372883c0 drivers/memory/tegra/tegra210-emc-core.o After: textdata bss dec hex

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-09 Thread Peter Zijlstra
On Tue, Jun 09, 2020 at 01:21:34PM -0700, Eric Biggers wrote: > Still occurring on Linus' tree. This needs to be fixed. (And not by removing > support for randstruct; that's not a "fix"...) > > Shouldn't the kbuild test robot have caught this? Should probably, but the thing has been rather spot

Re: [RFC][PATCH 7/7] sched: Replace rq::wake_list

2020-06-09 Thread Peter Zijlstra
On Tue, Jun 09, 2020 at 02:38:29PM -0700, Eric Biggers wrote: > Does the struct actually have to be named? How about: > > diff --git a/include/linux/sched.h b/include/linux/sched.h > index c5d96e3e7fff42..14ca25cda19150 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -653,

Re: [RFC] MFD's relationship with Device Tree (OF)

2020-06-09 Thread Rob Herring
On Tue, Jun 9, 2020 at 5:01 AM Lee Jones wrote: > > Good morning, > > After a number of reports/queries surrounding a known long-term issue > in the MFD core, including the submission of a couple of attempted > solutions, I've decided to finally tackle this one myself. > > Currently, when a child

Re: [PATCH v2 0/2] i2c: fsi: Fixes for systems with more ports

2020-06-09 Thread Andy Shevchenko
On Tue, Jun 9, 2020 at 11:15 PM Eddie James wrote: > > This series fixes a register definition for the FSI-attached I2C master to > allow all the available ports. In addition, the code to add an adapter for > each port is modified to require a device-tree entry for the bus. This is so > that syste

memory leak in ctnetlink_del_conntrack

2020-06-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10fcd90e10 kernel config: https://syzkaller.appspot.com/x/.config?x=9a1aa05456dfd557 das

memory leak in ctnetlink_start

2020-06-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=128a9df210 kernel config: https://syzkaller.appspot.com/x/.config?x=9a1aa05456dfd557 das

memory leak in nf_tables_parse_netdev_hooks (3)

2020-06-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7ae77150 Merge tag 'powerpc-5.8-1' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1741f5f210 kernel config: https://syzkaller.appspot.com/x/.config?x=9a1aa05456dfd557 das

Re: [PATCH v5 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-06-09 Thread Mathieu Poirier
On Wed, Jun 03, 2020 at 07:49:43AM -0700, Ben Levinsky wrote: > R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this > remotproc driver, we can boot the R5 sub-system in different > configurations. > > Acked-by: Stefano Stabellini > Acked-by: Ben Levinsky > Reviewed-by: Radhey Shyam

Re: [PATCH v2 10/11] xen/arm: introduce phys/dma translations in xen_dma_sync_for_*

2020-06-09 Thread Stefano Stabellini
On Mon, 8 Jun 2020, Christoph Hellwig wrote: > On Mon, Jun 08, 2020 at 10:38:02PM -0700, Christoph Hellwig wrote: > > On Mon, Jun 08, 2020 at 05:38:28PM -0700, Stefano Stabellini wrote: > > > Yeah, the pfn_valid check is a bit weird by definition because we are > > > using it to understand whether

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