Re: [PATCH v2 5/5] selftests/ima: loading kernel modules

2019-02-27 Thread shuah
Hi Mimi, On 2/27/19 7:14 AM, Mimi Zohar wrote: Hi Shuah, diff --git a/tools/testing/selftests/ima/test_kernel_module.sh b/tools/testing/selftests/ima/test_kernel_module.sh new file mode 100755 index ..4009e1b60b03 --- /dev/null +++ b/tools/testing/selftests/ima/test_kernel_module.

Re: [PATCH V2] mm/cma: cma_declare_contiguous: correct err handling

2019-02-27 Thread Mike Rapoport
On Wed, Feb 27, 2019 at 02:34:55PM +, Peng Fan wrote: > In case cma_init_reserved_mem failed, need to free the memblock allocated > by memblock_reserve or memblock_alloc_range. > > Quote Catalin's comments: > https://lkml.org/lkml/2019/2/26/482 > Kmemleak is supposed to work with the memblock_

Re: [PATCH v3 0/9] perf: enable compression of record mode trace to save storage space

2019-02-27 Thread Alexey Budankov
On 27.02.2019 17:28, Jiri Olsa wrote: > On Tue, Feb 26, 2019 at 08:31:38AM +0300, Alexey Budankov wrote: > > SNIP > >> TESTING: >> >> tools/perf/perf test >> 1: vmlinux symtab matches kallsyms : Skip >> 2: Detect openat syscall event : Ok >> 3:

Re: [PATCH 5/6] objtool: Add UACCESS validation

2019-02-27 Thread Dmitry Vyukov
On Wed, Feb 27, 2019 at 3:33 PM Peter Zijlstra wrote: > > On Wed, Feb 27, 2019 at 03:26:23PM +0100, Peter Zijlstra wrote: > > On Wed, Feb 27, 2019 at 05:17:58PM +0300, Andrey Ryabinin wrote: > > > > > > > > > On 2/27/19 5:08 PM, Peter Zijlstra wrote: > > > > > > I can't actually find any definitio

[PATCH] staging: rtl8712: fix indentation issues

2019-02-27 Thread Prashanth Kumar KR
Fix indentation warnings reported by checkpatch Signed-off-by: Prashanth Kumar KR --- drivers/staging/rtl8712/ieee80211.c| 3 ++- drivers/staging/rtl8712/rtl871x_recv.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/stagi

Re: [PATCH v2 3/6] sched/cpufreq: Annotate cpufreq_update_util_data pointer with __rcu

2019-02-27 Thread Joel Fernandes
On Mon, Feb 25, 2019 at 01:10:26PM -0800, Paul E. McKenney wrote: > On Sat, Feb 23, 2019 at 01:34:31AM -0500, Joel Fernandes (Google) wrote: > > Recently I added an RCU annotation check to rcu_assign_pointer(). All > > pointers assigned to RCU protected data are to be annotated with __rcu > > inord

Re: [PATCH] time64: Avoid undefined behaviour in timespec64_add()

2019-02-27 Thread Thomas Gleixner
On Mon, 25 Feb 2019, Yao HongBo wrote: > On 2/25/2019 12:53 PM, Deepa Dinamani wrote: > > On Sun, Feb 24, 2019 at 7:13 PM Hongbo Yao wrote: > >> I ran into this: > >> UBSAN: Undefined behaviour in ./include/linux/time64.h:70:2 > >> signed integer overflow: > >> 1551059291

Re: [PATCH v3 1/2] PCI: hv: Replace hv_vp_set with hv_vpset

2019-02-27 Thread Vitaly Kuznetsov
Maya Nakamura writes: > Remove a duplicate definition of VP set (hv_vp_set) and use the common > definition (hv_vpset) that is used in other places. > > Change the order of the members in struct hv_pcibus_device so that the > declaration of retarget_msi_interrupt_params is the last member. Struct

Re: [PATCH v7 21/23] block: Avoid that flushing triggers a lockdep complaint

2019-02-27 Thread Ming Lei
On Wed, Feb 27, 2019 at 03:24:51PM +0100, Peter Zijlstra wrote: > On Wed, Feb 27, 2019 at 09:35:56AM +0800, Ming Lei wrote: > > On Tue, Feb 26, 2019 at 07:08:02PM +0100, Peter Zijlstra wrote: > > > On Fri, Feb 15, 2019 at 10:26:59AM +0800, Ming Lei wrote: > > > > There might be lots of blk_flush_qu

