Re: [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-04-21 Thread Rob Herring
On Wed, Apr 20, 2016 at 03:02:31PM +0530, Vinay Simha BN wrote: > Add documentation for lt070me05000 panel > > Signed-off-by: Vinay Simha BN > --- > .../bindings/display/panel/jdi,lt070me05000.txt| 43 > ++ > 1 file changed, 43 insertions(+) > create mode 100644 > Docu

Re: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Han Xu
From: Yunhui Cui Sent: Thursday, April 21, 2016 3:41 AM To: Han Xu; Yunhui Cui; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org;

Re: [PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-04-21 Thread Bjorn Helgaas
On Tue, Apr 12, 2016 at 09:43:32AM +, Gabriele Paoloni wrote: > Hi Bjorn > > [...] > > > > > > > > > What's the hisi plan for resuming after suspend-to-RAM? How does > > the > > > > RC get reprogrammed after it loses all its state? > > > > > > PM is not part of the driver yet. This is planne

Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16

2016-04-21 Thread Boqun Feng
On Thu, Apr 21, 2016 at 11:35:07PM +0800, Pan Xinhui wrote: > On 2016年04月20日 22:24, Peter Zijlstra wrote: > > On Wed, Apr 20, 2016 at 09:24:00PM +0800, Pan Xinhui wrote: > > > >> +#define __XCHG_GEN(cmp, type, sfx, skip, v) > >> \ > >> +static __always_inline unsigne

Re: [PATCH v3] KVM: remove buggy vcpu id check on vcpu creation

2016-04-21 Thread Greg Kurz
On Thu, 21 Apr 2016 17:29:16 +0200 Radim Krčmář wrote: > 2016-04-21 13:29+0200, Greg Kurz: > > On Wed, 20 Apr 2016 20:29:09 +0200 > > Radim Krčmář wrote: > >> 2016-04-20 17:44+0200, Greg Kurz: > >> > Commit 338c7dbadd26 ("KVM: Improve create VCPU parameter > >> > (CVE-2013-4587)") > >> > in

Re: [PATCH 10/18] ASoC: sti: Update example to include assigned-clocks and mclk-fs

2016-04-21 Thread Mark Brown
On Thu, Apr 21, 2016 at 12:04:27PM +0100, Peter Griffin wrote: > clocks = <&clk_s_d0_flexgen CLK_PCM_2>; > + assigned-clocks = <&clk_s_d0_flexgen CLK_PCM_2>; > + assigned-clock-parents = <&clk_s_d0_quadfs 2>; > + assigned-clock-rates = <5000>;

Re: [PATCH for-4.6-fixes] memcg: remove lru_add_drain_all() invocation from mem_cgroup_move_charge()

2016-04-21 Thread Tejun Heo
On Thu, Apr 21, 2016 at 05:00:24PM +0200, Petr Mladek wrote: > > Acked-by: Michal Hocko > > Just for completeness. The problematic LTP test is running for hours > with this patch. Feel free to add: > > Tested-by: Petr Mladek Thanks, I'm gonna repost w/ Andrew cc'd and the tags added. -- teju

Re: stable-security kernel updates

2016-04-21 Thread Sasha Levin
[Sorry I'm cutting out lots of stuff here, I just want to understand the point below first] On 04/21/2016 10:54 AM, Jiri Slaby wrote: > On 04/21/2016, 03:53 PM, Sasha Levin wrote: >>> Pardom my ignorance, how can you actually be sure? >> >> I'm not, same way you can't be sure about your stable pat

Re: [RFC v1 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)

2016-04-21 Thread Thomas Garnier
On Thu, Apr 21, 2016 at 8:46 AM, H. Peter Anvin wrote: > On April 21, 2016 6:30:24 AM PDT, Boris Ostrovsky > wrote: >> >> >>On 04/15/2016 06:03 PM, Thomas Garnier wrote: >>> +void __init kernel_randomize_memory(void) >>> +{ >>> +size_t i; >>> +unsigned long addr = memory_rand_start; >>>

Re: [PATCH V3] audit: add tty field to LOGIN event

2016-04-21 Thread kbuild test robot
Hi, [auto build test ERROR on v4.6-rc4] [also build test ERROR on next-20160421] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Richard-Guy-Briggs/audit-add-tty-field-to-LOGIN-event/20160421

RE: [PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-04-21 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 21 April 2016 16:49 > To: Gabriele Paoloni > Cc: Jisheng Zhang; jingooh...@gmail.com; pratyush.an...@gmail.com; > bhelg...@google.com; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; linux-a

Re: [RFC v1 3/4] x86, boot: Implement ASLR for kernel memory sections (x86_64)

2016-04-21 Thread H. Peter Anvin
On April 21, 2016 6:30:24 AM PDT, Boris Ostrovsky wrote: > > >On 04/15/2016 06:03 PM, Thomas Garnier wrote: >> +void __init kernel_randomize_memory(void) >> +{ >> +size_t i; >> +unsigned long addr = memory_rand_start; >> +unsigned long padding, rand, mem_tb; >> +struct rnd_state r

[PATCH for-4.6-fixes] memcg: remove lru_add_drain_all() invocation from mem_cgroup_move_charge()

2016-04-21 Thread Tejun Heo
mem_cgroup_move_charge() invokes lru_add_drain_all() so that the pvec pages can be moved too. lru_add_drain_all() schedules and flushes work items on system_wq which depends on being able to create new kworkers to make forward progress. Since 1ed1328792ff ("sched, cgroup: replace signal_struct->g

Re: [PATCH 09/18] ASoC: sti: Update DT example to match the driver code

2016-04-21 Thread Mark Brown
On Thu, Apr 21, 2016 at 12:04:26PM +0100, Peter Griffin wrote: > uniperiph-id, version and mode are ST specific bindings and > need the 'st,' prefix. Update the examples, as otherwise copying > them yields a runtime error parsing the DT node. I'm not sure what connection this or the other ASoC doc

Re: [PATCH v4 2/2] KVM: move vcpu id checking to archs

2016-04-21 Thread Radim Krčmář
2016-04-21 16:20+0200, Greg Kurz: > Commit 338c7dbadd26 ("KVM: Improve create VCPU parameter (CVE-2013-4587)") > introduced a check to prevent potential kernel memory corruption in case > the vcpu id is too great. > > Unfortunately this check assumes vcpu ids grow in sequence with a common > diffe

Re: [PATCH v2 3/7] regulator: rk808: Migrate to regulator core's simplified DT parsing code

2016-04-21 Thread Mark Brown
On Thu, Apr 21, 2016 at 03:12:37PM +0200, Wadim Egorov wrote: > +static int rk808_set_suspend_voltage(struct regulator_dev *rdev, int uv) > +{ > + unsigned int reg; > + int sel = regulator_map_voltage_linear(rdev, uv, uv); > + > + if (sel < 0) > + return -EINVAL; > + > +

Re: [PATCH v2 4/7] regulator: rk808: Add regulator driver for RK818

2016-04-21 Thread Mark Brown
On Thu, Apr 21, 2016 at 03:12:38PM +0200, Wadim Egorov wrote: > Add support for the rk818 regulator. The regulator module consists > of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to > power OTG and HDMI5V. Acked-by: Mark Brown signature.asc Description: PGP signature

[PATCH v2] Documentation: bindings: fix palmas-rtc documentation

2016-04-21 Thread H. Nikolaus Schaller
change 100mA -> 100uA Signed-off-by: H. Nikolaus Schaller --- Documentation/devicetree/bindings/rtc/rtc-palmas.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/rtc-palmas.txt b/Documentation/devicetree/bindings/rtc/rtc-palmas.tx

Re: [PATCH] nohz_full: Make sched_should_stop_tick() more conservative

2016-04-21 Thread Peter Zijlstra
On Thu, Apr 21, 2016 at 04:42:13PM +0200, Peter Zijlstra wrote: > So I think that is indeed the right thing here. But looking at this > function I think there's more problems with it. > > It seems to assume that if there's FIFO tasks, those will run. This is > incorrect. The FIFO task can have a

[PATCH] Mark "Out of Date" addresses as undeliverable

2016-04-21 Thread Zhigang Gao
From: Maxpain --- Documentation/zh_CN/CodingStyle | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/zh_CN/CodingStyle b/Documentation/zh_CN/CodingStyle index 654afd7..26ff11d 100644 --- a/Documentation/zh_CN/CodingStyle +++ b/Documentation/zh_CN/CodingS

Re: [PATCH V10 00/28] Add new powerpc specific ELF core notes

2016-04-21 Thread Laurent Dufour
On 13/04/2016 07:14, Michael Ellerman wrote: > On Mon, 2016-04-11 at 09:40 +0200, Laurent Dufour wrote: >> On 07/04/2016 23:49, Michael Ellerman wrote: >>> On 7 April 2016 7:23:46 pm AEST, Laurent Dufour >>> wrote: This series is required to handle TM state in CRIU. Is there a chance to

Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16

2016-04-21 Thread Pan Xinhui
On 2016年04月20日 22:24, Peter Zijlstra wrote: > On Wed, Apr 20, 2016 at 09:24:00PM +0800, Pan Xinhui wrote: > >> +#define __XCHG_GEN(cmp, type, sfx, skip, v) \ >> +static __always_inline unsigned long >> \ >> +__cmpxchg_u32##sfx(v unsig

Re: [PATCH v3] KVM: remove buggy vcpu id check on vcpu creation

2016-04-21 Thread Radim Krčmář
2016-04-21 17:49+0200, Greg Kurz: > So we're good ? I support the change, just had a nit about API design for v2. > Whose tree can carry these patches ? (PowerPC is the only immediately affected arch, so I'd it there.) What do you think is best? My experience in this regard is

Re: [PATCH V2 14/15] coresight: tmc: implementing TMC-ETR AUX space API

2016-04-21 Thread Suzuki K Poulose
On 12/04/16 18:54, Mathieu Poirier wrote: This patch implement the AUX area interfaces required to use the TMC (configured as an ETR) from the Perf sub-system. The heuristic is heavily borrowed from the ETB10 and TMC-ETF implementation. Signed-off-by: Mathieu Poirier +static void tmc_update

Applied "ASoC: arizona: Prefer lower FRATIO in pseudo-fractional mode" to the asoc tree

2016-04-21 Thread Mark Brown
The patch ASoC: arizona: Prefer lower FRATIO in pseudo-fractional mode 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

[PATCH 0/5] regulator: A few fixes for supply resolution

2016-04-21 Thread Jon Hunter
This series is to mainly address the boot failures reported on the Tegra124 Jetson TK1 where the AS3772 PMIC is failing to probe on -next [0]. However, there are a couple other patches I am including here which came from looking at this problem. Here is a summary of the patches ... Patch 1: Allows

Applied "regulator: core: Use a bitfield for continuous_voltage_range" to the regulator tree

2016-04-21 Thread Mark Brown
The patch regulator: core: Use a bitfield for continuous_voltage_range has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: tps6524x: Fix broken use of spi_dev_get()" to the regulator tree

2016-04-21 Thread Mark Brown
The patch regulator: tps6524x: Fix broken use of spi_dev_get() has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver" to the asoc tree

2016-04-21 Thread Mark Brown
The patch ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver 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 hou

[PATCH 4/5] regulator: core: Add early supply resolution for a bypassed regulator

2016-04-21 Thread Jon Hunter
The call to set_machine_constraints() in regulator_register(), will attempt to get the voltage for the regulator. A regulator that is in bypass will fail to be registered because we will attempt to get the voltage of the regulator (ie. it's bypass voltage) before the supply for the regulator has b

[PATCH 2/5] regulator: core: Clear the supply pointer if enabling fails

2016-04-21 Thread Jon Hunter
During the resolution of a regulator's supply, we may attempt to enable the supply if the regulator itself is already enabled. If enabling the supply fails, then we will call _regulator_put() for the supply. However, the pointer to the supply has not been cleared for the regulator and this will cau

Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16

2016-04-21 Thread Peter Zijlstra
On Thu, Apr 21, 2016 at 11:35:07PM +0800, Pan Xinhui wrote: > yes, you are right. more load/store will be done in C code. > However such xchg_u8/u16 is just used by qspinlock now. and I did not see any > performance regression. > So just wrote in C, for simple. :) Which is fine; but worthy of a n

Re: fs: GPF in locked_inode_to_wb_and_lock_list

2016-04-21 Thread Tejun Heo
Hello, On Thu, Apr 21, 2016 at 10:25:12AM +0200, Dmitry Vyukov wrote: > I use this script for symbolization: > https://github.com/google/sanitizers/blob/master/address-sanitizer/tools/kasan_symbolize.py > It invokes addr2line to provide file:line info, adds inline frames, > strips ? frames (are th

Re: [PATCH] OMAPDSS: HDMI5: Change DDC timings

2016-04-21 Thread J.D. Schroeder
On 04/21/2016 09:38 AM, Tomi Valkeinen wrote: > Thanks, makes sense. Did you measure the rise & fall times? Do you get > more or less exactly 100kHz with the new times? Rise time is around 600 nsec and fall time is around 140 nsec. When the clock frequency is measured we get right at 100 kHz and

[PATCH 5/5] regulator: helpers: Ensure bypass register field matches ON value

2016-04-21 Thread Jon Hunter
When checking bypass state for a regulator, we check to see if any bits in the bypass mask are set. For most cases this is fine because there is typically, only a single bit used to determine if the regulator is in bypass. However, for some regulators, such as LDO6 on AS3722, the bypass state is in

[PATCH 3/5] regulator: core: Move registration of regulator device

2016-04-21 Thread Jon Hunter
The public functions to acquire a regulator, such as regulator_get(), internally look-up the regulator from the list of regulators that have been registered with the regulator device class. The registration of a new regulator with the regulator device class happens before the regulator has been com

[PATCH 1/5] regulator: core: Don't terminate supply resolution early

2016-04-21 Thread Jon Hunter
The function regulator_register_resolve_supply() is called from the context of class_for_each_dev() (during the regulator registration) to resolve any supplies added. regulator_register_resolve_supply() will return an error if a regulator's supply cannot be resolved and this will terminate the loop

Re: [PATCH] lib: Always NUL terminate ucs2_as_utf8

2016-04-21 Thread Laszlo Ersek
On 04/21/16 14:18, Matt Fleming wrote: > ( Good Lord, I hate doing string manipulation in C ) > > On Wed, 20 Apr, at 03:25:32PM, Laszlo Ersek wrote: >> >> So, "len" does not include the room for the terminating NUL-byte here. >> When "len" is passed to ucs2_as_utf8(), with the proposed patch appli

[PATCH v3] regulator: core: Add debugfs to show constraint flags

2016-04-21 Thread Richard Fitzgerald
There are debugfs entries for voltage and current, but not for the constraint flags. It's useful for debugging to be able to see what these flags are so this patch adds a new debugfs file. We can't use debugfs_create_bool for this because the flags are bitfields, so as this needs a special read cal

Re: [PATCH v3 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Sören Brinkmann
On Thu, 2016-04-21 at 16:08:38 +0530, Kedareswara rao Appana wrote: > Added basic clock support for axi dma's. > The clocks are requested at probe and released at remove. > > Reviewed-by: Shubhrajyoti Datta > Signed-off-by: Kedareswara rao Appana > --- > Changes for v3: > ---> Added clock suppor

Re: [PATCH] drivers: led: is31fl319x: 6/9-channel light effect led driver

2016-04-21 Thread H. Nikolaus Schaller
Hi, > Am 21.04.2016 um 17:01 schrieb Rob Herring : > > On Mon, Apr 18, 2016 at 08:43:16PM +0200, H. Nikolaus Schaller wrote: >> This is a driver for the Integrated Silicon Solution Inc. LED driver >> chips IS31FL3196 and IS31FL3199. They can drive up to 6 or 9 >> LEDs. >> >> Each LED is individu

Re: [PATCH v2] x86/vdso: Use RDPID in preference to LSL when available

2016-04-21 Thread Borislav Petkov
On Thu, Apr 21, 2016 at 08:25:45AM -0700, Andy Lutomirski wrote: > Didn't I? Bah, I cut off the line which has the "=a" and then did the commenting. Sorry about the noise. > I thought about it, and there were two reasons: > > 1. I don't think we want to use __getcpu in the kernel. LSL is fairly

RE: [PATCH v3 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Appana Durga Kedareswara Rao
Hi Soren, > -Original Message- > From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] > Sent: Thursday, April 21, 2016 9:52 PM > To: Appana Durga Kedareswara Rao > Cc: robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org;

Re: [PATCH] Documentation:Update Documentation/zh_CN/arm64/booting.txt

2016-04-21 Thread Will Deacon
On Thu, Apr 21, 2016 at 09:45:40PM +0800, w...@redhat.com wrote: > From: Fu Wei > > This is a update of Chinese documentation: > Documentation/zh_CN/arm64/booting.txt > > It is based on the modifications of Documentation/arm64/booting.txt in > submission: > "a7f8de16". > > Signed-off-by: Fu W

Re: [PATCH v4 2/2] KVM: move vcpu id checking to archs

2016-04-21 Thread Greg Kurz
On Thu, 21 Apr 2016 18:00:19 +0200 Radim Krčmář wrote: > 2016-04-21 16:20+0200, Greg Kurz: > > Commit 338c7dbadd26 ("KVM: Improve create VCPU parameter (CVE-2013-4587)") > > introduced a check to prevent potential kernel memory corruption in case > > the vcpu id is too great. > > > > Unfortunate

Re: [PATCH 5/6] fs: define a string representation of the kernel_read_file_id enumeration

2016-04-21 Thread Kees Cook
On Thu, Apr 21, 2016 at 6:26 AM, Andy Shevchenko wrote: > On Wed, 2016-04-20 at 15:46 -0700, Kees Cook wrote: >> From: Mimi Zohar >> >> A string representation of the kernel_read_file_id enumeration is >> needed for displaying messages (eg. pr_info, auditing) that can be >> used by multiple LSMs

Re: [PATCHv2 2/5] arm64/efi: move to generic {__,}efi_call_virt

2016-04-21 Thread Will Deacon
On Thu, Apr 21, 2016 at 12:35:26PM +0100, Mark Rutland wrote: > Now there's a common template for {__,}efi_call_virt, remove the > duplicate logic from the arm64 efi code. > > Signed-off-by: Mark Rutland > Cc: Ard Biesheuvel > Cc: Catalin Marinas > Cc: Leif Lindholm > Cc: Matt Fleming > Cc: W

Re: [PATCH v2] Force cppc_cpufreq to report values in KHz to fix user space reporting

2016-04-21 Thread Al Stone
On 04/21/2016 08:53 AM, Alexey Klimov wrote: > > On Tue, Apr 19, 2016 at 1:11 AM, Al Stone wrote: >> >> When CPPC is being used by ACPI on arm64, user space tools such as >> cpupower report CPU frequency values from sysfs that are incorrect. >> >> What the driver was doing was reporting the value

Re: Major KVM issues with kernel 4.5 on the host

2016-04-21 Thread Borislav Petkov
On Thu, Apr 21, 2016 at 04:50:05PM +0200, Marc Haber wrote: > What bothers me is that since I ended up with a "suspect" commit that > actually results in a "good" kernel (running for 22 hours now), I must > have said "bad" to an actually "good" kernel, which means that I had > an unrelated crash or

Re: [PATCH v6 2/6] GCC plugin infrastructure

2016-04-21 Thread Kees Cook
On Tue, Apr 12, 2016 at 7:35 PM, Masahiro Yamada wrote: > Hi Emese, > > > 2016-04-08 6:13 GMT+09:00 Emese Revfy : > >> diff --git a/Makefile b/Makefile >> index 173437d..3af7b9e 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -418,6 +418,8 @@ export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE >> K

[PATCH 1/1] perf/x86/intel: Fix wrong lbr_sel_mask

2016-04-21 Thread kan . liang
From: Kan Liang This patch fixes an issue which starts from 'commit b16a5b52eb90 ("perf/x86: Add option to disable reading branch flags/cycles")'. In this patch, lbr_sel_mask is used to mask the lbr_select. But LBR_SEL_MASK doesn't include the bit for LBR_CALL_STACK. So LBR call stack will never

Re: [PATCH v3 04/19] clk: sunxi: Add TCON channel1 clock

2016-04-21 Thread Maxime Ripard
On Fri, Apr 15, 2016 at 03:39:36PM -0700, Stephen Boyd wrote: > On 03/23, Maxime Ripard wrote: > > The TCON is a controller generating the timings to output videos signals, > > acting like both a CRTC and an encoder. > > > > It has two channels depending on the output, each channel being driven by

Re: [PATCHv2 2/5] arm64/efi: move to generic {__,}efi_call_virt

2016-04-21 Thread Mark Rutland
On Thu, Apr 21, 2016 at 05:48:40PM +0100, Will Deacon wrote: > On Thu, Apr 21, 2016 at 12:35:26PM +0100, Mark Rutland wrote: > > Now there's a common template for {__,}efi_call_virt, remove the > > duplicate logic from the arm64 efi code. > > > > Signed-off-by: Mark Rutland > > Cc: Ard Biesheuvel

Re: [PATCH 3/3] checkpatch: relax Kconfig help text line number threshold

2016-04-21 Thread Joe Perches
On Thu, 2016-04-21 at 21:28 +0800, Yingjoe Chen wrote: > Current threshold is too strict and many upstream patch doesn't pass > this test. Relax it. I don't have an issue with this. Maybe Andi Kleen does though. > Signed-off-by: Yingjoe Chen > > --- > In v4.6-rc1, 171 new config options was add

Re: alloc failure in qla1280 probe -- need to decrease can_queue?

2016-04-21 Thread Laura Abbott
On 04/20/2016 07:15 AM, Johannes Thumshirn wrote: [+Cc Michael Reed as get_maintainer.pl lists him as qla1280 maintainer ] On Mon, Apr 18, 2016 at 03:07:15PM -0700, Laura Abbott wrote: Hi, We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1321033 of qla1280 scsi host failure

Re: [PATCH v3 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Sören Brinkmann
On Thu, 2016-04-21 at 09:32:44 -0700, Appana Durga Kedareswara Rao wrote: > Hi Soren, > > > -Original Message- > > From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] > > Sent: Thursday, April 21, 2016 9:52 PM > > To: Appana Durga Kedareswara Rao > > Cc: robh...@kernel.org; pawel.m.

Re: [PATCHv2 5/5] efi/runtime-wrappers: detect FW irq flag corruption

2016-04-21 Thread Ard Biesheuvel
On 21 April 2016 at 13:35, Mark Rutland wrote: > The UEFI spec allows runtime services to be called with interrupts > masked or unmasked, and if a runtime service function needs to mask > interrupts, it must restore the mask to its original state before > returning (i.e. from the PoV of the OS, th

Re: [PATCH 2/3] checkpatch: testing more config for Kconfig help text

2016-04-21 Thread Joe Perches
On Thu, 2016-04-21 at 21:28 +0800, Yingjoe Chen wrote: > Current help text check only check a config option if it is followed > by another config. > Adding check for help text if the next entry is menuconfig, choice/ > endchoice, comment, menu/endmenu, if/endif, source or end of file. [] > diff --g

Re: fs: GPF in locked_inode_to_wb_and_lock_list

2016-04-21 Thread Tejun Heo
Hello, (cc'ing Ilya, Jan and Jens) On Thu, Apr 21, 2016 at 12:00:38PM +0200, Dmitry Vyukov wrote: > On Thu, Apr 21, 2016 at 11:45 AM, Andrey Ryabinin > wrote: > > 2016-04-21 11:35 GMT+03:00 Dmitry Vyukov : > >> > >> 818884dd: 48 8b 03mov(%rbx),%rax > >> > >> So

Re: [PATCH] sched/cpufreq: don't trigger cpufreq update w/o real rt/deadline tasks running

2016-04-21 Thread Rafael J. Wysocki
On Thu, Apr 21, 2016 at 2:33 PM, Peter Zijlstra wrote: > On Thu, Apr 21, 2016 at 09:09:43AM +0800, Wanpeng Li wrote: >> >> Sometimes .update_curr hook is called w/o tasks actually running, it is >> >> captured by: >> >> >> >> u64 delta_exec = rq_clock_task(rq) - curr->se.exec_start; >> >>

Re: [PATCH 5/6] fs: define a string representation of the kernel_read_file_id enumeration

2016-04-21 Thread Andy Shevchenko
On Thu, 2016-04-21 at 09:47 -0700, Kees Cook wrote: > On Thu, Apr 21, 2016 at 6:26 AM, Andy Shevchenko > wrote: > > > > On Wed, 2016-04-20 at 15:46 -0700, Kees Cook wrote: > > > > > > From: Mimi Zohar > > > > > > A string representation of the kernel_read_file_id enumeration is > > > needed fo

RE: [PATCH v3 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Appana Durga Kedareswara Rao
Hi Soren, > -Original Message- > From: Sören Brinkmann [mailto:soren.brinkm...@xilinx.com] > Sent: Thursday, April 21, 2016 10:32 PM > To: Appana Durga Kedareswara Rao > Cc: Soren Brinkmann ; robh...@kernel.org; > pawel.m...@arm.com; mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; >

Re: [PATCH 1/3] checkpatch: add Kconfig 'default n' test

2016-04-21 Thread Joe Perches
On Thu, 2016-04-21 at 21:28 +0800, Yingjoe Chen wrote: > If a Kconfig config option doesn't specify 'default', the default > will be n. Adding 'default n' is unnecessary. > > Add a test to warn about this. [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > @@ -2600,6 +2600,13 @@

Re: [PATCH] sched/cpufreq: don't trigger cpufreq update w/o real rt/deadline tasks running

2016-04-21 Thread Peter Zijlstra
On Thu, Apr 21, 2016 at 07:07:51PM +0200, Rafael J. Wysocki wrote: > On Thu, Apr 21, 2016 at 2:33 PM, Peter Zijlstra wrote: > > On Thu, Apr 21, 2016 at 09:09:43AM +0800, Wanpeng Li wrote: > >> >> Sometimes .update_curr hook is called w/o tasks actually running, it is > >> >> captured by: > >> >> >

Re: [PATCHv2 5/5] efi/runtime-wrappers: detect FW irq flag corruption

2016-04-21 Thread Mark Rutland
On Thu, Apr 21, 2016 at 07:05:32PM +0200, Ard Biesheuvel wrote: > On 21 April 2016 at 13:35, Mark Rutland wrote: > > @@ -25,8 +27,11 @@ > > #define efi_call_virt(f, args...) \ > > ({ \ > >

Re: [PATCH v3] KVM: remove buggy vcpu id check on vcpu creation

2016-04-21 Thread Greg Kurz
On Thu, 21 Apr 2016 18:08:41 +0200 Radim Krčmář wrote: > 2016-04-21 17:49+0200, Greg Kurz: > > So we're good ? > > I support the change, just had a nit about API design for v2. > As I said in my other mail, I'm not sure we should do more... if that's okay for you and you still support the ch

[PATCH 0/2 v6] Add AXS10X I2S PLL clock driver

2016-04-21 Thread Jose Abreu
The ARC SDP I2S clock can be programmed using a specific PLL. This patch series has the goal of adding a clock driver that programs this PLL. Changes v5 -> v6: * Use parent clock to determine PLL input rate instead of using hardcoded values * Documentation update (added 'clocks' field) * De

[PATCH 1/2 v6] clk/axs10x: Add I2S PLL clock driver

2016-04-21 Thread Jose Abreu
The ARC SDP I2S clock can be programmed using a specific PLL. This patch has the goal of adding a clock driver that programs this PLL. At this moment the rate values are hardcoded in a table but in the future it would be ideal to use a function which determines the PLL values given the desired ra

[PATCH v2.1 1/9] dt-binding: remoteproc: Introduce Qualcomm WCNSS loader binding

2016-04-21 Thread Bjorn Andersson
From: Bjorn Andersson The document defines the binding for a component that loads firmware for and boots the Qualcomm WCNSS core. Signed-off-by: Bjorn Andersson Signed-off-by: Bjorn Andersson --- Rob, I got your Ack on v2, but I would like to make a small amendment before merging this. As

[PATCH 2/2 v6] arc: axs10x: Add DT bindings for I2S PLL Clock

2016-04-21 Thread Jose Abreu
Add device tree bindings for AXS10X I2S PLL Clock driver. Signed-off-by: Jose Abreu --- Changes v5 -> v6: * Added 'clocks' field This patch was only introduced in v5. arch/arc/boot/dts/axs10x_mb.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arc/boot/dts/axs10x_m

[PATCH] ixgbevf: Fix relaxed order settings in VF driver

2016-04-21 Thread Babu Moger
Current code writes the tx/rx relaxed order without reading it first. This can lead to unintended consequences as we are forcibly writing other bits. We noticed this problem while testing VF driver on sparc. Relaxed order settings for rx queue were all messed up which was causing performance drop

Re: [PATCH] lib/mpi: Fix kernel unaligned acces in mpi_write_to_sgl

2016-04-21 Thread Tadeusz Struk
On 04/21/2016 04:07 AM, Sowmini Varadhan wrote: > > Commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") added > mpi_write_to_sgl() which generates traps due to unaligned > access on some platforms like sparc. Fix this by using > the get_unaligned* and put_unaligned* functions. > > Fixes: 2d4d1ee

Re: [PATCH v4 2/2] KVM: move vcpu id checking to archs

2016-04-21 Thread Radim Krčmář
2016-04-21 18:45+0200, Greg Kurz: > On Thu, 21 Apr 2016 18:00:19 +0200 > Radim Krčmář wrote: >> 2016-04-21 16:20+0200, Greg Kurz: >> > Commit 338c7dbadd26 ("KVM: Improve create VCPU parameter (CVE-2013-4587)") >> > introduced a check to prevent potential kernel memory corruption in case >> > the v

Re: [PATCH v3] KVM: remove buggy vcpu id check on vcpu creation

2016-04-21 Thread Radim Krčmář
2016-04-21 19:18+0200, Greg Kurz: > On Thu, 21 Apr 2016 18:08:41 +0200 > Radim Krčmář wrote: >> 2016-04-21 17:49+0200, Greg Kurz: >> > So we're good ? >> >> I support the change, just had a nit about API design for v2. >> > > As I said in my other mail, I'm not sure we should do more... if >

Re: [PATCH 3/3] checkpatch: relax Kconfig help text line number threshold

2016-04-21 Thread Andi Kleen
On Thu, Apr 21, 2016 at 10:00:07AM -0700, Joe Perches wrote: > On Thu, 2016-04-21 at 21:28 +0800, Yingjoe Chen wrote: > > Current threshold is too strict and many upstream patch doesn't pass > > this test. Relax it. > > I don't have an issue with this. > Maybe Andi Kleen does though. So you spend

Re: [PATCH v5] irqchip, gicv3-its, numa: Enable workaround for Cavium thunderx erratum 23144

2016-04-21 Thread Robert Richter
On 15.04.16 21:30:05, Robert Richter wrote: > From: Ganapatrao Kulkarni > > The erratum fixes the hang of ITS SYNC command by avoiding inter node > io and collections/cpu mapping on thunderx dual-socket platform. > > This fix is only applicable for Cavium's ThunderX dual-socket platform. > > Th

Re: [PATCH v2] drivers/idle: make intel_idle.c driver more explicitly non-modular

2016-04-21 Thread Paul Gortmaker
[Re: [PATCH v2] drivers/idle: make intel_idle.c driver more explicitly non-modular] On 21/04/2016 (Thu 15:21) Daniel Lezcano wrote: > On Thu, Apr 21, 2016 at 08:44:55AM -0400, Paul Gortmaker wrote: > > [Re: [PATCH v2] drivers/idle: make intel_idle.c driver more explicitly > > non-modular] On 21/

[PATCH v2] OMAPDSS: HDMI5: Change DDC timings

2016-04-21 Thread J.D. Schroeder
From: Jim Lodes The DDC scl high and low times were set to the minimum values from the i2c specification, but the i2c specification takes into account the rise time and fall time to calculate the frequency. To pass HDMI certification DDC can not exceed 100kHz therefore in a system where the rise

Re: [PATCH net-next] net: dsa: remove tag_protocol from dsa_switch

2016-04-21 Thread David Miller
From: Vivien Didelot Date: Mon, 18 Apr 2016 18:24:04 -0400 > Having the tag protocol in dsa_switch_driver for setup time and in > dsa_switch_tree for runtime is enough. Remove dsa_switch's one. > > Signed-off-by: Vivien Didelot Applied.

Re: [PATCH] lib/mpi: Fix kernel unaligned acces in mpi_write_to_sgl

2016-04-21 Thread Sowmini Varadhan
On (04/21/16 10:23), Tadeusz Struk wrote: > > What if the mpi_limb_t will happen to be 64 bit? > Thanks, When I checked this with cscope, I found typedef unsigned long int mpi_limb_t; thus I used the *32 functions. But you obviously know better, since you wrote this code (and bug). If you an

Re: [PATCH 2/5] x86, KASLR: Drop CONFIG_RANDOMIZE_BASE_MAX_OFFSET

2016-04-21 Thread Borislav Petkov
On Wed, Apr 20, 2016 at 01:55:43PM -0700, Kees Cook wrote: > From: Baoquan He > > Currently CONFIG_RANDOMIZE_BASE_MAX_OFFSET is used to limit the maximum > offset for kernel randomization. This limit doesn't need to be a CONFIG > since it is tied completely to KERNEL_IMAGE_SIZE, and will make no

Re: [PATCH v1 2/5] perf/x86/intel/pt: IP filtering register/cpuid bits

2016-04-21 Thread Borislav Petkov
On Thu, Apr 21, 2016 at 06:17:00PM +0300, Alexander Shishkin wrote: > New versions of Intel PT support address range-based filtering. These > are the registers, bit definitions and relevant CPUID bits. > > Signed-off-by: Alexander Shishkin > --- > arch/x86/events/intel/pt.c | 2 ++ > arch

[PATCH v2] OMAPDSS: HDMI5: Fix AVI infoframe

2016-04-21 Thread J.D. Schroeder
From: Jim Lodes The AVI infoframe R0-R3 in the 2nd data byte represents the Active Format Aspect Ratio. It is four bits long not two bits. This fixes that mask used to extract the bits before writing the bits to the hardware registers. Signed-off-by: Jim Lodes Signed-off-by: J.D. Schroeder ---

Re: [PATCH net-next] perf, bpf: minimize the size of perf_trace_() tracepoint handler

2016-04-21 Thread David Miller
From: Alexei Starovoitov Date: Mon, 18 Apr 2016 20:11:50 -0700 > move trace_call_bpf() into helper function to minimize the size > of perf_trace_*() tracepoint handlers. > text data bss dechex filename > 10541679 5526646 2945024 190133491221ee5 vmlinu

[PATCH net v2 0/3] drivers: net: cpsw: phy-handle fixes

2016-04-21 Thread David Rivshin (Allworx)
From: David Rivshin The first patch fixes a bug that makes dual_emac mode break if either slave uses the phy-handle property in the devicetree. The second patch fixes some cosmetic problems with error messages, and also makes the binding documentation more explicit. The third patch cleans up th

Re: [PATCH v6 07/19] i2c: octeon: Use i2c recovery framework

2016-04-21 Thread Jan Glauber
On Thu, Apr 21, 2016 at 03:54:50PM +0200, Wolfram Sang wrote: > > > I assumed this check was bogus and there are no valid 0-length > > messages... > > They are valid (check SMBUS_QUICK), but not every controller can handle > them correctly. Your driver has SMBUS_QUICK enabled, so this is a > cont

Re: [RESEND][PATCH 1/3] thermal: mediatek: Add cpu dynamic power cooling model.

2016-04-21 Thread Rafael J. Wysocki
On Thu, Apr 21, 2016 at 5:01 AM, Eduardo Valentin wrote: > On Thu, Apr 21, 2016 at 02:41:24AM +0200, Rafael J. Wysocki wrote: >> On Wednesday, April 20, 2016 01:58:07 PM Matthias Brugger wrote: >> > Hi Rafael, >> > >> > On 13/04/16 06:52, Rafael J. Wysocki wrote: >> > > On Tue, Apr 12, 2016 at 7:3

Re: [PATCH 1/2 v6] clk/axs10x: Add I2S PLL clock driver

2016-04-21 Thread Jose Abreu
Adding device tree mailing list and Rob Herring. On 21-04-2016 18:19, Jose Abreu wrote: > The ARC SDP I2S clock can be programmed using a > specific PLL. > > This patch has the goal of adding a clock driver > that programs this PLL. > > At this moment the rate values are hardcoded in > a table but

Re: [PATCH 2/2 v6] arc: axs10x: Add DT bindings for I2S PLL Clock

2016-04-21 Thread Jose Abreu
Adding device tree mailing list and Rob Herring. On 21-04-2016 18:19, Jose Abreu wrote: > Add device tree bindings for AXS10X I2S PLL Clock driver. > > Signed-off-by: Jose Abreu > --- > > Changes v5 -> v6: > * Added 'clocks' field > > This patch was only introduced in v5. > > arch/arc/boot/dts/a

[PATCH 0/3] Make x86's switch_mm run with IRQs off

2016-04-21 Thread Andy Lutomirski
This is some of the PCID prep work, but I think it's reasonable on its own, too. I might also want it for FSGSBASE. Andy Lutomirski (3): sched: Add switch_mm_irqs_off and use it in the scheduler x86/mm: Uninline switch_mm x86/mm: Turn off IRQs in switch_mm arch/x86/include/asm/mmu_context

[PATCH 3/3] x86/mm: Turn off IRQs in switch_mm

2016-04-21 Thread Andy Lutomirski
Potential races between switch_mm and TLB-flush or LDT-flush IPIs could be very messy. AFAICT the code is currently okay, whether by accident or by careful design, but enabling PCID will make it considerably more complicated and will no longer be obviously safe. Fix it with a bug hammer: run swit

[PATCH 1/3] sched: Add switch_mm_irqs_off and use it in the scheduler

2016-04-21 Thread Andy Lutomirski
By defailt, this is the same thing as switch_mm. x86 will override it as an optimization. Cc: Peter Zijlstra Signed-off-by: Andy Lutomirski --- include/linux/mmu_context.h | 7 +++ kernel/sched/core.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/inclu

[PATCH 2/3] x86/mm: Uninline switch_mm

2016-04-21 Thread Andy Lutomirski
It's fairly large and it has quite a few callers. This may also help untangle some headers down the road. Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/mmu_context.h | 98 +-- arch/x86/mm/tlb.c | 102 +++

Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver

2016-04-21 Thread Timur Tabi
Florian Fainelli wrote: Well, PHYLIB does prefer using MDIO accesses to "speak" to PHYs, built-in or external, but there is always the option of investing into some custom development with the subsystem to make it play nicely with your HW. So I've done some more research, and I believe that th

Re: [PATCH v3] KVM: remove buggy vcpu id check on vcpu creation

2016-04-21 Thread Greg Kurz
On Thu, 21 Apr 2016 19:39:31 +0200 Radim Krčmář wrote: > 2016-04-21 19:18+0200, Greg Kurz: > > On Thu, 21 Apr 2016 18:08:41 +0200 > > Radim Krčmář wrote: > >> 2016-04-21 17:49+0200, Greg Kurz: > >> > So we're good ? > >> > >> I support the change, just had a nit about API design for v2.

Re: linux-next: zillions of lockdep whinges in include/net/sock.h:1408

2016-04-21 Thread Hannes Frederic Sowa
On 21.04.2016 15:31, Eric Dumazet wrote: > On Thu, 2016-04-21 at 05:05 -0400, valdis.kletni...@vt.edu wrote: >> On Thu, 21 Apr 2016 09:42:12 +0200, Hannes Frederic Sowa said: >>> Hi, >>> >>> On Thu, Apr 21, 2016, at 02:30, Valdis Kletnieks wrote: linux-next 20160420 is whining at an incredible

Re: [PATCH] ixgbevf: Fix relaxed order settings in VF driver

2016-04-21 Thread Alexander Duyck
On Thu, Apr 21, 2016 at 10:21 AM, Babu Moger wrote: > Current code writes the tx/rx relaxed order without reading it first. > This can lead to unintended consequences as we are forcibly writing > other bits. The consequences were very much intended as there are situations where enabling relaxed o

Re: [PATCH 2/5] x86, KASLR: Drop CONFIG_RANDOMIZE_BASE_MAX_OFFSET

2016-04-21 Thread Kees Cook
On Thu, Apr 21, 2016 at 10:44 AM, Borislav Petkov wrote: > On Wed, Apr 20, 2016 at 01:55:43PM -0700, Kees Cook wrote: >> From: Baoquan He >> >> Currently CONFIG_RANDOMIZE_BASE_MAX_OFFSET is used to limit the maximum >> offset for kernel randomization. This limit doesn't need to be a CONFIG >> sin

[PATCH V4] audit: add tty field to LOGIN event

2016-04-21 Thread Richard Guy Briggs
The tty field was missing from AUDIT_LOGIN events. Refactor code to create a new function audit_get_tty(), using it to replace the call in audit_log_task_info() and to add it to audit_log_set_loginuid(). Lock and bump the kref to protect it, adding audit_put_tty() alias to decrement it. Signed-o

Re: [PATCH v3 1/2] ext4: Pass in DIO_SKIP_DIO_COUNT flag if inode_dio_begin() called

2016-04-21 Thread Waiman Long
On 04/20/2016 04:58 PM, Christoph Hellwig wrote: FYI, none of the Dax code even needs to ever touch the dio_count, as dax I/O can't be asynchronous, and we thus don't need it to protect against truncate. I'd suggest to remove it and then end_io callback from the DAX code entirely as a start and

<    1   2   3   4   5   6   7   8   9   >