Re: [RESEND PATCH v3 kernel 6/7] virtio-balloon: define feature bit and head for misc virt queue

2016-10-27 Thread Michael S. Tsirkin
On Fri, Oct 21, 2016 at 02:24:39PM +0800, Liang Li wrote: > Define a new feature bit which supports a new virtual queue. This > new virtual qeuque is for information exchange between hypervisor > and guest. The VMM hypervisor can make use of this virtual queue > to request the guest do some operati

How to debug DEBUG_TEST_DRIVER_REMOVE hang during loading of kernel?

2016-10-27 Thread Maarten Maathuis
Hi, I recently had trouble with loading a 4.9rcX kernel, which was hanging after loading the initial kernel ramdisk. After some painful bisecting I found this: bea5b158ff0da9c7246ff391f754f5f38e34577a is the first bad commit commit bea5b158ff0da9c7246ff391f754f5f38e34577a Author: Rob Herring Dat

[PATCHv3 1/8] powerpc/vdso: unify return paths in setup_additional_pages

2016-10-27 Thread Dmitry Safonov
Impact: cleanup Rename `rc' variable which doesn't seems to mean anything into kernel-known `ret'. Combine two function returns into one as it's also easier to read. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Andy Lutomirski Cc: Oleg Nesterov Cc: linuxppc-...@list

[PATCHv3 7/8] mm: kill arch_mremap

2016-10-27 Thread Dmitry Safonov
This reverts commit 4abad2ca4a4d ("mm: new arch_remap() hook") and commit 2ae416b142b6 ("mm: new mm hook framework"). It also keeps the same functionality of mremapping vDSO blob with introducing vm_special_mapping mremap op for powerpc. The same way it's being handled on x86. Cc: Laurent Dufour

Re: [PATCH v2 0/3] usb: musb: da8xx: Fix few issues

2016-10-27 Thread David Lechner
On 10/27/2016 12:16 PM, David Lechner wrote: On 10/26/2016 05:58 AM, Alexandre Bailon wrote: Currently, the USB OTG of the da8xx doesn't work. This series intend to fix them. Change in v2: * Fix the error path da8xx_musb_init() Alexandre Bailon (3): usb: musb: da8xx: Call earlier clk_prepare

[PATCHv3 2/8] powerpc/vdso: remove unused params in vdso_do_func_patch{32,64}

2016-10-27 Thread Dmitry Safonov
Impact: cleanup vdso_do_func_patch{32,64} only use {v32,v64} parameter accordingly. Remove not needed parameters. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Andy Lutomirski Cc: Oleg Nesterov Cc: linuxppc-...@lists.ozlabs.org Cc: linux...@kvack.org Signed-off-by: D

[PATCHv3 6/8] powerpc/vdso: switch from legacy_special_mapping_vmops

2016-10-27 Thread Dmitry Safonov
This will allow to handle vDSO vma like special_mapping, that has it's name and hooks. Needed for mremap hook, which will replace arch_mremap helper, also for removing arch_vma_name. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Andy Lutomirski Cc: Oleg Nesterov Cc: l

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Ville Syrjälä wrote: > On Tue, Aug 09, 2016 at 08:20:57PM +0300, Ville Syrjälä wrote: > > On Thu, Jul 14, 2016 at 04:29:42PM +0800, Feng Tang wrote: > > > if you only want it to work, you can try an old patch > > > https://bugzilla.kernel.org/attachment.cgi?id=76071 from a simi

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Bob Peterson
| Here's a fix which works here - I'd appreciate it if you ran it and | checked the microcode was applied correctly, i.e.: | | $ dmesg | grep -i microcode | | before and after the patch. Please paste that output in a mail too. Hi Borislav, Sorry it's taken me so long. I've been having issues. I

Re: [PATCH V3 5/6] ARM: tegra: Add Tegra20 GMI support