[PATCH] staging: rtl8712: Fix indentation issue

2019-02-27 Thread Prashanth Kumar KR
Fix indentation warning reported by checkpatch Signed-off-by: Prashanth Kumar KR --- drivers/staging/rtl8712/rtl871x_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl871x_recv.c b/drivers/staging/rtl8712/rtl871x_recv.c index 0271ccf25f25..28f

Re: [PATCH v16] i2c: Add drivers for the AMD PCIe MP2 I2C controller

2019-02-27 Thread kbuild test robot
Hi Elie, I love your patch! Yet something to improve: [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v5.0-rc8 next-20190227] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: Support sample context in perf report

2019-02-27 Thread Andi Kleen
> > Also available in > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git > > perf/streams-2 > > your post is missing this patch, it's only in the branch: > perf tools: Add utility function to fetch executable Because Arnaldo already merged it. But the branch is still based on

[RFC PATCH v2 04/14] x86/hpet: Reserve timer for the HPET hardlockup detector

2019-02-27 Thread Ricardo Neri
HPET timer 2 will be used to drive the HPET-based hardlockup detector. Reserve such timer to ensure it cannot be used by user space programs or clock events. When looking for MSI-capable timers for clock events, skip timer 2 if the HPET hardlockup detector is selected. Cc: "H. Peter Anvin" Cc: A

[RFC PATCH v2 14/14] x86/watchdog: Add a shim hardlockup detector

2019-02-27 Thread Ricardo Neri
The generic hardlockup detector is based on perf. It also provides a set of weak stubs that CPU architectures can override. Add a shim hardlockup detector for x86 that selects between perf and hpet implementations. Specifically, this shim implementation is needed for the HPET-based hardlockup dete

[RFC PATCH v2 00/14] Implement an HPET-based hardlockup detector

2019-02-27 Thread Ricardo Neri
Hi, This is the second attempt to demonstrate the implementation of a hardlockup detector driven by the High-Precision Event Timer. The initial implementation can be found here [1]. == Introduction == In CPU architectures that do not have an NMI watchdog, one can be constructed using a counter

[RFC PATCH v2 12/14] x86/watchdog/hardlockup/hpet: Determine if HPET timer caused NMI

2019-02-27 Thread Ricardo Neri
The only direct method to determine whether an HPET timer caused an interrupt is to read the Interrupt Status register. Unfortunately, reading HPET registers is slow and, therefore, it is not recommended to read them while in NMI context. Furthermore, status is not available if the interrupt is gen

[RFC PATCH v2 10/14] kernel/watchdog: Add a function to obtain the watchdog_allowed_mask

2019-02-27 Thread Ricardo Neri
Implementations of NMI watchdogs that use a single piece of hardware to monitor all the CPUs in the system (as opposed to per-CPU implementations such as perf) need to know which CPUs the watchdog is allowed to monitor. In this manner, non-maskable interrupts are directed only to the monitored CPUs

[RFC PATCH v2 13/14] watchdog/hardlockup/hpet: Only enable the HPET watchdog via a boot parameter

2019-02-27 Thread Ricardo Neri
Keep the HPET-based hardlockup detector disabled unless explicitly enabled via a command line argument. If such parameter is not given, the hardlockup detector will fallback to use the perf-based implementation. The function hardlockup_panic_setup() is updated to return 0 in order to to allow __se

[RFC PATCH v2 11/14] x86/watchdog/hardlockup: Add an HPET-based hardlockup detector

2019-02-27 Thread Ricardo Neri
This is the initial implementation of a hardlockup detector driven by an HPET timer. This initial implementation includes functions to control the timer via its registers. It also requests such timer, installs an NMI interrupt handler and performs the initial configuration of the timer. The detect

[RFC PATCH v2 07/14] watchdog/hardlockup: Define a generic function to detect hardlockups

2019-02-27 Thread Ricardo Neri
The procedure to detect hardlockups is independent of the underlying mechanism that generated the non-maskable interrupt used to drive the detector. Thus, it can be put in a separate, generic function. In this manner, it can be invoked by various implementations of the NMI watchdog. For this purpo

[RFC PATCH v2 08/14] watchdog/hardlockup: Decouple the hardlockup detector from perf

