Re: [PATCH 0/5 v2] Fixes for leapsecond expiring early ABS_TIME CLOCK_REALTIME timers

2015-06-15 Thread Prarit Bhargava
On 06/15/2015 09:10 AM, Prarit Bhargava wrote: On 06/11/2015 06:54 PM, John Stultz wrote: So this is a second round at trying to address the issue, trying to integrate feedback from Ingo and Thomas, trying to simplify what I can. I've also split out the changes so each can be more

Re: [RFC 3/3] mm: make swapin readahead to improve thp collapse rate

2015-06-15 Thread Rik van Riel
On 06/14/2015 11:04 AM, Ebru Akagunduz wrote: This patch makes swapin readahead to improve thp collapse rate. When khugepaged scanned pages, there can be a few of the pages in swap area. With the patch THP can collapse 4kB pages into a THP when there are up to max_ptes_swap swap ptes in a

Re: [PATCH v3 1/1] usb: core: lpm: set lpm_capable for root hub device

2015-06-15 Thread Alan Stern
On Mon, 15 Jun 2015, Lu Baolu wrote: Commit 25cd2882e2fc (usb/xhci: Change how we indicate a host supports Link PM.) removed the code to set lpm_capable for USB 3.0 super-speed root hub. The intention of that change was to avoid touching usb core internal field, a.k.a. lpm_capable, and let

[PATCH v3] perf: honoring the architectural performance monitoring version

2015-06-15 Thread Imre Palik
From: Palik, Imre im...@amazon.de Architectural performance monitoring version 1 doesn't support fixed counters. Currently, even if a hypervisor advertises support for architectural performance monitoring version 1, perf may still tries to use the fixed counters, as the constraints are set up

Re: [PATCH] alpha: Add support for BOTHER

2015-06-15 Thread Guenter Roeck
On 06/15/2015 07:28 AM, Guenter Roeck wrote: In -next, alpha:allmodconfig fails to build with drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate': drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared This could be fixed on the user side, but it makes more sense to

[PATCH linux-next 1/1] dmaengine: at_hdmac: fix residue computation

2015-06-15 Thread Cyrille Pitchen
As claimed by the programmer datasheet and confirmed by the IP designer, the Block Transfer Size (BTSIZE) bitfield of the Channel x Control A Register (CTRLAx) always refers to a number of Source Width (SRC_WIDTH) transfers. Both the SRC_WIDTH and BTSIZE bitfields can be extacted from the CTRLAx

Re: [PATCH 1/1] cputime: Make the reported utime+stime correspond to the actual runtime.