2016-10-27 Thread Mirza Krak
2016-10-27 19:09 GMT+02:00 kbuild test robot : > Hi Mirza, > > [auto build test ERROR on robh/for-next] > [also build test ERROR on v4.9-rc2 next-20161027] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > [Suggest to us

Re: [RFC PATCH] ata: piix: wait for end of asynchronous probing before

2016-10-27 Thread Rob Herring
On Wed, Oct 19, 2016 at 12:28 PM, Tejun Heo wrote: > (cc'ing Greg and Rob) > > Hello, > > On Mon, Oct 17, 2016 at 06:45:04PM +0200, Corentin Labbe wrote: >> Enabling CONFIG_DEBUG_TEST_DRIVER_REMOVE under qemu give me a WARN() trace. >> Waiting for the end of the ATA RESET seems to clean the issue.

Re: [PATCH] fix bash-isms in arch/x86/entry/syscalls/syscalltbl.sh

2016-10-27 Thread sylvain . bertrand
On Thu, Sep 29, 2016 at 04:22:34PM +, sylvain.bertr...@gmail.com wrote: > Fix the bash-isms in the x86 syscall table generator shell script. What's up with this patch? regards, -- Sylvain

[PATCH 3/3] misc: SRAM: Add option to map SRAM to allow code execution

2016-10-27 Thread Dave Gerlach
Allow option for mapping SRAM as executable. DT node can specify "memory-exec" and "memory-exec-nocache" to also map it as non-cached. This is useful for platforms using the sram driver that need to run PM code from sram like several ARM platforms. Signed-off-by: Dave Gerlach --- Documentation/d

[PATCH 2/3] memremap: add MEMREMAP_EXEC and MEMREMAP_EXEC_NOCACHE flags

2016-10-27 Thread Dave Gerlach
Add flags to memremap() for MEMREMAP_EXEC and MEMREMAP_EXEC_NOCACHE mappings. Mappings provided by these flags will both allow execution, with MEMREMAP_EXEC_NOCACHE also requiring the memory to be mapped non-cached. These mappings are useful for architectures that must map on-chip memory such as SR

[PATCH 1/3] ARM: memremap: implement arch_memremap_exec/exec_nocache

2016-10-27 Thread Dave Gerlach
Introduce arch_memremap_exec and arch_memremap_exec_nocache for ARM to allow mapping of memory as executable. Some platforms have a requirement to map on-chip memory, such as SRAM, to hold and run code that cannot be executed in DRAM, such as low-level PM code or code to reconfigure the DRAM contro

[PATCH 0/3] Add memremap executable mapping and extend drivers/misc/sram.c

2016-10-27 Thread Dave Gerlach
Hi, There are several instances when one would want to execute out of on-chip SRAM, such as PM code on ARM platforms, so once again revisiting this series to allow that in a generic manner. Seems that having a solution for allowing SRAM to be mapped as executable will help clean up PM code on sever

Re: [RFC PATCH] ata: piix: wait for end of asynchronous probing before

2016-10-27 Thread Tejun Heo
Hello, Rob. On Thu, Oct 27, 2016 at 01:55:19PM -0500, Rob Herring wrote: > Seems like this is mixing async drv probe and async scsi scan and the > problem is in the latter? I don't think async drv probe should have > any problems. If a driver probe starts some async operation, then it > seems to m

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

2016-10-27 Thread Charles (Chas) Williams
On 10/25/2016 08:22 AM, Sebastian Andrzej Siewior wrote: On 2016-10-21 17:03:56 [-0400], Charles (Chas) Williams wrote: [3.107126] init_rapl_pmus: maxpkg 4 there! vmware bug. It probably worked by chance. Yes, the behavior is a bit random. I assume "init_rapl_pmus: maxpkg 4" is

Re: Pure polling mode for netdevices

2016-10-27 Thread Zach Brown
On Fri, Oct 21, 2016 at 11:41:46AM -0700, Eric Dumazet wrote: > On Fri, 2016-10-21 at 13:03 -0500, Zach Brown wrote: > > Is there a way to get NAPI to poll all the time? > > Or just any way to get netdevices to use only polling and no interrupts? > > > > We have some rt targets where the jitter ca

Re: [PATCH] Input: gpio-keys - use module_platform_driver macro

2016-10-27 Thread Slawomir Stepien
On Oct 27, 2016 09:48, Dmitry Torokhov wrote: > Hi Slawomir, Hi Dmitry, > > -late_initcall(gpio_keys_init); > ^ > > Because of this we can't switch to module_platform_driver(). The > late_initcall was requirement of one of platforms because of the probe > ordering

[RESEND PATCH v2 3/3] mtd: ubi: use 'max_bad_blocks' to compute bad_peb_limit if available

2016-10-27 Thread Zach Brown
From: Jeff Westfahl Use the MTD function 'max_bad_blocks' to compute the UBI bad_peb_limit, if the function is implemented for an MTD and doesn't return an error. Signed-off-by: Jeff Westfahl Signed-off-by: Zach Brown --- drivers/mtd/ubi/build.c | 9 + 1 file changed, 9 insertions(+)

[RESEND PATCH v2 0/3] mtd: use ONFI bad blocks per LUN to calculate UBI bad PEB limit

2016-10-27 Thread Zach Brown
For ONFI-compliant NAND devices, the ONFI parameters report the maximum number of bad blocks per LUN that will be encountered over the lifetime of the device, so we can use that information to get a more accurate (and smaller) value for the UBI bad PEB limit. The ONFI parameter "maxiumum number of

[RESEND PATCH v2 1/3] mtd: introduce function max_bad_blocks

2016-10-27 Thread Zach Brown
From: Jeff Westfahl If implemented, 'max_bad_blocks' returns the maximum number of bad blocks to reserve for an MTD. An implementation for NAND is coming soon. Signed-off-by: Jeff Westfahl Signed-off-by: Zach Brown --- drivers/mtd/mtdpart.c | 12 include/linux/mtd/mtd.h | 1 +

[RESEND PATCH v2 2/3] mtd: nand: implement 'max_bad_blocks' mtd function

2016-10-27 Thread Zach Brown
From: Jeff Westfahl Implement the new mtd function 'max_bad_blocks'. Use the ONFI parameter page to find the maximum bad blocks to reserve for an MTD, taking into account how many LUNs the MTD spans. Signed-off-by: Jeff Westfahl Signed-off-by: Zach Brown --- drivers/mtd/nand/nand_base.c | 34

Re: [PATCH] fix bash-isms in arch/x86/entry/syscalls/syscalltbl.sh

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, sylvain.bertr...@gmail.com wrote: > On Thu, Sep 29, 2016 at 04:22:34PM +, sylvain.bertr...@gmail.com wrote: > > Fix the bash-isms in the x86 syscall table generator shell script. > > What's up with this patch? You got a mail on Sept 19th, which told you that the patch wa

Re: [patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread kbuild test robot
Hi Vadim, [auto build test ERROR on platform-drivers-x86/for-next] [also build test ERROR on next-20161027] [cannot apply to v4.9-rc2] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --b

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Ville Syrjälä
On Thu, Oct 27, 2016 at 08:48:57PM +0200, Thomas Gleixner wrote: > On Thu, 27 Oct 2016, Ville Syrjälä wrote: > > On Tue, Aug 09, 2016 at 08:20:57PM +0300, Ville Syrjälä wrote: > > > On Thu, Jul 14, 2016 at 04:29:42PM +0800, Feng Tang wrote: > > > > if you only want it to work, you can try an old pa

Re: [PATCH 1/3] Documentation: dt: reset: Add TI SCI reset binding

2016-10-27 Thread Andrew F. Davis
On 10/27/2016 12:07 PM, Suman Anna wrote: > Hi Andrew, > > On 10/26/2016 02:39 PM, Andrew F. Davis wrote: >> Add TI SCI reset controller binding. This describes the DT binding >> details for a reset controller node providing reset management services >> to hardware blocks (reset consumers) using t

Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit

2016-10-27 Thread Borislav Petkov
On Thu, Oct 27, 2016 at 02:51:30PM -0400, Bob Peterson wrote: > I couldn't recreate that first boot failure, even using .config.old, > and even after removing (rm -fR) my linux.git and untarring it from the > original tarball, doing a make clean, etc. Hmm, so it could also depend on the randomized

Re: [PATCH 7/9] Input: wm97xx: split out touchscreen registering

2016-10-27 Thread Robert Jarzmik
Charles Keepax writes: > On Wed, Oct 26, 2016 at 09:41:45PM +0200, Robert Jarzmik wrote: >> diff --git a/drivers/input/touchscreen/wm97xx-core.c >> b/drivers/input/touchscreen/wm97xx-core.c >> index 83cf11312fd9..50a110e2988b 100644 > >> +static void wm97xx_remove_battery(struct wm97xx *wm) >> +

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Ville Syrjälä wrote: > On Thu, Oct 27, 2016 at 08:48:57PM +0200, Thomas Gleixner wrote: > > What that old patch did, was: > > > > 1) Make sure that the broadcast device is actually armed at resume. > > > >That might cause the HPET to resume proper. > > > > 2) Force a max

Re: [PATCH v6 5/9] x86/sysctl: Add sysctl for ITMT scheduling feature

2016-10-27 Thread Tim Chen
On Wed, 2016-10-26 at 20:09 +0200, Thomas Gleixner wrote: > On Wed, 26 Oct 2016, Tim Chen wrote: > > > > On Wed, 2016-10-26 at 13:24 +0200, Thomas Gleixner wrote: > > > > > > > > > > > There were reservations on the multi-socket case of ITMT, maybe it would > > > > help to spell those out in gre

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Ulf Hansson
[...] >> Instead, what I can tell, as we have been looking into converting mmc >> (which I maintains) and that is indeed a significant amount of work. >> We will need to rip out all of the mmc request management, and most >> likely we also need to extend the blkmq interface - as to be able to >> d

[PATCH] staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value

2016-10-27 Thread Ian Abbott
`ni_tio_clock_period_ps()` used to return the clock period in picoseconds, and had a `BUG()` call for invalid cases. It was changed to pass the clock period back via a pointer parameter and return an error for the invalid cases. Unfortunately the code to handle user-specified clock sources with u

[PATCH v6 1/6] drm/atomic: add drm_atomic_set_fence_for_plane()

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan This new function should be used by drivers when setting a implicit fence for the plane. It abstracts the fact that the user might have chosen explicit fencing instead. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_atomic.c | 30 ++ in

[PATCH v6 6/6] drm/fence: add out-fences support

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com

[PATCH v6 3/6] drm/msm: use drm_atomic_set_fence_for_plane() to set the fence

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan drm_atomic_set_fence_for_plane() is smart and won't overwrite plane_state->fence if the user already set an explicit fence there. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/msm/msm_atomic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH v6 0/6] drm: add explict fencing

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan This is yet another version of the DRM fences patches. Please refer to the cover letter[1] in previous version to check the fences details. For v6 we create drm_atomic_set_fence_for_plane() that tries to abstract from drivers if we are using implicit or explicit fencing. Th

[PATCH v6 5/6] drm/fence: add fence timeline to drm_crtc

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan Create one timeline context for each CRTC to be able to handle out-fences and signal them. It adds a few members to struct drm_crtc: fence_context, where we store the context we get from fence_context_alloc(), the fence seqno and the fence lock, that we pass in fence_init()

[PATCH v6 4/6] drm/fence: add in-fences support

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan There is now a new property called FENCE_FD attached to every plane state that receives the sync_file fd from userspace via the atomic commit IOCTL. The fd is then translated to a fence (that may be a fence_collection subclass or just a normal fence) and then used by DRM to

[PATCH v6 2/6] drm/imx: use drm_atomic_set_fence_for_plane() to set the fence

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan drm_atomic_set_fence_for_plane() is smart and won't overwrite plane_state->fence if the user already set an explicit fence there. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/imx/imx-drm-core.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Mark Brown
On Thu, Oct 27, 2016 at 12:21:06PM -0600, Jens Axboe wrote: > On 10/27/2016 12:13 PM, Ulf Hansson wrote: > > I can imagine, that it's not always a straight forward "convert to blk > > mq" patch for every block device driver. > Well, I've actually done a few conversions, and it's not difficult at

[PATCHv3 5/8] powerpc/vdso: split map_vdso from arch_setup_additional_pages

2016-10-27 Thread Dmitry Safonov
Impact: cleanup I'll be easier to introduce vm_special_mapping struct in a smaller map_vdso() function (see the next patches). The same way it's handeled on x86. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: Andy Lutomirski Cc: Oleg Nesterov Cc: linuxppc-...@lists.oz

[RESEND PATCH 3/3] x86/vmware: Add paravirt sched clock

2016-10-27 Thread Alexey Makhalov
Set pv_time_ops.sched_clock to vmware_sched_clock(). It is simplified version of native_sched_clock() without ring buffer of mult/shift/offset triplets and preempt toggling. Since VMware hypervisor provides constant tsc we can use constant mult/shift/offset triplet calculated at boot time. no-vmw-

[RESEND PATCH 2/3] x86/vmware: Add basic paravirt ops support

2016-10-27 Thread Alexey Makhalov
Add basic paravirt support: 1. set pv_info.name to "VMware hypervisor" to have proper boot log message Booting paravirtualized kernel on VMware hypervisor instead of "... on bare hardware" 2. set pv_cpu_ops.io_delay() to empty function - paravirt_nop() to avoid vm-exits on IO dela

[RESEND PATCH 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-27 Thread Alexey Makhalov
After aa297292d708, there are separate native calibrations for cpu_khz and tsc_khz. The code sets x86_platform.calibrate_cpu to native_calibrate_cpu() which looks in cpuid leaf 0x16 or msrs for the cpu frequency. Since we keep the tsc_khz constant (even after vmotion), the cpu_khz and tsc_khz may s

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-27 Thread Christoph Hellwig
On Thu, Oct 27, 2016 at 08:41:27PM +0100, Mark Brown wrote: > Plus the benchmarking to verify that it works well of course, especially > initially where it'll also be a new queue infrastructure as well as the > blk-mq conversion itself. It does feel like something that's going to > take at least a

[PATCH v2] thinkpad_acpi: Add support for X1 Yoga (2016) Tablet Mode

2016-10-27 Thread Lyude
For whatever reason, the X1 Yoga doesn't support the normal method of querying for tablet mode. Instead of providing the MHKG method under the hotkey handle, we're instead given the CMMD method under the EC handle. Values on this handle are either 0x1, laptop mode, or 0x6, tablet mode. Changes sin

RE: [patch v2 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Thursday, October 27, 2016 9:25 PM > To: Vadim Pasternak ; dvh...@infradead.org; > fengguang...@intel.com > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- > foundation.org; kv...@co

[PATCHv2 1/4] dt-bindings: mfd: Add Altera Arria10 SR Monitor

2016-10-27 Thread tthayer
From: Thor Thayer Add the Arria10 DevKit System Resource Chip register and state monitoring module to the MFD. Signed-off-by: Thor Thayer --- Note: This needs to be applied to the bindings document that was Acked & Applied but didn't reach the for-next branch. See https://patchwork.ozlabs.org/p

[PATCHv2 3/4] mfd: altr-a10sr: Add Arria10 SR Monitor

2016-10-27 Thread tthayer
From: Thor Thayer Add the Altera Arria10 DevKit System Resource Monitor functionality to the MFD device. Signed-off-by: Thor Thayer --- v2 Change from -mon to -monitor for clarity --- drivers/mfd/altera-a10sr.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/altera-a10sr.c

[PATCHv2 4/4] ARM: socfpga: dts: Add Monitor to A10-SR MFD

2016-10-27 Thread tthayer
From: Thor Thayer Add the Monitor functionality to the Arria10 DevKit System Resource chip. Signed-off-by: Thor Thayer --- v2 Change from -mon to -monitor for clarity. --- arch/arm/boot/dts/socfpga_arria10_socdk.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/so

[PATCHv2 2/4] misc: Add Altera Arria10 System Resource Control

2016-10-27 Thread tthayer
From: Thor Thayer This patch adds the Altera Arria10 control & monitoring functions to the Arria10 System Resource chip. Signed-off-by: Thor Thayer --- v2 Change compatible string and filename from -mon to -monitor Change CONFIG from module to builtin. Make wm_rst register writeable. -

Re: [RESEND PATCH v2 0/3] mtd: use ONFI bad blocks per LUN to calculate UBI bad PEB limit

2016-10-27 Thread Boris Brezillon
Hi Zach, Please do not resend after only one week. Reviewing this series was on my TODO list ;). On Thu, 27 Oct 2016 14:13:59 -0500 Zach Brown wrote: > For ONFI-compliant NAND devices, the ONFI parameters report the maximum number > of bad blocks per LUN that will be encountered over the lifeti

Re: [RESEND PATCH v2 1/3] mtd: introduce function max_bad_blocks

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:00 -0500 Zach Brown wrote: > From: Jeff Westfahl > > If implemented, 'max_bad_blocks' returns the maximum number of bad > blocks to reserve for an MTD. An implementation for NAND is coming soon. > > Signed-off-by: Jeff Westfahl > Signed-off-by: Zach Brown > --- > d

Re: [RESEND PATCH v2 2/3] mtd: nand: implement 'max_bad_blocks' mtd function

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:01 -0500 Zach Brown wrote: > From: Jeff Westfahl > > Implement the new mtd function 'max_bad_blocks'. Use the ONFI parameter > page to find the maximum bad blocks to reserve for an MTD, taking into > account how many LUNs the MTD spans. > > Signed-off-by: Jeff Westfah

Re: [PATCH v2] soc: qcom: Add SoC info driver

2016-10-27 Thread Linus Walleij
On Thu, Oct 27, 2016 at 11:22 AM, Imran Khan wrote: > The SoC info driver provides information such as Chip ID, > Chip family, serial number and other such details about > Qualcomm SoCs. > > Signed-off-by: Imran Khan I like this patch. It is good to know stuff about the hardware. (...) > +++ b

Re: [RESEND PATCH v2 3/3] mtd: ubi: use 'max_bad_blocks' to compute bad_peb_limit if available

2016-10-27 Thread Boris Brezillon
On Thu, 27 Oct 2016 14:14:02 -0500 Zach Brown wrote: > From: Jeff Westfahl > > Use the MTD function 'max_bad_blocks' to compute the UBI bad_peb_limit, > if the function is implemented for an MTD and doesn't return an error. > > Signed-off-by: Jeff Westfahl > Signed-off-by: Zach Brown > --- >

CVE-2016-0758: patch missing in 3.18 series?

2016-10-27 Thread Romain Rivière
Hello, I apologize in advance in case I missed the obvious, but the patch [1] for CVE-2016-0758 apparently hasn't made it into the 3.18 series (checked in 3.18.44). I haven't checked other 3.10+ lines but the changelog doesn't seem to mention it. In contrast, CVE-2016-7117 was indeed fixed in 3.18

Re: [PATCH] fs: dlm: lockspace: constify kset_uevent_ops structures

2016-10-27 Thread Julia Lawall
On Thu, 27 Oct 2016, Bhumika Goyal wrote: > Declare kset_uevent_ops structure as const as it is only passed as > the second argument to the function kset_create_and_add. This > argument is of type const struct kset_uevent_ops *, so kset_uevent_ops > structures having this property can be declare

Re: [PATCH] i2c: imx: add slave support. v2 status

2016-10-27 Thread Maxim Syrchin
Hi, Sorry for huge delay in answering. Unfortunately we don't have enough resources now to prepare clean enough patch to be accepted by community. Please find the latest version attached. Driver has passed stress tests, but looks like it need seriuos refactoring (it is unnecessarily complicate

Re: [PATCH V2 2/4] mfd: pv88080: MFD core support

2016-10-27 Thread Linus Walleij
On Thu, Oct 27, 2016 at 3:03 AM, Eric Jeong wrote: > From: Eric Jeong > > This patch adds supports for PV88080 MFD core device. > > It provides communication through the I2C interface. > It contains the following components: > - Regulators > - Configurable GPIOs > > Kconfig and Makefile

Re: [RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Patrick Bellasi
On 27-Oct 14:30, Tejun Heo wrote: > Hello, Patrick. Hi Tejun, > On Thu, Oct 27, 2016 at 06:41:05PM +0100, Patrick Bellasi wrote: > > To support task performance boosting, the usage of a single knob has the > > advantage to be a simple solution, both from the implementation and the > > usability s

Re: [PATCH 00/32] Create an User's manual and improve development-process book

2016-10-27 Thread Andrew Morton
On Mon, 17 Oct 2016 14:55:37 -0200 Mauro Carvalho Chehab wrote: > This patch series continues the efforts of converting the Linux Kernel > documentation to Sphinx. hm, renaming Documentation/kernel-parameters.txt in linux-next is going to be a pain for the next two months. I have one large pat

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

2016-10-27 Thread Brian Norris
Hi, On Fri, Oct 21, 2016 at 11:28:00PM +0530, Jagan Teki wrote: > On Thu, Oct 20, 2016 at 7:12 PM, Marek Vasut wrote: > > On 10/19/2016 05:34 PM, Cyrille Pitchen wrote: > >> I would like to volunteer as a maintainer for the SPI NOR part of the MTD > >> subsystem. Thanks! I'll be happy to have th

Re: [PATCH net-next] ethernet: fix min/max MTU typos

2016-10-27 Thread David Miller
From: Stefan Richter Date: Mon, 24 Oct 2016 14:42:26 +0200 > Fixes: d894be57ca92('ethernet: use net core MTU range checking in more > drivers') > CC: Jarod Wilson > CC: Thomas Falcon > Signed-off-by: Stefan Richter Applied.

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-27 Thread Sean Young
On Wed, Oct 26, 2016 at 01:16:16PM -0500, Nathan Zimmer wrote: > On 10/25/2016 03:41 PM, Sean Young wrote: > >On Mon, Oct 24, 2016 at 04:49:25PM -0500, Nathan Zimmer wrote: > >>[1.565062] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > >The isa probe driver find the serial port. > > > >>

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

2016-10-27 Thread Marek Vasut
On 10/27/2016 10:19 PM, Brian Norris wrote: > Hi, > > On Fri, Oct 21, 2016 at 11:28:00PM +0530, Jagan Teki wrote: >> On Thu, Oct 20, 2016 at 7:12 PM, Marek Vasut wrote: >>> On 10/19/2016 05:34 PM, Cyrille Pitchen wrote: I would like to volunteer as a maintainer for the SPI NOR part of the MT

Re: [RFC PATCH 06/13] of: Remove prefix "__of_" and prefix "__" from local function names

2016-10-27 Thread Rob Herring
On Thu, Oct 27, 2016 at 1:25 PM, Frank Rowand wrote: > On 10/27/16 09:58, Rob Herring wrote: >> On Thu, Oct 27, 2016 at 11:35 AM, Frank Rowand >> wrote: >>> On 10/27/16 05:47, Rob Herring wrote: On Tue, Oct 25, 2016 at 3:58 PM, wrote: > From: Frank Rowand I prefer to leave

Re: [PATCH v2 2/2] arm64: dts: hi6220: add resets property into dwmmc nodes

2016-10-27 Thread John Stultz
On Thu, Oct 27, 2016 at 6:56 AM, Vincent Guittot wrote: > > My hikey board failed to detect and mount sdcard with v4.9-rc1 and i > have bisected the issue to this patch. Once reverted, the sdcard is > detected again. Hrm.. I've not seen this w/ my v4.9-rc2 based tree, and I don't have any mmc pat

[PATCH next 2/2] media: mtk-mdp: NULL-terminate mtk_mdp_comp_dt_ids

2016-10-27 Thread Vincent Stehlé
The mtk_mdp_comp_dt_ids[] array should be NULL-terminated; add therefore an empty entry in the end. Fixes: c8eb2d7e8202fd9c ("[media] media: Add Mediatek MDP Driver") Signed-off-by: Vincent Stehlé Cc: Minghsiu Tsai Cc: Hans Verkuil Cc: Mauro Carvalho Chehab --- drivers/media/platform/mtk-mdp/

Re: [PATCH 3/3] thermal/intel_powerclamp: Convert to CPU hotplug state

2016-10-27 Thread Jacob Pan
On Thu, 27 Oct 2016 17:17:26 +0200 Sebastian Andrzej Siewior wrote: > On 2016-10-27 16:53:48 [+0200], Petr Mladek wrote: > > > > In each case, I wonder if the problem is caused by the conversion > > to the kthread worker or by the CPU hotplug state conversion. > > drop the hotplug patch and y

[PATCHv2 0/4] Add Altera A10SR Status & Control Monitor

2016-10-27 Thread tthayer
From: Thor Thayer This patch series adds the Altera Arria10 DevKit System Resource chip's Status and Control Monitor to the A10SR Multi-Function Device. An earlier patch added this to the hwmon class which wasn't the proper place so this functionality is added to the misc directory. Version 2 cha

Re: [PATCH] kalmia: avoid potential uninitialized variable use

2016-10-27 Thread David Miller
From: Arnd Bergmann Date: Mon, 24 Oct 2016 17:54:18 +0200 > The kalmia_send_init_packet() returns zero or a negative return > code, but gcc has no way of knowing that there cannot be a > positive return code, so it determines that copying the ethernet > address at the end of kalmia_bind() will ac

[PATCH v2 1/2] mm: add locked parameter to get_user_pages_remote()

2016-10-27 Thread Lorenzo Stoakes
This patch adds an int *locked parameter to get_user_pages_remote() to allow VM_FAULT_RETRY faulting behaviour similar to get_user_pages_[un]locked(). It additionally clears the way for __get_user_pages_unlocked() to be unexported as its sole remaining useful characteristic was to allow for VM_FAU

[PATCH v2 0/2] mm: unexport __get_user_pages_unlocked()

2016-10-27 Thread Lorenzo Stoakes
This patch series continues the cleanup of get_user_pages*() functions taking advantage of the fact we can now pass gup_flags as we please. It firstly adds an additional 'locked' parameter to get_user_pages_remote() to allow for its callers to utilise VM_FAULT_RETRY functionality. This is necessar

[PATCH v2 2/2] mm: unexport __get_user_pages_unlocked()

2016-10-27 Thread Lorenzo Stoakes
This patch unexports the low-level __get_user_pages_unlocked() function and replaces invocations with calls to more appropriate higher-level functions. In hva_to_pfn_slow() we are able to replace __get_user_pages_unlocked() with get_user_pages_unlocked() since we can now pass gup_flags. In async_

Re: [PATCH v3 net] flow_dissector: fix vlan tag handling

2016-10-27 Thread David Miller
From: Arnd Bergmann Date: Mon, 24 Oct 2016 23:40:30 +0200 > gcc warns about an uninitialized pointer dereference in the vlan > priority handling: > > net/core/flow_dissector.c: In function '__skb_flow_dissect': > net/core/flow_dissector.c:281:61: error: 'vlan' may be used uninitialized in > thi

Re: [PATCH 00/32] Create an User's manual and improve development-process book

2016-10-27 Thread Jonathan Corbet
On Thu, 27 Oct 2016 13:17:33 -0700 Andrew Morton wrote: > > This patch series continues the efforts of converting the Linux Kernel > > documentation to Sphinx. > > hm, renaming Documentation/kernel-parameters.txt in linux-next is going > to be a pain for the next two months. I have one large

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Ville Syrjälä
On Thu, Oct 27, 2016 at 09:25:05PM +0200, Thomas Gleixner wrote: > On Thu, 27 Oct 2016, Ville Syrjälä wrote: > > On Thu, Oct 27, 2016 at 08:48:57PM +0200, Thomas Gleixner wrote: > > > What that old patch did, was: > > > > > > 1) Make sure that the broadcast device is actually armed at resume. > >

Re: [PATCH] net: bgmac: fix spelling mistake: "connecton" -> "connection"

2016-10-27 Thread David Miller
From: Colin King Date: Mon, 24 Oct 2016 23:46:18 +0100 > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King Applied.

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-10-27 Thread Thomas Gleixner
On Fri, 21 Oct 2016, Peter Zijlstra wrote: > On Mon, Oct 10, 2016 at 12:17:48PM +0200, Thomas Gleixner wrote: > > I fear, we need to rethink this whole locking/protection scheme from > > scratch. > > Here goes... as discussed at ELCE this serializes the {uval, > pi_state} state using pi_mutex->wai

Re: [RFC v2 5/8] sched/tune: add initial support for CGroups based boosting

2016-10-27 Thread Tejun Heo
Hello, Patrick. On Thu, Oct 27, 2016 at 09:14:39PM +0100, Patrick Bellasi wrote: > I'm wondering also how much confusing and complex it can be to > configure a system where you have not overlapping groups of tasks with > different bandwidth and boosting requirements. > > For example, let assume w

Re: [PATCH v2 1/4] uinput: Add ioctl for using monotonic/ boot times

2016-10-27 Thread Deepa Dinamani
> hmm, I'm a bit confused here. This is an in-kernel bit only (passing the > time through uinput events has no effect). So why do we need an ioctl here? > it's an in-kernel decision only anyway and the time in the events sent to > the evdev client should be dictated by what that client sets for the

[PATCH 03/15] perf hist browser: Fix hierarchy column counts

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The perf report/top on TUI supports horizontal scrolling using LEFT and RIGHT keys. But it calculate the number of columns incorrectly when hierarchy mode is enabled so that keep pressing RIGHT key can make the output disappeared. In the hierarchy mode, all sort keys are coll

Re: Getting interrupt every million cache misses

2016-10-27 Thread Kees Cook
On Thu, Oct 27, 2016 at 2:33 AM, Peter Zijlstra wrote: > On Thu, Oct 27, 2016 at 11:11:04AM +0200, Pavel Machek wrote: >> How to work around rowhammer, break my system _and_ make kernel perf >> maintainers scream at the same time: (:-) ) >> >> I think I got the place now. Let me try... > > Lol ;-)