2019-02-27 Thread Ricardo Neri
The current default implementation of the hardlockup detector assumes that it is implemented using perf events. However, the hardlockup detector can be driven by other sources of non-maskable interrupts (e.g., a properly configured timer). Put in a separate file all the code that is specific to pe

[RFC PATCH v2 06/14] x86/hpet: Configure the timer used by the hardlockup detector

2019-02-27 Thread Ricardo Neri
Implement the initial configuration of the timer to be used by the hardlockup detector. Return a data structure with a description of the timer; this information is subsequently used by the hardlockup detector. Only provide the timer if it supports Front Side Bus interrupt delivery. This condition

[RFC PATCH v2 09/14] watchdog/hardlockup: Make arch_touch_nmi_watchdog() to hpet-based implementation

2019-02-27 Thread Ricardo Neri
CPU architectures that have an NMI watchdog use arch_touch_nmi_watchdog() to briefly ignore the hardlockup detector. If the architecture does not have an NMI watchdog, one can be constructed using a source of non- maskable interrupts. In this case, arch_touch_nmi_watchdog() is common to any underly

[RFC PATCH v2 01/14] x86/msi: Add definition for NMI delivery mode

2019-02-27 Thread Ricardo Neri
Until now, the delivery mode of MSI interrupts is set to the default mode set in the APIC driver. However, there are no restrictions in hardware to configure each interrupt with a different delivery mode. Specifying the delivery mode per interrupt is useful when one is interested in changing the de

[RFC PATCH v2 05/14] x86/hpet: Relocate flag definitions to a header file

2019-02-27 Thread Ricardo Neri
Users of HPET timers (such as the hardlockup detector) need the definitions of these flags to interpret the configuration of a timer as passed by platform code. Cc: "H. Peter Anvin" Cc: Ashok Raj Cc: Andi Kleen Cc: Tony Luck Cc: Clemens Ladisch Cc: Arnd Bergmann Cc: Philippe Ombredanne Cc:

[RFC PATCH v2 02/14] x86/hpet: Expose more functions to read and write registers

