Re: [PATCH][RFC] kdump: append kernel build-id string to VMCOREINFO

2020-06-09 Thread Baoquan He
On 06/04/20 at 05:01pm, Vijay Balakrishna wrote: > Make kernel GNU build-id available in VMCOREINFO. Having > build-id in VMCOREINFO facilitates presenting appropriate kernel > namelist image with debug information file to kernel crash dump > analysis tools. Currently VMCOREINFO lacks uniquely

Re: [PATCH 2/4] soc: bcm: add BCM63xx power domain driver

2020-06-09 Thread Florian Fainelli
On 6/9/2020 3:52 AM, Álvaro Fernández Rojas wrote: > BCM6318, BCM6328, BCM6362 and BCM63268 SoCs have a power domain controller > to enable/disable certain components in order to save power. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/soc/bcm/Kconfig | 8 + >

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

2020-06-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the scsi-mkp tree got a conflict in: drivers/scsi/sr.c between commit: a711d91cd97e ("block: add a cdrom_device_info pointer to struct gendisk") from Linus' tree and commit: 6555781b3fde ("scsi: sr: Fix sr_probe() missing deallocate of device minor")

Re: + ipc-convert-ipcs_idr-to-xarray-update.patch added to -mm tree

2020-06-09 Thread Matthew Wilcox
On Fri, Jun 05, 2020 at 02:20:39PM -0700, Andrew Morton wrote: > On Fri, 5 Jun 2020 13:11:34 -0700 Matthew Wilcox wrote: > > > On Fri, Jun 05, 2020 at 03:58:48PM -0400, Qian Cai wrote: > > > This will trigger, > > > > > > [ 8853.759549] LTP: starting semget05 > > > [ 8867.257088] BUG: sleeping

Re: [PATCH v2 2/2] iommu/vt-d: Move Intel IOMMU driver into subdirectory

2020-06-09 Thread Lu Baolu
Hi Joerg, On 6/9/20 9:03 PM, Joerg Roedel wrote: From: Joerg Roedel Move all files related to the Intel IOMMU driver into its own subdirectory. Signed-off-by: Joerg Roedel Reviewed-by: Jerry Snitselaar Reviewed-by: Lu Baolu Best regards, baolu --- MAINTAINERS

Re: [PATCH] scsi: ufs-bsg: Fix runtime PM imbalance on error

2020-06-09 Thread Martin K. Petersen
Avri: Please review! > When ufs_bsg_alloc_desc_buffer() returns an error code, > a pairing runtime PM usage counter decrement is needed > to keep the counter balanced. > > Signed-off-by: Dinghao Liu > --- > drivers/scsi/ufs/ufs_bsg.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)

[RFC PATCH V5] GCOV: Add config to check the preqequisites situation

2020-06-09 Thread gengcixi
From: Cixi Geng Introduce new configuration option GCOV_PROFILE_PREREQS that can be used to check whether the prerequisites for enabling gcov profiling for specific files and directories are met. Only add SERIAL_GCOV for an example. Signed-off-by: Cixi Geng --- drivers/tty/serial/Kconfig |

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

2020-06-09 Thread Ramuthevar, Vadivel MuruganX
Hi Philipp, Thanks for the review comments... On 9/6/2020 8:14 pm, Philipp Zabel wrote: + + for (i = 0; i < ARRAY_SIZE(CTL_RESETS); i++) + reset_control_deassert(resets[i]); + /* Need to wait at least 20us before de-assert the PHY */ + usleep_range(20, 100);

Re: [PATCH v6 4/5] drm/msm/dp: add support for DP PLL driver

2020-06-09 Thread Stephen Boyd
Quoting Tanmay Shah (2020-06-08 20:46:23) > diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c > b/drivers/gpu/drm/msm/dp/dp_catalog.c > index d02f4eb..2b982f0 100644 > --- a/drivers/gpu/drm/msm/dp/dp_catalog.c > +++ b/drivers/gpu/drm/msm/dp/dp_catalog.c > @@ -5,6 +5,7 @@ > > #define pr_fmt(fmt)