[PATCH 12/15] perf tools: Update x86's syscall_64.tbl, adding pkey_(alloc,free,mprotect)

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Introduced in commit f9afc6197e9b ("x86: Wire up protection keys system calls") This will make 'perf trace' aware of them on x86_64. Cc: Adrian Hunter Cc: Dave Hansen Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Thomas Gleixner Cc: Wang Nan Link: http

[PATCH 15/15] perf tools: Add missing object file to the python binding linkage list

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo In ac12f6764c50 ("perf tools: Implement branch_type event parameter") we started using the parse_branch_str() function from one of the files used in the python binding, which caused this entry in 'perf test' to fail: # perf test -v python 16: Try 'import perf'

[PATCH 07/15] perf sched map: Always show task comm with -v

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim I'd like to see the name of tasks with perf sched map, but it only shows name of new tasks and then use short names after all. This is not good for long running tasks since it's hard for users to track the short names. This patch makes it show the names (except the idle task)

[PATCH 10/15] perf bench mem: Ignore export.h related changes to mem{cpy,set}.S

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Ignore export.h and EXPORT_SYMBOL in: 784d5699eddc ("x86: move exports to actual definitions") We're not dragging this stuff, not useful in tools/ This silences the following warnings while building perf: Warning: tools/arch/x86/lib/memcpy_64.S differs from

