Re: [PATCH v6 0/7] cpufreq: add generic cpufreq driver support for Exynos542x/5800 platforms

2016-01-28 Thread Krzysztof Kozlowski
On 16.12.2015 11:14, Viresh Kumar wrote: > On 15-12-15, 18:33, Bartlomiej Zolnierkiewicz wrote: >> Hi, >> >> This patch series adds generic cpufreq-dt driver support for >> Exynos542x/5800 (using the new CPU clock type which allows it). >> >> It has been tested on Exynos5422 based ODROID-XU3 Lite

Re: [PATCH v2] gpio: Add driver for TI TPIC2810

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:14 PM, Andrew F. Davis wrote: > Add driver for TI TPIC2810 8-Bit LED Driver with I2C Interface. > > The TPIC2810 has 8 open-drain outputs that can but used to drive > LEDs and other low-side switched resistive loads. > > Signed-off-by: Andrew F. Davis > --- > Changes

Re: [PATCH] pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI

2016-01-28 Thread Masahiro Yamada
Hi Linus 2016-01-28 19:31 GMT+09:00 Linus Walleij : > On Sat, Jan 23, 2016 at 4:32 PM, Masahiro Yamada > wrote: > >> CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI >> to guard the drivers/pinctrl/sunxi/ directory. >> (I renamed CONFIG_PINCTRL_SUNXI_COMMON to CONFIG_PINCTRL_SUNXI.)

Re: [PATCH] cpufreq: Fix NULL reference crash while accessing policy->governor_data

2016-01-28 Thread Juri Lelli
On 28/01/16 07:45, Viresh Kumar wrote: > On 27-01-16, 23:54, Rafael J. Wysocki wrote: > > So I've applied this, but I'm not sure it is sufficient yet. > > At least, this solves the crash Juri was hitting on a multi cluster > box. > > > Have you double checked whether or not stuff cannot be

[PATCH] floppy: fix lock_fdc() signal handling

2016-01-28 Thread Jiri Kosina
On Thu, 28 Jan 2016, Dmitry Vyukov wrote: > I have not seen any /dev/fd0 related crashes over night. Previously I > seen tons of them, so I guess this bug is fixed. > Please send this upstream. > Thanks Thanks a lot for testing, Dmitry. Jens, here is the patch with proper changelog. Could you

