Re: [PATCH V2 06/10] regulator: da9061: BUCK and LDO regulator driver

2016-10-28 Thread Mark Brown
On Wed, Oct 26, 2016 at 05:56:38PM +0100, Steve Twiss wrote: > From: Steve Twiss > > Regulator support for the DA9061 is added into the DA9062 regulator driver. > > The regulators for DA9061 differ from those of DA9062. > A new DA9061 enumeration list for the

[PATCH] mac80211: fix incorrect error return path on tmp allocation failure

2016-10-28 Thread Colin King
From: Colin Ian King The current exit path when tmp fails to be allocated is via the fail label which frees tfm2 which has not yet been allocated, which is problematic since tfm2 is not initialized and is a garbage pointer. Fix this by exiting directly to the return at

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Michal Necasek
Hi Thomas, In case you haven't had a chance to take a look yet... We had to dig a bit because the problem introduced by commit 2a51fe08 (arch/x86: Handle non enumerated CPU after physical hotplug) <1> is not fixed for us by commit ff856051 (arch/x86: Handle non enumerated CPU after

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-28 Thread Pavel Machek
On Fri 2016-10-28 16:18:40, Peter Zijlstra wrote: > On Fri, Oct 28, 2016 at 03:05:22PM +0100, Mark Rutland wrote: > > > > > > * the precise semantics of performance counter events varies drastically > > > > across implementations. PERF_COUNT_HW_CACHE_MISSES, might only map to > > > > one

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-28 Thread Peter Zijlstra
On Fri, Oct 28, 2016 at 08:30:14PM +0200, Pavel Machek wrote: > Would you (or someone) have pointer to good documentation source on > available performance counters? The Intel SDM has a section on them and the AMD Bios and Kernel Developers Guide does too. That is, they contain lists of

Applied "regmap: Rename ret variable in regmap_read_poll_timeout" to the regmap tree

2016-10-28 Thread Mark Brown
The patch regmap: Rename ret variable in regmap_read_poll_timeout has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH 1/2] PCI: hisi: add PCIe driver support for HiSilicon STB SoCs

2016-10-28 Thread Bjorn Helgaas
Hi Ruqiang, On Fri, Oct 21, 2016 at 09:45:36AM +0800, Ruqiang Ju wrote: > Add PCIe controller drvier for HiSilicon STB SoCs, s/drvier/driver/ > the controller is based on the DesignWare's PCIe core. > > Signed-off-by: Ruqiang Ju > --- >

Re: [RFC 12/14] regmap: SoundWire: Add regmap support for SoundWire bus