[PATCH 14/15] perf scripting: Don't die if scripting can't be setup, disable it

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Removing one more set of die() calls. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-6pyil685m5i2tugg56gcy...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/trace-e

Re: linux-next: bad commit in the sunxi tree

2016-10-27 Thread Maxime Ripard
Hi Stephen, On Thu, Oct 27, 2016 at 10:42:25AM +1100, Stephen Rothwell wrote: > Hi Maxime, > > On Tue, 25 Oct 2016 11:44:09 +0200 Maxime Ripard > wrote: > > > > On Tue, Oct 25, 2016 at 09:22:55AM +1100, Stephen Rothwell wrote: > > > Hi Maxime, > > > > > > In today's sunxi tree > > > (git://git

[PATCH 02/15] perf bench futex: Sanitize numeric parameters

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Davidlohr Bueso This gets rid of oddities such as: perf bench futex hash -t -4 perf: calloc: Cannot allocate memory Runtime (and many more) are equally busted, i.e. run for bogus amounts of time. Just use the abs, instead of, for example errorring out. Committer note: After the patc

[PATCH 06/15] perf sched map: Apply cpu color when there's an activity

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Applying cpu color always doesn't help readability IMHO. Instead it might be better to applying the color when there's an activity on those CPUs. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: David Ahern Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/201610240202

