Re: [PREEMPT-RT] Oops in rapl_cpu_prepare()

2016-10-21 Thread Charles (Chas) Williams
On 10/21/2016 06:56 AM, Sebastian Andrzej Siewior wrote: On 2016-10-20 16:27:55 [-0400], Charles (Chas) Williams wrote: Recent 4.8 kernels have been oopsing when running under VMWare: can you reproduce this on bare metal? I can't get dedicated access to the specific bare metal since it is

[RFC3 nowrap: PATCH v7 00/18] ILP32 for ARM64

2016-10-21 Thread Yury Norov
This series enables aarch64 with ilp32 mode, and as supporting work, introduces ARCH_32BIT_OFF_T configuration option that is enabled for existing 32-bit architectures but disabled for new arches (so 64-bit off_t is is used by new userspace). This version is based on kernel v4.9-rc1. It works

Re: [PATCH] flow_dissector: avoid uninitialized variable access

2016-10-21 Thread Arnd Bergmann
On Friday, October 21, 2016 6:31:18 PM CEST Jiri Pirko wrote: > Fri, Oct 21, 2016 at 05:55:53PM CEST, a...@arndb.de wrote: > >gcc warns about an uninitialized pointer dereference in the vlan > >priority handling: > > > >net/core/flow_dissector.c: In function '__skb_flow_dissect': >

[PATCH 03/18] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2016-10-21 Thread Yury Norov
From: Andrew Pinski In this patchset ILP32 ABI support is added. Additionally to AARCH32, which is binary-compatible with ARM, ILP32 is (mostly) ABI-compatible. >From now, AARCH32_EL0 (former COMPAT) config option means the support of AARCH32 userspace, ARM64_ILP32 -

[PATCH 04/18] arm64: ensure the kernel is compiled for LP64

2016-10-21 Thread Yury Norov
From: Andrew Pinski The kernel needs to be compiled as a LP64 binary for ARM64, even when using a compiler that defaults to code-generation for the ILP32 ABI. Consequently, we need to explicitly pass '-mabi=lp64' (supported on gcc-4.9 and newer). Signed-off-by: Andrew Pinski

Re: bio linked list corruption.

2016-10-21 Thread Dave Jones
On Fri, Oct 21, 2016 at 04:41:09PM -0400, Josef Bacik wrote: > >> > > >> > btrfs inspect inode 130654 mntpoint > >> > >> Interesting, they all return > >> > >> ERROR: ino paths ioctl: No such file or directory > >> > >> So these files got deleted perhaps ? > >> > > Yeah, they must

Re: [PATCH 1/2] perf_event_open.2: Document PERF_EVENT_IOC_PAUSE_OUTPUT

2016-10-21 Thread Vince Weaver
On Fri, 21 Oct 2016, Wang Nan wrote: > -.SS Using prctl(2) > +.SS Using prctl why this change? > +.BR PERF_EVENT_IOC_PAUSE_OUTPUT " (since Linux 4.7)" > +.\" commit 86e7972f690c1017fd086cdfe53d8524e68c661c > +This allows pausing and resuming the event's ring-buffer. A > +paused ring-buffer

Re: [PATCH] acpi/apei: Fix in-correct return value