2019-02-27 Thread Ricardo Neri
Some of the registers in the HPET hardware have a width of 64 bits. 64-bit access functions are needed mostly to read the counter and write the comparator in a single read or write. Also, 64-bit accesses can be used to to read parameters located in the higher bits of some registers (such as the tim

[RFC PATCH v2 03/14] x86/hpet: Calculate ticks-per-second in a separate function

2019-02-27 Thread Ricardo Neri
It is easier to compute the expiration times of an HPET timer by using its frequency (i.e., the number of times it ticks in a second) than its period, as given in the capabilities register. In addition to the HPET char driver, the HPET-based hardlockup detector will also need to know the timer's f

Valid Wine List

2019-02-27 Thread Stacey Parsons
Hi, Would you be interested in acquiring an email list of "Wine Enthusiasts" from USA? We also have data for Beer Enthusiasts, Liquor Enthusiasts, Beverage Enthusiasts, Spa and Resort Visitors List, Food Enthusiasts, Entertainment Enthusiasts and many more. Each record in the list contains

Re: [PATCH 1/5] x86/percpu: Differentiate this_cpu_{}() and __this_cpu_{}()

2019-02-27 Thread Linus Torvalds
On Wed, Feb 27, 2019 at 2:16 AM Peter Zijlstra wrote: > > Nadav Amit reported that commit: > > b59167ac7baf ("x86/percpu: Fix this_cpu_read()") > > added a bunch of constraints to all sorts of code; and while some of > that was correct and desired, some of that seems superfluous. Hmm. I have t

[PATCH v3 1/7] iio: imu: adis16480: Add support for configurable drdy indicator

2019-02-27 Thread Stefan Popa
The FNCTIO_CTRL register provides configuration control for each I/O pin (DIO1, DIO2, DIO3 and DIO4). This patch adds the option to configure each DIOx pin as data ready indicator with positive or negative polarity by reading the 'interrupts' and 'interrupt-names' properties from the devicetree. T

[PATCH v3 0/7] iio: imu: adis16480: Add support for ADIS1649x family of devices

2019-02-27 Thread Stefan Popa
This series has as main goal to add support for ADIS1649x family of devices as part of the already existing adis16480, but on the way it also deals with some outstanding items: * Make drdy pin configurable * Add OF device ID table * Deal with the temperature max scale in a generic way * Deal with

[PATCH v3 2/7] iio: imu: adis16480: Add OF device ID table

2019-02-27 Thread Stefan Popa
The driver does not have a struct of_device_id table, but supported devices are registered via Device Trees. This patch adds OF device ID table. Signed-off-by: Stefan Popa --- drivers/iio/imu/adis16480.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/iio/imu/adis16480.c

[PATCH v3 3/7] iio: imu: adis16480: Treat temperature scale in a generic way

2019-02-27 Thread Stefan Popa
All supported devices provide internal temperature measurement from -40 C to +85 C, with +25 C representing value 0x00. This patch treats the temperature scale in a generic way, similar to the accelerometer and gyroscope scales. So far, there are no temperature max scale differences between the su

[PATCH v3 4/7] iio: imu: adis16480: Calculate the sampling frequency in a generic way

2019-02-27 Thread Stefan Popa
The adis1648x devices have an internal clock of 2.46 kSPS. The sampling frequency is calculated by applying a decimation rate which can take the maximum value of 2047. Although all adis1648x devices are similar in this regard, devices that will use this feature will be added in the future. Signed

[PATCH v3 5/7] iio: imu: adis16480: Deal with filter freq in a generic way

2019-02-27 Thread Stefan Popa
When setting the filter frequency, the driver looks into the adis16480_def_filter_freqs table for the best match. Pass this table to the chip_info struct since future devices will need to use a different table. Signed-off-by: Stefan Popa --- drivers/iio/imu/adis16480.c | 13 + 1 file

Re: Support sample context in perf report

2019-02-27 Thread Jiri Olsa
On Wed, Feb 27, 2019 at 08:01:35AM -0800, Andi Kleen wrote: > > > Also available in > > > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git > > > perf/streams-2 > > > > your post is missing this patch, it's only in the branch: > > perf tools: Add utility function to fetch executab

[PATCH v3 6/7] iio: imu: adis16480: Add support for ADIS1649x family of devices

2019-02-27 Thread Stefan Popa
The ADIS16495 and ADIS16497 are inertial systems that include a triaxis gyroscope and a triaxis accelerometer. The serial peripheral interface (SPI) provide a simple interface for data collection and configuration control. The devices are similar to ADIS16475, ADIS16480, ADIS16485 and ADIS16488, th

[PATCH v3 7/7] iio: imu: adis16480: Add docs for ADIS16480 IMU

2019-02-27 Thread Stefan Popa
Document support for ADIS16480 Inertial Measurement Unit. Signed-off-by: Stefan Popa Reviewed-by: Rob Herring --- .../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++ MAINTAINERS| 1 + 2 files changed, 50 insertions(+) create

Re: [RFC PATCH v2 09/14] watchdog/hardlockup: Make arch_touch_nmi_watchdog() to hpet-based implementation

2019-02-27 Thread Paul E. McKenney
On Wed, Feb 27, 2019 at 08:05:13AM -0800, Ricardo Neri wrote: > CPU architectures that have an NMI watchdog use arch_touch_nmi_watchdog() > to briefly ignore the hardlockup detector. If the architecture does not > have an NMI watchdog, one can be constructed using a source of non- > maskable interr

Re: [PATCH 2/2] arm64: allwinner: a64: Add Oceanic A64-5inMFD initial support

2019-02-27 Thread Jagan Teki
On Wed, Feb 27, 2019 at 9:03 PM Maxime Ripard wrote: > > Hi, > > On Tue, Feb 26, 2019 at 11:32:40AM +0530, Jagan Teki wrote: > > Oceanic A64-5inMFD is a 5 inch Multi function display baseboard > > designed to mount SoPine SOM. > > > > Key features: > > - Allwinner A64 Cortex-A53 > > - Mali-400MP2

Re: [PATCH v2 0/2] ARM errata 814220

2019-02-27 Thread Alexandre Torgue
On 2/14/19 9:31 AM, Benjamin Gaignard wrote: Implement ARM errata 814220 for Cortex A7. This patch has been wroten by Jason Liu years ago but never send upstream. I have tried to contact the author on multiple email addresses but I haven't found any valid one... I have keep Jason's sign-off an

Re: [PATCH v2 00/10] irqdomain, gic-v3-its: Implement late irq domain initialization

2019-02-27 Thread Matthias Brugger
Hi Marc, On 05/12/2018 14:27, Marc Zyngier wrote: > On 05/12/2018 12:50, Richter, Robert wrote: >> Marc, >> >> do you have any comments on this series? Please take a look at it. > > It is on my list of stuff to review. Slowly getting there. > Did you have time to review this patches? This affec

[PATCH 1/7] drm: atmel-hlcdc: add config option for clock selection

2019-02-27 Thread Claudiu.Beznea
From: Claudiu Beznea SAM9x60 LCD Controller has no option to select clock source as previous controllers have. To be able to use the same driver even for this LCD controller add a config option to know if controller supports this. Signed-off-by: Claudiu Beznea --- drivers/gpu/drm/atmel-hlcdc/a

[PATCH 0/7] add LCD support for SAM9X60

2019-02-27 Thread Claudiu.Beznea
From: Claudiu Beznea Hi, These patches adds support for SAM9X60's LCD controller. First patches add option to specify if controller clock source is fixed. Second patch avoid a variable initialization in atmel_hlcdc_crtc_mode_set_nofb(). The 3rd one adds specific bindings for SAM9X60 LCD contro

[PATCH 2/7] drm: atmel-hlcdc: avoid initializing cfg with zero

2019-02-27 Thread Claudiu.Beznea
From: Claudiu Beznea Remove cfg initialization with zero and read state with drm_crtc_state_to_atmel_hlcdc_crtc_state() so that cfg to be initialized with state's output_mode. Signed-off-by: Claudiu Beznea --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 6 ++ 1 file changed, 2 inserti

[PATCH 5/7] pwm: atmel-hlcdc: add compatible for SAM9X60 HLCDC's PWM

2019-02-27 Thread Claudiu.Beznea
From: Claudiu Beznea Add compatible string for SAM9X60 HLCDC's PWM. Signed-off-by: Claudiu Beznea --- drivers/pwm/pwm-atmel-hlcdc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pwm/pwm-atmel-hlcdc.c b/drivers/pwm/pwm-atmel-hlcdc.c index 54c6633d9b5d..331ca0233d9e 100644 --- a

[PATCH 3/7] dt-bindings: mfd: add bindings for SAM9X60 HLCD controller

2019-02-27 Thread Claudiu.Beznea
From: Claudiu Beznea Add new compatible string for the HLCD controller on SAM9X60 SoC. Signed-off-by: Claudiu Beznea --- Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt b/Documentat

[PATCH 6/7] drm: atmel-hlcdc: enable sys_clk during initalization.

2019-02-27 Thread Claudiu.Beznea
From: Sandeep Sheriker Mallikarjun For SAM9X60 SoC, sys_clk is through lcd_gclk clock source and this needs to be enabled before enabling lcd_clk. Signed-off-by: Sandeep Sheriker Mallikarjun [claudiu.bez...@microchip.com: add fixed_clksrc checks] Signed-off-by: Claudiu Beznea --- drivers/gpu

[PATCH 4/7] mfd: atmel-hlcdc: add compatible for SAM9X60 HLCD controller

2019-02-27 Thread Claudiu.Beznea
From: Claudiu Beznea Add compatible for SAM9X60 HLCD controller. Signed-off-by: Claudiu Beznea --- drivers/mfd/atmel-hlcdc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c index e82543bcfdc8..35a9e16f9902 100644 --- a/drivers/mfd/atmel

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

2019-02-27 Thread Doug Ledford
On Wed, 2019-02-27 at 11:25 +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > drivers/infiniband/hw/mlx4/Kconfig > > between commit: > > 6fa8f1afd337 ("IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to > ib_uverbs")

[PATCH 7/7] drm: atmel-hlcdc: add sam9x60 LCD controller

2019-02-27 Thread Claudiu.Beznea
From: Sandeep Sheriker Mallikarjun Add the LCD controller for SAM9X60. Signed-off-by: Sandeep Sheriker Mallikarjun [claudiu.bez...@microchip.com: add fixed_clksrc option to atmel_hlcdc_dc_sam9x60] Signed-off-by: Claudiu Beznea --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 101 +

Re: [PATCH 5/6] objtool: Add UACCESS validation

2019-02-27 Thread Linus Torvalds
On Wed, Feb 27, 2019 at 6:08 AM Peter Zijlstra wrote: > > So KASAN is wildly unhappy.. Yeah, well, with KASAN you definitely end up doing lots and lots for calls for just regular memory accesses. Which we obviously need to do for most uaccess cases. I think you should just say "ok, kasan report

Re: [PATCH v2 00/11] LSM documentation update

2019-02-27 Thread Kees Cook
On Wed, Feb 27, 2019 at 7:10 AM Denis Efremov wrote: > The rest of the warnings are about undocumented hooks. This patchset > fixes the existing documentation. I will try to document the hooks from > warnings in a separate patch. Some of the hooks are trivial enough, but > others require me diggin

Re: [PATCH] scsi: virtio_scsi: don't send sc payload with tmfs

2019-02-27 Thread Paolo Bonzini
On 27/02/19 17:10, Felipe Franciosi wrote: > The virtio scsi spec defines struct virtio_scsi_ctrl_tmf as a set of > device-readable records and a single device-writable response entry: > > struct virtio_scsi_ctrl_tmf > { > // Device-readable part > le32 type; > le32

Re:

2019-02-27 Thread Ahmed Adama
-- I need your cooperation to transfer $7 million to your bank account and you will be entitled to 40% of this fund, kindly reply urgent if you are capable so i can provide you with details.

[PATCH] scsi: smartpqi_init: Reporting 'logical unit failure'

2019-02-27 Thread Erwan Velu
When this HARDWARE_ERROR/0x3e/0x1 case is triggered, the logical volume is offlined. When reading the kernel log, the cause why the device got offlined isn't reported to the user. This situation makes difficult for admins to estimate _why_ the volume got offlined. Reading this part of the code m

Re: [PATCH 1/2] percpu: km: remove SMP check

2019-02-27 Thread Dennis Zhou
On Wed, Feb 27, 2019 at 01:02:16PM +, Peng Fan wrote: > Hi Dennis > > > -Original Message- > > From: Dennis Zhou [mailto:den...@kernel.org] > > Sent: 2019年2月27日 1:04 > > To: Christopher Lameter > > Cc: Peng Fan ; t...@kernel.org; linux...@kvack.org; > > linux-kernel@vger.kernel.org; v

Re: [PATCH] nvme-pci: Prevent mmio reads if pci channel offline

2019-02-27 Thread Alex_Gagniuc
On 2/26/19 7:02 PM, Linus Torvalds wrote: > On Tue, Feb 26, 2019 at 2:37 PM wrote: >> >> Then nobody gets the (error) message. You can go a bit further and try >> 'pcie_ports=native". Again, nobody gets the memo. ): > > So? The error was bogus to begin with. Why would we care? Of course nobody c

Re: [PATCH v3 1/2] PCI: hv: Replace hv_vp_set with hv_vpset

2019-02-27 Thread Lorenzo Pieralisi
On Wed, Feb 27, 2019 at 04:53:37PM +0100, Vitaly Kuznetsov wrote: > Maya Nakamura writes: > > > Remove a duplicate definition of VP set (hv_vp_set) and use the common > > definition (hv_vpset) that is used in other places. > > > > Change the order of the members in struct hv_pcibus_device so that

Re: [PATCH v2] btrfs: zstd ensure reclaim timer is properly cleaned up

2019-02-27 Thread David Sterba
On Fri, Feb 22, 2019 at 02:53:48PM -0500, Dennis Zhou wrote: > The timer function, zstd_reclaim_timer_fn(), reschedules itself under > certain conditions. When cleaning up, take the lock and remove all > workspaces. This prevents the timer from rearming itself. Lastly, switch > to del_timer_sync()

[PATCH] scsi: virtio_scsi: don't send sc payload with tmfs

2019-02-27 Thread Felipe Franciosi
The virtio scsi spec defines struct virtio_scsi_ctrl_tmf as a set of device-readable records and a single device-writable response entry: struct virtio_scsi_ctrl_tmf { // Device-readable part le32 type; le32 subtype; u8 lun[8]; le64 id; // De

Re: [PATCH 1/5] x86/percpu: Differentiate this_cpu_{}() and __this_cpu_{}()

2019-02-27 Thread Peter Zijlstra
On Wed, Feb 27, 2019 at 08:14:09AM -0800, Linus Torvalds wrote: > On Wed, Feb 27, 2019 at 2:16 AM Peter Zijlstra wrote: > > > > Nadav Amit reported that commit: > > > > b59167ac7baf ("x86/percpu: Fix this_cpu_read()") > > > > added a bunch of constraints to all sorts of code; and while some of >

[PATCH v2] ARM: socfpga_defconfig: enable support for large block devices

2019-02-27 Thread Andrey Zhizhikin
Enable CONFIG_LBDAF, which is required by ext4 fs. This option could handle both ext3 and ext4, with ext4 requires this option to be enabled, otherwise the filesystem is mounted RO mode. Since the LBDAF is enabled by default for 32-bit systems, simply removing the current "not set" entry enables t

Re: [PATCH] bpf: drop refcount if bpf_map_new_fd() fails in map_create()

2019-02-27 Thread Martin Lau
On Wed, Feb 27, 2019 at 10:36:25PM +0800, zerons wrote: > In bpf/syscall.c, map_create() first set map->usercnt to 1, a file descriptor > is > supposed to return to userspace. When bpf_map_new_fd() fails, drop the > refcount. Thanks for the patch. Please add a Fixes tag for bug fix in the future

Re: [PATCH v2 00/10] irqdomain, gic-v3-its: Implement late irq domain initialization

2019-02-27 Thread Marc Zyngier
On 27/02/2019 16:24, Matthias Brugger wrote: > Hi Marc, > > On 05/12/2018 14:27, Marc Zyngier wrote: >> On 05/12/2018 12:50, Richter, Robert wrote: >>> Marc, >>> >>> do you have any comments on this series? Please take a look at it. >> >> It is on my list of stuff to review. Slowly getting there.

[PATCH v4 2/2] drivers/misc: Add Aspeed P2A control driver

2019-02-27 Thread Patrick Venture
The ASPEED AST2400, and AST2500 in some configurations include a PCI-to-AHB MMIO bridge. This bridge allows a server to read and write in the BMC's physical address space. This feature is especially useful when using this bridge to send large files to the BMC. The host may use this to send down

[PATCH v4 1/2] dt-bindings: misc: aspeed-p2a-ctrl: add support

2019-02-27 Thread Patrick Venture
Document the ast2400, ast2500 PCI-to-AHB bridge control driver bindings. Signed-off-by: Patrick Venture --- Changes for v4: - None Changes for v3: - None Changes for v2: - Added comment about syscon required parameter. --- .../bindings/misc/aspeed-p2a-ctrl.txt | 32 +++ 1

[RESEND PATCH V3] perf/x86/intel/uncore: Fix client IMC events return huge result

2019-02-27 Thread kan . liang
From: Kan Liang The client IMC bandwidth events return very huge result. perf stat -e uncore_imc/data_reads/ -e uncore_imc/data_writes/ -I 1 -a 10.000117222 34,788.76 MiB uncore_imc/data_reads/ 10.000117222 8.26 MiB uncore_imc/data_writes/ 20.000374584 34,842.89 MiB uncore_imc/data_

kernel panic: MAC Initialization failed.

2019-02-27 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7b827ff9af88 Add linux-next specific files for 20190227 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=15336f14c0 kernel config: https://syzkaller.appspot.com/x/.config?x=5fa6b8975759dcc5

[PATCH v3 02/34] arc: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_large() functions/macros. For arc, we only have two levels, so only pmd_large()

[PATCH v3 06/34] csky: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For csky, we don't support large pages, so add a stub retu

[PATCH v3 03/34] arm: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_large() functions/macros. For arm, we already provide most p?d_large() macros.

[PATCH v3 04/34] arm64: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_large() functions/macros. For arm64, we already have p?d_sect() macros which we

[PATCH v3 00/34] Convert x86 & arm64 to use generic page walk

2019-02-27 Thread Steven Price
Most architectures current have a debugfs file for dumping the kernel page tables. Currently each architecture has to implement custom functions for walking the page tables because the generic walk_page_range() function is unable to walk the page tables used by the kernel. This series extends the

[PATCH v3 01/34] alpha: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information will be provided by the p?d_large() functions/macros. For alpha, we don't support huge pages, so add stubs

[PATCH v3 08/34] ia64: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For ia64 leaf entries are always at the lowest level, so i

[PATCH v3 07/34] hexagon: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For hexagon, we don't support large pages, so add a stub r

[PATCH v3 05/34] c6x: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For c6x there's no MMU so there's never a large page, so j

[PATCH v3 11/34] mips: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For mips, we don't support large pages on 32 bit so add st

[PATCH v3 21/34] um: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For um, we don't support large pages, so add stubs returni

[PATCH v3 16/34] powerpc: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For powerpc pmd_large() was already implemented, so hoist

[PATCH v3 17/34] riscv: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For riscv a page is large when it has a read, write or exe

[PATCH v3 19/34] sh: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For sh, we don't support large pages, so add stubs returni

[PATCH v3 09/34] m68k: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For m68k, we don't support large pages, so add stubs retur

[PATCH v3 18/34] s390: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For s390, we don't support large pages, so add a stub retu

[PATCH v3 20/34] sparc: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For sparc, we don't support large pages, so add stubs retu

[PATCH v3 13/34] nios2: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For nios2, we don't support large pages, so add a stub ret

[PATCH v3 14/34] openrisc: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For openrisc, we don't support large pages, so add a stub

[PATCH v3 12/34] nds32: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For nds32, we don't support large pages, so add stubs retu

[PATCH v3 22/34] unicore32: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For unicore32, we don't support large pages, so add a stub

[PATCH v3 15/34] parisc: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For parisc, we don't support large pages, so add stubs ret

[PATCH v3 10/34] microblaze: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For microblaze, we don't support large pages, so add stubs

[PATCH v3 28/34] mm: pagewalk: Add test_p?d callbacks

2019-02-27 Thread Steven Price
It is useful to be able to skip parts of the page table tree even when walking without VMAs. Add test_p?d callbacks similar to test_walk but which are called just before a table at that level is walked. If the callback returns non-zero then the entire table is skipped. Signed-off-by: Steven Price

[PATCH v3 29/34] arm64: mm: Convert mm/dump.c to use walk_page_range()

2019-02-27 Thread Steven Price
Now walk_page_range() can walk kernel page tables, we can switch the arm64 ptdump code over to using it, simplifying the code. Signed-off-by: Steven Price --- arch/arm64/mm/dump.c | 108 +-- 1 file changed, 53 insertions(+), 55 deletions(-) diff --git a/a

[PATCH v3 31/34] x86/mm+efi: Convert ptdump_walk_pgd_level() to take a mm_struct

2019-02-27 Thread Steven Price
To enable x86 to use the generic walk_page_range() function, the callers of ptdump_walk_pgd_level() need to pass an mm_struct rather than the raw pgd_t pointer. Luckily since commit 7e904a91bf60 ("efi: Use efi_mm in x86 as well as ARM") we now have an mm_struct for EFI on x86. Signed-off-by: Steve

[PATCH v3 23/34] xtensa: mm: Add p?d_large() definitions

2019-02-27 Thread Steven Price
walk_page_range() is going to be allowed to walk page tables other than those of user space. For this it needs to know when it has reached a 'leaf' entry in the page tables. This information is provided by the p?d_large() functions/macros. For xtensa, we don't support large pages, so add a stub re

Re: [PATCH 1/2] dt-bindings: usb-xhci: Add usb-phy-port-reset property

2019-02-27 Thread Srinath Mannam
Hi Rob, Thanks for the information. Please find my comments below. Regards, Srinath. On Tue, Feb 26, 2019 at 11:33 PM Rob Herring wrote: > > On Mon, Feb 25, 2019 at 10:57 PM Srinath Mannam > wrote: > > > > Hi Rob, > > Thanks for the review, Please see my comments below in line. > > > > Regards, >

[PATCH v3 33/34] x86/mm: Convert ptdump_walk_pgd_level_core() to take an mm_struct

2019-02-27 Thread Steven Price
An mm_struct is needed to enable x86 to use of the generic walk_page_range() function. In the case of walking the user page tables (when CONFIG_PAGE_TABLE_ISOLATION is enabled), it is necessary to create a fake_mm structure because there isn't an mm_struct with a pointer to the pgd of the user pag

[PATCH v3 25/34] mm: pagewalk: Add p4d_entry() and pgd_entry()

2019-02-27 Thread Steven Price
pgd_entry() and pud_entry() were removed by commit 0b1fbfe50006c410 ("mm/pagewalk: remove pgd_entry() and pud_entry()") because there were no users. We're about to add users so reintroduce them, along with p4d_entry() as we now have 5 levels of tables. Note that commit a00cc7d9dd93d66a ("mm, x86:

[PATCH v3 24/34] mm: Add generic p?d_large() macros

2019-02-27 Thread Steven Price
Exposing the pud/pgd levels of the page tables to walk_page_range() means we may come across the exotic large mappings that come with large areas of contiguous memory (such as the kernel's linear map). Where levels are folded we need to provide the appropriate stub implementation of p?d_large().

<    2   3   4   5   6   7   8   9   >