[PATCH 13/15] perf scripting: Avoid leaking the scripting_context variable

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Both register_perl_scripting() and register_python_scripting() allocate this variable, fix it by checking if it already was. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Tom Zanussi Cc: Wang Nan Fixes: 7e4b21b8

Re: [patch 0/2] timers: Fix base clock forwarding issues

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Ashton Holmes wrote: > On Sat, Oct 22, 2016 at 4:10 AM Thomas Gleixner wrote: > > > Several people have reported USB timeout issues starting in 4.8 which are > > related to the timer wheel overhaul. > > > > The following two patches adress the brown paperbag bugs in that code

[PATCH 05/15] perf sched: Make common options cascading

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The -i and -v options can be used in subcommands so enable cascading the sched_options. This fixes the following inconvenience in 'perf sched': $ perf sched -i perf.data.sched map ... (it works well) ... $ perf sched map -i perf.data.sched Error: unknown switch `

KINDLY VIEW YOUR FILE

2016-10-27 Thread JANE WILLIAMS
You have been selected to inheritance sum of (US$6,000,000,00) Six Million Dollars Only from late Ms. John winter for more information Please feel free to contact me thanks. view it.docx Description: MS-Word 2007 document

[PATCH 08/15] perf tools: Introduce timestamp_in_usec()

2016-10-27 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Joonwoo reported that there's a mismatch between timestamps in script and sched commands. This was because of difference in printing the timestamp. Factor out the code and share it so that they can be in sync. Also I found that sched map has similar problem, fix it too. Rep

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-10-27 Thread Thomas Gleixner
On Thu, 27 Oct 2016, Ville Syrjälä wrote: > On Thu, Oct 27, 2016 at 09:25:05PM +0200, Thomas Gleixner wrote: > > So it would be interesting whether that hunk in resume_broadcast() is > > sufficient. > > So far it looks like the answer is yes. > > Looks to be about 5 seconds slower than acpi-idle

<    1   2   3   4   5   6   7   8   9   >