2016-10-21 Thread Rafael J. Wysocki
On Tuesday, October 18, 2016 05:07:19 PM Punit Agrawal wrote: > Although ghes_proc tests for error while reading the error status, it > always return success (0). Fix this by propagating the return value. > > Fixes: d334a49113a4a33 ("ACPI, APEI, Generic Hardware Error Source memory > error

Re: [PATCH v3 2/2] initramfs: Allow again choice of the embedded initram compression algorithm

2016-10-21 Thread Andrew Morton
On Tue, 27 Sep 2016 22:32:59 +0200 klondike wrote: > Choosing the appropriate compression option when using an embeded initramfs > can result in significant size differences in the resulting data. > > This is caused by avoiding double compression of the initramfs

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-21 Thread Adam Borowski
On Fri, Oct 21, 2016 at 01:16:00PM +0200, Sebastian Andrzej Siewior wrote: > Debian started to build the gcc with --enable-default-pie by default To be exact: this is since gcc-6 6.2.0-7 dated Tue, 18 Oct 2016 13:53:00 +0200 on amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x. >

Re: [PATCH 2/2] net: phy: broadcom: Add support for BCM54612E

2016-10-21 Thread Florian Fainelli
On 10/21/2016 10:20 AM, Xo Wang wrote: > This PHY has internal delays enabled after reset. This clears the > internal delay enables unless the interface specifically requests them. > > Signed-off-by: Xo Wang Reviewed-by: Florian Fainelli Cross checked

Re: Device or HBA level QD throttling creates randomness in sequetial workload

2016-10-21 Thread Omar Sandoval
On Fri, Oct 21, 2016 at 05:43:35PM +0530, Kashyap Desai wrote: > Hi - > > I found below conversation and it is on the same line as I wanted some > input from mailing list. > > http://marc.info/?l=linux-kernel=147569860526197=2 > > I can do testing on any WIP item as Omar mentioned in above

Re: The downside of math::

2016-10-21 Thread Jonathan Corbet
On Thu, 20 Oct 2016 17:55:21 +0300 Jani Nikula wrote: > I wonder if we could cook up a nice way to make the math:: usage > conditional on actually being able to render it. I think that's the ideal solution. I got the docs build working again on my Fedora machine,

[PATCH 10/18] arm64: ilp32: introduce binfmt_ilp32.c

2016-10-21 Thread Yury Norov
binfmt_ilp32.c is needed to handle ILP32 binaries Signed-off-by: Yury Norov Signed-off-by: Bamvor Zhang Jian --- arch/arm64/include/asm/elf.h | 6 +++ arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/binfmt_ilp32.c | 97

Re: [PATCH 1/2] tpm: Clean up reading of timeout and duration capabilities

2016-10-21 Thread Jarkko Sakkinen
On Fri, Oct 21, 2016 at 11:33:44PM +0300, Jarkko Sakkinen wrote: > On Mon, Sep 19, 2016 at 05:24:06PM -0600, Jason Gunthorpe wrote: > > On Mon, Sep 19, 2016 at 11:22:08PM +0300, Jarkko Sakkinen wrote: > > > From: Ed Swierk > > > > > > Call tpm_getcap() from

[PATCH 02/18] arm64: ilp32: add documentation on the ILP32 ABI for ARM64

2016-10-21 Thread Yury Norov
Based on Andrew Pinski's patch-series. Signed-off-by: Yury Norov --- Documentation/arm64/ilp32.txt | 46 +++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/arm64/ilp32.txt diff --git

[PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read()

2016-10-21 Thread Laszlo Ersek
The virtio-rng backend for hwrng passes the buffer that it receives for filling to sg_set_buf() directly, in: virtio_read() [drivers/char/hw_random/virtio-rng.c] register_buffer() [drivers/char/hw_random/virtio-rng.c] sg_init_one() [lib/scatterlist.c] sg_set_buf()

Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt

2016-10-21 Thread Robert Nelson
On Fri, Oct 21, 2016 at 9:01 AM, Milo Kim wrote: > This enables the charger driver gets corresponding IRQ number by using > platform_get_irq_byname() helper. > > Signed-off-by: Milo Kim > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 8

[PATCH 01/18] 32-bit ABI: introduce ARCH_32BIT_OFF_T config option

2016-10-21 Thread Yury Norov
All new 32-bit architectures should have 64-bit off_t type, but existing architectures has 32-bit ones. To handle it, new config option is added to arch/Kconfig that defaults ARCH_32BIT_OFF_T to be disabled for non-64 bit architectures. All existing 32-bit architectures enable it explicitly here.

[PATCH 08/18] arm64: ilp32: add is_ilp32_compat_{task,thread} and TIF_32BIT_AARCH64

2016-10-21 Thread Yury Norov
ILP32 tasks are needed to be distinguished from lp64 and aarch32. This patch adds helper functions is_ilp32_compat_{task,thread} and thread flag TIF_32BIT_AARCH64 to address it. This is a preparation for following patches in ilp32 patchset. For consistency, SET_PERSONALITY is changed here

[PATCH 11/18] arm64: ilp32: share aarch32 syscall handlers

2016-10-21 Thread Yury Norov
off_t is passed in register pair just like in aarch32. In this patch corresponding aarch32 handlers are shared to ilp32 code. Signed-off-by: Yury Norov --- arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/entry32.S| 80

Re: [RFC PATCH 09/13] net: phy: Add Meson GXL Internal PHY driver

2016-10-21 Thread Florian Fainelli
On 10/21/2016 07:40 AM, Neil Armstrong wrote: > Add driver for the Internal RMII PHY found in the Amlogic Meson GXL SoCs. > > This PHY seems to only implement some standard registers and need some > workarounds to provide autoneg values from vendor registers. > > Some magic values are currently

Re: [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros

2016-10-21 Thread Florian Fainelli
On 10/21/2016 10:20 AM, Xo Wang wrote: > Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control > shadow register and a mask for the shadow selector field. > > Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL. > > Signed-off-by: Xo Wang Reviewed-by:

Re: [PATCH V4 09/10] trace, ras: add ARM processor error trace event

2016-10-21 Thread Steven Rostedt
On Fri, 21 Oct 2016 11:30:12 -0600 Tyler Baicar wrote: > Currently there are trace events for the various RAS > errors with the exception of ARM processor type errors. > Add a new trace event for such errors so that the user > will know when they occur. These trace events

Re: [v7, 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2016-10-21 Thread Jason Gunthorpe
On Mon, Jun 08, 2015 at 11:38:36PM +0530, Punnaiah Choudary Kalluri wrote: > Add driver for arm pl353 static memory controller nand interface with > HW ECC support. This controller is used in xilinx zynq soc for interfacing > the nand flash memory. > > Signed-off-by: Punnaiah Choudary Kalluri

Re: bio linked list corruption.

2016-10-21 Thread Chris Mason
On 10/21/2016 04:23 PM, Dave Jones wrote: On Fri, Oct 21, 2016 at 04:17:48PM -0400, Chris Mason wrote: > > BTRFS warning (device sda3): csum failed ino 130654 off 0 csum 2566472073 expected csum 3008371513 > > BTRFS warning (device sda3): csum failed ino 131057 off 4096 csum 3563910319

[PATCH 12/18] arm64: ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-10-21 Thread Yury Norov
From: Andrew Pinski Add a separate syscall-table for ILP32, which dispatches either to native LP64 system call implementation or to compat-syscalls, as appropriate. Signed-off-by: Andrew Pinski Signed-off-by: Yury Norov

[PATCH 14/18] arm64: signal32: move ilp32 and aarch32 common code to separated file

2016-10-21 Thread Yury Norov
Signed-off-by: Yury Norov --- arch/arm64/include/asm/signal32.h| 3 + arch/arm64/include/asm/signal32_common.h | 27 +++ arch/arm64/kernel/Makefile | 2 +- arch/arm64/kernel/signal32.c | 107

[PATCH 05/18] arm64:uapi: set __BITS_PER_LONG correctly for ILP32 and LP64

2016-10-21 Thread Yury Norov
From: Andrew Pinski Define __BITS_PER_LONG depending on the ABI used (i.e. check whether __ILP32__ or __LP64__ is defined). This is necessary for glibc to determine the appropriate type definitions for the system call interface. Signed-off-by: Andrew Pinski

[PATCH 07/18] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat)

2016-10-21 Thread Yury Norov
Based on patch of Andrew Pinski. This patch introduces is_a32_compat_task and is_a32_thread so it is easier to say this is a a32 specific thread or a generic compat thread/task. Corresponding functions are located in to avoid mess in headers. Some files include both and , and this is wrong

Re: [PATCH] sd: fix uninitialized variable access in error handling

2016-10-21 Thread Shaun Tancheff
On Fri, Oct 21, 2016 at 10:32 AM, Arnd Bergmann wrote: > If sd_zbc_report_zones fails, the check for 'zone_blocks == 0' > later in the function accesses uninitialized data: > > drivers/scsi/sd_zbc.c: In function ‘sd_zbc_read_zones’: > drivers/scsi/sd_zbc.c:520:7: error:

[PATCH 06/18] thread: move thread bits accessors to separated file

2016-10-21 Thread Yury Norov
They may be accessed from low-level code, so isolating is a measure to avoid circular dependencies in header files. The exact reason for circular dependency is WARN_ON() macro added in patch [edd63a27] "set_restore_sigmask() is never called without SIGPENDING (and never should be)"

[patch] perf_event_open.2: add PERF_SAMPLE_BRANCH_CALL branch sample type

2016-10-21 Thread Vince Weaver
Linux 4.4 (c229bf9dc179d2023e185c0f705bdf68484c1e73) added the PERF_SAMPLE_BRANCH_CALL branch sample type, which confusingly is a direct-call only subset of what PERF_SAMPLE_BRANCH_ANY_CALL provides. Signed-off-by: Vince Weaver diff --git a/man2/perf_event_open.2

Re: [PATCH] [linux-next] Doc: dm raid: Fix typo in dm-raid.txt

2016-10-21 Thread Jonathan Corbet
On Mon, 17 Oct 2016 21:17:10 +0900 Masanari Iida wrote: > This patch fix spelling typos in Documentation/device-mapper/dm-raid.txt. Applied to the docs tree, thanks.

Re: [PATCH 5/7] ARM: dts: am335x: Add the charger interrupt

2016-10-21 Thread Robert Nelson
On Fri, Oct 21, 2016 at 3:47 PM, Robert Nelson wrote: > On Fri, Oct 21, 2016 at 9:01 AM, Milo Kim wrote: >> This enables the charger driver gets corresponding IRQ number by using >> platform_get_irq_byname() helper. >> >> Signed-off-by: Milo Kim

Re: [PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read()

2016-10-21 Thread Andy Lutomirski
On Fri, Oct 21, 2016 at 1:48 PM, Laszlo Ersek wrote: > The virtio-rng backend for hwrng passes the buffer that it receives for > filling to sg_set_buf() directly, in: > > virtio_read() [drivers/char/hw_random/virtio-rng.c] > register_buffer()

Re: [PATCH] clk: fix link error for rcar-gen2

2016-10-21 Thread Arnd Bergmann
On Friday, October 21, 2016 8:01:49 PM CEST Geert Uytterhoeven wrote: > > diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile > > index 90dd0db7d9c6..762d122eddec 100644 > > --- a/drivers/clk/renesas/Makefile > > +++ b/drivers/clk/renesas/Makefile > > @@ -4,11 +4,7 @@

Re: [PATCH] Documentation: DMA-API: Clarify semantics of dma_set_mask_and_coherent

2016-10-21 Thread Jonathan Corbet
On Mon, 17 Oct 2016 16:26:23 +0100 Punit Agrawal wrote: > The dma mapping api howto gives the impression that using the > dma_set_mask_and_coherent (and related DMA APIs) will cause the kernel > to check all the components in the path from the device to memory for >

Re: [PATCH v2 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-21 Thread Sarangdhar Joshi
On 10/20/2016 05:04 PM, Stephen Boyd wrote: On 10/20, Sarangdhar Joshi wrote: From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi ---

Re: [PATCH v2 3/3] doc: add documentation for uio-hv-generic

2016-10-21 Thread Jonathan Corbet
On Mon, 17 Oct 2016 12:33:19 -0700 Stephen Hemminger wrote: > From: Stephen Hemminger > > Update UIO documentation to include basic information about > uio_hv_generic. I've applied this to the docs tree, thanks. jon

Re: [PATCH 2/2] perf_event_open.2: Document write_backward

2016-10-21 Thread Vince Weaver
On Fri, 21 Oct 2016, Wang Nan wrote: >context_switch : 1, /* context switch data */ > - > - __reserved_1 : 37; > + write_backward : 1, /* Write ring buffer from end to beginning */ > + __reserved_1 : 36; This removes a blank line, not sure if

Re: [PATCH v2 1/1] MAINTAINERS: add a maintainer for the SPI NOR subsystem

2016-10-21 Thread Boris Brezillon
On Wed, 19 Oct 2016 17:34:49 +0200 Cyrille Pitchen wrote: > I would like to volunteer as a maintainer for the SPI NOR part of the MTD > subsystem. > > Over the last months, a significant number of SPI NOR related patches have > been submitted, some of them have been

Re: [PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read()

2016-10-21 Thread Laszlo Ersek
On 10/21/16 23:17, Richard W.M. Jones wrote: > On Fri, Oct 21, 2016 at 02:04:27PM -0700, Andy Lutomirski wrote: >> https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=6d4952d9d9d4dc2bb9c0255d95a09405a1e958f7 > > I have tested this one, and it also fixes the bug I was

Re: [PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read()

2016-10-21 Thread Laszlo Ersek
On 10/21/16 23:04, Andy Lutomirski wrote: > On Fri, Oct 21, 2016 at 1:48 PM, Laszlo Ersek wrote: >> The virtio-rng backend for hwrng passes the buffer that it receives for >> filling to sg_set_buf() directly, in: >> >> virtio_read() [drivers/char/hw_random/virtio-rng.c]

[GIT PULL] Please pull NFS client bugfixes

2016-10-21 Thread Anna Schumaker
Hi Linus, The following changes since commit 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7: NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic (2016-10-04 16:30:54 -0400) are available in the git repository at: git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.9-2

[PATCH] hwrng: core - don't pass stack allocated buffer to rng->read()

2016-10-21 Thread Laszlo Ersek
The virtio-rng backend for hwrng passes the buffer that it receives for filling to sg_set_buf() directly, in: virtio_read() [drivers/char/hw_random/virtio-rng.c] register_buffer() [drivers/char/hw_random/virtio-rng.c] sg_init_one() [lib/scatterlist.c] sg_set_buf()

[PATCH 15/18] arm64: ilp32: introduce ilp32-specific handlers for sigframe and ucontext

2016-10-21 Thread Yury Norov
From: Andrew Pinski ILP32 uses AARCH32 compat structures and syscall handlers for signals. But ILP32 struct rt_sigframe and ucontext differs from both LP64 and AARCH32. So some specific mechanism is needed to take care of it. Signed-off-by: Andrew Pinski

[PATCH 13/18] arm64: signal: share lp64 signal routines to ilp32

2016-10-21 Thread Yury Norov
After that, it will be possible to reuse it in ilp32. Signed-off-by: Yury Norov Signed-off-by: Bamvor Zhang Jian --- arch/arm64/include/asm/signal_common.h | 33 arch/arm64/kernel/signal.c | 93

[PATCH 17/18] arm64:ilp32: add vdso-ilp32 and use for signal return

2016-10-21 Thread Yury Norov
From: Philipp Tomsich ILP32 VDSO exports next symbols: __kernel_rt_sigreturn; __kernel_gettimeofday; __kernel_clock_gettime; __kernel_clock_getres. What shared object to use, kernel selects depending on result of is_ilp32_compat_task() in

Re: [PATCH 0/5] Input: alps - cleanup

2016-10-21 Thread Pali Rohár
On Wednesday 14 September 2016 23:02:08 Pali Rohár wrote: > On Tuesday 09 August 2016 09:56:07 Pali Rohár wrote: > > On Saturday 09 July 2016 11:58:03 Pali Rohár wrote: > > > On Friday 08 July 2016 23:37:54 Dmitry Torokhov wrote: > > > > On Thu, Jul 07, 2016 at 01:41:01PM +0200, Pali Rohár wrote:

[PATCH 09/18] arm64: introduce binfmt_elf32.c

2016-10-21 Thread Yury Norov
As we support more than one compat formats, it looks more reasonable to not use fs/compat_binfmt.c. Custom binfmt_elf32.c allows to move aarch32 specific definitions there and make code more maintainable and readable. Signed-off-by: Yury Norov --- arch/arm64/Kconfig

[PATCH 16/18] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-10-21 Thread Yury Norov
New aarch32 ptrace syscall handler is introduced to avoid run-time detection of the task type. Signed-off-by: Yury Norov Signed-off-by: Bamvor Zhang Jian Signed-off-by: Chengming Zhou ---

[GIT PULL] ACPI fixes for v4.9-rc2

2016-10-21 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.9-rc2 with top-most commit 956c8974da654016ec26e66322b5b221108468bf Merge branches 'acpi-wdat' and 'acpi-cppc' on top of commit 1001354ca34179f3db924eb66672442a173147dc Linux

Re: [PATCH RESEND] hwrng: core - don't pass stack allocated buffer to rng->read()

2016-10-21 Thread Richard W.M. Jones
On Fri, Oct 21, 2016 at 02:04:27PM -0700, Andy Lutomirski wrote: > https://git.kernel.org/cgit/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=6d4952d9d9d4dc2bb9c0255d95a09405a1e958f7 I have tested this one, and it also fixes the bug I was seeing. Thanks Laszlo as well for his fix, and

Re: [PATCH/RFC 4/4] soc: renesas: Identify SoC and register with the SoC bus

2016-10-21 Thread Arnd Bergmann
On Friday, October 21, 2016 8:16:00 PM CEST Geert Uytterhoeven wrote: > On Wed, Oct 19, 2016 at 12:59 PM, Arnd Bergmann wrote: > > On Wednesday, October 19, 2016 10:02:57 AM CEST Geert Uytterhoeven wrote: > >> On Mon, Oct 10, 2016 at 4:23 PM, Arnd Bergmann wrote: >

Re: [PATCH] [linux-next] Doc: cciss: Fix a typo in cciss.txt

2016-10-21 Thread Jonathan Corbet
On Fri, 21 Oct 2016 04:59:32 +0900 Masanari Iida wrote: > This patch fix a spelling typo in cciss.txt Applied to the docs tree, thanks. jon

Re: [PATCH] mailbox: PCC: Fix return value of pcc_mbox_request_channel()

2016-10-21 Thread Rafael J. Wysocki
On Friday, October 14, 2016 04:20:21 PM Hoan Tran wrote: > When CONFIG_PCC is disabled, pcc_mbox_request_channel() needs to > return ERR_PTR(-ENODEV), not a NULL pointer, as the callers of > this function use IS_ERR() to check for error code. > > Signed-off-by: Duc Dang >

[PATCH] tpm: sanitize constant expressions

2016-10-21 Thread Jarkko Sakkinen
Use cpu_to_b32 at the time it is needed in enum tpm_capabilities and enum tpm_sub_capabilities in order to be consistent with the other enums in drivats/char/tpm/tpm.h. Signed-off-by: Jarkko Sakkinen --- v2: parameter type of subcap_id to u32

Re: [PATCH v2 1/2] watchdog: Introduce arch_watchdog_nmi_enable and arch_watchdog_nmi_disable

2016-10-21 Thread Babu Moger
Don, On 10/21/2016 2:19 PM, Andrew Morton wrote: On Fri, 21 Oct 2016 11:11:14 -0400 Don Zickus wrote: On Thu, Oct 20, 2016 at 08:25:27PM -0700, Andrew Morton wrote: On Thu, 20 Oct 2016 12:14:14 -0400 Don Zickus wrote: -static int

Re: [PATCH 2/5] stop_machine: yield CPU during stop machine

2016-10-21 Thread Nicholas Piggin
On Fri, 21 Oct 2016 14:05:36 +0200 Peter Zijlstra wrote: > On Fri, Oct 21, 2016 at 01:58:55PM +0200, Christian Borntraeger wrote: > > stop_machine can take a very long time if the hypervisor does > > overcommitment for guest CPUs. When waiting for "the one", lets > > give

Re: [PATCH 1/2] net: phy: broadcom: Update Auxiliary Control Register macros

2016-10-21 Thread Joel Stanley
On Sat, Oct 22, 2016 at 3:50 AM, Xo Wang wrote: > Add the RXD-to-RXC skew (delay) time bit in the Miscellaneous Control > shadow register and a mask for the shadow selector field. > > Remove a re-definition of MII_BCM54XX_AUXCTL_SHDWSEL_AUXCTL. > > Signed-off-by: Xo Wang

Re: [PATCH 2/2] net: phy: broadcom: Add support for BCM54612E

2016-10-21 Thread Joel Stanley
On Sat, Oct 22, 2016 at 3:50 AM, Xo Wang wrote: > This PHY has internal delays enabled after reset. This clears the > internal delay enables unless the interface specifically requests them. > > Signed-off-by: Xo Wang Reviewed-by: Joel Stanley

Re: [RFC][PATCH 2/2] usb: dwc2: Add a quirk to allow speed negotiation for Hisilicon Hi6220

2016-10-21 Thread Chen Yu
On 2016/10/22 4:00, John Youn wrote: > On 10/20/2016 5:43 PM, Chen Yu wrote: >> On 2016/10/19 6:21, John Youn wrote: >>> On 10/16/2016 7:42 PM, Chen Yu wrote: On 2016/10/15 3:37, John Youn wrote: > On 10/13/2016 4:36 PM, John Stultz wrote: >> From: Chen Yu

RE: [PATCH V2]usb: dwc2: Clear GUSBCFG.UsbTrdTim before setting

2016-10-21 Thread Lipengcheng
> -Original Message- > From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > Sent: Monday, October 17, 2016 5:37 PM > To: Lipengcheng; johny...@synopsys.com > Cc: gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org; Xuejiancheng; Lidongpo;

Re: [RFC][PATCH] Add EXPORT_MACRO_SYMBOL() for asm

2016-10-21 Thread Nicholas Piggin
On Fri, 21 Oct 2016 12:17:59 -0400 Steven Rostedt wrote: > Commit 784d5699eddc5 ("x86: move exports to actual definitions") removed the > EXPORT_SYMBOL(__fentry__) and EXPORT_SYMBOL(mcount) from x8664_ksyms_64.c, > and added EXPORT_SYMBOL(function_hook) in mcount_64.S

[PATCH] x86/cpufeatures: Enable new AVX512 cpu features

2016-10-21 Thread Gayatri Kammela
Modify cpufeatures.h to add new AVX512 instruction groups/features for enuermation in /proc/cpuinfo: AVX512IFMA and AVX512VBMI Also modify the xstate.c to clear the flags in fpu__xstate_clear_all_cpu_caps(). CPUID.(EAX=7,ECX=0):EBX[bit 21] AVX512IFMA CPUID.(Eax=7,ECX=0):ECX[bit 1] AVX512VBMI

Re: [PATCH] uapi: linux: acct: Remove redundant type comp2_t from kernel

2016-10-21 Thread Chen Gang
On 10/22/16 06:53, Chen Gang wrote: > > On 10/21/16 11:41, Andrew Morton wrote: >> On Wed, 5 Oct 2016 21:40:10 +0800 cheng...@emindsoft.com.cn wrote: >> >>> In api itself, kernel does not use it -- it is divided into ac_etime_hi >>> and ac_etime_lo. So kernel side only need generate the correct

Re: [PATCH 00/12] Fix and update HOWTO Korean translation

2016-10-21 Thread SeongJae Park
On Sat, Oct 22, 2016 at 5:47 AM, Jonathan Corbet wrote: > On Sat, 22 Oct 2016 00:19:45 +0900 > SeongJae Park wrote: > >> This patchset applies ReST conversion effort for HOWTO document to its Korean >> translation. It also contains fixup of trivial nitpicks

perf: perf_fuzzer triggers vmalloc_fault (then crashes)

2016-10-21 Thread Vince Weaver
This is on an AMD a10 system. With paranoid=1. Think it's probably unrelated to the (unreseolved) AMD IBS issues. This is 4.9-rc0 just before rc1 (can't get actual rc1 to boot) Machine locks hard after this. [ 8098.085662] BAD LUCK: lost 42 message(s) from NMI context! [ 8098.085663]

Re: [tip:x86/asm] x86/mm/64: Enable vmapped stacks (CONFIG_HAVE_ARCH_VMAP_STACK=y)

2016-10-21 Thread Andy Lutomirski
On Oct 21, 2016 5:32 AM, "Matt Fleming" wrote: > > On Wed, 24 Aug, at 06:03:04AM, tip-bot for Andy Lutomirski wrote: > > Commit-ID: e37e43a497d5a8b7c0cc1736d56986f432c394c9 > > Gitweb: > > http://git.kernel.org/tip/e37e43a497d5a8b7c0cc1736d56986f432c394c9 > >

[RFC][PATCH] cpufreq: intel_pstate: Use cpu load based algorithm for PM_MOBILE

2016-10-21 Thread Srinivas Pandruvada
Use get_target_pstate_use_cpu_load() to calculate target P-State for devices, which uses preferred power management profile as PM_MOBILE in ACPI FADT. This may help in resolving some thermal issues caused by low sustained cpu bound workloads. The current algorithm tend to over provision in this

Re: [PATCH] flow_dissector: avoid uninitialized variable access

2016-10-21 Thread Linus Torvalds
On Fri, Oct 21, 2016 at 9:31 AM, Jiri Pirko wrote: > > I don't see how vlan could be used uninitialized. But I understand that > this is impossible for gcc to track it. Please just use uninitialized_var() Actually, I think we should never use "uninitialized_var()" except

[PATCH] arch/x86: Don't try to poke disabled/non-existent APIC

2016-10-21 Thread ville . syrjala
From: Ville Syrjälä Apparently trying to poke a disabled or non-existent APIC leads to a box that doesn't even boot. Let's not do that. No real clue if this is the right fix, but at least my P3 machine boots again. Cc: sta...@vger.kernel.org Cc: Ingo Molnar

Geschäftsvorschlag!!!

2016-10-21 Thread postmaster
-- Geschäftsvorschlag!!! Ich vermute das diese E-Mail eine Überraschung für Sie sein wird, aber es ist wahr.Ich bin bei einer routinen Überprüfung in meiner Bank (First National Bank von Süd Afrika) wo ich arbeite, auf einem Konto gestoßen,was nicht in anspruch genommen worden ist, wo

Re: [PATCH][v12] PM / hibernate: Verify the consistent of e820 memory map by md5 digest

2016-10-21 Thread joeyli
Hi Chen Yu, On Thu, Oct 20, 2016 at 04:14:52PM +0800, Chen Yu wrote: > On some platforms, there is occasional panic triggered when > trying to resume from hibernation, a typical panic looks like: > > "BUG: unable to handle kernel paging request at 880085894000 > IP: []

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread David Miller
From: Eric Dumazet Date: Fri, 21 Oct 2016 06:14:23 -0700 > On Fri, 2016-10-21 at 14:56 +0200, Jiri Kosina wrote: >> On Fri, 21 Oct 2016, Eric Dumazet wrote: >> >> > Some of us are dealing with huge HTB hierarchies, so adding default fifo >> > in the dump will add more

RE: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-10-21 Thread Mario.Limonciello
> -Original Message- > From: Amir Levy [mailto:amir.jer.l...@intel.com] > Sent: Wednesday, September 28, 2016 9:44 AM > To: gre...@linuxfoundation.org > Cc: andreas.noe...@gmail.com; bhelg...@google.com; cor...@lwn.net; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; >

Re: [PATCH 01/26] fscrypto: Add buffer operations

2016-10-21 Thread Theodore Ts'o
On Fri, Oct 21, 2016 at 06:24:00AM -0700, Christoph Hellwig wrote: > > Another reason why I did the buffer functions is because > > fscrypt_encrypt_page() > > always allocates a bounce page as temporary memory. For ext4 this is needed, > > for UBIFS not. > > UBIFS has already a construction

[PATCH 00/12] Fix and update HOWTO Korean translation

2016-10-21 Thread SeongJae Park
This patchset applies ReST conversion effort for HOWTO document to its Korean translation. It also contains fixup of trivial nitpicks in the document and the translation. All patches are based on v4.9-rc1. SeongJae Park (12): Documentation/HOWTO: Mark subsection in rst format ko_KR/HOWTO:

[PATCH 1/2] drm/i915/gvt: add ACPI and 64BIT dependencies

2016-10-21 Thread Arnd Bergmann
The newly added gvt code produces lots of serious warnings and errors when either built on 32-bit x86, or built with ACPI disabled, e.g. drivers/gpu/drm/i915/gvt/gtt.c: In function ‘read_pte64’: drivers/gpu/drm/i915/gvt/gtt.c:277:2: error: left shift count >= width of type [-Werror]

Re: [PATCH] ARM: dts: imx6: Add support for Toradex Colibri iMX6 module

2016-10-21 Thread Shawn Guo
On Wed, Sep 21, 2016 at 04:54:38PM +0530, Sanchayan Maity wrote: > Add support for Toradex Colibri iMX6 module. > > Signed-off-by: Sanchayan Maity Applied, thanks.

Re: [PATCH v2 2/3] ARM: dts: imx6q-apalis-ixora: Remove use of pwm-leds

2016-10-21 Thread Shawn Guo
On Mon, Sep 19, 2016 at 10:41:52AM +0530, Sanchayan Maity wrote: > Remove use of pwm-leds and use the standard /sys/class/pwm > interface from PWM subsystem. > > Signed-off-by: Sanchayan Maity > Acked-by: Marcel Ziswiler Applied, thanks.

Re: [PATCH v2 3/3] ARM: dts: imx6qdl-apalis: Use enable-gpios property for backlight

2016-10-21 Thread Shawn Guo
On Mon, Sep 19, 2016 at 10:41:53AM +0530, Sanchayan Maity wrote: > Use enable-gpios property of PWM backlight driver for backlight > control. > > Signed-off-by: Sanchayan Maity Applied, thanks.

why getrandom blocking does not work with /dev/urandom

2016-10-21 Thread Stephan Mueller
Hi Ted, as mentioned, I looked a bit deeper into the issue of adding the blocking behavior of getrandom to /dev/urandom. As you and I already identified, moving that blocking behavior to /dev/urandom simply does not work. The system does not boot. The reason to this issue is actually quite

Re: [PATCH 2/2] drm/i915/gvt: fix compilation

2016-10-21 Thread Zhenyu Wang
On 2016.10.21 17:25:50 +0200, Arnd Bergmann wrote: > Two functions in the newly added gvt render code are obviously > broken, as they reference a variable without initialization and > don't reference another variable at all: > > drivers/gpu/drm/i915/gvt/render.c: In function >

Re: [PATCH v2 1/3] ARM: dts: imx6qdl-apalis: Do not rely on DDC I2C bus bitbang for HDMI

2016-10-21 Thread Shawn Guo
On Mon, Sep 19, 2016 at 10:41:51AM +0530, Sanchayan Maity wrote: > Remove the use of DDC I2C bus bitbang to support reading of EDID > and rely on support from internal HDMI I2C master controller instead. > As a result remove the device tree property ddc-i2c-bus. > > Signed-off-by: Sanchayan Maity

Re: Re: [PATCH] pcie: aer: aerdrv: PCIe AER workaround and handling for ASR1K platforms.

2016-10-21 Thread David Singleton -X (davsingl - MONTA VISTA SOFTWARE INC at Cisco)
Bjorn, sorry for the delay in getting back to you. The first patch was incomplete. The patch was not a complete unit. There was a second patch that has the callers of the routines in question. Appended are the two patches merged into one new patch. And here is an explanation from

Re: [PATCH] ARM: dts: rockchip: add i2c-bus subnode to edp

2016-10-21 Thread ayaka
On 10/21/2016 04:25 PM, Heiko Stuebner wrote: Am Donnerstag, 20. Oktober 2016, 15:47:56 CEST schrieb Tomeu Vizoso: On 10/20/2016 03:45 PM, Heiko Stübner wrote: Am Donnerstag, 20. Oktober 2016, 10:07:25 schrieb Tomeu Vizoso: Add an empty 'i2c-bus' subnode to the edp node just so that the I2C

Re: [PATCH 1/2] drm/i915/gvt: add ACPI and 64BIT dependencies

2016-10-21 Thread Zhenyu Wang
On 2016.10.21 17:25:49 +0200, Arnd Bergmann wrote: > The newly added gvt code produces lots of serious warnings and errors > when either built on 32-bit x86, or built with ACPI disabled, e.g. > > drivers/gpu/drm/i915/gvt/gtt.c: In function ???read_pte64???: > drivers/gpu/drm/i915/gvt/gtt.c:277:2:

Re: why getrandom blocking does not work with /dev/urandom

2016-10-21 Thread Theodore Ts'o
On Sat, Oct 22, 2016 at 05:43:36AM +0200, Stephan Mueller wrote: > Hi Ted, > > as mentioned, I looked a bit deeper into the issue of adding the blocking > behavior of getrandom to /dev/urandom. > > As you and I already identified, moving that blocking behavior to > /dev/urandom > simply does

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-21 Thread Peter Rosin
On 2016-10-21 09:17, ji...@kernel.org wrote: > On 20.10.2016 19:17, Peter Rosin wrote: >> On 2016-10-20 19:37, Jonathan Cameron wrote: >>> On 20 October 2016 18:30:19 BST, Jonathan Cameron >>> wrote: On 20 October 2016 13:55:12 BST, Lars-Peter Clausen

RE: [PATCH v5 6/7] iommu/exynos: Add runtime pm support

2016-10-21 Thread Sricharan
Hi Marek, >This patch adds runtime pm implementation, which is based on previous >suspend/resume code. SYSMMU controller is now being enabled/disabled mainly >from the runtime pm callbacks. System sleep callbacks relies on generic >pm_runtime_force_suspend/pm_runtime_force_resume helpers. To

Re: [PATCH 3/3] zram: adjust the number of zram thread

2016-10-21 Thread Sergey Senozhatsky
On (09/22/16 15:42), Minchan Kim wrote: [..] > +static int __zram_cpu_notifier(void *dummy, unsigned long action, > + unsigned long cpu) > { > struct zram_worker *worker; > > - while (!list_empty(_list)) { > + switch (action) { > + case

Re: [PATCH v4 2/5] drivers/of: do not add memory for unavailable nodes

2016-10-21 Thread Alistair Popple
Hi Reza, On Thu, 6 Oct 2016 01:36:32 PM Reza Arbab wrote: > Respect the standard dt "status" property when scanning memory nodes in > early_init_dt_scan_memory(), so that if the node is unavailable, no > memory will be added. What happens if a kernel without this patch is booted on a system with

[RESEND PATCH v3 kernel 2/7] virtio-balloon: define new feature bit and page bitmap head

2016-10-21 Thread Liang Li
Add a new feature which supports sending the page information with a bitmap. The current implementation uses PFNs array, which is not very efficient. Using bitmap can improve the performance of inflating/deflating significantly The page bitmap header will used to tell the host some information

[RESEND PATCH v3 kernel 5/7] mm: add the related functions to get unused page

2016-10-21 Thread Liang Li
Save the unused page info into page bitmap. The virtio balloon driver call this new API to get the unused page bitmap and send the bitmap to hypervisor(QEMU) for speeding up live migration. During sending the bitmap, some the pages may be modified and are no free anymore, this inaccuracy can be

[RESEND PATCH v3 kernel 1/7] virtio-balloon: rework deflate to add page to a list

2016-10-21 Thread Liang Li
Will allow faster notifications using a bitmap down the road. balloon_pfn_to_page() can be removed because it's useless. Signed-off-by: Liang Li Signed-off-by: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Cornelia Huck

[RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-21 Thread Liang Li
This patch set contains two parts of changes to the virtio-balloon. One is the change for speeding up the inflating & deflating process, the main idea of this optimization is to use bitmap to send the page information to host instead of the PFNs, to reduce the overhead of virtio data

Re: [PATCH 2/2] mmc: sdhci-of-at91: Fix module autoload

2016-10-21 Thread Ludovic Desroches
On Mon, Oct 17, 2016 at 01:13:45PM -0300, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias

Re: [PATCH net-next v2 7/9] net: use core MTU range checking in misc drivers

2016-10-21 Thread Rémi Denis-Courmont
Acked-by: Rémi Denis-Courmont -- Rémi Denis-Courmont http://www.remlab.net/CV.pdf

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