Re: [PATCH v2 06/15] MIPS: memblock: Add reserved memory regions to memblock

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: The memory reservation has to be performed for all the crucial objects like kernel itself, it data and fdt blob. FDT reserved-memory nodes should also be scanned to declare or discard reserved memory regions, but it has to be done after the membloc

Re: [PATCH v2 07/15] MIPS: memblock: Reserve kdump/crash regions in memblock

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: Kdump/crashkernel memory regions should be reserved in the memblock allocator so they wouldn't be occupied by any further allocations. Signed-off-by: Serge Semin This looks good to me Reviewed-by: Matt Redfearn Thanks, Matt --- arch/mips

Re: [PATCH 1/1] nvme: implement log page low/high offset and dwords

2018-02-13 Thread Matias Bjørling
On 02/13/2018 02:47 PM, Johannes Thumshirn wrote: On Tue, 2018-02-13 at 13:49 +0100, Matias Bjørling wrote: +int nvme_get_log_ext(struct nvme_ctrl *ctrl, struct nvme_ns *ns, + u8 log_page, void *log, + size_t size, size_t offset) +{ + str

Re: [PATCH 3/4] drm/tve200: Do not use deprecated drm_driver.{enable|disable)_vblank

2018-02-13 Thread Oleksandr Andrushchenko
On 02/13/2018 03:51 PM, Linus Walleij wrote: On Mon, Feb 12, 2018 at 9:52 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Do not use deprecated drm_driver.{enable|disable)_vblank callbacks, but use drm_simple_kms_helpe's pipe callbacks instead. Signed-off-by: Oleksandr Andr

Re: [PATCH v6 4/4] soc/tegra: pmc: Use the new reset APIs to manage reset controllers

2018-02-13 Thread Jon Hunter
On 19/06/17 15:34, Philipp Zabel wrote: > From: Vivek Gautam > > Make use of of_reset_control_array_get_exclusive() to manage > an array of reset controllers available with the device. > > Cc: Jon Hunter > Cc: Thierry Reding > Signed-off-by: Vivek Gautam > [p.za...@pengutronix.de: switch to

Re: [PATCH v2 08/15] MIPS: memblock: Mark present sparsemem sections

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: If sparsemem is activated all sections with present pages must be accordingly marked after memblock is fully initialized. Signed-off-by: Serge Semin --- arch/mips/kernel/setup.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/mi

Re: [PATCH v7 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-02-13 Thread Tomasz Figa
On Tue, Feb 13, 2018 at 9:57 PM, Robin Murphy wrote: > On 13/02/18 08:24, Tomasz Figa wrote: >> >> Hi Vivek, >> >> Thanks for the patch. Please see my comments inline. >> >> On Wed, Feb 7, 2018 at 7:31 PM, Vivek Gautam >> wrote: >>> >>> From: Sricharan R >>> >>> The smmu device probe/remove and

Re: [PATCH 2/2] x86/retpoline: Fix return buffer filling

2018-02-13 Thread David Woodhouse
On Mon, 2018-02-12 at 16:04 -0800, Andi Kleen wrote: > From: Andi Kleen > > An earlier patch moved the RSB filling out of line, ending > it with a return. This results in the return buffer filling > only giving 15 instead of 16 usable returns because > the return from fill_rsb already uses one up

Re: [PATCH] perf report: Fix a memory corrupton issue when enabling --branch-history

2018-02-13 Thread Jin, Yao
On 2/13/2018 5:45 PM, Jiri Olsa wrote: On Tue, Feb 13, 2018 at 04:44:28PM +0800, Jin Yao wrote: Following command lines will cause perf crash. perf record -j call -g -a perf report --branch-history *** Error in `perf': double free or corruption (!prev): 0x104aa040 *** === Backtr

Re: [PATCH 6/6] sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine

2018-02-13 Thread Peter Zijlstra
On Tue, Feb 13, 2018 at 01:37:30PM +, Mel Gorman wrote: > +static void > +update_wa_numa_placement(struct task_struct *p, int prev_cpu, int target) > +{ > + unsigned long interval; > + > + if (!static_branch_likely(&sched_numa_balancing)) > + return; > + > + /* If balanc

[PATCH] video: fbdev: kconfig: Add help text to FB_I810_I2C

2018-02-13 Thread Ulf Magnusson
The FB_I810_I2C symbol previously had a blank help text, which was removed in e9829ac4e5fd ("video: fbdev: kconfig: Remove blank help text"). Give it a proper help text, derived from commit 74f6ae84b23 ("[PATCH] i810fb: Add > i2c/DDC support"). Signed-off-by: Ulf Magnusson --- Note: The removal

Re: [PATCH v7 0/5] Add Intel IOMMU debugfs support

2018-02-13 Thread Joerg Roedel
On Fri, Feb 02, 2018 at 04:49:56PM -0800, Sohil Mehta wrote: > This series aims to add debugfs support for Intel IOMMU. It exposes IOMMU > registers, internal context and dumps individual table entries to help debug > Intel IOMMUs. > > The first patch does the ground work for the following patches

Re: [PATCH v2 10/15] MIPS: memblock: Allow memblock regions resize

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: When all the main reservations are done the memblock regions can be dynamically resized. Additionally it would be useful to have memblock regions dumped on debug at this point. Signed-off-by: Serge Semin Looks good to me. Reviewed-by: Matt Red

[PATCH 0/8] lightnvm: pblk: implement support for 2.0

2018-02-13 Thread Javier González
This patchset implements support for 2.0 spec in pblk. The first patch abstracts the geometry retrieved from the identify command and allows both specs to coexist under the same geometry description. From there on, we build the missing 2.0 support in lightnvm core: address format, address conversi

[PATCH 1/8] lightnvm: exposed generic geometry to targets

2018-02-13 Thread Javier González
With the inclusion of 2.0 support, we need a generic geometry that describes the OCSSD independently of the specification that it implements. Otherwise, geometry specific code is required, which complicates targets and makes maintenance much more difficult. This patch refactors the identify path a

[PATCH 8/8] lightnvm: pblk: implement 2.0 support

2018-02-13 Thread Javier González
Implement 2.0 support in pblk. This includes the address formatting and mapping paths, as well as the sysfs entries for them. Signed-off-by: Javier González --- drivers/lightnvm/pblk-init.c | 57 ++-- drivers/lightnvm/pblk-sysfs.c | 36 ++-- drivers/lightnvm/pblk.h | 198 +++

[PATCH 5/8] lightnvm: implement get log report chunk helpers

2018-02-13 Thread Javier González
From: Javier González The 2.0 spec provides a report chunk log page that can be retrieved using the stangard nvme get log page. This replaces the dedicated get/put bad block table in 1.2. This patch implements the helper functions to allow targets retrieve the chunk metadata using get log page

[PATCH 2/8] lightnvm: show generic geometry in sysfs

2018-02-13 Thread Javier González
From: Javier González Apart from showing the geometry returned by the different identify commands, provide the generic geometry too, as this is the geometry that targets will use to describe the device. Signed-off-by: Javier González --- drivers/nvme/host/lightnvm.c | 146 +

[PATCH 3/8] lightnvm: add support for 2.0 address format

2018-02-13 Thread Javier González
Add support for 2.0 address format. Also, align address bits for 1.2 and 2.0 to align. Signed-off-by: Javier González --- include/linux/lightnvm.h | 45 - 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/include/linux/lightnvm.h b/includ

[PATCH 4/8] lightnvm: convert address based on spec. version

2018-02-13 Thread Javier González
Create the device ppa for both 1.2 and 2.0. Signed-off-by: Javier González --- include/linux/lightnvm.h | 52 +--- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index e035ae4c9acc..1

[PATCH 7/8] lightnvm: pblk: refactor init/exit sequences

2018-02-13 Thread Javier González
Refactor init and exit sequences to improve readability. In the way, fix bad free ordering on the init error path. Signed-off-by: Javier González --- drivers/lightnvm/pblk-init.c | 503 ++- 1 file changed, 254 insertions(+), 249 deletions(-) diff --git a/

[PATCH 6/8] lightnvm: pblk: implement get log report chunk

2018-02-13 Thread Javier González
From: Javier González In preparation of pblk supporting 2.0, implement the get log report chunk in pblk. This patch only replicates de bad block functionality as the rest of the metadata requires new pblk functionality (e.g., wear-index to implement wear-leveling). This functionality will come i

Re: [PATCH v2 11/15] MIPS: memblock: Perform early low memory test

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: Low memory can be tested at this point, since all the reservations have just been finished without much of additional allocations. Perhaps something along the lines of: "Allow an early memtest to be performed by calling early_memtest. Testing at

Re: [PATCH v2 09/15] MIPS: memblock: Simplify DMA contiguous reservation

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: CMA reserves it areas in the memblock allocator. Since we aren't using bootmem anymore, the reservations copying should be discarded. Signed-off-by: Serge Semin Looks good to me Reviewed-by: Matt Redfearn Thanks, Matt --- arch/mips/kerne

[RFC PATCH] irqchip/gic-v3-its: apply ACPI device based quirks

2018-02-13 Thread Ard Biesheuvel
Reapply the SynQuacer quirk for ITS frames that are matched by 'SCX0005' based ACPI devices, replacing the dummy fwnode with the one populated by the ACPI device core. This allows the SynQuacer ACPI tables to publish a device node such as Device (ITS0) { Name (_HID, "SCX0005") Nam

Re: [PATCH 1/2] i2c: piix4: Use request_muxed_region

2018-02-13 Thread Guenter Roeck
On 02/13/2018 03:48 AM, Böszörményi Zoltán wrote: 2018-02-12 19:51 keltezéssel, Guenter Roeck írta: On Mon, Feb 12, 2018 at 11:10:41AM +0100, Jean Delvare wrote: Hi Guneter, Sorry for the delay :( On Sat, 30 Dec 2017 08:50:57 -0800, Guenter Roeck wrote: Accesses to SB800_PIIX4_SMB_IDX can oc

Re: [PATCH v2 12/15] MIPS: memblock: Print out kernel virtual mem layout

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: It is useful to have the kernel virtual memory layout printed at boot time so to have the full information about the booted kernel. In some cases it might be unsafe to have virtual addresses freely visible in logs, so the %pK format is used if one

Re: [PATCH v13 3/4] fw_cfg: write vmcoreinfo details

2018-02-13 Thread Marc-Andre Lureau
Hi On Mon, Feb 12, 2018 at 10:00 PM, Michael S. Tsirkin wrote: > On Mon, Feb 12, 2018 at 11:04:49AM +0100, Marc-Andre Lureau wrote: >> >> +} >> >> + >> >> +/* qemu fw_cfg device is sync today, but spec says it may become async */ >> >> +static void fw_cfg_wait_for_control(struct fw_cfg_dma *d) >>

Re: [PATCH 6/6] sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine

2018-02-13 Thread Mel Gorman
On Tue, Feb 13, 2018 at 03:01:37PM +0100, Peter Zijlstra wrote: > On Tue, Feb 13, 2018 at 01:37:30PM +, Mel Gorman wrote: > > +static void > > +update_wa_numa_placement(struct task_struct *p, int prev_cpu, int target) > > +{ > > + unsigned long interval; > > + > > + if (!static_branch_likel

Re: [PATCH v2 13/15] MIPS: memblock: Discard bootmem from Loongson3 code

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: Loongson64/3 runs its own code to initialize memory allocator in case of NUMA configuration is selected. So in order to move to the pure memblock utilization we discard the bootmem allocator usage and insert the memblock reservation method for kern

Re: drivers/watchdog/rave-sp-wdt.c:278: undefined reference to `nvmem_cell_get'

2018-02-13 Thread Andrey Smirnov
On Tue, Feb 13, 2018 at 1:30 AM, Lee Jones wrote: > On Tue, 13 Feb 2018, kbuild test robot wrote: > >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> head: 178e834c47b0d01352c48730235aae69898fbc02 >> commit: c3bb333457218ca4ed9553be47c0f567b4ef8a38 watch

Re: [PATCH v3 5/5] drm: adv7511: Add support for i2c_new_secondary_device

2018-02-13 Thread Kieran Bingham
Hi Laurent, Thanks for the review, On 13/02/18 12:23, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Tuesday, 13 February 2018 00:07:53 EET Kieran Bingham wrote: >> From: Kieran Bingham >> >> The ADV7511 has four 256-byte maps that can be accessed via the main I²C >>

Dear friend,

2018-02-13 Thread Mrs Aletta Dobson
Dear friend, Greetings to you and your family. I am Mrs. Aletta Dobson a widow is and I am 55 years old, suffering from pancreatic cancer, I do not think so much more. The doctors and if it is the will of God that I will die, then so Shall it be. Nevertheless, I am willing to donate the s

Re: [PATCH v2 14/15] MIPS: memblock: Discard bootmem from SGI IP27 code

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: SGI IP27 got its own code to set the early memory allocator up since it's NUMA-based system. So in order to be compatible with NO_BOOTMEM config we need to discard the bootmem allocator initialization and insert the memblock reservation method. Alt

Re: [PATCH v2 15/15] MIPS: memblock: Deactivate bootmem allocator

2018-02-13 Thread Matt Redfearn
Hi Serge, On 02/02/18 03:54, Serge Semin wrote: Memblock allocator can be successfully used from now for early memory management Signed-off-by: Serge Semin --- arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 3

Re: [PATCH v13 3/4] fw_cfg: write vmcoreinfo details

2018-02-13 Thread Michael S. Tsirkin
On Tue, Feb 13, 2018 at 03:14:03PM +0100, Marc-Andre Lureau wrote: > Hi > > On Mon, Feb 12, 2018 at 10:00 PM, Michael S. Tsirkin wrote: > > On Mon, Feb 12, 2018 at 11:04:49AM +0100, Marc-Andre Lureau wrote: > >> >> +} > >> >> + > >> >> +/* qemu fw_cfg device is sync today, but spec says it may be

Re: [PATCH v3 1/2] drm/virtio: Add window server support

2018-02-13 Thread Tomeu Vizoso
On 02/12/2018 12:45 PM, Gerd Hoffmann wrote: Hi, (a) software rendering: client allocates shared memory buffer, renders into it, then passes a file handle for that shmem block together with some meta data (size, format, ...) to the wayland server. (b) gpu rendering:

Re: [PATCH 4.9 00/92] 4.9.81-stable review

2018-02-13 Thread Guenter Roeck
On 02/13/2018 01:36 AM, Greg Kroah-Hartman wrote: On Sat, Feb 10, 2018 at 07:46:50AM -0800, Guenter Roeck wrote: On 02/09/2018 05:38 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.81 release. There are 92 patches in this series, all will be posted as a re

Re: [PATCH 2/2] x86/retpoline: Fix return buffer filling

2018-02-13 Thread Andi Kleen
> However... that was supposed to be a 'clear RSB' operation, with 32 > CALLs in sequence. And Boris changed it to 16 by calling __fill_rsb() > instead of __clear_rsb(): True. That's even worse. > > -   asm volatile (ANNOTATE_NOSPEC_ALTERNATIVE > - ALTERNATIVE("jmp 910f",

Re: [PATCH 1/2] dt-bindings: Documentation for qcom,llcc

2018-02-13 Thread Mark Rutland
On Thu, Feb 08, 2018 at 04:24:16PM -0800, Channa wrote: > On 2018-02-08 08:52, Matt Sealey wrote: > > On 25 January 2018 at 17:55, Channagoud Kadabi > > wrote: > > > Documentation for last level cache controller device tree bindings, > > > client bindings usage examples. > > > > [snippety snip] >

Re: [f2fs-dev] [PATCH] f2fs: handle quota for orphan inodes

2018-02-13 Thread Chao Yu
On 2018/2/10 10:28, Jaegeuk Kim wrote: > This is to fix missing dquot_initialize for orphan inodes. IMO, we don't need to call dquot_initialize as we have call the function in evict(), right? Thanks, > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/checkpoint.c | 28

[PATCH v2 3/3] arm64: dts: rockchip: enable DP for gru.

2018-02-13 Thread Enric Balletbo i Serra
From: Chris Zhong Enable cdn_dp and create a cdn-dp-sound for the DP audio. Delete the endpoints between dp and vopL for gru, since we want the DP only use VOP big, which can support 4K mode. Signed-off-by: Chris Zhong Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - None arch/a

[PATCH v2 1/3] Documentation: bindings: add dt documentation for cdn DP controller

2018-02-13 Thread Enric Balletbo i Serra
From: Chris Zhong This patch adds a binding that describes the cdn DP controller for rk3399. Signed-off-by: Chris Zhong Acked-by: Rob Herring Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - Add the cdn-dp bindings as requested by Heiko - The bindingis were sent already and ack

[PATCH v2 2/3] arm64: dts: rockchip: add cdn-dp node for rk3399.

2018-02-13 Thread Enric Balletbo i Serra
From: Chris Zhong Add a node for the cdn DP controller which is embedded in the rk3399 SoC. Signed-off-by: Chris Zhong Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - None arch/arm64/boot/dts/rockchip/rk3399.dtsi | 50 1 file changed, 50 inserti

Re: [PATCH 01/14] dt-bindings: Document STM32MP1 Reset Clock Controller (RCC) bindings

2018-02-13 Thread Gabriel FERNANDEZ
On 02/07/2018 07:03 PM, Rob Herring wrote: > On Mon, Feb 5, 2018 at 1:01 AM, Gabriel FERNANDEZ > wrote: >> Hi Rob, >> >> Thanks for reviewing. >> >> >> On 02/05/2018 07:09 AM, Rob Herring wrote: >>> On Fri, Feb 02, 2018 at 03:03:29PM +0100,gabriel.fernan...@st.com wrote: From: Gabriel Fer

Re: [PATCH] KVM: prevent overlap between user and private memslots

2018-02-13 Thread Paolo Bonzini
On 13/02/2018 04:38, Eric Biggers wrote: > On Tue, Jan 30, 2018 at 12:49:21PM -0800, Eric Biggers wrote: >> On Fri, Jan 19, 2018 at 10:57:16AM -0800, Eric Biggers wrote: >>> +Cc alex.william...@redhat.com >>> >>> On Fri, Jan 19, 2018 at 05:03:47PM +0800, Wanpeng Li wrote: 2018-01-19 17:01 GMT+

Re: drivers/watchdog/rave-sp-wdt.c:278: undefined reference to `nvmem_cell_get'

2018-02-13 Thread Guenter Roeck
On 02/13/2018 06:20 AM, Andrey Smirnov wrote: On Tue, Feb 13, 2018 at 1:30 AM, Lee Jones wrote: On Tue, 13 Feb 2018, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 178e834c47b0d01352c48730235aae69898fbc02 commit: c3bb3334572

Re: [PATCH 1/2] dt-bindings: Documentation for qcom,llcc

2018-02-13 Thread Mark Rutland
On Tue, Feb 06, 2018 at 11:56:50AM -0800, Channa wrote: > On 2018-02-02 03:05, Mark Rutland wrote: > > On Thu, Feb 01, 2018 at 12:39:09PM -0800, Channa wrote: > > > On 2018-02-01 02:44, Mark Rutland wrote: > > > > On Thu, Jan 25, 2018 at 03:55:12PM -0800, Channagoud Kadabi wrote: > > > > > +- llcc-

Re: [PATCH v3] KVM: VMX: Don't halt vcpu when L1 is injecting events to L2

2018-02-13 Thread Paolo Bonzini
On 11/02/2018 03:06, Chao Gao wrote: > Although L2 is in halt state, it will be in the active state after > VM entry if the VM entry is vectoring according to SDM 26.6.2 Activity > State. Halting the vcpu here means the event won't be injected to L2 > and this decision isn't reported to L1. Thus L0

Re: smpboot: do_boot_cpu failed(-1) to wakeup CPU#0

2018-02-13 Thread Thomas Gleixner
On Tue, 13 Feb 2018, Tvrtko Ursulin wrote: > On 07/02/18 12:48, Tvrtko Ursulin wrote: > > We are seeing failures to online the CPU0 on Apollo Lake in the form of: > > > > <6>[ 126.508783] smpboot: CPU 0 is now offline > > <6>[ 127.520746] smpboot: Booting Node 0 Processor 0 APIC 0x0 > > <3

Re: [PATCH] libata: transport: cleanup documentation of sysfs interface

2018-02-13 Thread Tejun Heo
On Tue, Feb 13, 2018 at 04:51:59PM +0530, Aishwarya Pant wrote: > Clean-up the documentation of sysfs interfaces to be in the same format > as described in Documentation/ABI/README. This will be useful for > tracking changes in the ABI. Attributes are grouped by function (device, > link or port) an

Re: [patch] kvm: suppress KVM_SET_GSI_ROUTING allocation failure

2018-02-13 Thread Paolo Bonzini
On 08/02/2018 22:35, David Rientjes wrote: > The KVM_SET_GSI_ROUTING ioctl does a vmalloc() of > sizeof(struct kvm_irq_routing_entry) multiplied by a user-supplied value. > This can be up to 4096 entries on architectures such as arm64 and s390 > (and the upper bound may be increased on s390 eventua

Re: [PATCH] libata: update documentation for sysfs interfaces

2018-02-13 Thread Tejun Heo
On Tue, Feb 13, 2018 at 01:48:16PM +0530, Aishwarya Pant wrote: > Dcoumentation has been added by parsing through git commit history and > reading code. This might be useful for scripting and tracking changes in > the ABI. > > I do not have complete descriptions for the following 3 attributes; the

Re: linux-next: build warning after merge of the libata tree

2018-02-13 Thread Tejun Heo
On Tue, Feb 13, 2018 at 02:04:49PM +1100, Stephen Rothwell wrote: > Hi Tejun, > > After merging the libata tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/ata/sata_rcar.c: In function 'sata_rcar_init_controller': > drivers/ata/sata_rcar.c:821:16: warni

Re: [PATCH v2 RESENT] blk: optimization for classic polling

2018-02-13 Thread Jens Axboe
On 2/13/18 11:56 AM, Nitesh Shetty wrote: > This removes the dependency on interrupts to wake up task. Set task > state as TASK_RUNNING, if need_resched() returns true, > while polling for IO completion. > Earlier, polling task used to sleep, relying on interrupt to wake it up. > This made some IO

Re: drivers/watchdog/rave-sp-wdt.c:278: undefined reference to `nvmem_cell_get'

2018-02-13 Thread Guenter Roeck
On 02/13/2018 06:20 AM, Andrey Smirnov wrote: On Tue, Feb 13, 2018 at 1:30 AM, Lee Jones wrote: On Tue, 13 Feb 2018, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 178e834c47b0d01352c48730235aae69898fbc02 commit: c3bb3334572

Re: [PATCH 6/6] sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine

2018-02-13 Thread Peter Zijlstra
On Tue, Feb 13, 2018 at 02:18:12PM +, Mel Gorman wrote: > On Tue, Feb 13, 2018 at 03:01:37PM +0100, Peter Zijlstra wrote: > > On Tue, Feb 13, 2018 at 01:37:30PM +, Mel Gorman wrote: > > > +static void > > > +update_wa_numa_placement(struct task_struct *p, int prev_cpu, int target) > > > +{

Re: [patch] kvm: suppress KVM_SET_GSI_ROUTING allocation failure

2018-02-13 Thread Michal Hocko
On Thu 08-02-18 13:35:08, David Rientjes wrote: > The KVM_SET_GSI_ROUTING ioctl does a vmalloc() of > sizeof(struct kvm_irq_routing_entry) multiplied by a user-supplied value. > This can be up to 4096 entries on architectures such as arm64 and s390 > (and the upper bound may be increased on s390 ev

[PATCH] netfilter: ipt_ah: return boolean instead of integer

2018-02-13 Thread Gustavo A. R. Silva
Return statements in functions returning bool should use true/false instead of 1/0. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- net/ipv4/netfilter/ipt_ah.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/netfilter/ipt_

Re: [PATCH v2] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-02-13 Thread Rob Herring
On Mon, Feb 12, 2018 at 12:27 AM, wrote: > From: Frank Rowand > > Create a cache of the nodes that contain a phandle property. Use this > cache to find the node for a given phandle value instead of scanning > the devicetree to find the node. If the phandle value is not found > in the cache, of

Re: pata-macio WARNING at dmam_alloc_coherent+0xec/0x110

2018-02-13 Thread Christoph Hellwig
Does this fix your warning? diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c index 62f541f968f6..07074820a167 100644 --- a/drivers/macintosh/macio_asic.c +++ b/drivers/macintosh/macio_asic.c @@ -375,6 +375,7 @@ static struct macio_dev * macio_add_one_device(struct maci

Re: smpboot: do_boot_cpu failed(-1) to wakeup CPU#0

2018-02-13 Thread Tvrtko Ursulin
Hi, On 13/02/18 14:39, Thomas Gleixner wrote: On Tue, 13 Feb 2018, Tvrtko Ursulin wrote: On 07/02/18 12:48, Tvrtko Ursulin wrote: We are seeing failures to online the CPU0 on Apollo Lake in the form of: <6>[ 126.508783] smpboot: CPU 0 is now offline <6>[ 127.520746] smpboot: Booting

Re: [PATCH 2/2] clk: meson-axg: Add AO Clock and Reset controller driver

2018-02-13 Thread Jerome Brunet
On Mon, 2018-02-12 at 16:32 +0100, Jerome Brunet wrote: > On Fri, 2018-02-09 at 15:00 +0800, Yixun Lan wrote: > > Adds a Clock and Reset controller driver for the Always-On part > > of the Amlogic Meson-AXG SoC. > > > > Signed-off-by: Qiufang Dai > > Signed-off-by: Yixun Lan > > --- > > driver

[PATCH,RESEND2] regulator: fixed, gpio: dt: regulator-name is required property

2018-02-13 Thread Harald Geyer
These two drivers fail to probe if no name is provided. For details see: https://www.spinics.net/lists/kernel/msg2457515.html Signed-off-by: Harald Geyer Acked-by: Rob Herring --- This is already the second resend for this trivial device probing bug fix. It was written to your specification, got

Re: [PATCH] loop: Fix lost writes caused by missing flag

2018-02-13 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig Can you wire up your test cases for blktests?

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Mon, Feb 12, 2018 at 5:30 PM, Pali Rohár wrote: > On Wednesday 31 January 2018 14:27:51 Andy Shevchenko wrote: >> On Wed, Jan 31, 2018 at 2:03 PM, Pali Rohár wrote: >> > On Sunday 28 January 2018 17:00:35 Andy Shevchenko wrote: >> >> On Sun, Jan 28, 2018 at 4:45 PM, Pali Rohár wrote: >> >> >>

[PATCH RESEND V3 1/9] clk: clk-divider: add CLK_DIVIDER_ZERO_GATE clk support

2018-02-13 Thread Dong Aisheng
For dividers with zero indicating clock is disabled, instead of giving a warning each time like "clkx: Zero divisor and CLK_DIVIDER_ALLOW_ZERO not set" in exist code, we'd like to introduce enable/disable function for it. e.g. 000b - Clock disabled 001b - Divide by 1 010b - Divide by 2 ... Set rat

[PATCH RESEND V3 3/9] clk: imx: add pllv4 support

2018-02-13 Thread Dong Aisheng
pllv4 is designed for System Clock Generation (SCG) module observed in IMX ULP SoC series. e.g. i.MX7ULP. The SCG modules generates clock used to derive processor, system, peripheral bus and external memory interface clocks while this patch intends to support the PLL part. Cc: Stephen Boyd Cc: M

[PATCH RESEND V3 2/9] clk: fractional-divider: add CLK_FRAC_DIVIDER_ZERO_BASED flag support

2018-02-13 Thread Dong Aisheng
Adding CLK_FRAC_DIVIDER_ZERO_BASED flag to indicate the numerator and denominator value in register are start from 0. This can be used to support frac dividers like below: Divider output clock = Divider input clock x [(frac +1) / (div +1)] where frac/div in register is: 000b - Divide by 1. 001b -

[PATCH RESEND V3 0/9] clk: add imx7ulp clk support

2018-02-13 Thread Dong Aisheng
This is a resend patch series. See the original one from here: [PATCH V3 00/10] clk: add imx7ulp clk support https://lkml.org/lkml/2018/1/19/351 No function changes but remove the last one which is used for the test. Rebased against clk-next branch. This patch series intends to add imx7ulp clk sup

[PATCH RESEND V3 4/9] clk: imx: add pfdv2 support

2018-02-13 Thread Dong Aisheng
The pfdv2 is designed for PLL Fractional Divide (PFD) observed in System Clock Generation (SCG) module in IMX ULP SoC series. e.g. i.MX7ULP. NOTE pfdv2 can only be operated when clk is gated. Cc: Stephen Boyd Cc: Michael Turquette Cc: Shawn Guo Cc: Anson Huang Cc: Bai Ping Signed-off-by: Don

[PATCH RESEND V3 5/9] clk: imx: add composite clk support

2018-02-13 Thread Dong Aisheng
The imx composite clk is designed for Peripheral Clock Control (PCC) module observed in IMX ULP SoC series. e.g. i.MX7ULP. NOTE pcc can only be operated when clk is gated. Cc: Stephen Boyd Cc: Michael Turquette Cc: Shawn Guo Cc: Anson Huang Cc: Bai Ping Signed-off-by: Dong Aisheng --- Chan

[PATCH RESEND V3 8/9] clk: imx: implement new clk_hw based APIs

2018-02-13 Thread Dong Aisheng
Clock providers are recommended to use the new struct clk_hw based API, so implement IMX clk_hw based provider helpers functions to the new approach. Signed-off-by: Dong Aisheng --- ChangeLog: v2->v3: * no changes v1->v2: new patches --- drivers/clk/imx/clk.c | 22 ++ drivers/

[PATCH RESEND V3 9/9] clk: imx: add imx7ulp clk driver

2018-02-13 Thread Dong Aisheng
i.MX7ULP Clock functions are under joint control of the System Clock Generation (SCG) modules, Peripheral Clock Control (PCC) modules, and Core Mode Controller (CMC)1 blocks The clocking scheme provides clear separation between M4 domain and A7 domain. Except for a few clock sources shared between

[PATCH RESEND V3 7/9] clk: imx: make mux parent strings const

2018-02-13 Thread Dong Aisheng
As the commit 2893c379461a ("clk: make strings in parent name arrays const"), let's make the parent strings const, otherwise we may meet the following warning when compiling: drivers/clk/imx/clk-imx7ulp.c: In function 'imx7ulp_clocks_init': drivers/clk/imx/clk-imx7ulp.c:73:35: warning: passing arg

Re: [PATCH net v4 02/13] net/8390: Fix msg_enable patch snafu

2018-02-13 Thread David Miller
From: Finn Thain Date: Tue, 13 Feb 2018 16:03:09 +1100 (AEDT) > I think you have overlooked those modules which offer no way to set > p->msg_enable, i.e. ax88796, axnet_cs, etherh, hydra, mac8390, mcf8390, > pcnet_cs and zorro8390. Then that's a bug, we have a very simple easy to implement int

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Pali Rohár
On Tuesday 13 February 2018 16:55:00 Andy Shevchenko wrote: > On Mon, Feb 12, 2018 at 5:30 PM, Pali Rohár wrote: > > On Wednesday 31 January 2018 14:27:51 Andy Shevchenko wrote: > >> On Wed, Jan 31, 2018 at 2:03 PM, Pali Rohár wrote: > >> > On Sunday 28 January 2018 17:00:35 Andy Shevchenko wrote

Re: [PATCH 6/6] sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine

2018-02-13 Thread Mel Gorman
On Tue, Feb 13, 2018 at 03:43:26PM +0100, Peter Zijlstra wrote: > > > > Well, it was deliberate. While it's possible to be on the same memory > > node and not sharing cache, the scheduler typically is more concerned with > > the LLC than NUMA per-se. If they share LLC, then I also assume that they

Re: [PATCH 4.9 43/92] x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown

2018-02-13 Thread Greg Kroah-Hartman
On Tue, Feb 13, 2018 at 01:34:07PM +, Nick Lowe wrote: > Hi, > > This does not seem to have subsumed the AMD specific code in > > x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown > Commit a8799fd14d9f7f385a5a5c86cde247caf4bb0320 > > https://git.kernel.org/pub/scm/linux

Re: [patch] kvm: suppress KVM_SET_GSI_ROUTING allocation failure

2018-02-13 Thread Paolo Bonzini
On 13/02/2018 15:48, Michal Hocko wrote: > On Thu 08-02-18 13:35:08, David Rientjes wrote: >> The KVM_SET_GSI_ROUTING ioctl does a vmalloc() of >> sizeof(struct kvm_irq_routing_entry) multiplied by a user-supplied value. >> This can be up to 4096 entries on architectures such as arm64 and s390 >> (

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 5:00 PM, Pali Rohár wrote: > On Tuesday 13 February 2018 16:55:00 Andy Shevchenko wrote: >> On Mon, Feb 12, 2018 at 5:30 PM, Pali Rohár wrote: >> > On Wednesday 31 January 2018 14:27:51 Andy Shevchenko wrote: >> >> On Wed, Jan 31, 2018 at 2:03 PM, Pali Rohár wrote: >> >>

Re: [PATCH v7 3/9] arm: omap: Move dmtimer.h out of plat-omap

2018-02-13 Thread Tony Lindgren
* Suman Anna [180213 02:07]: > On 01/09/2018 12:23 AM, J, KEERTHY wrote: > > The header file is currently under plat-omap directory > > under arch/omap. Move this out to an accessible place. > > @@ -18,7 +18,7 @@ > > #include > > #include > > #include > > -#include > > +#include > > Th

Re: [PATCH] PCI: Add quirk for Cavium Thunder-X2 PCIe erratum #173

2018-02-13 Thread Bjorn Helgaas
[+cc Lorenzo] On Fri, Feb 02, 2018 at 07:00:46AM +, George Cherian wrote: > The PCIe Controller on Cavium ThunderX2 processors does not > respond to downstream CFG/ECFG cycles when root port is > in power management D3-hot state. I think you're talking about the CPU initiating a config cycle

Re: [PATCH 4.9 43/92] x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown

2018-02-13 Thread Arjan van de Ven
So, any hints on what you think should be the correct fix here? the patch sure looks correct to me, it now has a nice table for CPU IDs including all of AMD (and soon hopefully the existing Intel ones that are not exposed to meltdown)

Re: [PATCH 6/6] sched/numa: Delay retrying placement for automatic NUMA balance after wake_affine

2018-02-13 Thread Peter Zijlstra
On Tue, Feb 13, 2018 at 03:00:20PM +, Mel Gorman wrote: > On Tue, Feb 13, 2018 at 03:43:26PM +0100, Peter Zijlstra wrote: > > > > > > Well, it was deliberate. While it's possible to be on the same memory > > > node and not sharing cache, the scheduler typically is more concerned with > > > the

[PATCH 1/4] perf record: Provide detailed information on s390 CPU

2018-02-13 Thread Thomas Richter
When perf record ... is setup to record data, the s390 cpu information was a fixed string "IBM/S390". Replace this string with one containing more information about the machine. The information included in the cpuid is a comma separated list: manufacturer,type,model-capacity,model[,version,auth

Re: [patch] kvm: suppress KVM_SET_GSI_ROUTING allocation failure

2018-02-13 Thread Christian Borntraeger
On 02/08/2018 10:35 PM, David Rientjes wrote: > The KVM_SET_GSI_ROUTING ioctl does a vmalloc() of > sizeof(struct kvm_irq_routing_entry) multiplied by a user-supplied value. > This can be up to 4096 entries on architectures such as arm64 and s390 > (and the upper bound may be increased on s390 ev

[PATCH 2/4] perf annotate: Scan cpuid for s390 and save machine type

2018-02-13 Thread Thomas Richter
Scan the cpuid string and extract the type number for later use. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/arch/s390/annotate/instructions.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/tools/perf/arch/s390/ann

[PATCH 4/4] perf test: Fix test case 23 for s390 z/VM or KVM guests

2018-02-13 Thread Thomas Richter
On s390 perf can be executed on a LPAR with support for hardware events (i. e. cycles) or on a z/VM or KVM guest where no hardware events are supported. In this environment use software event named cpu-clock for this test case. Use the cpuid infrastructure functions to determine the cpuid on s390

[PATCH 3/4] perf cpuid: Introduce a platform specfic cpuid compare function

2018-02-13 Thread Thomas Richter
The function get_cpuid_str() is called by perf_pmu__getcpuid() and on s390 returns a complete description of the CPU and its capabilities, which is a comma separated list. To map the CPU type with the value defined in the pmu-events/arch/s390/mapfile.csv, introduce an architecture specific cpuid c

Re: [PATCH v13 3/4] fw_cfg: write vmcoreinfo details

2018-02-13 Thread Marc-Andre Lureau
Hi On Tue, Feb 13, 2018 at 3:27 PM, Michael S. Tsirkin wrote: > On Tue, Feb 13, 2018 at 03:14:03PM +0100, Marc-Andre Lureau wrote: >> Hi >> >> On Mon, Feb 12, 2018 at 10:00 PM, Michael S. Tsirkin wrote: >> > On Mon, Feb 12, 2018 at 11:04:49AM +0100, Marc-Andre Lureau wrote: >> >> >> +} >> >> >>

Re: [patch] kvm: suppress KVM_SET_GSI_ROUTING allocation failure

2018-02-13 Thread Paolo Bonzini
On 13/02/2018 16:14, Christian Borntraeger wrote: > On 02/08/2018 10:35 PM, David Rientjes wrote: >> The KVM_SET_GSI_ROUTING ioctl does a vmalloc() of >> sizeof(struct kvm_irq_routing_entry) multiplied by a user-supplied value. >> This can be up to 4096 entries on architectures such as arm64 and s3

Re: UFS writing request failure handling

2018-02-13 Thread Bean Huo (beanhuo)
Hi Bart Thanks for your answer. I looked at SCSI core source codes these days, UFS also follows SCSI core error handling. There is already re-issue behavior, and assign 5 retries for each UFS request if there is error. > >On 02/12/18 04:21, Bean Huo (beanhuo) wrote >> I am looking at UFS error h

Re: [PATCH v13 3/4] fw_cfg: write vmcoreinfo details

2018-02-13 Thread Michael S. Tsirkin
On Tue, Feb 13, 2018 at 04:16:08PM +0100, Marc-Andre Lureau wrote: > Hi > > On Tue, Feb 13, 2018 at 3:27 PM, Michael S. Tsirkin wrote: > > On Tue, Feb 13, 2018 at 03:14:03PM +0100, Marc-Andre Lureau wrote: > >> Hi > >> > >> On Mon, Feb 12, 2018 at 10:00 PM, Michael S. Tsirkin > >> wrote: > >> >

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-13 Thread Alex Deucher
On Tue, Feb 13, 2018 at 3:17 AM, Lukas Wunner wrote: > On Mon, Feb 12, 2018 at 01:58:32PM -0500, Alex Deucher wrote: >> On Mon, Feb 12, 2018 at 4:45 AM, Lukas Wunner wrote: >> > On Mon, Feb 12, 2018 at 09:03:26AM +, Mike Lothian wrote: >> >> On 12 February 2018 at 03:39, Lukas Wunner wrote:

Re: RFC: build config via DT names

2018-02-13 Thread Rob Herring
On Mon, Feb 12, 2018 at 5:13 PM, Frank Rowand wrote: > + devicetree mail list > > On 02/10/18 07:52, Enrico Weigelt, metux IT consult wrote: >> Hi folks, >> >> I've regularily have the task of configuring a kernel for a given DT. >> To make this a little bit easier, I'd like to do this automatical

Re: [linux-sunxi] [PATCH v2] rtc: ac100: Fix ac100 determine rate bug

2018-02-13 Thread Philipp Rossak
On 13.02.2018 14:44, Chen-Yu Tsai wrote: On Tue, Feb 13, 2018 at 9:32 PM, Maxime Ripard wrote: On Tue, Feb 13, 2018 at 01:14:14PM +0100, Philipp Rossak wrote: This patch fixes a bug, that prevents the Allwinner A83T and the A80 from a successful boot. You can find the shortend trace below:

Re: pata-macio WARNING at dmam_alloc_coherent+0xec/0x110

2018-02-13 Thread Mathieu Malaterre
Hi, On Tue, Feb 13, 2018 at 3:51 PM, Christoph Hellwig wrote: > Does this fix your warning? > > diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c > index 62f541f968f6..07074820a167 100644 > --- a/drivers/macintosh/macio_asic.c > +++ b/drivers/macintosh/macio_asic.c > @@

[PATCH] reset: add support for non-DT systems

2018-02-13 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The reset framework only supports device-tree. There are some platforms however, which need to use it even in legacy, board-file based mode. An example of such architecture is the DaVinci family of SoCs which supports both device tree and legacy boot modes and we don't

[tip:x86/urgent] x86/error_inject: Make just_return_func() globally visible

2018-02-13 Thread tip-bot for Arnd Bergmann
Commit-ID: 01684e72f16727e6ae0aeb1392f478e11ec5b8f7 Gitweb: https://git.kernel.org/tip/01684e72f16727e6ae0aeb1392f478e11ec5b8f7 Author: Arnd Bergmann AuthorDate: Fri, 2 Feb 2018 15:56:19 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 14:33:35 +0100 x86/error_inject: Make jus

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