Re: [PATCH 06/16] x86/mm/ldt: Reserve high address-space range for the LDT

2018-01-17 Thread Peter Zijlstra
On Tue, Jan 16, 2018 at 02:51:45PM -0800, Andy Lutomirski wrote: > On Tue, Jan 16, 2018 at 8:52 AM, Peter Zijlstra wrote: > > On Tue, Jan 16, 2018 at 05:36:49PM +0100, Joerg Roedel wrote: > >> From: Joerg Roedel > >> > >> Reserve 2MB/4MB of address space for mapping the LDT to > >> user-space. >

Re: [PATCH v6 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-17 Thread Sakari Ailus
Hi Jacopo, On Tue, Jan 16, 2018 at 10:44:53PM +0100, Jacopo Mondi wrote: > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > Signed-off-by: Jacopo Mondi > Reviewed-by: Rob Herring > Reviewed-by: Laurent Pinchart > Acked-by: Hans Verkuil > --- > .../devicetree/bindings/med

Re: [PATCH] lightnvm/pblk-gc: Delete an error message for a failed memory allocation in pblk_gc_line_prepare_ws()

2018-01-17 Thread Javier González
> On 16 Jan 2018, at 22.10, SF Markus Elfring > wrote: > > From: Markus Elfring > Date: Tue, 16 Jan 2018 22:00:15 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

[PATCH v5 0/3] Add support for Hi3660 mailbox driver

2018-01-17 Thread Leo Yan
Hi3660 mailbox controller is used to send message within multiple processors, MCU, HIFI, etc. This patch series is to implement an initial version for Hi3660 mailbox driver with "automatic acknowledge" mode. The patch set have been verified with Hi3660 stub clock driver, so we can send message to

Re: [RFC PATCH 5/9] media: vb2: add support for requests

2018-01-17 Thread Alexandre Courbot
On Tue, Jan 16, 2018 at 7:37 PM, Hans Verkuil wrote: > On 01/16/2018 10:39 AM, Alexandre Courbot wrote: >> On Mon, Jan 15, 2018 at 6:07 PM, Hans Verkuil wrote: >>> On 01/15/2018 09:24 AM, Alexandre Courbot wrote: On Fri, Jan 12, 2018 at 7:49 PM, Hans Verkuil wrote: > On 12/15/17 08:56,

[PATCH v5 1/3] dt-bindings: mailbox: Introduce Hi3660 controller binding

2018-01-17 Thread Leo Yan
Introduce a binding for the Hi3660 mailbox controller, the mailbox is used within application processor (AP), communication processor (CP), HIFI and MCU, etc. Acked-by: Rob Herring Signed-off-by: Leo Yan --- .../bindings/mailbox/hisilicon,hi3660-mailbox.txt | 51 ++ 1 file

[PATCH v5 2/3] mailbox: Add support for Hi3660 mailbox

2018-01-17 Thread Leo Yan
From: Kaihua Zhong Hi3660 mailbox controller is used to send message within multiple processors, MCU, HIFI, etc. It supports 32 mailbox channels and every channel can only be used for single transferring direction. Once the channel is enabled, it needs to specify the destination interrupt and a

[PATCH v5 3/3] dts: arm64: Add mailbox binding for hi3660

2018-01-17 Thread Leo Yan
From: Kaihua Zhong Add DT binding for mailbox driver. Signed-off-by: Ruyi Wang Signed-off-by: Kaihua Zhong --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi366

Re: [PATCH v2 01/10] perf tools: Integrating the CoreSight decoding library

2018-01-17 Thread Jiri Olsa
On Tue, Jan 16, 2018 at 01:30:33PM -0700, Mathieu Poirier wrote: > On 16 January 2018 at 05:15, Jiri Olsa wrote: > > On Mon, Jan 15, 2018 at 11:13:05AM -0700, Mathieu Poirier wrote: > >> The Open CoreSight Decoding Library (openCSD) is a free and open > >> library to decode traces collected by the

Re: LKML admins (syzbot emails are not delivered)

2018-01-17 Thread Dmitry Vyukov
On Wed, Jan 17, 2018 at 12:13 AM, Theodore Ts'o wrote: > On Tue, Jan 16, 2018 at 09:31:26AM +0100, Dmitry Vyukov wrote: >> On Tue, Jan 16, 2018 at 8:12 AM, Theodore Ts'o wrote: >> > I just checked a recent report from the Syzbot, and it's not fixed. >> > The raw.log file still uses a Content-Type

Re: ppc elf_map breakage with MAP_FIXED_NOREPLACE

2018-01-17 Thread Michal Hocko
On Thu 11-01-18 15:38:37, Anshuman Khandual wrote: > On 01/09/2018 09:43 PM, Michal Hocko wrote: [...] > > Did you manage to catch _who_ is requesting that anonymous mapping? Do > > you need a help with the debugging patch? > > Not yet, will get back on this. ping? -- Michal Hocko SUSE Labs

Re: WARNING in can_rcv

2018-01-17 Thread Oliver Hartkopp
On 01/17/2018 08:12 AM, Eric Biggers wrote: On Wed, Jan 17, 2018 at 07:39:24AM +0100, Oliver Hartkopp wrote: On 01/16/2018 07:11 PM, Dmitry Vyukov wrote: On Tue, Jan 16, 2018 at 7:07 PM, Marc Kleine-Budde wrote: On 01/16/2018 06:58 PM, syzbot wrote: Hello, syzkaller hit the following cr

Re: [PATCH 2/2] blk-mq: simplify queue mapping & schedule with each possisble CPU

2018-01-17 Thread jianchao.wang
Hi ming Thanks for your kindly response. On 01/17/2018 02:22 PM, Ming Lei wrote: > This warning can't be removed completely, for example, the CPU figured > in blk_mq_hctx_next_cpu(hctx) can be put on again just after the > following call returns and before __blk_mq_run_hw_queue() is scheduled >

Re: [PATCH v2 11/10] objtool: Even more complex static block checks

2018-01-17 Thread Peter Zijlstra
On Tue, Jan 16, 2018 at 09:12:32PM -0600, Josh Poimboeuf wrote: > On Tue, Jan 16, 2018 at 08:49:17PM +0100, Peter Zijlstra wrote: > > Subject: objtool: Even more complex static block checks > > From: Peter Zijlstra > > Date: Tue Jan 16 20:17:01 CET 2018 > > > > I've observed GCC transform: > > >

Re: LKML admins (syzbot emails are not delivered)

2018-01-17 Thread Dmitry Vyukov
On Mon, Jan 15, 2018 at 5:38 PM, Eric W. Biederman wrote: > I am definitely not asking for expertise in the kernel. I am asking > for a human who wants to help track down bugs in the kernel. What is that additional information that you need and that syzbot currently does not provide?

Re: [PATCH v2 10/10] objtool: More complex static jump implementation

2018-01-17 Thread Peter Zijlstra
On Tue, Jan 16, 2018 at 09:05:31PM -0600, Josh Poimboeuf wrote: > On Tue, Jan 16, 2018 at 03:28:35PM +0100, Peter Zijlstra wrote: > > When using something like: > > > > -#define sched_feat(x) > > (static_branch_##x(&sched_feat_keys[__SCHED_FEAT_##x])) > > +#define sched_feat(x) > > (static_b

Re: [PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2018-01-17 Thread Pankaj Gupta
> > Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_VQ feature indicates the > support of reporting hints of guest free pages to host via virtio-balloon. > > Host requests the guest to report free pages by sending a new cmd > id to the guest via the free_page_report_cmd_id configuration register.

Re: WARNING in can_rcv

2018-01-17 Thread Oliver Hartkopp
On 01/17/2018 08:39 AM, Dmitry Vyukov wrote: On Wed, Jan 17, 2018 at 8:12 AM, Eric Biggers wrote: On Wed, Jan 17, 2018 at 07:39:24AM +0100, Oliver Hartkopp wrote: On 01/16/2018 07:11 PM, Dmitry Vyukov wrote: On Tue, Jan 16, 2018 at 7:07 PM, Marc Kleine-Budde wrote: On 01/16/2018 06:58 P

Re: [PATCH 2/5] perf unwind: Do not look at globals

2018-01-17 Thread Jiri Olsa
On Tue, Jan 16, 2018 at 05:05:20PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > > > > > +/* > > > + * Are there any events usind DWARF callchains? > > > + * > > > + * I.e. > > > + * > > > + * -e cycles/call-graph=dwarf/ > > > + */ > > > +bool dwarf_callchain_users; > > > > hum, I don't foll

Re: [PATCH] [RESEND] drm/gma500: initialize gma_clock_t structures

2018-01-17 Thread Patrik Jakobsson
On Tue, Jan 16, 2018 at 3:57 PM, Arnd Bergmann wrote: > The two functions pass a partially initialized structure back to the > caller after a memset() on the destination. > > This is not entirely well-defined, most compilers are sensible enough > to either keep the zero-initialization for the unin

Re: [PATCH v4 2/5] PCI/ERR: Rename error reporting to generic pci naming

2018-01-17 Thread poza
On 2018-01-17 06:46, Bjorn Helgaas wrote: On Tue, Jan 16, 2018 at 03:28:40PM +0530, Oza Pawandeep wrote: This patch renames error reporting to generic function with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c i

Re: [PATCH] [RESEND] drm/gma500: initialize gma_clock_t structures

2018-01-17 Thread Daniel Vetter
On Tue, Jan 16, 2018 at 03:57:10PM +0100, Arnd Bergmann wrote: > The two functions pass a partially initialized structure back to the > caller after a memset() on the destination. > > This is not entirely well-defined, most compilers are sensible enough > to either keep the zero-initialization for

Re: drm: fix vmwgfx boot warning WAS Re: [PATCH] [RESEND] vmwgfx: use monotonic event timestamps

2018-01-17 Thread Thomas Hellstrom
On 01/17/2018 07:33 AM, Thomas Hellstrom wrote: Hi, Woody, On 01/16/2018 10:39 PM, Woody Suwalski wrote: Thomas, the same way my DRM patch has disappeared: Date Tue, 19 Dec 2017 11:50:57 -0800 From Sinclair Yeh <> Subject Re: [PATCH v.2] 4.15 vmgfx boot warning This looks okay

Re: [PATCH v2 03/16] pwm: cros-ec: update documentation regarding pwm-cells

2018-01-17 Thread Claudiu Beznea
On 15.01.2018 11:01, Claudiu Beznea wrote: > > > On 12.01.2018 20:31, Brian Norris wrote: >> On Fri, Jan 12, 2018 at 04:22:50PM +0200, Claudiu Beznea wrote: >>> pwm-cells should be at least 2 to provide channel number and period value. >> >> Nacked-by: Brian Norris >> >> We don't control the p

Re: [PATCH v4 2/5] PCI/ERR: Rename error reporting to generic pci naming

2018-01-17 Thread poza
On 2018-01-17 13:54, p...@codeaurora.org wrote: On 2018-01-17 06:46, Bjorn Helgaas wrote: On Tue, Jan 16, 2018 at 03:28:40PM +0530, Oza Pawandeep wrote: This patch renames error reporting to generic function with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerd

[PATCH 1/4] f2fs: clean up error path of fill_super

2018-01-17 Thread Chao Yu
This patch cleans up error path of fille_super to avoid unneeded release step. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 1a76d229a802..86410875cbb4 100644 --- a/fs/f2fs/super.c

[PATCH 2/4] f2fs: kill F2FS_INLINE_XATTR_ADDRS for cleanup

2018-01-17 Thread Chao Yu
Use get_inline_xattr_addrs directly instead of F2FS_INLINE_XATTR_ADDRS. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 2 +- fs/f2fs/f2fs.h | 7 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 67902ad08d7a..b0e75d74fd57 100644 --- a/fs/f2

[PATCH 3/4] f2fs: fix to update last_disk_size correctly

2018-01-17 Thread Chao Yu
This patch fixes to update last_disk_size only when writing out page successfully. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index b0e75d74fd57..28c03ea27954 100644 --- a/fs/f2fs/data

[PATCH 4/4] f2fs: split need_inplace_update

2018-01-17 Thread Chao Yu
This patch splits need_inplace_update to two functions: a. should_update_inplace() includes all conditions that we must use IPU. b. should_update_outplace() includes all conditions that we must use OPU. So that, in f2fs_ioc_set_pin_file() and f2fs_defragment_range(), we can use corresponding funct

Re: ipv6 redefinition build issue with 4.15-rc8

2018-01-17 Thread Hauke Mehrtens
On 01/17/2018 08:59 AM, Daniel Wagner wrote: > Hi Neil, > > On 01/16/2018 07:51 PM, Neil MacLeod wrote: >> Since this commit in 4.15-rc8: >> >> https://github.com/torvalds/linux/commit/6926e041a8920c8ec27e4e155efa760aa01551fd >> >> >> building connman 1.35 with glibc 2.26 now fails as follows: >

Re: [PATCH v6 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-17 Thread jacopo mondi
Hi Sakari, it's the second series this week where I fail to handle BT.656 properly, sorry about this :) On Wed, Jan 17, 2018 at 09:59:59AM +0200, Sakari Ailus wrote: > Hi Jacopo, > > On Tue, Jan 16, 2018 at 10:44:53PM +0100, Jacopo Mondi wrote: > > Add bindings documentation for Renesas Captur

Re: [PATCH] irqdomain: provide useful debugging information for irq domain

2018-01-17 Thread Marc Zyngier
Hi Yang, On 17/01/18 04:37, Yang Shunyong wrote: > With recent hashed kernel pointers change, output with %p will > output hashed address. This patch changes %p to %px in irq domain > debug information. As unprivileged user has no permission to mount > debugfs or set printk level to KERN_DEBUG to

Re: [RFC PATCH 5/9] media: vb2: add support for requests

2018-01-17 Thread Hans Verkuil
On 01/17/18 09:01, Alexandre Courbot wrote: > On Tue, Jan 16, 2018 at 7:37 PM, Hans Verkuil wrote: >> On 01/16/2018 10:39 AM, Alexandre Courbot wrote: >>> On Mon, Jan 15, 2018 at 6:07 PM, Hans Verkuil wrote: On 01/15/2018 09:24 AM, Alexandre Courbot wrote: > On Fri, Jan 12, 2018 at 7:49

[PATCH] perf test: Fix test trace+probe_libc_inet_pton.sh for s390x

2018-01-17 Thread Thomas Richter
On Intel test case trace+probe_libc_inet_pton.sh succeeds and the output is: [root@f27 perf]# ./perf trace --no-syscalls -e probe_libc:inet_pton/max-stack=3/ ping -6 -c 1 ::1 PING ::1(::1) 56 data bytes 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.037 ms --- ::1 ping statistics -

Re: [PATCH] mm/compaction: fix the comment for try_to_compact_pages

2018-01-17 Thread Vlastimil Babka
On 01/13/2018 12:55 AM, Yang Shi wrote: > "mode" argument is not used by try_to_compact_pages() and sub functions > anymore, it has been replaced by "prio". Fix the comment to explain the > use of "prio" argument. > > Cc: Vlastimil Babka > Cc: Mel Gorman > Cc: David Rientjes > Cc: Joonsoo Kim

Re: WARNING in can_rcv

2018-01-17 Thread Dmitry Vyukov
On Wed, Jan 17, 2018 at 9:22 AM, Oliver Hartkopp wrote: > > > On 01/17/2018 08:39 AM, Dmitry Vyukov wrote: >> >> On Wed, Jan 17, 2018 at 8:12 AM, Eric Biggers wrote: >>> >>> On Wed, Jan 17, 2018 at 07:39:24AM +0100, Oliver Hartkopp wrote: On 01/16/2018 07:11 PM, Dmitry Vyukov

[PATCH v4 5/8] ARM: sun9i: smp: Support CPU/cluster power down and hotplugging for cpu1~7

2018-01-17 Thread Chen-Yu Tsai
This patch adds common code used to power down all cores and clusters. The code was previously based on the MCPM framework. It has now been adapted to hook into struct smp_operations directly, but the code structure still shows signs of prior work. The primary core (cpu0) requires setting flags to

[PATCH v4 7/8] ARM: sun9i: smp: Support cpu0 hotplug

2018-01-17 Thread Chen-Yu Tsai
The BROM has a branch that checks if the primary core is hotplugging. If the magic flag is set, execution jumps to the address set in the software entry register. (Secondary cores always branch to the that address.) This patch sets the flags that makes BROM jump execution on the primary core (cpu0

[PATCH v4 6/8] dt-bindings: ARM: sunxi: Document A80 SoC secure SRAM usage by SMP hotplug

2018-01-17 Thread Chen-Yu Tsai
On the Allwinner A80 SoC the BROM supports hotplugging the primary core (cpu0) by checking two 32bit values at a specific location within the secure SRAM block. This region needs to be reserved and accessible to the SMP code. Document its usage. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripar

[PATCH v4 8/8] ARM: dts: sun9i: Add secure SRAM node used for SMP hotplug

2018-01-17 Thread Chen-Yu Tsai
The A80 stores some magic flags in a portion of the secure SRAM. The BROM jumps directly to the software entry point set by the SMP code if the flags are set. This is required for CPU0 hotplugging. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun9i-a80.dtsi | 19 +++

[PATCH v4 4/8] ARM: dts: sun9i: Add PRCM device node for the A80 dtsi

2018-01-17 Thread Chen-Yu Tsai
The PRCM is a collection of clock controls, reset controls, and various power switches/gates. Some of these can be independently listed and supported, while a number of CPU related ones are used in tandem with CPUCFG for SMP bringup and CPU hotplugging. Signed-off-by: Chen-Yu Tsai Acked-by: Maxim

[PATCH v4 1/8] ARM: sun9i: Support SMP bring-up on A80

2018-01-17 Thread Chen-Yu Tsai
The A80 is a big.LITTLE SoC with 1 cluster of 4 Cortex-A7s and 1 cluster of 4 Cortex-A15s. This patch adds support to bring up the second cluster and thus all cores using custom platform SMP code. Core/cluster power down has not been implemented, thus CPU hotplugging is not supported. Parts of th

[PATCH v4 0/8] ARM: sun9i: SMP and CPU hotplug support

2018-01-17 Thread Chen-Yu Tsai
This is v4 of my sun9i SMP/hotplug support series which was started over two years ago [1]. We've tried to implement PSCI for both the A80 and A83T. Results were not promising. The issue is that these two chips have a broken security extensions implementation. If a specific bit is not burned in its

[PATCH v4 3/8] ARM: dts: sun9i: Add CPUCFG device node for A80 dtsi

2018-01-17 Thread Chen-Yu Tsai
CPUCFG is a collection of registers that are mapped to the SoC's signals from each individual processor core and associated peripherals, such as resets for processors, L1/L2 cache and other things. These registers are used for SMP bringup and CPU hotplugging. Signed-off-by: Chen-Yu Tsai Acked-by

Re: [PATCH v2 12/13] iommu/rockchip: Add runtime PM support

2018-01-17 Thread JeffyChen
Hi Tomasz, On 01/17/2018 03:52 PM, JeffyChen wrote: Hi Tomasz, On 01/17/2018 03:38 PM, Tomasz Figa wrote: >>Don't we need to check here (and in _shutdown() too) if we have a >>domain attached? > >hmmm, right, the startup might been called by resume, so should check >iommu->domain here. > >but

[PATCH v4 2/8] ARM: dts: sun9i: Add CCI-400 device nodes for A80

2018-01-17 Thread Chen-Yu Tsai
The A80 includes an ARM CCI-400 interconnect to support multi-cluster CPU caches. Also add the maximum clock frequency for the CPUs, as listed in the A80 Optimus Board FEX file. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/boot/dts/sun9i-a80.dtsi | 46 ++

[PATCH 2/2] Staging: netlogic: platform_net.c: introduced a helper function

2018-01-17 Thread Naveen Panwar
In staging/netlogic/platform.c Refactoring the identical code used in several places for calculating the physical address of memory-mapped objects on the device.Put that into an inline helper function and use it. Adjust the types of arguments of xlr_resource_init() - 'offset' and 'irq' are actuall

Re: [PATCH v2 2/2] nvme: add tracepoint for nvme_complete_rq

2018-01-17 Thread Johannes Thumshirn
On Tue, Jan 16, 2018 at 05:50:26PM +0100, Christoph Hellwig wrote: > Just pass the struct request? OK -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Feli

[PATCH] scsi: ufs: add trace event for ufs upiu

2018-01-17 Thread Ohad Sharabi
Add UFS Protocol Information Units(upiu) trace events for ufs driver, used to trace various ufs transaction types- command, task-management and device management. The trace-point format is generic and can be easily adapted to trace other upius if needed. Currently tracing ufs transaction of type 'd

Re: [PATCH v6 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-17 Thread Sakari Ailus
On Wed, Jan 17, 2018 at 09:35:53AM +0100, jacopo mondi wrote: > Hi Sakari, > it's the second series this week where I fail to handle BT.656 > properly, sorry about this :) No worries. I guess I forgot your reply. If the hardware doesn't support Bt.656 then the current definition is fine. Acke

Re: [PATCH 0/1] Re: kernel BUG at fs/userfaultfd.c:LINE!

2018-01-17 Thread Pavel Machek
Hi! > > Andrea Arcangeli (1): > > userfaultfd: clear the vma->vm_userfaultfd_ctx if UFFD_EVENT_FORK > > fails > > > > fs/userfaultfd.c | 20 ++-- > > 1 file changed, 18 insertions(+), 2 deletions(-) > > The original report footer was stripped, so: > > Please credit me with

Re: [PATCH v6 03/24] mm: Dont assume page-table invariance during faults

2018-01-17 Thread Laurent Dufour
On 17/01/2018 04:04, Andi Kleen wrote: > Laurent Dufour writes: > >> From: Peter Zijlstra >> >> One of the side effects of speculating on faults (without holding >> mmap_sem) is that we can race with free_pgtables() and therefore we >> cannot assume the page-tables will stick around. >> >> Remov

Re: [PATCH] print kdump kernel loaded status in stack dump

2018-01-17 Thread Petr Mladek
On Wed 2018-01-17 12:50:57, Dave Young wrote: > It is useful to print kdump kernel loaded status in dump_stack() > especially when panic happens so that we can differenciate > kdump kernel early hang and a normal panic in a bug report. > > Signed-off-by: Dave Young > --- > kernel/printk/printk

Re: [PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2018-01-17 Thread Wei Wang
On 01/17/2018 04:21 PM, Pankaj Gupta wrote: Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_VQ feature indicates the support of reporting hints of guest free pages to host via virtio-balloon. Host requests the guest to report free pages by sending a new cmd id to the guest via the free_page_report

Re: [PATCH 02/16] x86/entry/32: Enter the kernel via trampoline stack

2018-01-17 Thread Joerg Roedel
Hi Boris, thanks for testing this :) On Tue, Jan 16, 2018 at 09:47:06PM -0500, Boris Ostrovsky wrote: > On 01/16/2018 11:36 AM, Joerg Roedel wrote: > >+.macro SWITCH_TO_KERNEL_STACK nr_regs=0 check_user=0 > > > This (and next patch's SWITCH_TO_ENTRY_STACK) need X86_FEATURE_PTI check. > > With

Re: [PATCH RFC v1] arm64: Handle traps from accessing CNTVCT/CNTFRQ for CONFIG_COMPAT

2018-01-17 Thread Marc Zyngier
On 17/01/18 02:13, Nicolin Chen wrote: > On Tue, Jan 16, 2018 at 01:37:46PM -0800, Nicolin Chen wrote: >> On Tue, Jan 16, 2018 at 09:19:13PM +, Marc Zyngier wrote: >> I understand that it should take care of the condition field as a general instruction handler. Just for curiosity: If

Re: [PATCH] MIPS: use generic GCC library routines from lib/

2018-01-17 Thread Matt Redfearn
Hi, On Wed, Jan 17, 2018 at 09:51:21AM +0300, Antony Pavlov wrote: > The commit b35cd9884fa5 ("lib: Add shared copies of > some GCC library routines") makes it possible > to share generic GCC library routines by several > architectures. > > This commit removes several generic GCC library > routin

Re: [PATCH V4 1/2] nvme: add NVME_CTRL_RESET_PREPARE state

2018-01-17 Thread Max Gurtovoy
hi Jianchao Wang, On 1/17/2018 6:54 AM, Jianchao Wang wrote: Currently, the ctrl->state will be changed to NVME_CTRL_RESETTING before queue the reset work. This is not so strict. There could be a big gap before the reset_work callback is invoked. In addition, there is some disable work in the re

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-17 Thread Petr Mladek
On Tue 2018-01-16 11:44:56, Tejun Heo wrote: > Hello, Steven. > > On Thu, Jan 11, 2018 at 09:55:47PM -0500, Steven Rostedt wrote: > > All I did was start off a work queue on each CPU, and each CPU does one > > printk() followed by a millisecond sleep. No 10,000 printks, nothing > > in an interrupt

Re: [PATCH 0/2] PM / core: genpd fix and pm_runtime_force_suspend|resume() rework

2018-01-17 Thread Geert Uytterhoeven
Hi Rafael, On Mon, Jan 15, 2018 at 5:17 PM, Rafael J. Wysocki wrote: > On Mon, Jan 15, 2018 at 3:26 PM, Ulf Hansson wrote: >> On 15 January 2018 at 14:22, Geert Uytterhoeven wrote: > > [cut] > >>> >>> I did miss a small difference in topology: in pm/linux-next, H3 has DMA >>> enabled for SCIF2,

Re: [RFC] mm: why vfree() do not free page table memory?

2018-01-17 Thread Vlastimil Babka
On 12/29/2017 09:58 AM, Xishi Qiu wrote: > When calling vfree(), it calls unmap_vmap_area() to clear page table, > but do not free the memory of page table, why? just for performance? I guess it's expected that the free virtual range and associated page tables it might be reused later. > If a dri

Re: [PATCH] fork: Allow stack to be wiped on fork

2018-01-17 Thread Michal Hocko
On Tue 16-01-18 21:50:15, Kees Cook wrote: > One of the classes of kernel stack content leaks is exposing the contents > of prior heap or stack contents when a new process stack is allocated. > Normally, those stacks are not zeroed, and the old contents remain in > place. With some types of stack c

Re: [PATCH] irqdomain: provide useful debugging information for irq domain

2018-01-17 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Marc Zyngier wrote: > In all honesty, I'd be more inclined to remove this debug feature > altogether, as CONFIG_GENERIC_IRQ_DEBUGFS is more complete and more > useful. Is there any feature missing from that infrastructure that > prevents you from using it instead? > > If the a

Re: [PATCH 02/16] x86/entry/32: Enter the kernel via trampoline stack

2018-01-17 Thread Joerg Roedel
On Tue, Jan 16, 2018 at 02:45:27PM -0800, Andy Lutomirski wrote: > On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote: > > +.macro SWITCH_TO_KERNEL_STACK nr_regs=0 check_user=0 > > How about marking nr_regs with :req to force everyone to be explicit? Yeah, that's more readable, I'll change it.

Re: [PATCH V4 1/2] nvme: add NVME_CTRL_RESET_PREPARE state

2018-01-17 Thread jianchao.wang
Hi Max Thanks for your kindly response. I have merged the response to you together below. On 01/17/2018 05:06 PM, Max Gurtovoy wrote: >>   case NVME_CTRL_RECONNECTING: >>   switch (old_state) { >>   case NVME_CTRL_LIVE: >> -    case NVME_CTRL_RESETTING: >> +    case NVME_C

Re: [PATCH v2 06/10] objtool: Implement jump_assert for _static_cpu_has()

2018-01-17 Thread Peter Zijlstra
On Tue, Jan 16, 2018 at 05:02:56PM -0600, Josh Poimboeuf wrote: > On Tue, Jan 16, 2018 at 03:28:31PM +0100, Peter Zijlstra wrote: > > + if (special_alt->static_feat) > > s/static_feat/static_cpu_has/ ? done. > > @@ -664,6 +670,21 @@ static int handle_group_alt(struct objto > >

Re: [PATCH 06/19] drm/blend: Add a generic alpha property

2018-01-17 Thread Maxime Ripard
On Thu, Jan 11, 2018 at 08:34:58PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Thursday, 11 January 2018 18:36:10 EET Daniel Vetter wrote: > > On Thu, Jan 11, 2018 at 4:58 PM, Maxime Ripard wrote: > > > On Tue, Jan 09, 2018 at 03:28:34PM +0100, Daniel Vetter wrote: > > >> On Tue, Jan 09, 20

[PATCH v2 5/5] powerpc/mm: Remove intermediate bitmap copy in 'slices'

2018-01-17 Thread Christophe Leroy
bitmap_or() and bitmap_andnot() can work properly with dst identical to src1 or src2. There is no need of an intermediate result bitmap that is copied back to dst in a second step. Signed-off-by: Christophe Leroy --- v2: New in v2 arch/powerpc/mm/slice.c | 15 +++ 1 file changed, 3

[PATCH v2 1/5] powerpc/mm: Enhance 'slice' for supporting PPC32

2018-01-17 Thread Christophe Leroy
In preparation for the following patch which will fix an issue on the 8xx by re-using the 'slices', this patch enhances the 'slices' implementation to support 32 bits CPUs. On PPC32, the address space is limited to 4Gbytes, hence only the low slices will be used. As of today, the code uses SLICE_L

[PATCH v2 2/5] powerpc/32: Fix hugepage allocation on 8xx at hint address

2018-01-17 Thread Christophe Leroy
On the 8xx, the page size is set in the PMD entry and applies to all pages of the page table pointed by the said PMD entry. When an app has some regular pages allocated (e.g. see below) and tries to mmap() a huge page at a hint address covered by the same PMD entry, the kernel accepts the hint all

[PATCH v2 4/5] powerpc/8xx: Increase the number of mm slices

2018-01-17 Thread Christophe Leroy
On the 8xx, we can have as many slices as PMD entries. This means we could have 1024 slices in 4k size pages mode and 64 slices in 16k size pages. However, due to a stack overflow in slice_get_unmapped_area(), we limit to 512 slices. Signed-off-by: Christophe Leroy --- v2: no change arch/powe

[PATCH v2 3/5] powerpc/mm: Allow more than 16 low slices

2018-01-17 Thread Christophe Leroy
While the implementation of the "slices" address space allows a significant amount of high slices, it limits the number of low slices to 16 due to the use of a single u64 low_slices_psize element in struct mm_context_t On the 8xx, the minimum slice size is the size of the area covered by a single

Re: [BUG 4.15-rc7] IRQ matrix management errors

2018-01-17 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Keith Busch wrote: > On Wed, Jan 17, 2018 at 08:34:22AM +0100, Thomas Gleixner wrote: > > Can you trace the matrix allocations from the very beginning or tell me how > > to reproduce. I'd like to figure out why this is happening. > > Sure, I'll get the irq_matrix events. > >

Re: ipv6 redefinition build issue with 4.15-rc8

2018-01-17 Thread Jonas Bonn
On 01/17/2018 08:59 AM, Daniel Wagner wrote: Hi Neil, On 01/16/2018 07:51 PM, Neil MacLeod wrote: Since this commit in 4.15-rc8: https://github.com/torvalds/linux/commit/6926e041a8920c8ec27e4e155efa760aa01551fd building connman 1.35 with glibc 2.26 now fails as follows: http://ix.io/EbP

Re: [PATCH 03/16] x86/entry/32: Leave the kernel via the trampoline stack

2018-01-17 Thread Joerg Roedel
On Tue, Jan 16, 2018 at 02:48:43PM -0800, Andy Lutomirski wrote: > On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote: > > + /* Restore user %edi and user %fs */ > > + movl (%edi), %edi > > + popl %fs > > Yikes! We're not *supposed* to be able to observe an asynchronous > desc

Re: [PATCH V4 1/2] nvme: add NVME_CTRL_RESET_PREPARE state

2018-01-17 Thread jianchao.wang
Hi max On 01/17/2018 05:19 PM, jianchao.wang wrote: > Hi Max > > Thanks for your kindly response. > > I have merged the response to you together below. > On 01/17/2018 05:06 PM, Max Gurtovoy wrote: >>>   case NVME_CTRL_RECONNECTING: >>>   switch (old_state) { >>>   case NVME_CTRL

Re: [PATCH] irqdomain: provide useful debugging information for irq domain

2018-01-17 Thread Marc Zyngier
On 17/01/18 09:18, Thomas Gleixner wrote: > On Wed, 17 Jan 2018, Marc Zyngier wrote: >> In all honesty, I'd be more inclined to remove this debug feature >> altogether, as CONFIG_GENERIC_IRQ_DEBUGFS is more complete and more >> useful. Is there any feature missing from that infrastructure that >> p

Re: [PATCH] irqdomain: provide useful debugging information for irq domain

2018-01-17 Thread Yang, Shunyong
Hi, Marc and Thomas, Thanks for your feedback. On Wed, 2018-01-17 at 10:18 +0100, Thomas Gleixner wrote: > On Wed, 17 Jan 2018, Marc Zyngier wrote: > > > > In all honesty, I'd be more inclined to remove this debug feature > > altogether, as CONFIG_GENERIC_IRQ_DEBUGFS is more complete and more >

Re: [PATCH 04/16] x86/pti: Define X86_CR3_PTI_PCID_USER_BIT on x86_32

2018-01-17 Thread Joerg Roedel
On Tue, Jan 16, 2018 at 02:46:16PM -0800, Andy Lutomirski wrote: > On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote: > > From: Joerg Roedel > > > > Move it out of the X86_64 specific processor defines so > > that its visible for 32bit too. > > Hmm. This is okay, I guess, but any code that ac

Re: [RESEND PATCH 1/3] x86/apic: Set up through LAPIC on boot CPU's LINT0 if ioapic is disabled

2018-01-17 Thread Baoquan He
CC Eric On 01/05/18 at 12:37pm, Baoquan He wrote: > Kdump kernel will become very slow if 'noapic' is specified in kernel > command line. Normal kernel doesn't have this issue. > > This is because the legacy irq mode is disabled in crashed kernel before > jump jump to kdump kernel since commit 52

Re: [Nouveau] [PATCH] drm/nouveau/bar/gk20a: Avoid bar teardown during init

2018-01-17 Thread Guillaume Tucker
On 10/01/18 12:20, Thierry Reding wrote: On Thu, Jan 04, 2018 at 11:29:09AM +, Jon Hunter wrote: Commit bbb163e18960 ("drm/nouveau/bar: implement bar1 teardown") introduced add a teardown helper function for BAR1. During initialisation of the Nouveau, initially all the teardown helpers are c

Re: [PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2018-01-17 Thread Pankaj Gupta
> On 01/17/2018 04:21 PM, Pankaj Gupta wrote: > >> Negotiation of the VIRTIO_BALLOON_F_FREE_PAGE_VQ feature indicates the > >> support of reporting hints of guest free pages to host via virtio-balloon. > >> > >> Host requests the guest to report free pages by sending a new cmd > >> id to the guest

Re: [REGRESSION] linux-next panics when trying to mount root

2018-01-17 Thread Peter Rosin
On 2018-01-17 09:27, Rafał Miłecki wrote: > On 2018-01-16 14:28, Peter Rosin wrote: >> When trying next-20180116 I get the following panic during boot: >> >> Linux version 4.15.0-rc8-next-20180116 (peda@orc) (gcc version 4.9.2 >> 20140811 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.08 - Linar

Re: [PATCH 06/19] drm/blend: Add a generic alpha property

2018-01-17 Thread Daniel Vetter
On Wed, Jan 17, 2018 at 10:20:24AM +0100, Maxime Ripard wrote: > On Thu, Jan 11, 2018 at 08:34:58PM +0200, Laurent Pinchart wrote: > > Hi Daniel, > > > > On Thursday, 11 January 2018 18:36:10 EET Daniel Vetter wrote: > > > On Thu, Jan 11, 2018 at 4:58 PM, Maxime Ripard wrote: > > > > On Tue, Jan 0

Re: [RESEND PATCH 2/3] x86/apic/kexec: Enable legacy irq mode before jump to kexec/kdump kernel

2018-01-17 Thread Baoquan He
CC Eric On 01/05/18 at 12:38pm, Baoquan He wrote: > In commit > > commit 522e66464467 ("x86/apic: Disable I/O APIC before shutdown of the local > APIC"). > > lapic_shutdown() invocation is moved after disable_IO_APIC(). In fact > in disable_IO_APIC(), it not only calls clear_IO_APIC() to disabl

Re: [RESEND PATCH 3/3] x86/apic: Clean up the names of legacy irq mode setting related functions

2018-01-17 Thread Baoquan He
CC Eric On 01/05/18 at 12:39pm, Baoquan He wrote: > X86 MP spec defines 3 different interrupt modes: > 1) PIC Mode—bypasses all APIC components and forces the system to > operate in single-processor mode. > 2) Virtual Wire Mode—uses an APIC as a virtual wire, but otherwise > operates

Re: [BUG 4.15-rc7] IRQ matrix management errors

2018-01-17 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Thomas Gleixner wrote: > On Wed, 17 Jan 2018, Keith Busch wrote: > > On Wed, Jan 17, 2018 at 08:34:22AM +0100, Thomas Gleixner wrote: > > > Can you trace the matrix allocations from the very beginning or tell me > > > how > > > to reproduce. I'd like to figure out why this is

dangers of bots on the mailing lists was Re: divide error in ___bpf_prog_run

2018-01-17 Thread Pavel Machek
On Fri 2018-01-12 17:58:01, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 19d28fbd306e7ae7c1acf05c3e6968b56f0d196b What an useful way to describe kernel version. Could we get reasonable subject line? 4.15-rc7: prefix would be nice if it is on mainline, net-next: subject if it

Can I give you this trust

2018-01-17 Thread FRED MARTINS
May Almighty God Bless You!!! I have a Mutual/Beneficial Business Project that would be benificial to you. I only have two questions to ask of you, if you are interested. 1. Can you handle this project? 2. Can I give you this trust ? Please note that the deal requires high level of maturity, hon

Re: [PATCH] irqdomain: provide useful debugging information for irq domain

2018-01-17 Thread Thomas Gleixner
On Wed, 17 Jan 2018, Yang, Shunyong wrote: > Hi, Marc and Thomas, > > Thanks for your feedback. > > On Wed, 2018-01-17 at 10:18 +0100, Thomas Gleixner wrote: > > On Wed, 17 Jan 2018, Marc Zyngier wrote: > > > > > > In all honesty, I'd be more inclined to remove this debug feature > > > altogeth

Re: [RFC PATCH 00/16] PTI support for x86-32

2018-01-17 Thread Joerg Roedel
Hi Andy, thanks a lot for your review and input, especially on the entry-code changes! On Tue, Jan 16, 2018 at 02:26:22PM -0800, Andy Lutomirski wrote: > On Tue, Jan 16, 2018 at 8:36 AM, Joerg Roedel wrote: > > The code has not run on bare-metal yet, I'll test that in > > the next days once I se

Re: [PATCH v2 03/15] mmc: mmci: Don't pretend all variants to have OPENDRAIN bit

2018-01-17 Thread Ulf Hansson
[...] > /* Busy detection for the ST Micro variant */ > @@ -1455,16 +1465,13 @@ static void mmci_set_ios(struct mmc_host *mmc, struct > mmc_ios *ios) > ~MCI_ST_DATA2DIREN); > } > > - if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) { > - if

Re: [PATCH v2 04/15] mmc: mmci: Add support for setting pad type via pinctrl

2018-01-17 Thread Ulf Hansson
[...] > /* > @@ -1616,6 +1625,32 @@ static int mmci_probe(struct amba_device *dev, > host = mmc_priv(mmc); > host->mmc = mmc; > > + /* > +* Some variant (STM32) doesn't have opendrain bit, nevertheless > +* pins can be set accordingly using pinctrl > +

divide error in ___bpf_prog_run

2018-01-17 Thread syzbot
Hello, syzbot tried to test the proposed patch but build/boot failed: failed to apply patch: can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -- |--- a/scripts/checksyscalls.sh |+++ b/scripts/checks

Re: [REGRESSION] mux/gpio.c is not able to get any gpio pins

2018-01-17 Thread Linus Walleij
On Wed, Jan 17, 2018 at 12:57 AM, Peter Rosin wrote: > On 2018-01-17 00:18, Linus Walleij wrote: >> I think gpiod_set_transitory() calls chip->set_config(chip, gpio, packed); >> which calls gpiochip_generic_config() which calls >> pinctrl_gpio_set_config() which calls >> pinctrl_get_device_gpio_

Re: linux-next: Signed-off-by missing for commit in the gfs2 tree

2018-01-17 Thread Steven Whitehouse
On 16/01/18 20:51, Stephen Rothwell wrote: Hi all, Commit 7d2040199855 ("gfs2: Add gfs2_blk2rgrpd comment and fix incorrect use") is missing a Signed-off-by from its author. Bob, can you add that? Steve.

divide error in ___bpf_prog_run

2018-01-17 Thread syzbot
Hello, syzbot tried to test the proposed patch but build/boot failed: failed to apply patch: can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -- |--- a/scripts/checksyscalls.sh |+++ b/scripts/checks

[PATCH v2] clk: stm32: add configuration flags for each of the stm32 drivers

2018-01-17 Thread Benjamin Gaignard
Add two configuration flags to be able to not compile all the time stm32f and stm32h7 drivers when ARCH_STM32 is set. That help to save some space on those small platforms. Signed-off-by: Benjamin Gaignard Acked-by: Gabriel Fernandez --- drivers/clk/Kconfig | 14 ++ drivers/clk/Mak

RE: [PATCH] USB TYPEC: RT1711H Type-C Chip Driver

2018-01-17 Thread 李書帆
Dear Heikki, Sorry for bothering. Just want to check is there anything we need to modify? Thank you! Best Regards, * Shu-Fan Lee Richtek Technology Corporation TEL: +886-3-5526789 #2359 FAX: +886-3-5526612 * -Original Message---

[PATCH 0/2] Minor EISA cleanup

2018-01-17 Thread Ladislav Michl
Hi, this is nothing dramatic, just whitespace cleanup and one error logging line deletion. Sending it as preparation for SGI Indigo2 related patches which I'm unsure ever happens as my machine stopped working few days ago. Ladislav Michl (2): EISA: Whitespace cleanup EISA: Delete error messag

  1   2   3   4   5   6   7   8   9   10   >