Re: [PATCHv2 1/1] ext4: mballoc: Use this_cpu_read instead of this_cpu_ptr

2020-06-09 Thread Ritesh Harjani
On 6/9/20 6:07 PM, Hillf Danton wrote: On Tue, 9 Jun 2020 18:53:23 +0800 Ritesh Harjani wrote: Simplify reading a seq variable by directly using this_cpu_read API instead of doing this_cpu_ptr and then dereferencing it. Two of the quick questions 1) Why can blocks discarded in a ext4 FS

Re: [f2fs-dev] [PATCH] f2fs: add F2FS_IOC_SEC_TRIM_FILE ioctl

2020-06-09 Thread Daeho Jeong
> > Added a new ioctl to send discard commands or/and zero out > > to whole data area of a regular file for security reason. > > With this ioctl available, what is the exact procedure to write and then later > securely erase a file on f2fs? In particular, how can the user prevent f2fs > from

Re: [PATCH v2] scsi: st: convert convert get_user_pages() --> pin_user_pages()

2020-06-09 Thread Martin K. Petersen
On Tue, 26 May 2020 11:27:09 -0700, John Hubbard wrote: > This code was using get_user_pages*(), in a "Case 1" scenario > (Direct IO), using the categorization from [1]. That means that it's > time to convert the get_user_pages*() + put_page() calls to > pin_user_pages*() + unpin_user_pages()

Re: [PATCH] scsi: storvsc: Remove memset before memory freeing in storvsc_suspend()

2020-06-09 Thread Martin K. Petersen
On Fri, 5 Jun 2020 10:59:34 +0300, Denis Efremov wrote: > Remove memset with 0 for stor_device->stor_chns in storvsc_suspend() > before the call to kfree() as the memory contains no sensitive information. Applied to 5.8/scsi-queue, thanks! [1/1] scsi: storvsc: Remove memset before memory

Re: [PATCH v2 1/2] scsi: sr: Fix sr_probe() missing mutex_destroy

2020-06-09 Thread Martin K. Petersen
On Sat, 30 May 2020 18:58:25 +0100, Simon Arlott wrote: > If the device minor cannot be allocated or the cdrom fails to be > registered then the mutex should be destroyed. Applied to 5.8/scsi-queue, thanks! [1/2] scsi: sr: Fix sr_probe() missing mutex_destroy

Re: [PATCH] cxlflash: remove an unnecessary NULL check

2020-06-09 Thread Martin K. Petersen
On Fri, 5 Jun 2020 14:02:58 +0300, Dan Carpenter wrote: > The "cmd" pointer was already dereferenced a couple lines earlier so > this NULL check is too late. Fortunately, the pointer can never be NULL > and the check can be removed. Applied to 5.8/scsi-queue, thanks! [1/1] scsi: cxlflash:

Re: [PATCH v2 1/2] iommu/amd: Move AMD IOMMU driver into subdirectory