2016-10-28 Thread Mark Brown
On Fri, Oct 21, 2016 at 06:11:10PM +0530, Hardik Shah wrote: > +static inline void get_t_size(size_t *t_val_size, size_t *t_size, > + int *reg_addr, > + int *offset, > +

Re: [PATCH v2] EDAC: expose per-dimm error counts in sysfs

2016-10-28 Thread Aaron Miller
The EDAC drivers themselves are reporting the channel and slot counts and dimm config and also doing the decoding of MCEs to map them to a node/channel/slot. If one of those was reporting that an MCE came from a position it had reported earlier did not exist I would say that driver was buggy,

Re: [PATCH v2] net: cpsw: fix obtaining mac address for am3517

2016-10-28 Thread Jeroen Hofstee
Hello Tony, On 28-10-16 17:52, Tony Lindgren wrote: * Jeroen Hofstee [161028 08:33]: Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac id to common file") did not only move the code for an am3517, it also added the slave parameter, resulting

Re: [PATCH v4 4/4] regulator: Prevent falling too fast

2016-10-28 Thread Mark Brown
On Mon, Sep 26, 2016 at 10:41:59AM -0700, Doug Anderson wrote: > I guess I think of the whole network of components as the PWM > regulator and not the individual discreet BUCK. I'm also not quite > sure how you would model it as you're asking. I suppose you could say > that all of the resistors

Re: aio: questions with ioctx_alloc() and large num_possible_cpus()

2016-10-28 Thread Jeff Moyer
Benjamin LaHaise writes: > Today's high end systems are tomorrow's desktops... It probably makes Well, to some degree I agree with you. >100 processor high end systems have been around for a long time, but we still don't have those on the desktop. ;-) > sense to implement

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Michal Necasek wrote: > > Sorry if I wasn't clear. No, it doesn't work for us. The ff8560512b8d > commit fixes the APIC poking on machines where there is no local APIC > available (and thus fixes the committer's machine), but it doesn't work > in our case, where there is a

Re: [PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-10-28 Thread kbuild test robot
Hi Joshua, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc2 next-20161028] [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 --base=auto for convenience) to rec

Re: [PATCH v3 11/14] ACPI: irq: introduce interrupt producer

2016-10-28 Thread agustinv
Hey Hanjun, On 2016-10-25 11:09, Hanjun Guo wrote: From: Hanjun Guo In ACPI 6.1 spec, section 19.6.62, Interrupt Resource Descriptor Macro, Interrupt (ResourceUsage, EdgeLevel, ActiveLevel, Shared, ResourceSourceIndex, ResourceSource, DescriptorName) { InterruptList }

[GIT PULL] perf fixes

2016-10-28 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: f92b7604149a55cb601fc0b52911b1e11f0f2514 perf/x86/intel: Honour the CPUID for number of fixed counters in hypervisors Misc kerenl

Re: [PATCH] [ARM] Fix stack alignment when processing backtraces

2016-10-28 Thread Jason Gunthorpe
On Tue, Oct 18, 2016 at 11:05:10AM -0600, Jason Gunthorpe wrote: > The dumpstm helper within c_backtrace pushed 5 dwords onto the stack > causing the stack to become unaligned and then calls printk. This > causes memory corruption in the kernel which assumes AAPCS calling > convention. > > Since

Re: [PULL] modules: begin maintainer transition

2016-10-28 Thread Jonathan Corbet
On Wed, 26 Oct 2016 10:16:15 +1030 Rusty Russell wrote: > Being a Linux kernel maintainer has been my proudest professional > accomplishment, spanning the last 19 years. But now we have a surfeit > of excellent hackers, and I can hand this over without regret. So

[PATCH] staging: vc04_services: call sg_init_table to init scatterlist

2016-10-28 Thread Michael Zoran
Call the sg_init_table function to correctly initialze the DMA scatterlist. This function is required to completely initialize the list and is mandatory if DMA debugging is enabled in the build configuration. One of the purposes of sg_init_table is to set the magic "cookie" on each list element

[PATCH] ipc/sem: ensure we left shift a ULL rather than a 32 bit integer

2016-10-28 Thread Colin King
From: Colin Ian King The left shift amount is sop->sem_num % 64, which is up to 63, so ensure we are shifting a ULL rather than a 32 bit value. CoverityScan CID#1372862 "Bad bit shift operation" Fixes: 7c24530cb4e3c0ae ("ipc/sem: optimize perform_atomic_semop()")

Re: [PATCH] mac80211: fix incorrect error return path on tmp allocation failure

2016-10-28 Thread Johannes Berg
On Fri, 2016-10-28 at 19:08 +0100, Colin King wrote: > From: Colin Ian King > > The current exit path when tmp fails to be allocated is via the > fail label which frees tfm2 which has not yet been allocated, > which is problematic since tfm2 is not initialized and is a

Re: [PATCH v2] spi: spi-fsl-dspi: Add DMA support for Vybrid

2016-10-28 Thread Mark Brown
On Mon, Oct 17, 2016 at 11:53:08AM +0530, maitysancha...@gmail.com wrote: > Hello, > > Ping? Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Michal Necasek
Hi Thomas, Sorry if I wasn't clear. No, it doesn't work for us. The ff8560512b8d commit fixes the APIC poking on machines where there is no local APIC available (and thus fixes the committer's machine), but it doesn't work in our case, where there is a local APIC but no I/O APIC, no

Re: [PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2016-10-28 Thread kbuild test robot
Hi Joshua, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc2 next-20161028] [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 --base=auto for convenience) to rec

Re: [PATCH] ipc/sem: ensure we left shift a ULL rather than a 32 bit integer

2016-10-28 Thread Colin Ian King
On 28/10/16 20:21, Manfred Spraul wrote: > Hi Colin, > > On 10/28/2016 08:11 PM, Colin King wrote: >> From: Colin Ian King >> >> The left shift amount is sop->sem_num % 64, which is up to 63, so >> ensure we are shifting a ULL rather than a 32 bit value. > Good catch,

Re: [4.1 backport trouble] Re: BUGreport: fix minor infoleak in get_user_ex()

2016-10-28 Thread Al Viro
On Fri, Oct 28, 2016 at 12:40:33PM -0400, Joe Korty wrote: > Backporting 548acf19234d to 4.1.35 does indeed fix the > issue. However, it is not clear to my _why_ it works, > so it might be better that someone else push the backport > to stable. Because the trick used in fixup_exception() prior

Re: [PATCH v2] net: cpsw: fix obtaining mac address for am3517

2016-10-28 Thread Tony Lindgren
* Jeroen Hofstee [161028 11:19]: > Hello Tony, > > On 28-10-16 17:52, Tony Lindgren wrote: > > * Jeroen Hofstee [161028 08:33]: > > > Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac > > > id to common file") did

Re: [PATCH v2] phy: sun4i: check PMU presence when poking unknown bit of pmu

2016-10-28 Thread Hans de Goede
Hi, On 28-10-16 18:27, Icenowy Zheng wrote: Allwinner SoC's PHY 0, when used as OTG controller, have no pmu part. The code that poke some unknown bit of PMU for H3/A64 didn't check the PHY, and will cause kernel oops when PHY 0 is used. This patch will check whether the pmu is not NULL before

[GIT PULL] libnvdimm fixes for 4.9-rc3

2016-10-28 Thread Williams, Dan J
errors. These patches have received a build success notification from the 0day- kbuild-robot and appeared in next-20161028. --- The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git

Re: [PATCH v6] soc: qcom: add l2 cache perf events driver

2016-10-28 Thread Leeder, Neil
On 10/28/2016 12:02 PM, Will Deacon wrote: On Tue, Oct 04, 2016 at 12:25:54PM -0400, Neil Leeder wrote: Thanks Mark. I'll move it, rebase on 4.9-rc1 and run perf fuzzer. Did the fuzzer explode, or do you have a new version you can post? Will Hi Will, I was delayed by some logistical

[PATCH] mtd: mtdswap: fix spelling mistake "erassure" -> "erasure"

2016-10-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err message Signed-off-by: Colin Ian King --- drivers/mtd/mtdswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c

Re: [PATCH v2 3/3] reset: Add the TI SCI reset driver

2016-10-28 Thread Andrew F. Davis
On 10/28/2016 12:43 PM, Mathieu Poirier wrote: > On 27 October 2016 at 15:49, Andrew F. Davis wrote: >> Some TI Keystone family of SoCs contain a system controller (like the >> Power Management Micro Controller (PMMC) on K2G SoCs) that manage the >> low-level device control (like

Re: [linux-sunxi] [PATCH RESEND 1/2] dt: bindings: add allwinner,otg-routed property for phy-sun4i-usb

2016-10-28 Thread Hans de Goede
HI, On 26-10-16 12:14, Hans de Goede wrote: Hi, On 26-10-16 10:52, Icenowy Zheng wrote: 26.10.2016, 16:28, "Hans de Goede" : Hi, On 25-10-16 06:11, Icenowy Zheng wrote: On some newer Allwinner SoCs (H3 or A64), the PHY0 can be either routed to the MUSB controller

[PATCH] mtd: mtdswap: fix spelling mistake "erassure" -> "erasure"

2016-10-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err message Signed-off-by: Colin Ian King --- drivers/mtd/mtdswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/mtdswap.c b/drivers/mtd/mtdswap.c

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Michal Necasek wrote: > I suspect that either init_apic_mappings() needs to be called earlier or > the initial fix from commit 2a51fe08 needs to be done later. Linus tree has a fix for this: ff8560512b8d x86/boot/smp: Don't try to poke disabled/non-existent APIC It's on

Applied "ASoC: simple-scu-card: code sync: follow to simple family style" to the asoc tree

2016-10-28 Thread Mark Brown
The patch ASoC: simple-scu-card: code sync: follow to simple family style has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: simple-scu-card: code sync: tidyup props/link naming" to the asoc tree

2016-10-28 Thread Mark Brown
The patch ASoC: simple-scu-card: code sync: tidyup props/link naming has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: simple-card-utils: remove unnecessary cpu/codec pointer check" to the asoc tree

2016-10-28 Thread Mark Brown
The patch ASoC: simple-card-utils: remove unnecessary cpu/codec pointer check has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "ASoC: simple-scu-card: code sync: rename asoc_simple_card_priv" to the asoc tree

2016-10-28 Thread Mark Brown
The patch ASoC: simple-scu-card: code sync: rename asoc_simple_card_priv has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v2 1/5] lib: add bitrev8x4()

2016-10-28 Thread kbuild test robot
Hi Joshua, [auto build test WARNING on linus/master] [also build test WARNING on v4.9-rc2 next-20161028] [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 --base=auto for convenie

Re: [PATCH 2/2] Revert "kthread: Pin the stack via try_get_task_stack()/put_task_stack() in to_live_kthread() function"

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Oleg Nesterov wrote: > This reverts commit 23196f2e5f5d810578a772785807dcdc2b9fdce9. > > After the previous change struct kthread can't go away, no need to pin > the stack. > > TODO: kill to_live_kthread(). Acked-by: Thomas Gleixner

Re: [PATCH 1/4] sched: move IO scheduling accounting from io_schedule_timeout() to __schedule()

2016-10-28 Thread Peter Zijlstra
On Fri, Oct 28, 2016 at 08:27:12PM +0200, Peter Zijlstra wrote: > On Fri, Oct 28, 2016 at 12:58:09PM -0400, Tejun Heo wrote: > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -3336,11 +3336,17 @@ static void __sched notrace __schedule(bool preempt) > > unsigned long

Re: [Xen-devel] [PATCH v6 10/11] x86, xen: support vcpu preempted check

2016-10-28 Thread Konrad Rzeszutek Wilk
On Fri, Oct 28, 2016 at 04:11:26AM -0400, Pan Xinhui wrote: > From: Juergen Gross > > Support the vcpu_is_preempted() functionality under Xen. This will > enhance lock performance on overcommitted hosts (more runnable vcpus > than physical cpus in the system) as doing busy waits

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

2016-10-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 46cb25b1a0ee74bf4a79cfb3081ae3567b2f7135 Gitweb: http://git.kernel.org/tip/46cb25b1a0ee74bf4a79cfb3081ae3567b2f7135 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 26 Oct 2016 19:02:35 -0200 Committer: Arnaldo Carvalho de Melo CommitDate:

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

2016-10-28 Thread David Lechner
On 10/28/2016 04:31 AM, Alexandre Bailon wrote: On 10/27/2016 08:44 PM, David Lechner wrote: 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

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-28 Thread Fenghua Yu
On Wed, Oct 26, 2016 at 05:01:32PM +0200, Thomas Gleixner wrote: > On Sat, 22 Oct 2016, Fenghua Yu wrote: > > +/* > > + * Trivial allocator for CLOSIDs. Since h/w only supports a small number, > > + * we can keep a bitmap of free CLOSIDs in a single integer. > > + * > > + * Using a global CLOSID

Re: [net-next PATCH 03/27] swiotlb: Add support for DMA_ATTR_SKIP_CPU_SYNC

2016-10-28 Thread Alexander Duyck
On Fri, Oct 28, 2016 at 10:34 AM, Konrad Rzeszutek Wilk wrote: > On Tue, Oct 25, 2016 at 11:37:03AM -0400, Alexander Duyck wrote: >> As a first step to making DMA_ATTR_SKIP_CPU_SYNC apply to architectures >> beyond just ARM I need to make it so that the swiotlb will

Re: [PATCH] Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization"

2016-10-28 Thread John Youn
On 10/28/2016 8:52 AM, Leo Yan wrote: > This reverts commit aa381a7259c3f53727bcaa8c5f9359e940a0e3fd. > > Reverting this patch, as it incorrectly assumes TX FIFO size is fixed > and cannot change FIFO size; it removes all related dt binding code > and have no chance to set FIFO size at init

Re: [PATCH 1/4] sched: move IO scheduling accounting from io_schedule_timeout() to __schedule()

2016-10-28 Thread Peter Zijlstra
On Fri, Oct 28, 2016 at 12:58:09PM -0400, Tejun Heo wrote: > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -3336,11 +3336,17 @@ static void __sched notrace __schedule(bool preempt) > unsigned long *switch_count; > struct pin_cookie cookie; > struct rq *rq; > -

Re: [RFC 1/3] regulator: core: Add over current changed event

2016-10-28 Thread Mark Brown
On Wed, Oct 26, 2016 at 09:00:52PM +0200, ahas...@baylibre.com wrote: > From: Axel Haslam > > Regulator consumers may be interested to know when the > over current condition is over. > > Add an over currerent "changed" event. The registered useres > for this event can then

Re: [PATCH v12 RESEND 0/4] generic TEE subsystem

2016-10-28 Thread Mark Brown
On Fri, Oct 28, 2016 at 10:43:24AM -0500, Andrew F. Davis wrote: > Do we see this as a chicken and egg situation, or is there any harm > beyond the pains of supporting an out-of-tree driver for a while, to > wait until we have at least one other TEE to add to this subsystem > before merging? We

Re: [PATCH 2/3] ASoC: lpass-platform: Fix broken pcm data usage

2016-10-28 Thread Mark Brown
On Fri, Oct 28, 2016 at 04:32:19PM +0100, Srinivas Kandagatla wrote: > This patch fixes lpass-platform driver which was broken in v4.9-rc1. > lpass_pcm_data data structure holds information specific to stream. > Holding a single private pointer to it in global lpass_data > will not work, because

[PATCH] mfd: si476x-i2c: Fix spelling mistakes "Failet" and "gett"

2016-10-28 Thread Colin King
From: Colin Ian King Trivial spelling mistake fixes in dev_err message. Signed-off-by: Colin Ian King --- drivers/mfd/si476x-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/si476x-i2c.c

[PATCH] scripts/bloat-o-meter: fix SIGPIPE

2016-10-28 Thread Alexey Dobriyan
Fix piping output to a program which quickly exits (read: head -n1) $ ./scripts/bloat-o-meter ../vmlinux-000 ../obj/vmlinux | head -n1 add/remove: 0/0 grow/shrink: 9/60 up/down: 124/-305 (-181) close failed in file object destructor: sys.excepthook is missing

Re: [PATCH v5 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Fenghua Yu wrote: > On Wed, Oct 26, 2016 at 05:01:32PM +0200, Thomas Gleixner wrote: > > Handles all cases without 'CDP is special' and whatever nonsense intel will > > come up with in future. All you need to do is to add that force_min_closid > > field into the resource

Re: [PATCH 1/2] kthread: make struct kthread kmalloc'ed

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Oleg Nesterov wrote: > I still think we should kill struct kthread in its current form, but this > needs cleanups outside of kthread.c. > > So make it kmalloc'ed for now to avoid the problems with stack corruption, > for example the crashed kthread will likely OOPS again

Re: [PATCH] mtd: mtdswap: fix spelling mistake "erassure" -> "erasure"

2016-10-28 Thread Joe Perches
I'd suggest as well fixing all the dev_ uses to be a consistent form: (this also fixes the typo) and a few other bits o Coalesce formats o Realign arguments o Add missing newlines o Convert printk(KERN_ to pr_( o Add #define pr_fmt, remove MTDSWAP_PREFIX Reduces object size a little too ---  

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

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Ville Syrjälä wrote: > On Thu, Oct 27, 2016 at 10:41:18PM +0200, Thomas Gleixner wrote: > > 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

Re: [PATCH 1/4] sched: move IO scheduling accounting from io_schedule_timeout() to __schedule()

2016-10-28 Thread Tejun Heo
Hello, Peter. On Fri, Oct 28, 2016 at 09:07:02PM +0200, Peter Zijlstra wrote: > One alternative is to inherit the iowait state of the task we block on. > That'll not get rid of the branches much, but it will remove the new > mutex APIs. Yeah, thought about that briefly but we don't necessarily

Re: [PATCH] ipc/sem: ensure we left shift a ULL rather than a 32 bit integer

2016-10-28 Thread Manfred Spraul
Hi Colin, On 10/28/2016 08:11 PM, Colin King wrote: From: Colin Ian King The left shift amount is sop->sem_num % 64, which is up to 63, so ensure we are shifting a ULL rather than a 32 bit value. Good catch, thanks. CoverityScan CID#1372862 "Bad bit shift

Re: 4.8.2 not booting in 32-bit VM without I/O-APIC

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Thomas Gleixner wrote: > On Fri, 28 Oct 2016, Michal Necasek wrote: > > > > Sorry if I wasn't clear. No, it doesn't work for us. The ff8560512b8d > > commit fixes the APIC poking on machines where there is no local APIC > > available (and thus fixes the committer's

Linux Foundation Technical Advisory Board Elections updates and location

2016-10-28 Thread Chris Mason
Hello everyone, A few updates about the TAB election. It is scheduled for 5pm on Wednesday November 2nd, in the Coronado/DeVargas room, at the conference center. We move through the voting pretty quickly, and you'll finish with plenty of time to spare before the evening reception. The

Re: [PATCH 3/3] trace-cmd record: add --cpu-list option

2016-10-28 Thread Steven Rostedt
Sorry it took so long to look at this, but I finally got around to it ;-) On Fri, 7 Oct 2016 12:47:11 -0400 Luiz Capitulino wrote: > With --cpu-list you can do: > > # trace-cmd record --cpu-list 1,4,10-15 [...] > > Which is much more human friendly than -M. > >

Re: [PATCH v2 5/5] fpga manager: cyclone-ps-spi: make delay variable

2016-10-28 Thread Joshua Clayton
Hi Moritz, Thanks for the review. On 10/28/2016 10:41 AM, Moritz Fischer wrote: > Hi Joshua, > > looks good to me; however, I think since you're adding initial support, > I'd squash this together with [3/5]. I agree. I didn't want to squash it in before putting it up for review, though. > > On

Re: [4.1 backport trouble] Re: BUGreport: fix minor infoleak in get_user_ex()

2016-10-28 Thread Al Viro
On Fri, Oct 28, 2016 at 11:21:24AM -0700, Linus Torvalds wrote: > End result: either commit 1c109fabbd51 shouldn't be backported (it's > really not that important - if people properly check the exception > error results it shouldn't matter), or you need to also backport > 548acf19234d as Al

Re: [PATCH 3/3] trace-cmd record: add --cpu-list option

2016-10-28 Thread Steven Rostedt
On Fri, 28 Oct 2016 15:49:22 -0400 Steven Rostedt wrote: > Sorry it took so long to look at this, but I finally got around to > it ;-) > I did apply patches 1 and 2. I'm hoping to get them out tomorrow, or while I'm at plumbers. -- Steve

Re: [PATCH v2] LSO feature added to Cadence GEM driver

2016-10-28 Thread David Miller
From: Rafal Ozieblo Date: Tue, 25 Oct 2016 13:05:30 +0100 > New Cadence GEM hardware support Large Segment Offload (LSO): > TCP segmentation offload (TSO) as well as UDP fragmentation > offload (UFO). Support for those features was added to the driver. > > Signed-off-by:

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

2016-10-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ca7202bffa32c6ff0d8abc088f77ff0bf3a5bead Gitweb: http://git.kernel.org/tip/ca7202bffa32c6ff0d8abc088f77ff0bf3a5bead Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 25 Oct 2016 16:57:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

[tip:perf/core] perf scripting: Don't die if scripting can't be setup, disable it

2016-10-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9a8860bbaa936407aa95d7d3ef836036a117b207 Gitweb: http://git.kernel.org/tip/9a8860bbaa936407aa95d7d3ef836036a117b207 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 25 Oct 2016 17:30:05 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH v2 3/3] usb: musb: da8xx: Only execute the OTG workaround when phy in OTG mode

2016-10-28 Thread David Lechner
On 10/28/2016 07:39 AM, Alexandre Bailon wrote: On 10/28/2016 04:56 AM, David Lechner wrote: On 10/26/2016 05:58 AM, Alexandre Bailon wrote: When the phy is forced in host mode, only the first hot plug and hot remove works. That is actually because the driver execute the OTG workaround,

Re: [4.1 backport trouble] Re: BUGreport: fix minor infoleak in get_user_ex()

2016-10-28 Thread Linus Torvalds
rea On Fri, Oct 28, 2016 at 9:40 AM, Joe Korty wrote: > > Backporting 548acf19234d to 4.1.35 does indeed fix the > issue. However, it is not clear to my _why_ it works, > so it might be better that someone else push the backport > to stable. The problem is that the

Re: [PATCH 0/2] kthread: make struct kthread kmalloc'ed

2016-10-28 Thread Thomas Gleixner
On Fri, 28 Oct 2016, Oleg Nesterov wrote: > On 10/26, Thomas Gleixner wrote: > > > Be careful with anonymous unions. There are a few pitfalls with older > > compilers. That's why I said make it a proper union and fixup the 5 usage > > sites. > > Ah. Then I'd prefer to do this later or in a

Re: [Xen-devel] [PATCH v6 00/11] implement vcpu preempted check

2016-10-28 Thread Konrad Rzeszutek Wilk
On Fri, Oct 28, 2016 at 04:11:16AM -0400, Pan Xinhui wrote: > change from v5: > spilt x86/kvm patch into guest/host part. > introduce kvm_write_guest_offset_cached. > fix some typos. > rebase patch onto 4.9.2 > change from v4: > spilt x86 kvm vcpu preempted check into

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-28 Thread Nathan Zimmer
On Thu, Oct 27, 2016 at 09:19:16PM +0100, Sean Young wrote: > 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 =

Re: [RFC 1/3] regulator: core: Add over current changed event

2016-10-28 Thread Axel Haslam
Hi Mark, On Fri, Oct 28, 2016 at 8:22 PM, Mark Brown wrote: > On Wed, Oct 26, 2016 at 09:00:52PM +0200, ahas...@baylibre.com wrote: >> From: Axel Haslam >> >> Regulator consumers may be interested to know when the >> over current condition is over. >>

Re: [PATCH v6] soc: qcom: add l2 cache perf events driver

2016-10-28 Thread Will Deacon
On Tue, Oct 04, 2016 at 12:25:54PM -0400, Neil Leeder wrote: > Thanks Mark. I'll move it, rebase on 4.9-rc1 and run perf fuzzer. Did the fuzzer explode, or do you have a new version you can post? Will

[PATCH v3 1/3] dmaengine: DW DMAC: split pdata to hardware properties and platform quirks

2016-10-28 Thread Eugeniy Paltsev
Split platform data to actual hardware properties, and platform quirks. Now we able to use quirks and hardware properties separately from different sources (pdata, device tree or autoconfig registers) Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/core.c

[PATCH v3 2/3] dmaengine: DW DMAC: convert to unified device property API

2016-10-28 Thread Eugeniy Paltsev
Convert device tree properties reading to unified device property API, update properties names as ordered by DT policy. Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/platform.c | 33 ++--- 1 file changed, 14 insertions(+), 19

[PATCH v3 3/3] dmaengine: DW DMAC: move "nollp" to "dwc->flags"

2016-10-28 Thread Eugeniy Paltsev
Add "DW_DMA_IS_LLP_SUPPORTED" flag. Use this flag to get rid of "dwc->nollp" as separate variable. Signed-off-by: Eugeniy Paltsev --- drivers/dma/dw/core.c | 11 ++- drivers/dma/dw/regs.h | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git

Re: [PATCH] staging: vc04_services: tie up loose ends with dma_map_sg conversion

2016-10-28 Thread Michael Zoran
On Fri, 2016-10-28 at 11:42 -0400, Greg KH wrote: > On Fri, Oct 28, 2016 at 08:36:34AM -0700, Michael Zoran wrote: > > On Fri, 2016-10-28 at 11:31 -0400, Greg KH wrote: > > > On Fri, Oct 28, 2016 at 08:16:51AM -0700, Michael Zoran wrote: > > > > The conversion to dma_map_sg left a few loose ends.  

Re: [PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Florian Westphal
Arnd Bergmann wrote: > On Friday, October 28, 2016 5:50:31 PM CEST Florian Westphal wrote: > > Arnd Bergmann wrote: > > > The newly added nft fib code produces two warnings: > > > > > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > > >

Re: [PATCHv2] clk: xgene: Don't call __pa on ioremaped address

2016-10-28 Thread Laura Abbott
On 10/28/2016 10:07 AM, Loc Ho wrote: Hi Laura, ioremaped addresses are not linearly mapped so the physical address can not be figured out via __pa. More generally, there is no guarantee that backing value of an ioremapped address is a physical address at all. The value here is only used for

[PATCH] scripts/kallsyms: remove last remnants of --page-offset option

2016-10-28 Thread Ard Biesheuvel
The implementation of the --page-offset kallsyms command line option has been removed, so remove it from the usage string as well. Signed-off-by: Ard Biesheuvel --- scripts/kallsyms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kallsyms.c

Re: [PATCH v6 4/5] ARM: DTS: da850: Add cfgchip syscon node

2016-10-28 Thread Kevin Hilman
Sekhar Nori writes: > On Wednesday 26 October 2016 09:38 PM, David Lechner wrote: >> On 10/25/2016 10:06 PM, David Lechner wrote: >>> Add a syscon node for the SoC CFGCHIPn registers. This is needed for >>> the new usb phy driver. >>> >>> Signed-off-by: David Lechner

Crash in -next due to 'mm/vmalloc: replace opencoded 4-level page walkers'

2016-10-28 Thread Guenter Roeck
Hi, when running sparc64 images in qemu, I see the following crash. This is with next-20161028. [2.530785] clocksource: jiffies: mask: 0x max_cycles: 0x,max_idle_ns: 1911260446275 ns [2.532359] kernel BUG at mm/memory.c:1881! [2.532798

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

2016-10-28 Thread Mark Brown
On Fri, Oct 28, 2016 at 06:05:35PM +0200, Arnd Bergmann wrote: > On Friday, October 28, 2016 9:30:07 AM CEST Jens Axboe wrote: > > Also, 4.8 and newer have support for BLK_MQ_F_BLOCKING, if you need to > > block in ->queue_rq(). That could eliminate the need to offload to a > > kthread manually.

[tip:perf/core] perf sched map: Apply cpu color when there's an activity

2016-10-28 Thread tip-bot for Namhyung Kim
Commit-ID: 1208bb274ba547012579d5b68c693e0b36682b74 Gitweb: http://git.kernel.org/tip/1208bb274ba547012579d5b68c693e0b36682b74 Author: Namhyung Kim AuthorDate: Mon, 24 Oct 2016 11:02:43 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25

[tip:perf/core] perf sched: Make common options cascading

2016-10-28 Thread tip-bot for Namhyung Kim
Commit-ID: 77f02f44460ab1480af2ae6145a1a85b9fe0b8ac Gitweb: http://git.kernel.org/tip/77f02f44460ab1480af2ae6145a1a85b9fe0b8ac Author: Namhyung Kim AuthorDate: Mon, 24 Oct 2016 12:00:03 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25

[tip:perf/core] perf tools: Introduce timestamp__scnprintf_usec()

2016-10-28 Thread tip-bot for Namhyung Kim
Commit-ID: 99620a5d0cc8e2dd9aedb629a6e81825f0db020e Gitweb: http://git.kernel.org/tip/99620a5d0cc8e2dd9aedb629a6e81825f0db020e Author: Namhyung Kim AuthorDate: Mon, 24 Oct 2016 11:02:45 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28

[tip:perf/core] perf sched map: Always show task comm with -v

2016-10-28 Thread tip-bot for Namhyung Kim
Commit-ID: e107f129e2e0e75ddf1cd7995a9f52307766 Gitweb: http://git.kernel.org/tip/e107f129e2e0e75ddf1cd7995a9f52307766 Author: Namhyung Kim AuthorDate: Mon, 24 Oct 2016 11:02:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25

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

2016-10-28 Thread Joonwoo Park
it ended up, it fixes the problem you pointed out and renames the function to follow the scnprintf() convention, as used elsewhere in tools/perf (tools/perf/util/annotate.h has several examples). Ingo, I've just signed a perf-core-for-mingo-20161028 with the only change being the patch below, re

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

2016-10-28 Thread Christoph Hellwig
On Fri, Oct 28, 2016 at 11:32:21AM +0200, Linus Walleij wrote: > So I'm not just complaining by the way, I'm trying to fix this. Also > Bartlomiej from Samsung has done some stabs at switching MMC/SD > to blk-mq. I just rebased my latest stab at a naïve switch to blk-mq > to v4.9-rc2 with these

Re: [PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Florian Westphal
Arnd Bergmann wrote: > The newly added nft fib code produces two warnings: > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > net/ipv4/netfilter/nft_fib_ipv4.c:80:6: error: unused variable 'i' > [-Werror=unused-variable] > net/ipv4/netfilter/nft_fib_ipv4.c: In

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

2016-10-28 Thread Ville Syrjälä
On Thu, Oct 27, 2016 at 10:41:18PM +0200, Thomas Gleixner wrote: > 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

[PATCH 1/2] mmc: sdhci: dt: Add device tree properties sdhci-caps and sdhci-caps-mask

2016-10-28 Thread Zach Brown
On some systems the sdhci capabilty register is incorrect for one reason or another. The sdhci-caps-mask property specifies which bits in the register are incorrect and should be turned off before using sdhci-caps to turn on bits. The sdhci-caps property specifies which bits should be turned on.

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

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 9:30:07 AM CEST Jens Axboe wrote: > On 10/28/2016 03:32 AM, Linus Walleij wrote: > > The patch to enable MQ looks like this: > > https://git.kernel.org/cgit/linux/kernel/git/linusw/linux-stericsson.git/commit/?h=mmc-mq=8f79b527e2e854071d8da019451da68d4753f71d > > BTW,

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-10-28 Thread Al Viro
On Tue, Oct 25, 2016 at 09:34:47AM +0200, Miklos Szeredi wrote: > Current code returns EXDEV when a directory would need to be copied up to > move. We could copy up the directory tree in this case, but there's > another solution: point to old lower directory from moved upper directory. > > This

Re: [PATCH] [rfc, netfilter-next] netfilter: nf_tables: fib warnings

2016-10-28 Thread Arnd Bergmann
On Friday, October 28, 2016 5:50:31 PM CEST Florian Westphal wrote: > Arnd Bergmann wrote: > > The newly added nft fib code produces two warnings: > > > > net/ipv4/netfilter/nft_fib_ipv4.c: In function 'nft_fib4_eval': > > net/ipv4/netfilter/nft_fib_ipv4.c:80:6: error: unused

[PATCH v2 2/2] x86/AMD: Group cpu_llc_id assignment by topology feature and family

2016-10-28 Thread Yazen Ghannam
Currently, we assume that a system has multiple last level caches only if there are multiple nodes, and that the cpu_llc_id is equal to the node_id. This no longer applies since Fam17h can have multiple last level caches within a node. So group the cpu_llc_id assignment by topology feature and

Re: xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-10-28 Thread Matt Roper
On Fri, Oct 28, 2016 at 11:53:40AM -0400, Greg KH wrote: > On Fri, Oct 07, 2016 at 10:38:17AM -0300, Gaston Gonzalez wrote: > > On Wed, Oct 05, 2016 at 07:23:23AM +0200, Greg KH wrote: > > > On Tue, Oct 04, 2016 at 08:43:03PM -0300, Gaston Gonzalez wrote: > > > > Hi, > > > > > > > > After

  1   2   3   4   5   6   7   8   9   10   >