2015-06-15 Thread Fredrik Markström
Hello Peter, your patch helps with some of the cases but not all: (the called with.. below means cputime_adjust() is called with the values specified in it's struct task_cputime argument.) It helps when called with: sum_exec_runtime=10 utime=0 stime=1 ... followed by...

[BUG?] crypto: caam: little/big endianness on ARM vs PPC

2015-06-15 Thread Steffen Trumtrar
Hi! I'm working on CAAM support for the ARM-based i.MX6 SoCs. The current drivers/crypto/caam driver only works for PowerPC AFAIK. Actually, there isn't that much to do, to get support for the i.MX6 but one patch breaks the driver severely: commit ef94b1d834aace7101de77c3a7c2631b9ae9c5f6

[PATCH] iio: magnetometer: mmc35240: Fix crash in pm suspend

2015-06-15 Thread Daniel Baluta
We must set i2c client private data at probe in order to correctly retrieve it in pm suspend/resume, preventing the following crash: [ 321.790582] PM: Syncing filesystems ... done. [ 322.364440] PM: Preparing system for mem sleep [ 322.400047] PM: Entering mem sleep [ 322.462178] BUG: unable to

Re: [PATCH v5 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-15 Thread Borislav Petkov
On Mon, Jun 15, 2015 at 10:04:19PM +0800, Huang Rui wrote: Hmm, the current processor cannot enter C1 with MWAITX, so I don't confirm if it would have higher wakeup latency on C1 in future. I remember you saying MWAITX enters currently something between C1 and C0. How does that behave wrt

Re: [PATCH 05/36] HMM: introduce heterogeneous memory management v3.

2015-06-15 Thread Jerome Glisse
On Thu, Jun 11, 2015 at 03:26:46PM -0700, Mark Hairgrove wrote: On Thu, 11 Jun 2015, Jerome Glisse wrote: On Wed, Jun 10, 2015 at 06:15:08PM -0700, Mark Hairgrove wrote: [...] Ok i see the race you are afraid of and really it is an unlikely one __mutex_unlock_common_slowpath() take a

Re: [PATCH resend] cpumask: don't perform while loop in cpumask_next_and()

2015-06-15 Thread Borislav Petkov
On Mon, Jun 15, 2015 at 11:33:52PM +0900, Sergey Senozhatsky wrote: Oh, wow, 8K cpus... Standard CONFIG_MAXSMP setting. I believe distros set that. At least SLES on x86_64 does and I'd bet RHEL does that too. config NR_CPUS int Maximum number of CPUs if SMP !MAXSMP range 2 8 if

Re: [PATCH 2/2] apei/erst-dbg: Define pr_fmt macro to avoid the duplication of ERST_DBG_PFX

2015-06-15 Thread Joe Perches
On Mon, 2015-06-15 at 09:57 +, Wang Long wrote: Define pr_fmt macro with {ERST DBG: } prefix, then remove all use of ERST_DBG_PFXin the pr_* functions. [] diff --git a/drivers/acpi/apei/erst-dbg.c b/drivers/acpi/apei/erst-dbg.c [] @@ -31,7 +31,8 @@ #include apei-internal.h

Re: Build error -in -next due to 'Bluetooth: hci_uart: Support operational speed during setup'

2015-06-15 Thread Marcel Holtmann
Hi Ilya, alpha:allmodconfig fails to build in -next with drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate': drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared BOTHER is not defined for all architectures and otherwise only used with '#ifdef BOTHER'.

Re: Excessive kernel time inside ttm when scrolling on a r700 in a multimonitor setup

2015-06-15 Thread Andres Freund
Hi, On 2012-09-17 13:15:14 +0200, Andres Freund wrote: On Monday, September 17, 2012 11:59:34 AM Jerome Glisse wrote: On Mon, Sep 17, 2012 at 5:13 AM, Andres Freund and...@anarazel.de wrote: On Monday, September 17, 2012 10:47:10 AM Jerome Glisse wrote: On Sun, Sep 16, 2012 at 7:18 PM,

Re: [PATCH v1] regmap: Fix regmap_bulk_read in BE mode

2015-06-15 Thread Mark Brown
On Mon, Jun 15, 2015 at 03:59:02PM +0530, Arun Chandran wrote: In big endian mode regmap_bulk_read gives incorrect data for byte reads. Applied, thanks. signature.asc Description: Digital signature

[PATCH v2 0/5] serial/8250_fintek Support any configuration

2015-06-15 Thread Ricardo Ribalda Delgado
The original driver only supported the default configuration of the chip. This patchset add supports for all the possible configurations: -Different io address -Multiple chips -Different chip_ids Patchset can be viewed online at https://github.com/ribalda/linux/tree/8250_fintek_try2 v2: Fix

membarrier selftest issue

2015-06-15 Thread Mathieu Desnoyers
Hi, The updated membarrier tree: https://github.com/compudj/linux-dev branch: sys-membarrier-volatile has an issue building selftests (make -C tools/testing/selftests) It appears that including linux/membarrier.h from those userspace tests now fails (as of 4.1-rc8). Of course, my system does

Re: [RFC PATCH 15/18] ring_buffer: Allow to exit the ring buffer benchmark immediately

2015-06-15 Thread Petr Mladek
On Mon 2015-06-15 11:33:43, Steven Rostedt wrote: On Mon, 15 Jun 2015 17:23:13 +0200 Petr Mladek pmla...@suse.cz wrote: Please, find below a version of the patch that can be applied against current Linus tree and also against your for-next branch. Thanks, just on Friday, I was

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-06-15 Thread Stephen Warren
On 06/10/2015 09:04 AM, Ludovic Desroches wrote: When having a controller which allows per pin muxing, declaring with which groups a function can be used is a useless constraint since groups are something virtual. This isn't true. Irrespective of whether a particular piece of pinmux HW can

Re: [rtc-linux] [PATCH] driver: rtc: pcf2127: use OFS flag to detect unreliable date and warn the user

2015-06-15 Thread Andrea Scian
Hi Alexandre, On 12/06/2015 09:42, Alexandre Belloni wrote: On 10/06/2015 at 17:21:57 +0200, Andrea Scian wrote : I would return -EINVAL here because the result might still pass rtc_valid_tm() but be outdated. At first look I agree with you, but a bit later they say: /* the clock can give

Re: [RESEND PATCH 2/2] pinctrl: introduce complex pin description

2015-06-15 Thread Stephen Warren
On 06/10/2015 09:04 AM, Ludovic Desroches wrote: Using a string to describe a pin in the device tree can be not enough. Some controllers may need extra information to fully describe a pin. It concerns mainly controllers which have a per pin muxing approach which don't fit well the notions of

Re: Fw: Problems with bdev_write_page().

2015-06-15 Thread Charles Bertsch
On 06/12/2015 07:48 AM, Matthew Wilcox wrote: ... Can you propose a fix for Charles, who can trigger this bug and nicely bisected it for us - thanks Charles!!! (this patch probably doesn't apply to the current tree; it's done against a bit of a mishmash tree in my current working

[PATCH 2/5] serial/8250_fintek: Support for multiple base_ports

2015-06-15 Thread Ricardo Ribalda Delgado
Fintek chip can be connected at address 0x4e and also 0x2e. Add some logic to find out the address of the chip. Reported-by: Peter Hong peter_h...@fintek.com.tw Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/tty/serial/8250/8250_fintek.c | 87

[PATCH 4/5] serial/8250_fintek: Support keys different than default

2015-06-15 Thread Ricardo Ribalda Delgado
Chip can be configured to use entry key different than 0x77. Try all the valid keys until one gives out the right chip id. Reported-by: Peter Hong peter_h...@fintek.com.tw Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/tty/serial/8250/8250_fintek.c | 39

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-15 Thread Ilya Dryomov
On Mon, Jun 15, 2015 at 4:23 PM, juncheng bai baijunch...@unitedstack.com wrote: On 2015/6/15 21:03, Ilya Dryomov wrote: On Mon, Jun 15, 2015 at 2:18 PM, juncheng bai baijunch...@unitedstack.com wrote: From 6213215bd19926d1063d4e01a248107dab8a899b Mon Sep 17 00:00:00 2001 From: juncheng

Re: [PATCH] RFC: Device overlay manager (PCI/USB + DT)

2015-06-15 Thread Pantelis Antoniou
Hi Paul, On Jun 15, 2015, at 17:43 , Paul Bolle pebo...@tiscali.nl wrote: Some remarks (that might not touch the subjects you want to get feedback on for an RFC). On Fri, 2015-06-12 at 23:04 +0300, Pantelis Antoniou wrote: --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig +config

Re: Regression in 3.10.80 vs. 3.10.79

2015-06-15 Thread Roland Dreier
On Sat, Jun 13, 2015 at 9:56 AM, Roland Dreier rol...@purestorage.com wrote: Below is a more sophisticated, so to speak, version of it with a changelog and all. It works for me, but more testing would be much appreciated. Yes, the patch works as expected: Tested-by: Roland Dreier

Re: [PATCH v2 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-15 Thread Sudeep Holla
On 15/06/15 16:00, Javier Martinez Canillas wrote: Hello Sudeep, On 06/15/2015 11:01 AM, Sudeep Holla wrote: On 15/06/15 08:46, Javier Martinez Canillas wrote: [...] Sudeep, so we may need something like $subject after all from Doug's explanations since the combiner chip state is lost

Re: [RFC,v3 02/10] dpaa_eth: add support for DPAA Ethernet

2015-06-15 Thread Eric Dumazet
On Mon, 2015-06-15 at 13:40 +, Madalin-Cristian Bucur wrote: -Original Message- From: Eric Dumazet [mailto:eric.duma...@gmail.com] On Wed, 2015-04-29 at 17:56 +0300, Madalin Bucur wrote: This introduces the Freescale Data Path Acceleration Architecture (DPAA) Ethernet

[PATCH v2 5/5] serial/8250_fintek: Support for any io address.

2015-06-15 Thread Ricardo Ribalda Delgado
Fintek chip can be configured for io addresses different than the standard. Query the chip for the configured addresses and try to match it with the pnp address. Reported-by: Peter Hong peter_h...@fintek.com.tw Reviewed-by: Alan Cox a...@linux.intel.com Signed-off-by: Ricardo Ribalda Delgado

Re: [PATCH v2] gpio / ACPI: Add label to the gpio request

2015-06-15 Thread Mika Westerberg
On Mon, Jun 15, 2015 at 12:00:57AM +0200, Tobias Diedrich wrote: In leds-gpio.c create_gpio_led only the legacy path propagates the label by passing it into devm_gpio_request_one. Similarily gpio_keys_polled.c also neglects to propagate the name to the gpio subsystem. On the newer

Re: [PATCH 4/8] ARCv2: perf: Support sampling events using overflow interrupts

2015-06-15 Thread Peter Zijlstra
On Tue, Jun 09, 2015 at 05:49:28PM +0530, Vineet Gupta wrote: From: Alexey Brodkin abrod...@synopsys.com -ENOCHANGELOG Cc: Peter Zijlstra pet...@infradead.org Cc: Arnaldo Carvalho de Melo a...@kernel.org Signed-off-by: Alexey Brodkin abrod...@synopsys.com Signed-off-by: Vineet Gupta

Re: [PATCH resend] cpumask: don't perform while loop in cpumask_next_and()

2015-06-15 Thread Sergey Senozhatsky
Hello, On (06/15/15 15:12), Peter Zijlstra wrote: +++ b/lib/cpumask.c @@ -37,10 +37,11 @@ EXPORT_SYMBOL(__next_cpu_nr); int cpumask_next_and(int n, const struct cpumask *src1p, const struct cpumask *src2p) { + struct cpumask tmp; + + if (cpumask_and(tmp,

[PATCH] alpha: Add support for BOTHER

2015-06-15 Thread Guenter Roeck
In -next, alpha:allmodconfig fails to build with drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate': drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared This could be fixed on the user side, but it makes more sense to just define BOTHER. Cc: Marcel Holtmann

Re: [PATCH v5 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-15 Thread Huang Rui
On Mon, Jun 15, 2015 at 04:25:59PM +0200, Borislav Petkov wrote: On Mon, Jun 15, 2015 at 10:04:19PM +0800, Huang Rui wrote: Hmm, the current processor cannot enter C1 with MWAITX, so I don't confirm if it would have higher wakeup latency on C1 in future. I remember you saying MWAITX enters

RE: Build error -in -next due to 'Bluetooth: hci_uart: Support operational speed during setup'

2015-06-15 Thread Ilya Faenson
Hi Guenter, -Original Message- From: linux-bluetooth-ow...@vger.kernel.org [mailto:linux-bluetooth-ow...@vger.kernel.org] On Behalf Of Guenter Roeck Sent: Monday, June 15, 2015 10:25 AM To: Marcel Holtmann Cc: linux-kernel@vger.kernel.org; Frederic Danis; BlueZ development;

[PATCH] serial/uartlite: Let it build on any arch with IOMEM

2015-06-15 Thread Ricardo Ribalda Delgado
Being a soft core, it can be located not only on PPC or Microblaze platforms. Since the driver already does endianness detection we only need to change the Kconfig to use it in other arches. This is also done in other softcores as xilinx-spi. Signed-off-by: Ricardo Ribalda Delgado

[PATCH v2 2/2] dma: Add Xilinx zynqmp dma engine driver support

2015-06-15 Thread Punnaiah Choudary Kalluri
Added the basic driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. The initial release of this driver supports only memory to memory transfers. Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com --- Changes in v2: - Corrected the function header documentation - Framework

[PATCH 2/3] parport: fix memory leak

2015-06-15 Thread Sudip Mukherjee
After the reference count becomes 0 when put_device() is called, it will execute the release callback where we are freeing all the allocated memory associated with the device. We missed freeing par_dev-state. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/parport/share.c | 1 +

[PATCH v2 1/2] Documentation: dt: Add Xilinx zynqmp dma device tree binding documentation

2015-06-15 Thread Punnaiah Choudary Kalluri
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com --- Changes in v2: - None --- .../devicetree/bindings/dma/xilinx/zynqmp_dma.txt | 61 1 files changed, 61

RE: [PATCH 08/12] fsl/fman: Add Frame Manager support

2015-06-15 Thread Liberman Igal
Hi Paul, Thank you very much for your feedback. I'm planning to address the issues you've raised in the next submission. Regards, Igal Liberman. -Original Message- From: Paul Bolle [mailto:pebo...@tiscali.nl] Sent: Thursday, June 11, 2015 12:38 PM To: Bucur Madalin-Cristian-B32716

Re: [PATCH V3 4/4] acpi, apei: use EFI memmap to map GHES memory

2015-06-15 Thread Borislav Petkov
On Mon, Jun 15, 2015 at 03:15:33PM +0100, Matt Fleming wrote: On Sat, 13 Jun, at 10:27:51AM, Borislav Petkov wrote: On Fri, Jun 12, 2015 at 04:44:25PM -0700, Zhang, Jonathan Zhixiong wrote: Since such function is only needed for APEI functionality, at least as of today, I will name it

Re: [PATCH v2 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-15 Thread Javier Martinez Canillas
Hello Sudeep, On 06/15/2015 11:01 AM, Sudeep Holla wrote: On 15/06/15 08:46, Javier Martinez Canillas wrote: [...] Sudeep, so we may need something like $subject after all from Doug's explanations since the combiner chip state is lost during a S2R. I know that it adds more duplicated

Re: [PATCH v15 3/4] soc: rockchip: power-domain: add power domain driver

2015-06-15 Thread Paul Bolle
On Sun, 2015-06-14 at 13:13 +0800, Caesar Wang wrote: --- /dev/null +++ b/drivers/soc/rockchip/Kconfig +config PM_GENERIC_DOMAINS +tristate Rockchip generic power domain Since my remarks on v13 you removed the module specific code from pm_domains.c. But now this became a tristate

[PATCH v2] Staging: rtl8192e: Timer setup using macro rather assignment

2015-06-15 Thread DHANAPAL, GNANACHANDRAN (G.)
This patch shall replaces user defined timer setup function with standard timer setup macro. Also removes init_timer, because timer can be initialized in setup_timer macro as well. Signed-off-by: Gnanachandran Dhanapal gdhan...@visteon.com --- Addressed review comments from v1 1.

[PATCH] TCO watchdog pretimeout handler

2015-06-15 Thread Francois-Nicolas Muller
Use TCO watchdog first timeout (pretimeout) to dump CPU backtraces and ease debug of watchdog expiration causes. TCO logic generates a SCI interrupt, then its handler dumps all CPU backtraces and calls panic (in order to execute registered panic callbacks). SCI interrupt number (GPE) is configured

[PATCH v2 1/5] serial/8250_fintek: Use private data structure

2015-06-15 Thread Ricardo Ribalda Delgado
Save the port index and the line id in a private structure. Reported-by: Peter Hong peter_h...@fintek.com.tw Reviewed-by: Alan Cox a...@linux.intel.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/tty/serial/8250/8250_fintek.c | 48

Re: [PATCH v3 1/2] kconfig: allow use of relations other than (in)equality

2015-06-15 Thread Randy Dunlap
Hi, Please update Documentation/kbuild/kconfig-language.txt where expr syntax is defined. -- ~Randy -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 5/5] serial/8250_fintek: Support for any io address.

2015-06-15 Thread Alan Cox
On Mon, 2015-06-15 at 16:18 +0200, Ricardo Ribalda Delgado wrote: Fintek chip can be configured for io addresses different than the standard. Query the chip for the configured addresses and try to match it with the pnp address. Looks ok to me. I am a little concerned about false positives

Re: Build error -in -next due to 'Bluetooth: hci_uart: Support operational speed during setup'

2015-06-15 Thread Guenter Roeck
On 06/15/2015 06:58 AM, Marcel Holtmann wrote: Hi Guenter, alpha:allmodconfig fails to build in -next with drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_set_baudrate': drivers/bluetooth/hci_ldisc.c:276:22: error: 'BOTHER' undeclared BOTHER is not defined for all architectures and

[PATCH 1/3] parport: fix error handling

2015-06-15 Thread Sudip Mukherjee
After registering the device if exclusive access fails for any reason then we need to unregister the device to remove all references. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/parport/share.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2 2/2] dma: Add Xilinx zynqmp dma engine driver support

2015-06-15 Thread Shubhrajyoti Datta
On Mon, Jun 15, 2015 at 8:06 PM, Punnaiah Choudary Kalluri punnaiah.choudary.kall...@xilinx.com wrote: Added the basic driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. The initial release of this driver supports only memory to memory transfers. Signed-off-by: Punnaiah Choudary

Re: [PATCH 5/5] serial/8250_fintek: Support for any io address.

2015-06-15 Thread Ricardo Ribalda Delgado
Hello Alan On Mon, Jun 15, 2015 at 4:25 PM, Alan Cox a...@linux.intel.com wrote: Please however fix the dynamic on stack arrays you've got. Doing blah foo[] = { 1,2,3,4 }; might well be valid gcc but it generates horrible code when in fact your arrays should be static/const, not

Re: [PATCH 4/5] clk: qcom: Add A53 clock driver

2015-06-15 Thread Georgi Djakov
On 06/15/2015 04:58 PM, Paul Bolle wrote: On Fri, 2015-06-12 at 11:41 +0300, Georgi Djakov wrote: --- /dev/null +++ b/drivers/clk/qcom/clk-a53.c +static int __init qcom_a53_init(void) +{ +return platform_driver_register(qcom_a53_driver); +} +arch_initcall(qcom_a53_init); There's

Re: [RFC 2/3] mm: make optimistic check for swapin readahead

2015-06-15 Thread Leon Romanovsky
On Mon, Jun 15, 2015 at 5:05 PM, Rik van Riel r...@redhat.com wrote: On 06/14/2015 11:04 AM, Ebru Akagunduz wrote: This patch makes optimistic check for swapin readahead to increase thp collapse rate. Before getting swapped out pages to memory, checks them and allows up to a certain

Re: [PATCH v5 2/2] x86, mwaitt: introduce mwaix delay with a configurable timer

2015-06-15 Thread Huang Rui
On Mon, Jun 15, 2015 at 12:57:18PM +0200, Peter Zijlstra wrote: On Mon, Jun 15, 2015 at 06:48:04PM +0800, Huang Rui wrote: diff --git a/arch/x86/include/asm/mwait.h b/arch/x86/include/asm/mwait.h index 1fbc89d..47f3540 100644 --- a/arch/x86/include/asm/mwait.h +++

Re: [PATCH V3 4/4] acpi, apei: use EFI memmap to map GHES memory

2015-06-15 Thread Matt Fleming
On Sat, 13 Jun, at 10:27:51AM, Borislav Petkov wrote: On Fri, Jun 12, 2015 at 04:44:25PM -0700, Zhang, Jonathan Zhixiong wrote: Since such function is only needed for APEI functionality, at least as of today, I will name it arch_apei_get_mem_attribute(). Why? It can be extended to be

[PATCH] jbd2: get rid of open coded allocation retry loop

2015-06-15 Thread Michal Hocko
insert_revoke_hash does an open coded endless allocation loop if journal_oom_retry is true. It doesn't implement any allocation fallback strategy between the retries, though. The memory allocator doesn't know about the never fail requirement so it cannot potentially help to move on with the

[PATCH 3/3] parport: fix freeing freed memory

2015-06-15 Thread Sudip Mukherjee
After the reference count becomes 0 when put_device() is called, it will execute the release callback where we are freeing all the allocated memory associated with the device. So if we just continue on the error path then we are again freeing devname and trying to dereference par_dev which has

Re: [PATCH v5 1/6] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-06-15 Thread Bill Pringlemeir
On 9 Jun 2015, sebast...@breakpoint.cc wrote: On 2015-06-06 11:53:31 [+0200], Stefan Agner wrote: +static const struct of_device_id vf610_nfc_dt_ids[] = { +{ .compatible = fsl,vf610-nfc }, +{ .compatible = fsl,mpc5125-nfc }, I advise against a fsl,mpc5125-nfc binding. First of all

Re: [PATCH] RFC: Device overlay manager (PCI/USB + DT)

2015-06-15 Thread Paul Bolle
Some remarks (that might not touch the subjects you want to get feedback on for an RFC). On Fri, 2015-06-12 at 23:04 +0300, Pantelis Antoniou wrote: --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig +config DEV_OVERLAYMGR + tristate Device overlay manager + depends on OF +

Re: [RESEND PATCH V2 0/3] Allow user to request memory to be locked on page fault

2015-06-15 Thread Eric B Munson
On Fri, 12 Jun 2015, Vlastimil Babka wrote: On 06/11/2015 09:34 PM, Andrew Morton wrote: On Thu, 11 Jun 2015 15:21:30 -0400 Eric B Munson emun...@akamai.com wrote: Ditto mlockall(MCL_ONFAULT) followed by munlock(). I'm not sure that even makes sense but the behaviour should be understood

[PATCH linux-next 0/1] dmaengine: at_hdmac: fix residue computation

2015-06-15 Thread Cyrille Pitchen
ChangeLog v1: This patch fixes a bug reported by Jiri Prchal for the USART behaviour on some Atmel SoCs when DMA is used to receive data. More generally, it fixes the DMA residue computation. Cyrille Pitchen (1): dmaengine: at_hdmac: fix residue computation drivers/dma/at_hdmac.c | 47

Re: [RFC PATCH 15/18] ring_buffer: Allow to exit the ring buffer benchmark immediately

2015-06-15 Thread Petr Mladek
On Mon 2015-06-08 13:44:17, Steven Rostedt wrote: On Fri, 5 Jun 2015 17:01:14 +0200 Petr Mladek pmla...@suse.cz wrote: It takes a while until the ring_buffer_benchmark module is removed when the ring buffer hammer is running. It is because it takes few seconds and

Re: [PATCH v2 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-15 Thread Javier Martinez Canillas
Hello Sudeep, On 06/15/2015 05:08 PM, Sudeep Holla wrote: On 15/06/15 16:00, Javier Martinez Canillas wrote: On 06/15/2015 11:01 AM, Sudeep Holla wrote: On 15/06/15 08:46, Javier Martinez Canillas wrote: [...] Agreed. But I would suggest also to add MASK_ON_SUSPEND and set_irq_wake also

Re: [PATCH 1/8] ARC: perf: support RAW events

2015-06-15 Thread Peter Zijlstra
On Tue, Jun 09, 2015 at 05:49:25PM +0530, Vineet Gupta wrote: +/* + * Raw events are specified in hex value of ASCII chars: + * + * In PCT register CC_NAME{0,1} event name string[] is saved from LSB side: + * e.g. cycles corresponds to ARC crun and is saved as 0x6e757263 + *

Re: [RFC PATCH 15/18] ring_buffer: Allow to exit the ring buffer benchmark immediately

2015-06-15 Thread Steven Rostedt
On Mon, 15 Jun 2015 17:23:13 +0200 Petr Mladek pmla...@suse.cz wrote: Please, find below a version of the patch that can be applied against current Linus tree and also against your for-next branch. Thanks, just on Friday, I was testing ring buffer changes with the ringbuffer benchmark, and

Re: [PATCH v3 2/3] spi: atmel: update DT bindings documentation

2015-06-15 Thread Mark Brown
On Thu, Jun 11, 2015 at 06:37:51PM +0200, Cyrille Pitchen wrote: Le 09/06/2015 19:25, Mark Brown a écrit : On Tue, Jun 09, 2015 at 01:53:53PM +0200, Cyrille Pitchen wrote: - add new property atmel,fifo-size Why is this a property and not something we know from the IP version? Please be

[PATCH 0/5] serial/8250_fintek Support any configuration.

2015-06-15 Thread Ricardo Ribalda Delgado
The original driver only supported the default configuration of the chip. This patchset add supports for all the possible configurations: -Different io address -Multiple chips -Different chip_ids Reported-by: Peter Hong peter_h...@fintek.com.tw Ricardo Ribalda Delgado (5): serial/8250_fintek:

[PATCH 5/5] serial/8250_fintek: Support for any io address.

2015-06-15 Thread Ricardo Ribalda Delgado
Fintek chip can be configured for io addresses different than the standard. Query the chip for the configured addresses and try to match it with the pnp address. Reported-by: Peter Hong peter_h...@fintek.com.tw Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com ---

[PATCH 3/5] serial/8250_fintek: Support for chip_ip 0x0501

2015-06-15 Thread Ricardo Ribalda Delgado
There are some chips with the same interface but different chip ip. Reported-by: Peter Hong peter_h...@fintek.com.tw Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/tty/serial/8250/8250_fintek.c | 21 +++-- 1 file changed, 11 insertions(+), 10

[PATCH 1/5] serial/8250_fintek: Use private data structure

2015-06-15 Thread Ricardo Ribalda Delgado
Save the port index and the line id in a private structure. Reported-by: Peter Hong peter_h...@fintek.com.tw Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/tty/serial/8250/8250_fintek.c | 48 ++- 1 file changed, 31 insertions(+), 17

Re: [PATCH resend] cpumask: don't perform while loop in cpumask_next_and()

2015-06-15 Thread Sergey Senozhatsky
On (06/15/15 15:40), Borislav Petkov wrote: [..] That's some fat stack with 8K CPUs: cpumask_next_and: pushq %rbp# movq%rsp, %rbp #, pushq %rbx# movl%edi, %ebx # n, n leaq-1040(%rbp), %rdi #, tmp106

[PATCH v2 0/3] ASoC: Mediatek: Add support for MT8173 SOC

2015-06-15 Thread Koro Chen
This adds basic support for the Mediatek AFE (Audio Front End) unit of MT8173. This patch is based on Linux 4.1-rc1 and Sascha's SCPSYS power patch [1]. The AFE unit comprises several memory interfaces that communicate with CPU, a multi input multi output digital audio interconnect, and several

[PATCH v2 1/3] ASoC: mediatek: Add AFE platform driver

2015-06-15 Thread Koro Chen
This is the DPCM based platform driver of AFE (Audio Front End) unit. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Signed-off-by: Koro Chen koro.c...@mediatek.com --- .../devicetree/bindings/sound/mtk-afe-pcm.txt | 45 + sound/soc/Kconfig |1 +

Re: + cpumask-dont-perform-while-loop-in-cpumask_next_and.patch added to -mm tree

2015-06-15 Thread Sergey Senozhatsky
On (03/02/15 15:58), a...@linux-foundation.org wrote: -- From: Sergey Senozhatsky sergey.senozhat...@gmail.com Subject: cpumask: don't perform while loop in cpumask_next_and() cpumask_next_and() is looking for cpumask_next() in src1 in a

[PATCH v2 2/3] ASoC: mediatek: Add machine driver for MAX98090 codec

2015-06-15 Thread Koro Chen
This is the DPCM based machine driver with MAX98090 Signed-off-by: Koro Chen koro.c...@mediatek.com --- .../devicetree/bindings/sound/mt8173-max98090.txt | 13 ++ sound/soc/mediatek/Kconfig | 10 + sound/soc/mediatek/Makefile| 2 +

Re: [RESEND PATCH V2 0/3] Allow user to request memory to be locked on page fault

2015-06-15 Thread Eric B Munson
On Thu, 11 Jun 2015, Andrew Morton wrote: On Thu, 11 Jun 2015 15:21:30 -0400 Eric B Munson emun...@akamai.com wrote: Ditto mlockall(MCL_ONFAULT) followed by munlock(). I'm not sure that even makes sense but the behaviour should be understood and tested. I have extended the

[PATCH v2 3/3] ASoC: mediatek: Add machine driver for rt5650 rt5676 codec

2015-06-15 Thread Koro Chen
This is the DPCM based machine driver with rt5650 and rt5676 Signed-off-by: Nicolas Boichat drink...@chromium.org Signed-off-by: Koro Chen koro.c...@mediatek.com --- .../bindings/sound/mt8173-rt5650-rt5676.txt| 13 + sound/soc/mediatek/Kconfig | 11 +

Re: [PATCH] perf probe: Fix failure to probe events on arm

2015-06-15 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 15, 2015 at 08:06:53AM +, He Kuang escreveu: Fix failure to probe events on arm, problem is introduced by commit 5a51fcd1f30c (perf probe: Skip kernel symbols which is out of .text). For some architectures, label '_etext' is not in the .text section(in .notes section for

Re: [BUG ?] regmap: debugfs: WARN_ON at regmap-debugfs.c:151

2015-06-15 Thread Mark Brown
On Mon, Jun 15, 2015 at 02:42:30PM +0200, Sergej Sawazki wrote: Am 15. Juni 2015 11:49:22 MESZ, schrieb Mark Brown broo...@kernel.org: We need to change that code to special case write only register maps like this and just skip having a cache for those devices. They normally have very small

Re: [PATCH v4] pagemap: switch to the new format and do some cleanup

2015-06-15 Thread Mark Williamson
Thanks! No outstanding issues with the patchset, from our side. Reviewed-by: mwilliam...@undo-software.com On Mon, Jun 15, 2015 at 6:56 AM, Konstantin Khlebnikov koc...@gmail.com wrote: From: Konstantin Khlebnikov khlebni...@yandex-team.ru This patch removes page-shift bits (scheduled to

[PATCH v2 2/5] serial/8250_fintek: Support for multiple base_ports

2015-06-15 Thread Ricardo Ribalda Delgado
Fintek chip can be connected at address 0x4e and also 0x2e. Add some logic to find out the address of the chip. Reported-by: Peter Hong peter_h...@fintek.com.tw Reviewed-by: Alan Cox a...@linux.intel.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v2: Comment by: Alan Cox

[PATCH v2 4/5] serial/8250_fintek: Support keys different than default

2015-06-15 Thread Ricardo Ribalda Delgado
Chip can be configured to use entry key different than 0x77. Try all the valid keys until one gives out the right chip id. Reported-by: Peter Hong peter_h...@fintek.com.tw Reviewed-by: Alan Cox a...@linux.intel.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- v2: Comment

[PATCH v2 3/5] serial/8250_fintek: Support for chip_ip 0x0501

2015-06-15 Thread Ricardo Ribalda Delgado
There are some chips with the same interface but different chip ip. Reported-by: Peter Hong peter_h...@fintek.com.tw Reviewed-by: Alan Cox a...@linux.intel.com Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/tty/serial/8250/8250_fintek.c | 21 +++-- 1

Re: [PATCH 3/8] ARCv2: perf: implement event_set_period for future use with interrupts

2015-06-15 Thread Peter Zijlstra
On Tue, Jun 09, 2015 at 05:49:27PM +0530, Vineet Gupta wrote: @@ -99,8 +99,7 @@ static void arc_perf_event_update(struct perf_event *event, } while (local64_cmpxchg(hwc-prev_count, prev_raw_count, new_raw_count) != prev_raw_count); - delta =

Re: linux-next: Tree for Jun 15 (sound/soc/codecs/wm_adsp.c)

2015-06-15 Thread Randy Dunlap
On 06/15/15 02:05, Michael Ellerman wrote: Hi all, Changes since 20150612: on x86_64: WARNING: arizona_rate_text [sound/soc/codecs/snd-soc-wm-adsp.ko] undefined! WARNING: arizona_rate_val [sound/soc/codecs/snd-soc-wm-adsp.ko] undefined! Full randconfig is attached. -- ~Randy # #

Re: [PATCH v2 1/2] ARM: Add cpu_resume_arm() for firmwares that resume in ARM state

2015-06-15 Thread Uwe Kleine-König
Hello, On Tue, Jun 02, 2015 at 12:12:57PM -0700, Stephen Boyd wrote: Some platforms always enter the kernel in the ARM state even if the kernel is compiled for THUMB2. Add a small wrapper on top of cpu_resume() that switches into THUMB2 state. This fixes a problem reported by Kevin Hilman

Re: [RFC 2/3] mm: make optimistic check for swapin readahead

2015-06-15 Thread Rik van Riel
On 06/15/2015 02:08 AM, Leon Romanovsky wrote: On Mon, Jun 15, 2015 at 8:43 AM, Rik van Riel r...@redhat.com wrote: On 06/15/2015 01:40 AM, Leon Romanovsky wrote: On Sun, Jun 14, 2015 at 6:04 PM, Ebru Akagunduz ebru.akagun...@gmail.com wrote: This patch makes optimistic check for swapin

Re: [RFC v4 PATCH 6/9] mm/hugetlb: alloc_huge_page handle areas hole punched by fallocate

2015-06-15 Thread Naoya Horiguchi
On Thu, Jun 11, 2015 at 02:01:37PM -0700, Mike Kravetz wrote: Areas hole punched by fallocate will not have entries in the region/reserve map. However, shared mappings with min_size subpool reservations may still have reserved pages. alloc_huge_page needs to handle this special case and do

Re: doubt about sm7xxfb (was: Re: [PATCH v4 0/7] staging: fsl-mc: New functionality to the MC bus driver)

2015-06-15 Thread Joe Perches
On Mon, 2015-06-15 at 10:47 +0530, Sudip Mukherjee wrote: On Sat, Jun 13, 2015 at 09:57:05AM -0700, Joe Perches wrote: It's unfortunate there are so many #ifdef __BIG_ENDIAN uses. instead of #ifdef __BIG_ENDIAN can i then use a bool flag to check by if-else? I think that'd be worse. Moving

Re: [PATCH 06/16] staging: rtl8192e: Remove rtllib_wake_queue()

2015-06-15 Thread Sudip Mukherjee
On Mon, Jun 15, 2015 at 12:58:50AM +0200, Mateusz Kulikowski wrote: This function was declared but never unused. After this patch we are getting two build warnings: warning: ‘dequeue_mgmt’ defined but not used warning: ‘rtllib_resume_tx’ defined but not used regards sudip -- To unsubscribe from

Re: [RFC,v2,01/24] macintosh/nvram: Remove as unused

2015-06-15 Thread Michael Ellerman
On Sun, 2015-14-06 at 07:46:08 UTC, Finn Thain wrote: Signed-off-by: Finn Thain fth...@telegraphics.com.au Acked-by: Geert Uytterhoeven ge...@linux-m68k.org --- drivers/macintosh/nvram.c | 130 -- 1 file changed, 130 deletions(-) This seems

Re: [PATCH 06/16] staging: rtl8192e: Remove rtllib_wake_queue()

2015-06-15 Thread Mateusz Kulikowski
On June 15, 2015 8:38:01 AM GMT+02:00, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Mon, Jun 15, 2015 at 12:58:50AM +0200, Mateusz Kulikowski wrote: This function was declared but never unused. After this patch we are getting two build warnings: warning: ‘dequeue_mgmt’ defined but not

RE: [v4 08/16] KVM: kvm-vfio: User API for IRQ forwarding

2015-06-15 Thread Wu, Feng
-Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Saturday, June 13, 2015 3:04 AM To: Avi Kivity Cc: Wu, Feng; k...@vger.kernel.org; linux-kernel@vger.kernel.org; pbonz...@redhat.com; mtosa...@redhat.com; eric.au...@linaro.org Subject: Re: [v4

Re: [lkp] [drm/i915] 7f072451f2d: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun

2015-06-15 Thread Huang Ying
On Mon, 2015-06-15 at 11:01 +0200, Maarten Lankhorst wrote: Hey, Op 15-06-15 om 08:58 schreef Huang Ying: FYI, we noticed the below changes on git://anongit.freedesktop.org/drm-intel drm-intel-next-queued commit 7f072451f2d3d53e4f6939440e15ab36afed2051 (drm/i915: Implement

Re: [PATCH v15 3/4] soc: rockchip: power-domain: add power domain driver

2015-06-15 Thread Caesar Wang
在 2015年06月15日 23:00, Paul Bolle 写道: On Sun, 2015-06-14 at 13:13 +0800, Caesar Wang wrote: --- /dev/null +++ b/drivers/soc/rockchip/Kconfig +config PM_GENERIC_DOMAINS +tristate Rockchip generic power domain Since my remarks on v13 you removed the module specific code from

Re: [PATCH RFC v5 2/4] crypto: add PKE API

2015-06-15 Thread Tadeusz Struk
On 06/15/2015 05:05 PM, Herbert Xu wrote: + * @setkey: Function invokes the algorithm specific set key function, which + *knows how to decode and interpret the BER encoded key We should split this into two functions: setpubkey and setprivkey. The two functions will

[PATCH v3 2/2] dma: Add Xilinx zynqmp dma engine driver support

2015-06-15 Thread Punnaiah Choudary Kalluri
Added the basic driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. The initial release of this driver supports only memory to memory transfers. Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com --- Changes in v3: - Modified the zynqmp_dma_chan_is_idle function return type to

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