2020-06-09 Thread kernel test robot
Hi Joerg, I love your patch! Perhaps something to improve: [auto build test WARNING on iommu/next] [also build test WARNING on linus/master next-20200609] [cannot apply to v5.7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also

[PATCH] tracing: Make ftrace packed events have align of 1

2020-06-09 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" When using trace-cmd on 5.6-rt for the function graph tracer, the output was corrupted. It gave output like this: funcgraph_entry: func=0x depth=38982 funcgraph_entry: func=0x1 depth=16044 funcgraph_exit:func=0x

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

2020-06-09 Thread Joe Perches
On Tue, 2020-06-09 at 15:23 -0700, Joe Perches wrote: > These are just driver developer mechanisms to enable/disable > groups of formats via some test for < level or | bitmap duh: & bitmask > if (is_bitmask) > enable/disable(value|flag) obviously

[PATCH] e1000e: Squash an unused function warning

2020-06-09 Thread Palmer Dabbelt
From: Palmer Dabbelt e1000e_check_me is only used under CONFIG_PM_SLEEP but exists unconditionally, which triggers a warning. Signed-off-by: Palmer Dabbelt --- drivers/net/ethernet/intel/e1000e/netdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

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

2020-06-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/sparc/include/asm/pgtable_32.h because commits 3408974d0533 ("sparc32: mm: Restructure sparc32 MMU page-table layout") c95be5b549d6 ("sparc32: mm: Change pgtable_t type to pte_t * instead of struct page *") from

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

2020-06-09 Thread Rong Chen
master head:   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

upstream test error: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks

2020-06-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5b14671b Merge tag 'fuse-update-5.8' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12a11ec110 kernel config: https://syzkaller.appspot.com/x/.config?x=d1ea633f7958e008

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 06:38:08PM -0700, Matthew Wilcox wrote: > On Tue, Jun 09, 2020 at 08:10:36PM -0400, Kent Overstreet wrote: > > 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

[PATCH] s390: set NODES_SHIFT=0 when NUMA=n

2020-06-09 Thread Qian Cai
When NUMA=n and nr_node_ids=2, in apply_wqattrs_prepare(), it has, for_each_node(node) { if (wq_calc_node_cpumask(... where it will trigger a booting warning, WARNING: workqueue cpumask: online intersect > possible intersect because it found 2 nodes and wq_numa_possible_cpumask[1] is

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

2020-06-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: Documentation/admin-guide/hw-vuln/index.rst between commit: 7222a1b5b874 ("x86/speculation: Add SRBDS vulnerability and mitigation documentation") from Linus' tree and commit: 0fcfdf55db9e ("Documentation: Add L1D

Re: [PATCH v6 1/7] fpga: dfl: parse interrupt info for feature devices on enumeration

2020-06-09 Thread Xu Yilun
On Tue, Jun 09, 2020 at 05:15:34AM -0700, Tom Rix wrote: > When i say 'surprise the user' i mean the end user of the fpga.  I do not > mean the developer of the fpga.  An example of the use case.. > > An AFU to do bitcoin mining is created with a broken but undetected private > feature in 2017

Re: [RFC 1/2] Eliminate over- and under-counting of io_ticks

2020-06-09 Thread Hou Tao
Hi, On 2020/6/9 12:07, Josh Snyder wrote: > Previously, io_ticks could be under-counted. Consider these I/Os along > the time axis (in jiffies): > > t 012345678 > io1|| > io2|---| > > Under the old approach, io_ticks would count up to 6, like so: > > t

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: > 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

[PATCH v2 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

[PATCH v2 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

Re: [PATCH v2] scripts/spelling: Recommend blocklist/allowlist instead of blacklist/whitelist

2020-06-09 Thread Joe Perches
On Tue, 2020-06-09 at 14:25 +0200, SeongJae Park wrote: > From: SeongJae Park > > This commit recommends the patches to replace 'blacklist' and > 'whitelist' with the 'blocklist' and 'allowlist', because the new > suggestions are incontrovertible, doesn't make people hurt, and more >

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

2020-06-09 Thread Oliver O'Halloran
On Wed, Jun 10, 2020 at 7:04 AM Bjorn Helgaas wrote: > > To sketch this out, my understanding of how this would work is: > > - Expose the PCI pdev->untrusted bit in sysfs. We don't expose this > today, but doing so would be trivial. I think I would prefer a > sysfs name like

Re: [PATCH] dtc: also check for libyaml

2020-06-09 Thread Masahiro Yamada
On Wed, Jun 10, 2020 at 10:12 AM Jiping Ma wrote: > > > > On 06/10/2020 08:28 AM, Masahiro Yamada wrote: > > 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: > >

Re: [PATCH] net: stmmac: Fix RX Coalesce IOC always true issue

2020-06-09 Thread biao huang
On Tue, 2020-06-09 at 14:20 +, Jose Abreu wrote: > From: Biao Huang > Date: Jun/09/2020, 10:41:33 (UTC+00:00) > > > - rx_q->rx_count_frames += priv->rx_coal_frames; > > - if (rx_q->rx_count_frames > priv->rx_coal_frames) > > + if (rx_q->rx_count_frames >=

Re: [PATCH v4 5/7] iio: adc: exynos: Use input_device_enabled()

2020-06-09 Thread Michał Mirosław
On Mon, Jun 08, 2020 at 01:22:09PM +0200, Andrzej Pietrasiewicz wrote: > A new helper is available, so use it. Inspecting 'users' member of > input_dev requires taking device's mutex. [...] > --- a/drivers/iio/adc/exynos_adc.c > +++ b/drivers/iio/adc/exynos_adc.c > @@ -633,7 +633,9 @@ static

Re: [PATCH] page_alloc: consider highatomic reserve in wmartermark fast

2020-06-09 Thread Minchan Kim
Hi Jaewon, On Tue, Jun 09, 2020 at 06:51:28PM +0900, Jaewon Kim wrote: > zone_watermark_fast was introduced by commit 48ee5f3696f6 ("mm, > page_alloc: shortcut watermark checks for order-0 pages"). The commit > simply checks if free pages is bigger than watermark without additional > calculation

Re: [PATCH 1/3] usb: typec: Add QCOM PMIC typec detection driver

2020-06-09 Thread Jack Pham
Hi Wesley, On Tue, Jun 09, 2020 at 01:58:49PM -0700, Wesley Cheng wrote: > The QCOM SPMI typec driver handles the role and orientation detection, and > notifies client drivers using the USB role switch framework. It registers > as a typec port, so orientation can be communicated using the typec

[PATCH v2 1/2] driver core: Add device_is_dependent() to linux/device.h

2020-06-09 Thread Saravana Kannan
DT implementation of fw_devlink needs this function to detect cycles. So make it available. Signed-off-by: Saravana Kannan --- drivers/base/core.c| 2 +- include/linux/device.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/base/core.c b/drivers/base/core.c

[PATCH v2 0/2] fw_devlink: Improve cycle detection in DT

2020-06-09 Thread Saravana Kannan
Patch 2/2 explain the series. Just using a cover letter to thread the series and add CC's. -Saravana v1 -> v2: Patch 2/2: - Added more comments - Fixed missing put_device() - Fixed stupid fall through in the error case Saravana Kannan (2): driver core: Add device_is_dependent() to

[PATCH v2 2/2] of: property: Improve cycle detection when one of the devices is never added

2020-06-09 Thread Saravana Kannan
Consider this example where -> means LHS device is a consumer of RHS device and indentation represents "child of" of the previous device. Device A -> Device C Device B -> Device A Device C Without this commit: 1. Device A is added. 2. Device A is added to waiting for supplier list

Re: [PATCH 1/4] dt-bindings: soc: brcm: add BCM63xx power domain binding

2020-06-09 Thread Florian Fainelli
On 6/9/2020 3:52 AM, Álvaro Fernández Rojas wrote: > BCM6318, BCM6328, BCM6362 and BCM63268 SoCs have a power domain controller > to enable/disable certain components in order to save power. > > Signed-off-by: Álvaro Fernández Rojas > --- > .../devicetree/bindings/mips/brcm/soc.txt |

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' option

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

2020-06-09 Thread Kefeng Wang
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 (samples/ftrace/sample-trace-array.c:38){+.-.}-{0:0}, at: call_timer_fn+0x8/0x3e0 CPU:

Re: [PATCH] dtc: also check for libyaml

2020-06-09 Thread Jiping Ma
On 06/10/2020 08:28 AM, Masahiro Yamada wrote: 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:

Re: [PATCH 3/4] mips: bmips: dts: add BCM6328 power domain support

2020-06-09 Thread Florian Fainelli
On 6/9/2020 3:52 AM, Álvaro Fernández Rojas wrote: > BCM6328 SoCs have a power domain controller to enable/disable certain > components in order to save power. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

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

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) > > { > >

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

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

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

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()

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

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' option

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

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 =

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,

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

[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

[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,

[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

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: > > > > >

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

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

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. > >

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 +++

[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

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

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:

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

[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.

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! --

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

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

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 > --- >

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

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 >> ---

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

[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

[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

[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

[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

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 > --- >

[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

[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

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