Re: [PATCH v4] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-28 Thread Sergey Senozhatsky
On (01/28/16 17:13), Byungchul Park wrote: [..] > > > > int down_trylock(struct semaphore *sem) > > > > { > > > > unsigned long flags; > > > > int count; > > > > > > > > raw_spin_lock_irqsave(>lock, flags); << um... > > > > > > I also think it's hard, but a

Re: [PATCH] mfd: db8500: avoid uninitialized variable reference

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:02 PM, Arnd Bergmann wrote: > The prcmu_config_clkout() function ensures that the 'clkout' argument > can only be '0' or '1' using an appropriate BUG_ON(), so the compiler > should know that the div_mask, mask, and bits variables are always > initialized later on.

Re: [PATCH] pinctrl: nomadik: hide unused functions

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 4:59 PM, Arnd Bergmann wrote: > The nomadik pinctrl driver has two functions that are only used > for debugfs output and are otherwise unused: > > drivers/pinctrl/nomadik/pinctrl-abx500.c:194:12: error: > 'abx500_get_pull_updown' defined but not used >

Re: [PATCH 3/3] mfd: lpc_ich: add GPIO support for Baytrail

2016-01-28 Thread Linus Walleij
On Sat, Jan 23, 2016 at 5:32 PM, Antoine Tenart wrote: > This patch adds the GPIO support for the Baytrail family. > > Signed-off-by: Antoine Tenart I'm confused by this and Mika's comment on patch 0. Is the BayTrail an ICH variant or not? Or does it have two GPIO controllers? Or um

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Catalin Marinas
On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: > 16K page size is an optional feature of the architecture, and is not > supported by the X-Gene SoC family. > > Signed-off-by: dann frazier > --- > arch/arm64/Kconfig.platforms | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: floppy: GPF in floppy_rb0_cb

2016-01-28 Thread Dmitry Vyukov
On Wed, Jan 27, 2016 at 9:27 PM, Jiri Kosina wrote: > On Wed, 27 Jan 2016, Dmitry Vyukov wrote: > >> > Alright, there is a serious issue with how floppy_revalidate() handles >> > error from lock_fdc() (in-depth explanation for the curious: it doesn't). >> > >> > In case

Re: [PATCH] kexec: unmap reserved pages for each error-return way

2016-01-28 Thread Michael Holzheu
On Wed, 27 Jan 2016 11:15:46 -0800 Andrew Morton wrote: > On Wed, 27 Jan 2016 14:48:31 +0300 Dmitry Safonov > wrote: > > > For allocation of kimage failure or kexec_prepare or load segments > > errors there is no need to keep crashkernel memory mapped. > > It will affect only s390 as

Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default v2

2016-01-28 Thread Matt Fleming
On Wed, 27 Jan, at 03:29:26PM, Mel Gorman wrote: > +#ifdef CONFIG_SCHEDSTATS > +void set_schedstats(bool enabled) > +{ > + if (enabled) > + static_branch_enable(_schedstats); > + else > + static_branch_disable(_schedstats); > +} This function should probably be

Re: [PATCH] pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI

2016-01-28 Thread Linus Walleij
On Sat, Jan 23, 2016 at 4:32 PM, Masahiro Yamada wrote: > CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI > to guard the drivers/pinctrl/sunxi/ directory. > (I renamed CONFIG_PINCTRL_SUNXI_COMMON to CONFIG_PINCTRL_SUNXI.) > > Signed-off-by: Masahiro Yamada This patch does not

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Thomas Gleixner
Brian, On Thu, 28 Jan 2016, Brian Starkey wrote: > On Tue, Jan 26, 2016 at 09:45:32PM +0100, Thomas Gleixner wrote: > > On Tue, 26 Jan 2016, Brian Starkey wrote: > > > > > For shared interrupts, if one requester passes in any IRQF_TRIGGER_* > > > flags whilst another doesn't, __setup_irq() can

[PATCH v4] dmaengine: edma: fix residue race for cyclic

2016-01-28 Thread John Ogness
for next-20151016 . added multiple exit conditions for busy wait loop v2-v3 changes . rebased for next-20160121 . reduced max loops from 1 to 1000 . loop countdown instead of count . change debug print function and message . fine-tune comments v3-v4 changes . rebased for next-20160128

mm: another VM_BUG_ON_PAGE(PageTail(page))

2016-01-28 Thread Dmitry Vyukov
Hello, The following program triggers VM_BUG_ON_PAGE(PageTail(page)): // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include int main() { int fd; mmap((void*)0x2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,

Re: [PATCH] proc: revert /proc//maps [stack:TID] annotation

2016-01-28 Thread Kirill A. Shutemov
On Mon, Jan 25, 2016 at 03:53:01PM -0800, Colin Cross wrote: > On Mon, Jan 25, 2016 at 3:14 PM, Kirill A. Shutemov > wrote: > > On Mon, Jan 25, 2016 at 01:30:00PM -0800, Colin Cross wrote: > >> On Tue, Jan 19, 2016 at 3:30 PM, Kirill A. Shutemov > >> wrote: > >> > On Tue, Jan 19, 2016 at

Re: [PATCH] net/mac80211/agg-rx.c: fix use of uninitialised values

2016-01-28 Thread Julia Lawall
On Thu, 28 Jan 2016, Julian Calaby wrote: > Hi Johannes, > > On Thu, Jan 28, 2016 at 8:48 PM, Johannes Berg > wrote: > > On Thu, 2016-01-28 at 10:27 +1100, Julian Calaby wrote: > >> I'd prefer to just set ->removed to false right after we set > >> ->auto_seq as that should be faster, however I

Re: [PATCH V4 3/5] pinctrl: max77620: add pincontrol driver for MAX77620/MAX20024

2016-01-28 Thread Laxman Dewangan
On Thursday 28 January 2016 03:34 PM, Linus Walleij wrote: On Tue, Jan 19, 2016 at 11:19 AM, Laxman Dewangan wrote: MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins which also act as the special function in alternate mode. Also there is configuration like push-pull, open drain,

Re: [PATCH] pinctrl: pxa: guard sub-directory with CONFIG_PINCTRL_PXA

2016-01-28 Thread Linus Walleij
On Sat, Jan 23, 2016 at 4:31 PM, Masahiro Yamada wrote: > CONFIG_PINCTRL_PXA is more suitable than CONFIG_ARCH_PXA > to guard the drivers/pinctrl/pxa/ directory. > > Signed-off-by: Masahiro Yamada Patch applied. Yours, Linus Walleij

Re: [PATCH V3 18/21] ACPI, PCI: Refine the way to handle translation_offset for ACPI resources

2016-01-28 Thread Hanjun Guo
Hi Lorenzo, On 2016/1/19 20:20, Lorenzo Pieralisi wrote: Gerry, On Wed, Jan 13, 2016 at 02:21:04PM +0100, Tomasz Nowicki wrote: From: Liu Jiang Some architectures, such as IA64 and ARM64, have no instructions to directly access PCI IO ports, so they map PCI IO ports into PCI MMIO address

[PATCH 4/4] Documentation: atmel-at91: add DT bindings for fast startup

2016-01-28 Thread Wenyou Yang
Add DT bindings to configurate the PMC_FSMR and PMC_FSPR registers to trigger a fast restart signal to PMC. Signed-off-by: Wenyou Yang --- .../devicetree/bindings/arm/atmel-pmc.txt | 74 1 file changed, 74 insertions(+) diff --git

[PATCH 3/4] ARM: at91: pm: configure PMC fast startup signals

2016-01-28 Thread Wenyou Yang
The fast startup signal is used as wake up sources for ULP1 mode. As soon as a fast startup signal is asserted, the embedded 12 MHz RC oscillator restarts automatically. This patch is to configure the fast startup signals, which signal is enabled to trigger the PMC to wake up the system from ULP1

[PATCH 2/4] ARM: at91: pm: add ULP1 mode support

2016-01-28 Thread Wenyou Yang
The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator, so as to achieve the lowest power consumption with the system in retention mode and able to resume on the wake up events. As soon as the wake up

[PATCH 1/4] ARM: at91: pm: create a separate procedure for the ULP0 mode

2016-01-28 Thread Wenyou Yang
To make the code more legible and prepare to add the ULP1 mode support in the future, create a separate procedure for the ULP0 mode. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_suspend.S | 65 --- 1 file changed, 40 insertions(+), 25 deletions(-)

[PATCH 0/4] ARM: at91: pm: add ULP1 mode support

2016-01-28 Thread Wenyou Yang
The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In order to achieve the lowest power consumption, in the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator. The fast startup signal is used as a wake up source for ULP1 mode. As soon as the wake up event

Re: [PATCH] mmc: sdhci: disable irq in sdhci host suspend ranther than free this irq

2016-01-28 Thread Russell King - ARM Linux
On Thu, Jan 28, 2016 at 05:42:26PM +0800, Haibo Chen wrote: > Currently sdhci driver free irq in host suspend, and call > request_threaded_irq() in host resume. But during host resume, > Ctrl+C can impact sdhci host resume, see the error log: Ctrl+C should have no effect on this - that seems to

Re: [PATCH v4 0/5] pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt2701

2016-01-28 Thread Linus Walleij
On Wed, Jan 27, 2016 at 2:24 AM, Biao Huang wrote: > Change in v4: > 1. create a sperate patch for direction setting of input-enable/disalbe and > input-schmitt-enable/disable. So I've merged the patches affecting drivers/pinctrl on the special devel-mt2701 branch, so the ARM SoC people can

Re: [PATCH v2 2/2] lightnvm: add non-continuous lun target creation support

2016-01-28 Thread Wenwei Tao
OK, I see. Will include these changes in next version. 2016-01-28 17:09 GMT+08:00 Matias Bjørling : > On 01/28/2016 09:50 AM, Wenwei Tao wrote: >> 2016-01-27 17:44 GMT+08:00 Matias Bjørling : >>> On 01/26/2016 01:33 PM, Wenwei Tao wrote: When create a target, we specify the begin lunid and

Re: [PATCH V8 1/1] usb:serial: Add Fintek F81532/534 driver

2016-01-28 Thread kbuild test robot
Hi Peter, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.5-rc1 next-20160128] [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/Peter-Hung/usb-serial-Add-Fintek-F81532

Re: [PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support

2016-01-28 Thread One Thousand Gnomes
On Thu, 28 Jan 2016 17:20:37 +0800 Peter Hung wrote: > This driver is 8250 driver for F81504/508/512, it'll handle the serial > port operation of this device. This module will depend on > MFD_FINTEK_F81504_CORE. > > The serial ports support from 50bps to 1.5Mbps with Linux baudrate > define

Re: [PATCHSET 00/10] perf tools: Apply percent-limit to callchains (v2)

2016-01-28 Thread Namhyung Kim
On Thu, Jan 28, 2016 at 7:14 PM, Namhyung Kim wrote: > On Thu, Jan 28, 2016 at 5:16 PM, Jiri Olsa wrote: >> On Thu, Jan 28, 2016 at 12:40:47AM +0900, Namhyung Kim wrote: >>> Hello, >>> >>> This patchset tries to implement percent limit to callchains which was >>> requested by Andi Kleen. For

Re: [PATCH v2 2/2] intel_th: the number of masters should be (sw_end - sw_start + 1)

2016-01-28 Thread Alexander Shishkin
Chunyan Zhang writes: > Hi Alex, Hi chunyan, > Is there any problem on this patch, I noticed that you lost this patch > when you sent a patchset to Greg for 4.4 merge. No, there isn't, it just doesn't fix anything important to be sent outside of merge window, but the other one does. I'll

Re: [PATCH v4 4/5] pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701

2016-01-28 Thread Linus Walleij
On Wed, Jan 27, 2016 at 2:24 AM, Biao Huang wrote: > Add mt2701 support using mediatek common pinctrl driver. > MT2701 have some special pins need an extra setting register > than other ICs, so adding this support to common code. > > Signed-off-by: Biao Huang > Acked-by: Yingjoe Chen Patch

Re: [PATCHSET 00/10] perf tools: Apply percent-limit to callchains (v2)

2016-01-28 Thread Namhyung Kim
On Thu, Jan 28, 2016 at 5:16 PM, Jiri Olsa wrote: > On Thu, Jan 28, 2016 at 12:40:47AM +0900, Namhyung Kim wrote: >> Hello, >> >> This patchset tries to implement percent limit to callchains which was >> requested by Andi Kleen. For some reason, limiting callchains by >> (overhead) percentage

Re: [PATCH v4 3/5] pinctrl: dt bindings: Add pinfunc header file for mt2701

2016-01-28 Thread Linus Walleij
On Wed, Jan 27, 2016 at 2:24 AM, Biao Huang wrote: > Add pinfunc header file, mt2701 related dts will include it > > Signed-off-by: Biao Huang > Acked-by: Linus Walleij Patch applied to the special "devel-mt2701" branch that I will soon merge into devel proper. Yours, Linus Walleij

Re: [PATCH 4/8] perf, tools, stat: Implement CSV metrics output

2016-01-28 Thread Jiri Olsa
On Tue, Jan 26, 2016 at 04:42:53PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Now support CSV output for metrics. With the new output callbacks > this is relatively straight forward by creating new callbacks. > > The new line callback needs to know the number of fields to skip them >

Re: [PATCH] mm: polish virtual memory accounting

2016-01-28 Thread Sudip Mukherjee
On Thu, Jan 28, 2016 at 12:45:44PM +0300, Konstantin Khlebnikov wrote: > * add VM_STACK as alias for VM_GROWSUP/DOWN depending on architecture > * always account VMAs with flag VM_STACK as stack (as it was before) > * cleanup classifying helpers > * update comments and documentation > >

Re: [PATCH 4/8] perf, tools, stat: Implement CSV metrics output

2016-01-28 Thread Jiri Olsa
On Tue, Jan 26, 2016 at 04:42:53PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Now support CSV output for metrics. With the new output callbacks > this is relatively straight forward by creating new callbacks. > > The new line callback needs to know the number of fields to skip them >

Re: [PATCH] net/mac80211/agg-rx.c: fix use of uninitialised values

2016-01-28 Thread Julian Calaby
Hi Johannes, On Thu, Jan 28, 2016 at 8:48 PM, Johannes Berg wrote: > On Thu, 2016-01-28 at 10:27 +1100, Julian Calaby wrote: >> I'd prefer to just set ->removed to false right after we set >> ->auto_seq as that should be faster, however I don't know if >> __ieee80211_start_rx_ba_session() is a

Re: [PATCH] workqueue: warn if memory reclaim tries to flush !WQ_MEM_RECLAIM workqueue

2016-01-28 Thread Peter Zijlstra
On Tue, Jan 26, 2016 at 06:38:43PM +0100, Thierry Reding wrote: > > Task or work item involved in memory reclaim trying to flush a > > non-WQ_MEM_RECLAIM workqueue or one of its work items can lead to > > deadlock. Trigger WARN_ONCE() if such conditions are detected. > I've started noticing the

scsi: NULL deref in sg_start_req

2016-01-28 Thread Dmitry Vyukov
Hello, The following program causes NULL deref in sg_start_req: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include #ifndef SYS_memfd_create #define SYS_memfd_create 319 #endif int main() { long r[26]; syscall(SYS_mmap,

[PATCH] mmc: sdhci: disable irq in sdhci host suspend ranther than free this irq

2016-01-28 Thread Haibo Chen
Currently sdhci driver free irq in host suspend, and call request_threaded_irq() in host resume. But during host resume, Ctrl+C can impact sdhci host resume, see the error log: CPU1 is up PM: noirq resume of devices complete after 0.637 msecs imx-sdma 30bd.sdma: loaded firmware 4.1 PM: early

[PATCH] lightnvm: put bio before return

2016-01-28 Thread Wenwei Tao
Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c index d8c7595..307db1e 100644 --- a/drivers/lightnvm/rrpc.c +++ b/drivers/lightnvm/rrpc.c @@ -300,8 +300,10 @@ static int

Re: [PATCH V4 4/5] gpio: max77620: add gpio driver for MAX77620/MAX20024

2016-01-28 Thread Linus Walleij
On Tue, Jan 19, 2016 at 11:19 AM, Laxman Dewangan wrote: > MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO > pins. It also supports interrupts from these pins. > > Add GPIO driver for these pins to control via GPIO APIs. > > Signed-off-by: Laxman Dewangan > Signed-off-by: Chaitanya

Re: [PATCH] perf/x86/amd/power: Add AMD accumulated power reporting

2016-01-28 Thread kbuild test robot
Hi Borislav, [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.5-rc1 next-20160128] [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/Borislav-Petkov/perf-x86-amd-power

Re: [PATCH V2 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-01-28 Thread One Thousand Gnomes
> +config MFD_FINTEK_F81504_CORE > +tristate "Fintek F81504/508/512 PCIE-to-UART/GPIO MFD support" > +depends on PCI > +select MFD_CORE > +default y > +help > + This driver generate F81504/508/512 UART & GPIO platform This driver provides the

[PATCH v2 3/3] mmc: pwrseq: convert to proper platform device

2016-01-28 Thread Srinivas Kandagatla
simple-pwrseq and emmc-pwrseq drivers rely on platform_device structure from of_find_device_by_node(), this works mostly. But, as there is no driver associated with this devices, cases like default/init pinctrl setup would never be performed by pwrseq. This becomes problem when the gpios used in

Re: [PATCH V4 3/5] pinctrl: max77620: add pincontrol driver for MAX77620/MAX20024

2016-01-28 Thread Linus Walleij
On Tue, Jan 19, 2016 at 11:19 AM, Laxman Dewangan wrote: > MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins > which also act as the special function in alternate mode. Also > there is configuration like push-pull, open drain, FPS timing > etc for these pins. > > Add pincontrol

[PATCH v2 2/3] mmc: pwrseq_emmc: add to_pwrseq_emmc() macro

2016-01-28 Thread Srinivas Kandagatla
This patch adds to_pwrseq_emmc() macro to make the code more readable. Signed-off-by: Srinivas Kandagatla --- drivers/mmc/core/pwrseq_emmc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/pwrseq_emmc.c b/drivers/mmc/core/pwrseq_emmc.c index

[PATCH v2 1/3] mmc: pwrseq_simple: add to_pwrseq_simple() macro

2016-01-28 Thread Srinivas Kandagatla
This patch adds to_pwrseq_simple() macro to make the code more readable. Signed-off-by: Srinivas Kandagatla --- drivers/mmc/core/pwrseq_simple.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/core/pwrseq_simple.c b/drivers/mmc/core/pwrseq_simple.c

[PATCH v2 0/3] mmc: pwrseq: convert to proper driver

2016-01-28 Thread Srinivas Kandagatla
Hi Ulf, This patchset aims at converting the pwrseq devices to proper in drivers, The issue is that on Qualcomm based platforms, most of the gpios require a pinctrl setup. Existing pwrseq code does not do any kind of pinctrl setup. So this makes the pwrseq unusable on those platfroms. Convert

Re: [RFC PATCH v3 0/5] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table on PPC64 platform

2016-01-28 Thread Yongji Xie
Ping... Alex, any comment? Regards, Yongji Xie On 2016/1/15 15:06, Yongji Xie wrote: Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs and MSI-X table. This is because sub-page BARs' mmio page may be shared with other BARs and MSI-X table should not be

Re: [PATCH v4] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-28 Thread Huang Rui
On Thu, Jan 28, 2016 at 10:03:15AM +0100, Borislav Petkov wrote: > On Thu, Jan 28, 2016 at 02:38:51PM +0800, Huang Rui wrote: > > Introduce an AMD accumlated power reporting mechanism for Carrizo > > (Family 15h, Model 60h) processor that should be used to calculate the > > average power consumed

Re: [PATCH v3] barriers: introduce smp_mb__release_acquire and update documentation

2016-01-28 Thread Will Deacon
On Thu, Jan 28, 2016 at 10:46:23AM +0800, Boqun Feng wrote: > On Wed, Jan 27, 2016 at 06:22:04PM +, Will Deacon wrote: > > As much as we'd like to live in a world where RELEASE -> ACQUIRE is > > always cheaply ordered and can be used to construct UNLOCK -> LOCK > > definitions with similar

[3.16.y-ckt stable] Linux 3.16.7-ckt23

2016-01-28 Thread Luis Henriques
I am announcing the release of the Linux 3.16.7-ckt23 kernel. The updated 3.16.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.16.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y The diff from v3.16.7-ckt22 is posted

Re: [PATCH] HID: quirks: Add no_init_reports for AKAI midi controller

2016-01-28 Thread Stafford Horne
On Thu, 28 Jan 2016, Oliver Neukum wrote: On Wed, 2016-01-27 at 22:31 +0100, Jiri Kosina wrote: On Wed, 27 Jan 2016, Stafford Horne wrote: The midi controller times-out while initializing reports, this causes boot to take an extra 10 seconds. The device descriptor advertises that it has an

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Brian Starkey
Hi Thomas, Thanks for taking a look at this. On Tue, Jan 26, 2016 at 09:45:32PM +0100, Thomas Gleixner wrote: On Tue, 26 Jan 2016, Brian Starkey wrote: For shared interrupts, if one requester passes in any IRQF_TRIGGER_* flags whilst another doesn't, __setup_irq() can erroneously fail. The

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-01-28 Thread Will Deacon
On Wed, Jan 27, 2016 at 03:38:36PM -0800, Paul E. McKenney wrote: > On Wed, Jan 27, 2016 at 03:21:58PM +, Will Deacon wrote: > > On Wed, Jan 27, 2016 at 03:54:21PM +0100, Peter Zijlstra wrote: > > > On Wed, Jan 27, 2016 at 11:43:48AM +, Will Deacon wrote: > > > > Do you know whether a SYNC

[PATCH] gpio: gpio-f81504: fix platform_no_drv_owner.cocci warnings

2016-01-28 Thread kbuild test robot
drivers/gpio/gpio-f81504.c:246:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Peter Hung Signed-off-by: Fengguang Wu --- gpio-f81504.c |1 - 1

Re: [PATCH v7 6/6] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-01-28 Thread Shilpasri G Bhat
On 01/28/2016 03:11 PM, Viresh Kumar wrote: > On 28-01-16, 15:06, Shilpasri G Bhat wrote: >> No these stats are not per-policy. They are per-chip. The throttle event is >> common for all cores in the chip. > > How do you define a chip? And how is it different then the group of > CPUs

Re: [PATCH V2 2/4] gpio: gpio-f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO GPIOLIB support

2016-01-28 Thread kbuild test robot
Hi Peter, [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.5-rc1 next-20160128] [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/Peter-Hung/Transform-Fintek-PCIE-driver

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-28 Thread Eric Auger
Hi Pavel, On 01/28/2016 08:13 AM, Pavel Fedin wrote: > Hello! > >> x86 isn't problem-free in this space. An x86 VM is going to know that >> the 0xfee0 address range is special, it won't be backed by RAM and >> won't be a DMA target, thus we'll never attempt to map it for an iova >> address.

Re: [PATCH v5 3/5] mfd: hi655x: Add hi665x pmic driver

2016-01-28 Thread chenfeng
Hi Lee, Thanks for your review! There is one things need your confirm. Please help to see it below. On 2016/1/25 22:22, Lee Jones wrote: > On Mon, 11 Jan 2016, Chen Feng wrote: > >> Add pmic mfd driver to support hisilicon hi665x. [..] > >> +static const struct mfd_cell hi655x_pmic_devs[] = {

Re: Regression: 4.5-rc1 (bisect: hugetlb: make mm and fs code explicitly non-modular vs CONFIG_TIMER_STATS)

2016-01-28 Thread Christian Borntraeger
On 01/28/2016 10:40 AM, Hillf Danton wrote: >> >> Paul, >> >> the commit 3e89e1c5ea842 ("hugetlb: make mm and fs code explicitly >> non-modular") >> triggers belows warning/oops, if CONFIG_TIMER_STATS is set. >> >> Looking at the patch the only "real" change is the init_call, >> and indeed >> ---

Re: [PATCH 3/8] perf, tools, stat: Move noise/running printing into printout

2016-01-28 Thread Jiri Olsa
On Tue, Jan 26, 2016 at 04:42:52PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Move the running/noise printing into printout to avoid > duplicated code in the callers. > > v2: Merged with other patches. Remove unnecessary hunk. > Readd hunk that ended in earlier patch. > v3: Fix

Re: [PATCH v3 2/3] x86: query dynamic DEBUG_PAGEALLOC setting

2016-01-28 Thread Christian Borntraeger
On 01/27/2016 11:17 PM, David Rientjes wrote: > On Wed, 27 Jan 2016, Christian Borntraeger wrote: > >> We can use debug_pagealloc_enabled() to check if we can map >> the identity mapping with 2MB pages. We can also add the state >> into the dump_stack output. >> >> The patch does not touch the

Re: [PATCH 3/9] perf, tools, stat: Move noise/running printing into printout

2016-01-28 Thread Jiri Olsa
On Wed, Jan 27, 2016 at 12:57:43AM +0100, Andi Kleen wrote: > On Sat, Jan 23, 2016 at 05:19:58PM +0100, Jiri Olsa wrote: > > On Sat, Jan 23, 2016 at 04:43:05AM +0100, Andi Kleen wrote: > > > > > - if (run == 0 || ena == 0) { > > > > > - fprintf(output,

Re: [PATCH] net/mac80211/agg-rx.c: fix use of uninitialised values

2016-01-28 Thread Johannes Berg
On Thu, 2016-01-28 at 10:27 +1100, Julian Calaby wrote: >  > This looks like a "big hammer" solution to this problem. It is, in a way, but it also avoids future errors like it. > I'd prefer to just set ->removed to false right after we set > ->auto_seq as that should be faster, however I don't

Re: [PATCH] net/mac80211/agg-rx.c: fix use of uninitialised values

2016-01-28 Thread Johannes Berg
On Wed, 2016-01-27 at 15:46 +, Chris Bainbridge wrote: > Use kzalloc instead of kmalloc for struct tid_ampdu_rx. Fixes: > Applied, thanks. johannes

Re: [PATCH] ptp: ixp46x: use helpers for converting ns to timespec

2016-01-28 Thread Richard Cochran
On Thu, Jan 28, 2016 at 10:27:19AM +0800, Kefeng Wang wrote: > Convert the driver to use ns_to_timespec64() and timespec64_to_ns() > instead of open coding the same logic. > > Signed-off-by: Kefeng Wang > --- > drivers/ptp/ptp_ixp46x.c | 7 ++- > 1 file changed, 2 insertions(+), 5

[PATCH] mm: polish virtual memory accounting

2016-01-28 Thread Konstantin Khlebnikov
* add VM_STACK as alias for VM_GROWSUP/DOWN depending on architecture * always account VMAs with flag VM_STACK as stack (as it was before) * cleanup classifying helpers * update comments and documentation Signed-off-by: Konstantin Khlebnikov --- Documentation/filesystems/proc.txt |4 ++--

Re: [PATCH] perf/x86/amd/power: Add AMD accumulated power reporting

2016-01-28 Thread kbuild test robot
Hi Borislav, [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.5-rc1 next-20160128] [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/Borislav-Petkov/perf-x86-amd-power

Re: [PATCH v7 6/6] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-01-28 Thread Viresh Kumar
On 28-01-16, 15:06, Shilpasri G Bhat wrote: > No these stats are not per-policy. They are per-chip. The throttle event is > common for all cores in the chip. How do you define a chip? And how is it different then the group of CPUs represented by the policy ? -- viresh

Re: Regression: 4.5-rc1 (bisect: hugetlb: make mm and fs code explicitly non-modular vs CONFIG_TIMER_STATS)

2016-01-28 Thread Hillf Danton
> > Paul, > > the commit 3e89e1c5ea842 ("hugetlb: make mm and fs code explicitly > non-modular") > triggers belows warning/oops, if CONFIG_TIMER_STATS is set. > > Looking at the patch the only "real" change is the init_call, > and indeed > --- a/mm/hugetlb.c > +++ b/mm/hugetlb.c > @@ -2653,7

Re: [PATCH] perf/x86/amd/power: Add AMD accumulated power reporting

2016-01-28 Thread kbuild test robot
Hi Borislav, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.5-rc1 next-20160128] [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/Borislav-Petkov/perf-x86-amd-power-Add

Re: [PATCH v7 6/6] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-01-28 Thread Shilpasri G Bhat
Hi Viresh, On 01/28/2016 02:10 PM, Viresh Kumar wrote: > On 28-01-16, 12:55, Shilpasri G Bhat wrote: >> diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu >> b/Documentation/ABI/testing/sysfs-devices-system-cpu >> index b683e8e..dea4620 100644 >> ---

[PATCH V2] netfilter: h323: avoid potential attack

2016-01-28 Thread Zhouyi Zhou
Thanks Eric for your review and advice. I think hackers chould build a malicious h323 packet to overflow the pointer p which will panic during the memcpy(addr, p, len) For example, he may fabricate a very large taddr->ipAddress.ip; Signed-off-by: Zhouyi Zhou ---

Re: [PATCH] mm: provide reference to READ_IMPLIES_EXEC

2016-01-28 Thread Konstantin Khlebnikov
On Thu, Jan 28, 2016 at 12:11 PM, Sudip Mukherjee wrote: > blackfin defconfig fails with the error: > mm/internal.h: In function 'is_stack_mapping': > arch/blackfin/include/asm/page.h:15:27: error: 'READ_IMPLIES_EXEC' undeclared > > Commit 07dff8ae2bc5 has added is_stack_mapping in mm/internal.h

Re: [PATCH 1/1] fs:ubifs:recovery:fixup UBIFS cannot recover master node issue

2016-01-28 Thread Richard Weinberger
Bean, Am 28.01.2016 um 03:42 schrieb Bean Huo 霍斌斌 (beanhuo): >> This needs a much more detailed explanation. >> In which scenarios on SLC NAND can you get such an unmountable UBIFS? > > > It is my mistake involved SLC NAND. > Definitely, SLC NAND does not exist two pages being damaged within

[PATCH V2 4/4] serial: 8250_pci: Remove Fintek F81504/508/512 UART driver

2016-01-28 Thread Peter Hung
Remove Fintek F81504/508/512 PCIE-to-UART device driver from 8250_pci.c Paul recommed us do less code deletion to avoid confusing problem when bisect. https://lkml.org/lkml/2016/1/18/646 But this patch is sent after with following patch. 8250: 8250_f81504: Add Fintek F81504/508/512

Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap

2016-01-28 Thread Matt Fleming
On Tue, 26 Jan, at 01:59:26PM, Andy Shevchenko wrote: > On Tue, 2016-01-26 at 11:50 +, Matt Fleming wrote: > > On Mon, 25 Jan, at 08:37:58PM, Elliott, Robert (Persistent Memory) > > wrote: > > > > > > For the UEFI memory map, that was indeed my intention.  I > > > don't want it silently round

Re: [patch] drm/vmwgfx: fix a NULL dereference

2016-01-28 Thread Daniel Vetter
On Thu, Jan 28, 2016 at 12:06:46PM +0300, Dan Carpenter wrote: > We dereference "eaction->event" inside the call to drm_send_event_locked() > so should hold off on setting it to NULL until afterward. > > Fixes: fb740cf2492c ("drm: Create drm_send_event helpers") > Signed-off-by: Dan Carpenter

Re: [PATCH] perf data: Fix releasing event_class

2016-01-28 Thread Jiri Olsa
On Thu, Jan 28, 2016 at 04:59:51PM +0800, Wangnan (F) wrote: > Hi Jiri, What's your opinion on this patch? > > Thank you. > > On 2016/1/27 19:21, Wang Nan wrote: > >A new patch of libbabeltrace [1] reveals a object leak problem in > >perf data CTF support: perf code never release event_class

Re: [PATCH v2 01/11] dma-buf/sync_file: de-stage sync_file

2016-01-28 Thread Daniel Vetter
On Wed, Jan 27, 2016 at 01:41:03PM -0800, Greg Hackmann wrote: > On 01/27/2016 12:25 PM, Gustavo Padovan wrote: > Is there a value in keeping the abi unchanged? > If not, then Documentation/ioctl/botching-up-ioctls.txt is worth a read. > >>> > >>>None from me. I'll look where we can

[PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support

2016-01-28 Thread Peter Hung
This driver is 8250 driver for F81504/508/512, it'll handle the serial port operation of this device. This module will depend on MFD_FINTEK_F81504_CORE. The serial ports support from 50bps to 1.5Mbps with Linux baudrate define excluding 1.0Mbps due to not support 16MHz clock source. PCI

[PATCH V2 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-01-28 Thread Peter Hung
The Fintek F81504/508/512 had implemented the basic serial port function in 8250_pci.c. We try to implement high baudrate & GPIOLIB with a spilt file 8250_f81504.c, but it seems too complex to add GPIOLIB. Alan & Andy recommend us to rewrite and spilt our driver with MFD architecture.

[PATCH V2 2/4] gpio: gpio-f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO GPIOLIB support

2016-01-28 Thread Peter Hung
This driver is GPIOLIB driver for F81504/508/512, it'll handle the GPIOLIB operation of this device. This module will depend on MFD_FINTEK_F81504_CORE. IC function list: F81504: Max 2x8 GPIOs and max 4 serial ports port2/3 are multi-function F81508: Max 6x8 GPIOs and max 8 serial

[PATCH V2 0/4] Transform Fintek PCIE driver from 8250 to MFD

2016-01-28 Thread Peter Hung
The Fintek F81504/508/512 is a multi-function PCIE devices. IC function list: F81504: Max 2x8 GPIOs and max 4 serial ports port2/3 are multi-function F81508: Max 6x8 GPIOs and max 8 serial ports port2/3 are multi-function, port8/9/10/11 are gpio only F81512: Max 6x8

Re: [PATCH] HID: quirks: Add no_init_reports for AKAI midi controller

2016-01-28 Thread Oliver Neukum
On Wed, 2016-01-27 at 22:31 +0100, Jiri Kosina wrote: > On Wed, 27 Jan 2016, Stafford Horne wrote: > > > The midi controller times-out while initializing reports, this > > causes boot to take an extra 10 seconds. The device descriptor > > advertises that it has an internal HID device but seems to

Re: [PATCH] input: keyboard: cap11xx: Add missing of_node_put

2016-01-28 Thread Julia Lawall
On Wed, 27 Jan 2016, Dmitry Torokhov wrote: > On Mon, Jan 25, 2016 at 09:01:21PM +0530, Amitoj Kaur Chawla wrote: > > for_each_child_of_node performs an of_node_get on each iteration, so > > to break out of the loop an of_node_put is required. > > > > Found using Coccinelle. The semantic patch

Regression: 4.5-rc1 (bisect: hugetlb: make mm and fs code explicitly non-modular vs CONFIG_TIMER_STATS)

2016-01-28 Thread Christian Borntraeger
Paul, the commit 3e89e1c5ea842 ("hugetlb: make mm and fs code explicitly non-modular") triggers belows warning/oops, if CONFIG_TIMER_STATS is set. Looking at the patch the only "real" change is the init_call, and indeed --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2653,7 +2653,7 @@ static int

Re: [mpt3sas driver 02/10] mpt3sas: Used IEEE SGL instead of MPI SGL while framing a SMP Passthrough request message.

2016-01-28 Thread Christoph Hellwig
On Thu, Jan 28, 2016 at 12:06:59PM +0530, Suganath prabu Subaramani wrote: > From: Suganath prabu Subramani > > As driver was using MPI SGL while framing the SMP Passthrough request > message due to which firmware unable to post the Reply Data in the host > memory and timeout is observed for

[PATCH] mm: provide reference to READ_IMPLIES_EXEC

2016-01-28 Thread Sudip Mukherjee
blackfin defconfig fails with the error: mm/internal.h: In function 'is_stack_mapping': arch/blackfin/include/asm/page.h:15:27: error: 'READ_IMPLIES_EXEC' undeclared Commit 07dff8ae2bc5 has added is_stack_mapping in mm/internal.h but it also needs personality.h. Fixes: 07dff8ae2bc5 ("mm: warn

Re: [PATCH v2 2/2] lightnvm: add non-continuous lun target creation support

2016-01-28 Thread Matias Bjørling
On 01/28/2016 09:50 AM, Wenwei Tao wrote: > 2016-01-27 17:44 GMT+08:00 Matias Bjørling : >> On 01/26/2016 01:33 PM, Wenwei Tao wrote: >>> When create a target, we specify the begin lunid and >>> the end lunid, and get the corresponding continuous >>> luns from media manager, if one of the luns is

[GIT PULL] at91: fixes for 4.5 #1

2016-01-28 Thread Nicolas Ferre
Arnd, Olof, Kevin, First AT91 fixes pull-request for 4.5, all DT modifications. The bulk of the changes is about adding the phy specification to Ethernet nodes because of recent changes in phy drivers that tend to require a comprehensive description of the Ethernet hardware. It is based on

Re: [PATCH V2 1/1] gpio-f7188x: Add F81866 GPIO supports

2016-01-28 Thread Linus Walleij
On Fri, Jan 22, 2016 at 8:23 AM, Peter Hung wrote: > Add F81866 GPIO supports > > Fintek F81866 is a SuperIO. It contains HWMON/GPIO/Serial Ports. > and it has totally 72(9x8 sets) gpio pins. > > Here is the PDF spec: > http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html

Re: [PATCH v7 0/5] usb: usbtmc: Add support for missing functions in USBTMC-USB488 spec

2016-01-28 Thread Clemens Ladisch
Dave Penkler wrote: > Implement support for the USB488 defined READ_STATUS_BYTE ioctl (1/5) > and SRQ notifications with fasync (2/5) and poll/select (3/5) in order > to be able to synchronize with variable duration instrument > operations. > > Add convenience ioctl to return all device

[patch] drm/vmwgfx: fix a NULL dereference

2016-01-28 Thread Dan Carpenter
We dereference "eaction->event" inside the call to drm_send_event_locked() so should hold off on setting it to NULL until afterward. Fixes: fb740cf2492c ("drm: Create drm_send_event helpers") Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_fence.c

<    6   7   8   9   10   11   12   13   14   15   >