RE: [PATCH 1/1 linux-next] ACPICA: use swap() in acpi_ns_sort_list()

2015-06-10 Thread Moore, Robert
I don't think this is portable across operating systems. Which is a requirement for ACPICA. > -Original Message- > From: Fabian Frederick [mailto:f...@skynet.be] > Sent: Wednesday, June 10, 2015 9:33 AM > To: linux-kernel@vger.kernel.org > Cc: Julia Lawall; Fabian Frederick; Moore,

Re: [PATCH v2 3/5] dmaengine: mv_xor: add support for a38x command in descriptor mode

2015-06-10 Thread Vinod Koul
On Mon, Jun 08, 2015 at 10:53:51PM +0200, Maxime Ripard wrote: > Hi Vinod, > > On Mon, Jun 08, 2015 at 04:04:47PM +0530, Vinod Koul wrote: > > On Tue, May 26, 2015 at 03:07:34PM +0200, Maxime Ripard wrote: > > > From: Lior Amsalem > > > > > > The Marvell Armada 38x SoC introduce new features to

Re: [PATCH v2 0/3] Add NUMA support for NVDIMM devices

2015-06-10 Thread Jeff Moyer
Dan Williams writes: > On Wed, Jun 10, 2015 at 8:54 AM, Jeff Moyer wrote: >> Toshi Kani writes: >> >>> Since NVDIMMs are installed on memory slots, they expose the NUMA >>> topology of a platform. This patchset adds support of sysfs >>> 'numa_node' to I/O-related NVDIMM devices under

Re: [PATCH] overlayfs: Warn on copy up if a process has a R/O fd open to the lower file

2015-06-10 Thread David Howells
Colin Walters wrote: > On Thu, May 28, 2015, at 02:46 PM, David Howells wrote: > > Print a warning when overlayfs copies up a file if the process that > > triggered the copy up has a R/O fd open to the lower file being copied up. > > Why not an option to make it an error? If one's goal is to

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 10 Jun 2015 18:27:23 +0200 Takashi Iwai wrote: > At Wed, 10 Jun 2015 19:22:02 +0300, Mihai Donțu wrote: > > On Wed, 10 Jun 2015 14:50:30 +0200 Takashi Iwai wrote: > > > At Wed, 10 Jun 2015 14:33:42 +0200, Takashi Iwai wrote: > > > > At Wed, 10 Jun 2015 14:45:51 +0300, Mihai Donțu wrote: >

[PATCH 1/1 linux-next] misc: mic: use swap() in scif_node_connect()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/misc/mic/scif/scif_nodeqp.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/misc/mic/scif/scif_nodeqp.c

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Linus Torvalds
On Wed, Jun 10, 2015 at 9:17 AM, Linus Torvalds wrote: > > So anyway, I like the patch series. I just think that the final patch > - the one that actually saves the addreses, and limits things to > BATCH_TLBFLUSH_SIZE, should be limited. Oh, and another thing: Mel, can you please make that

[PATCH 1/1 linux-next] HID: use swap() in cp_report_fixup()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/hid/hid-cypress.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/hid/hid-cypress.c b/drivers/hid/hid-cypress.c index

[PATCH 1/1 linux-next] staging: rtl8723au: use swap() in WMMOnAssocRsp23a()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git

[PATCH 1/1 linux-next] net: fs_enet: use swap() in fs_enet_rx_napi()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

[PATCH 1/1 linux-next] net/mlx4_core: use swap() in mlx4_make_profile()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/ethernet/mellanox/mlx4/profile.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/profile.c

[PATCH 1/1 linux-next] ACPICA: use swap() in acpi_ns_sort_list()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/acpi/acpica/nsrepair2.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/acpi/acpica/nsrepair2.c

Re: [PATCH v2 0/3] Add NUMA support for NVDIMM devices

2015-06-10 Thread Dan Williams
On Wed, Jun 10, 2015 at 9:20 AM, Elliott, Robert (Server Storage) wrote: >> -Original Message- >> From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of >> Dan Williams >> Sent: Wednesday, June 10, 2015 9:58 AM >> To: Jeff Moyer >> Cc: linux-nvdimm; Rafael J. Wysocki;

[PATCH 1/1 linux-next] staging: lustre: lnet: o2iblnd: use swap() in kiblnd_dev_failover()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH v7 07/10] tracing: Add 'hist' event trigger command

2015-06-10 Thread Tom Zanussi
On Wed, 2015-06-10 at 23:14 +0900, Masami Hiramatsu wrote: > On 2015/06/09 6:32, Tom Zanussi wrote: > > 'hist' triggers allow users to continually aggregate trace events, > > which can then be viewed afterwards by simply reading a 'hist' file > > containing the aggregation in a human-readable

[PATCH 1/1 linux-next] hwmon: (w83627ehf) use swap() in w82627ehf_swap_tempreg()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/hwmon/w83627ehf.c | 26 +- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/drivers/hwmon/w83627ehf.c

[PATCH 1/1 linux-next] net/ibm/emac: use swap() in emac_make_bootlist()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/ethernet/ibm/emac/core.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/ethernet/ibm/emac/core.c

Re: Generic kernel features that need architecture(mips) support

2015-06-10 Thread Xose Vazquez Perez
On 06/10/2015 04:58 PM, Ralf Baechle wrote: > How are the documentation files in Documentation/features/ maintained? > They were automatically generated so I wonder if I have to take care > of anything. CC: Ingo and related ml. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 1/1 linux-next] saa7146: use swap() in sort_and_eliminate()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/media/common/saa7146/saa7146_hlp.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/media/common/saa7146/saa7146_hlp.c

[PATCH 1/1 linux-next] saa6588: use swap() in saa6588_i2c_poll()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/media/i2c/saa6588.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/i2c/saa6588.c b/drivers/media/i2c/saa6588.c index

[PATCH 1/1 linux-next] ttusb-dec: use swap() in swap_bytes()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/media/usb/ttusb-dec/ttusb_dec.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/media/usb/ttusb-dec/ttusb_dec.c

[PATCH 1/1 linux-next] vxge: use swap() in vxge_hw_channel_dtr_alloc()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/ethernet/neterion/vxge/vxge-traffic.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

[PATCH 1/1 linux-next] staging: speakup: use swap() in get_highlight_color()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/staging/speakup/main.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/staging/speakup/main.c

[PATCH 1/1 linux-next] wl128x: use swap() in fm_rdsparse_swapbytes()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/media/radio/wl128x/fmdrv_common.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/radio/wl128x/fmdrv_common.c

[PATCH 1/1 linux-next] v4l2-dv-timings: use swap() in v4l2_calc_aspect_ratio()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/media/v4l2-core/v4l2-dv-timings.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-dv-timings.c

Re: [PATCH v4] seccomp: add ptrace options for suspend/resume

2015-06-10 Thread Oleg Nesterov
On 06/09, Andy Lutomirski wrote: > > On Tue, Jun 9, 2015 at 5:49 PM, Tycho Andersen > > > > @@ -556,6 +556,15 @@ static int ptrace_setoptions(struct task_struct > > *child, unsigned long data) > > if (data & ~(unsigned long)PTRACE_O_MASK) > > return -EINVAL; > > > > +

[PATCH 1/1 linux-next] net/mlx4: use swap() in mlx4_init_qp_table()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/ethernet/mellanox/mlx4/qp.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/qp.c

[PATCH 1/1 linux-next] ath5k: use swap() in ath5k_hw_get_median_noise_floor()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/wireless/ath/ath5k/phy.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/phy.c

[PATCH 1/1 linux-next] Staging: rtl8188eu: use swap() in WMMOnAssocRsp()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/staging/rtl8188eu/core/rtw_wlan_util.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git

[PATCH 1/1 linux-next] [media] btcx-risc: use swap() in btcx_sort_clips()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/media/pci/bt8xx/btcx-risc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/pci/bt8xx/btcx-risc.c

[PATCH 1/1 linux-next] staging: rtl8712: use swap() in dequeue_xframe_ex()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/staging/rtl8712/rtl8712_xmit.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8712/rtl8712_xmit.c

[PATCH 1/1 linux-next] drm: atmel-hlcdc: use swap() in atmel_hlcdc_plane_atomic_check()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH 1/1 linux-next] Input: cyttsp4 - use swap() in cyttsp4_get_touch()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/input/touchscreen/cyttsp4_core.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/cyttsp4_core.c

Re: [PATCH 1/2] scatterlist: use sg_phys()

2015-06-10 Thread Russell King - ARM Linux
On Wed, Jun 10, 2015 at 09:00:31AM -0700, Dan Williams wrote: > On Wed, Jun 10, 2015 at 2:32 AM, Joerg Roedel wrote: > > On Tue, Jun 09, 2015 at 12:27:10PM -0400, Dan Williams wrote: > >> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c > >> index 7e7583ddd607..9f6ff6671f01

[PATCH 1/1 linux-next] IB/mthca: use swap() in mthca_make_profile()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/infiniband/hw/mthca/mthca_profile.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_profile.c

[PATCH 1/1 linux-next] mtd/ftl: use swap() in copy_erase_unit()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/mtd/ftl.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index dabf084..9fb3b0d 100644 ---

[PATCH 1/1 linux-next] mtd: cfi_cmdset_0002: use swap() in cfi_cmdset_0002()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/mtd/chips/cfi_cmdset_0002.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c

[PATCH 1/1 linux-next] mmc: queue: use swap() in mmc_queue_thread()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/mmc/card/queue.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/mmc/card/queue.c b/drivers/mmc/card/queue.c index

Re: [PATCH 3/3] EDAC, mce_amd_inj: Set MISCV on injection

2015-06-10 Thread Aravind Gopalakrishnan
On 6/10/2015 10:33 AM, Borislav Petkov wrote: From: Borislav Petkov When during injection we populate MCi_MISC by writing into misc, we need to set the MiscV bit in the corresponding MCi_STATUS register which denotes that there's valid info in the MCi_MISC register. Signed-off-by: Borislav

Re: [PATCH 10/11] irqchip / GICv2 / ACPI: Consolidate GICv2 ACPI related init code

2015-06-10 Thread Marc Zyngier
On 21/05/15 15:27, Hanjun Guo wrote: > On 2015年05月21日 04:44, Tomasz Nowicki wrote: >> Hi Hanjun, >> >> On 05/18/2015 02:59 PM, Hanjun Guo wrote: >>> Move GICv2 ACPI related init code in irq-gic.c to irq-gic-acpi.c, >>> this can make the ACPI related GIC init code slef-contained. >>> >>> Introduce

Re: RFC: futex_wait() can DoS the tick

2015-06-10 Thread Mike Galbraith
On Wed, 2015-06-10 at 17:12 +0200, Thomas Gleixner wrote: > On Wed, 10 Jun 2015, Mike Galbraith wrote: > > The above was handed to me by a colleague working on a Xen guest that > > livelocked. I at first though Xen arch must have a weird problem, but > > when I tried proggy on my desktop box,

Re: [RFC PATCH v2] arm DMA: Fix allocation from CMA for coherent DMA

2015-06-10 Thread Catalin Marinas
On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: > This patch allows the use of CMA for DMA coherent memory allocation. > At the moment if the input parameter "is_coherent" is set to true > the allocation is not made using the CMA, which I think is not the > desired behaviour. > >

Re: [PATCH v2 2/2] locking/qrwlock: Don't contend with readers when setting _QW_WAITING

2015-06-10 Thread Waiman Long
On 06/10/2015 03:35 AM, Ingo Molnar wrote: * Waiman Long wrote: The current cmpxchg() loop in setting the _QW_WAITING flag for writers in queue_write_lock_slowpath() will contend with incoming readers causing possibly extra cmpxchg() operations that are wasteful. This patch changes the code

Re: [PATCH 05/11] irqchip / gic: Add stacked irqdomain support for ACPI based GICv2 init

2015-06-10 Thread Marc Zyngier
On 18/05/15 13:59, Hanjun Guo wrote: > Introduce acpi_irq_domain for GICv2 core domain instead of referring > to the irq_default_domain, based on that, pass gsi as the argument and > get the gsi in gic_irq_domain_alloc() to add stacked irqdomain support > for ACPI based GICv2 init. > >

Re: Discussion: quick_pit_calibrate is slow

2015-06-10 Thread George Spelvin
Arjan van de Ven wrote: > btw one thing to think about; if you calibrate VERY quickly, you need > to consider spread spectrum clocking. Excellent point! But spread spectrum clock modulation rates are typically about 30 kHz, so 1 ms will average over 30 cycles, which should be enough. The

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 19:22:02 +0300, Mihai Donțu wrote: > > On Wed, 10 Jun 2015 14:50:30 +0200 Takashi Iwai wrote: > > At Wed, 10 Jun 2015 14:33:42 +0200, Takashi Iwai wrote: > > > At Wed, 10 Jun 2015 14:45:51 +0300, Mihai Donțu wrote: > > > > On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote:

Re: [PATCH v5 4/8] Watchdog: introdouce "pretimeout" into framework

2015-06-10 Thread Guenter Roeck
On 06/10/2015 06:41 AM, fu@linaro.org wrote: From: Fu Wei Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API "watchdog_init_timeouts" Reasons: (1)kernel already has two watchdog

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 10 Jun 2015 14:50:30 +0200 Takashi Iwai wrote: > At Wed, 10 Jun 2015 14:33:42 +0200, Takashi Iwai wrote: > > At Wed, 10 Jun 2015 14:45:51 +0300, Mihai Donțu wrote: > > > On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: > > > > At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: >

Re: clustered MD

2015-06-10 Thread Goldwyn Rodrigues
To start with, the goal of (basic) MD RAID1 is to keep the two mirrored device consistent _all_ of the time. In case of a device failure, it should degrade the array pointing to the failed device, so it can be (hot)removed/replaced. Now, take the same concepts to multiple nodes using the same

[V6 PATCH 7/7] ufs: fix TRUE and FALSE re-define build error

2015-06-10 Thread Suravee Suthikulpanit
Signed-off-by: Suravee Suthikulpanit Cc: Vinayak Holikatti --- drivers/scsi/ufs/unipro.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h index 3fc3e21..816a8a4 100644 --- a/drivers/scsi/ufs/unipro.h +++

Re: [PATCH v4 2/9] x86: support kmap_atomic_pfn_t() for persistent memory

2015-06-10 Thread Dan Williams
On Wed, Jun 10, 2015 at 9:11 AM, Christoph Hellwig wrote: > On Wed, Jun 10, 2015 at 08:36:48AM -0700, Dan Williams wrote: >> On surprise removal my expectation is that the driver keeps the the >> ioremap mapping alive for at least a synchronize_rcu() period. With >> that in place the

RE: [PATCH v2 0/3] Add NUMA support for NVDIMM devices

2015-06-10 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of > Dan Williams > Sent: Wednesday, June 10, 2015 9:58 AM > To: Jeff Moyer > Cc: linux-nvdimm; Rafael J. Wysocki; linux-kernel@vger.kernel.org; Linux > ACPI > Subject: Re: [PATCH v2 0/3] Add

Re: [PATCH v2 0/3] Add NUMA support for NVDIMM devices

2015-06-10 Thread Toshi Kani
On Wed, 2015-06-10 at 08:57 -0700, Dan Williams wrote: > On Wed, Jun 10, 2015 at 8:54 AM, Jeff Moyer wrote: > > Toshi Kani writes: > > > >> Since NVDIMMs are installed on memory slots, they expose the NUMA > >> topology of a platform. This patchset adds support of sysfs > >> 'numa_node' to

[V6 PATCH 4/7] crypto: ccp - Unify coherency checking logic with device_dma_is_coherent()

2015-06-10 Thread Suravee Suthikulpanit
Currently, the driver has separate logic to determine device coherency for DT vs ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- drivers/crypto/ccp/ccp-platform.c | 60

[V6 PATCH 6/7] megaraid_sas: fix TRUE and FALSE re-define build error

2015-06-10 Thread Suravee Suthikulpanit
Signed-off-by: Suravee Suthikulpanit Cc: Kashyap Desai Cc: Sumit Saxena Cc: Uday Lingala --- drivers/scsi/megaraid/megaraid_sas_fp.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/megaraid/megaraid_sas_fp.c b/drivers/scsi/megaraid/megaraid_sas_fp.c index

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Linus Torvalds
On Wed, Jun 10, 2015 at 6:13 AM, Andi Kleen wrote: > > Assuming the page tables are cache-hot... And hot here does not mean > L3 cache, but higher. But a memory intensive workload can easily > violate that. In practice, no. You'll spend all your time on the actual real data cache misses, the

Re: [PATCH v5 1/2] ARM: dts: vfxxx: Add OCOTP and OCROM nodes

2015-06-10 Thread Maxime Ripard
Hi, On Mon, Jun 08, 2015 at 10:07:53AM +0530, maitysancha...@gmail.com wrote: > > > Add a device tree node for the On-Chip One Time Programmable > > > Controller (OCOTP) and the On-Chip ROM. > > > > > > Signed-off-by: Sanchayan Maity > > > --- > > > arch/arm/boot/dts/vfxxx.dtsi | 12

Re: [PATCH v9 4/5] serial: stm32-usart: Add STM32 USART Driver

2015-06-10 Thread Maxime Coquelin
2015-06-10 17:42 GMT+02:00 Greg Kroah-Hartman : > On Wed, Jun 10, 2015 at 01:33:22PM +0200, Maxime Coquelin wrote: >> 2015-05-31 23:52 GMT+02:00 Greg Kroah-Hartman : >> > On Fri, May 22, 2015 at 11:03:35PM +0200, Maxime Coquelin wrote: >> >> This drivers adds support to the STM32 USART controller,

Re: [RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Joe Perches
On Wed, 2015-06-10 at 12:02 -0400, Steven Rostedt wrote: > BTW, the printk.c file is getting rather big. No joke that. > Can we make a > kernel/printk/nmi.c file that does this work. We can add a local > printk_common.h that can share the global data structures, and this > would move most of

Re: [PATCH v4 2/9] x86: support kmap_atomic_pfn_t() for persistent memory

2015-06-10 Thread Christoph Hellwig
On Wed, Jun 10, 2015 at 08:36:48AM -0700, Dan Williams wrote: > On surprise removal my expectation is that the driver keeps the the > ioremap mapping alive for at least a synchronize_rcu() period. With > that in place the rcu_read_lock() in kmap_atomic_pfn_t() should keep > the mapping alive for

[V6 PATCH 1/7] ACPI / scan: Parse _CCA and setup device coherency

2015-06-10 Thread Suravee Suthikulpanit
This patch implements support for ACPI _CCA object, which is introduced in ACPIv5.1, can be used for specifying device DMA coherency attribute. The parsing logic traverses device namespace to parse coherency information, and stores it in acpi_device_flags. Then uses it to call

[V6 PATCH 5/7] amd-xgbe: Unify coherency checking logic with device_dma_is_coherent()

2015-06-10 Thread Suravee Suthikulpanit
Currently, amd-xgbe driver has separate logic to determine device coherency for DT vs. ACPI. This patch simplifies the code with a call to device_dma_is_coherent(). Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- drivers/net/ethernet/amd/xgbe/xgbe-main.c | 27

[V6 PATCH 2/7] arm64 : Introduce support for ACPI _CCA object

2015-06-10 Thread Suravee Suthikulpanit
>From http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf, section 6.2.17 _CCA states that ARM platforms require ACPI _CCA object to be specified for DMA-cabpable devices. Therefore, this patch specifies ACPI_CCA_REQUIRED in arm64 Kconfig. In addition, to handle the case when _CCA is

Re: Discussion: quick_pit_calibrate is slow

2015-06-10 Thread George Spelvin
> Especially any 'measure the minimum time' approach measuring more than > a single PIT tick would be senstive to false positives. Just to be clear, I'm not measuring the minimum of any timer ticks; it's the timer *access* that's being measured. It's literally the duration of a single inb() or

[V6 PATCH 3/7] device property: Introduces device_dma_is_coherent()

2015-06-10 Thread Suravee Suthikulpanit
Currently, device drivers, which support both OF and ACPI, need to call two separate APIs, of_dma_is_coherent() and acpi_dma_is_coherent()) to determine device coherency attribute. This patch simplifies this process by introducing a new device property API, device_dma_is_coherent(), which calls

[V6 PATCH 0/7] ACPI: Introduce support for _CCA object

2015-06-10 Thread Suravee Suthikulpanit
This patch series introduce support for _CCA object, which is currently used mainly by ARM64 platform to specify DMA coherency attribute for devices when booting with ACPI. A copy of ACPIv6 can be found here: http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf This patch also

Re: clustered MD

2015-06-10 Thread Goldwyn Rodrigues
On 06/10/2015 10:01 AM, David Teigland wrote: On Tue, Jun 09, 2015 at 10:33:08PM -0500, Goldwyn Rodrigues wrote: some real world utility to warrant the potential maintenance effort. We do have a valid real world utility. It is to provide high-availability of RAID1 storage over the cluster.

[PATCH] USB SERIAL: option.c: add 2020:4000 IDs

2015-06-10 Thread Claudio Cappelli
From: Claudio Cappelli Add device Olivetti Olicard 300 (Network Connect: MT6225) - IDs 2020:4000. Signed-off-by: Claudio Cappelli Suggested-by: Lars Melin --- drivers/usb/serial/option.c |1 + 1 file changed, 1 insertion(+) --- linux/drivers/usb/serial/option.c.orig 2015-06-10

Re: [PATCH 1/2] scatterlist: use sg_phys()

2015-06-10 Thread Dan Williams
On Wed, Jun 10, 2015 at 2:32 AM, Joerg Roedel wrote: > On Tue, Jun 09, 2015 at 12:27:10PM -0400, Dan Williams wrote: >> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c >> index 7e7583ddd607..9f6ff6671f01 100644 >> --- a/arch/arm/mm/dma-mapping.c >> +++

Re: [RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Steven Rostedt
On Wed, 10 Jun 2015 17:32:53 +0200 Peter Zijlstra wrote: > > Note that the backtraces used to be serialized via > > static arch_spinlock_t lock = __ARCH_SPIN_LOCK_UNLOCKED > > in the past. See the commit > > a9edc8809328 ("x86/nmi: Perform a safe NMI stack trace on all CPUs") > > We could

[PATCH 3.12 085/111] fs/binfmt_elf.c:load_elf_binary(): return -EINVAL on zero-length mappings

2015-06-10 Thread Jiri Slaby
From: Andrew Morton 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2b1d3ae940acd11be44c6eced5873d47c2e00ffa upstream. load_elf_binary() returns `retval', not `error'. Fixes: a87938b2e246b81b4fb ("fs/binfmt_elf.c: fix bug in loading of PIE

[PATCH 3.12 017/111] Input: xpad - add Thrustmaster as Xbox 360 controller vendor

2015-06-10 Thread Jiri Slaby
From: Tommi Rantala 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4dfb15cd5aaa6682e93854a74b394a1c95b82621 upstream. Add Thrustmaster as Xbox 360 controller vendor. This is required for example to make the GP XID (044f:b326) gamepad work.

[PATCH 3.12 009/111] aio: change exit_aio() to load mm->ioctx_table once and avoid rcu_read_lock()

2015-06-10 Thread Jiri Slaby
From: Oleg Nesterov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4b70ac5fd9b58bfaa5f25b4ea48f528aefbf3308 upstream. On 04/30, Benjamin LaHaise wrote: > > > - ctx->mmap_size = 0; > > - > > - kill_ioctx(mm, ctx, NULL); >

[PATCH 3.12 006/111] hpsa: refine the pci enable/disable handling

2015-06-10 Thread Jiri Slaby
From: Tomas Henzl 3.12-stable review patch. If anyone has any objections, please let me know. === commit 132aa220b45d60e9b20def1e9d8be9422eed9616 upstream. When a second(kdump) kernel starts and the hard reset method is used the driver calls pci_disable_device without previously

[PATCH 3.12 034/111] Fix corrupt SMB2 ioctl requests

2015-06-10 Thread Jiri Slaby
From: Steve French 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7ff8d45c9dccf0744404d6fe44468ede7c1b9533 upstream. We were off by one calculating the length of ioctls in some cases because the protocol specification for SMB2 ioctl

[PATCH 3.12 003/111] libata: Update Crucial/Micron blacklist

2015-06-10 Thread Jiri Slaby
From: "Martin K. Petersen" 3.12-stable review patch. If anyone has any objections, please let me know. === commit ff7f53fb82a7801a778e5902bdbbc5e195ab0de0 upstream. Micron has released an updated firmware (MU02) for M510/M550/MX100 drives to fix the issues with queued TRIM.

[PATCH 3.12 021/111] staging: wlags49_h2: fix extern inline functions

2015-06-10 Thread Jiri Slaby
From: Greg Kroah-Hartman 3.12-stable review patch. If anyone has any objections, please let me know. === Patch not upstream as this driver is deleted there. Fix up some "extern inline" functions as they break the build when using a "modern" complier (i.e. gcc5). Signed-off-by:

[PATCH 3.12 022/111] staging, rtl8192e, LLVMLinux: Change extern inline to static inline

2015-06-10 Thread Jiri Slaby
From: Behan Webster 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6d91857d4826b382b3fd4fad95f52713be646f96 upstream. With compilers which follow the C99 standard (like modern versions of gcc and clang), "extern inline" does the opposite

[PATCH 3.12 011/111] mnt: Fail collect_mounts when applied to unmounted mounts

2015-06-10 Thread Jiri Slaby
From: "Eric W. Biederman" 3.12-stable review patch. If anyone has any objections, please let me know. === commit cd4a40174b71acd021877341684d8bb1dc8ea4ae upstream. The only users of collect_mounts are in audit_tree.c In audit_trim_trees and audit_add_tree_rule the path passed

[PATCH 3.12 026/111] qla2xxx: remove redundant declaration in 'qla_gbl.h'

2015-06-10 Thread Jiri Slaby
From: Chen Gang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9493c2422cae272d6f1f567cbb424195defe4176 upstream. Remove 2 redundant extern inline functions: qla8044_set_qsnt_ready() and qla8044_need_reset_handler(). At present, within

[PATCH 3.12 025/111] kernel: use the gnu89 standard explicitly

2015-06-10 Thread Jiri Slaby
From: "Kirill A. Shutemov" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 51b97e354ba9fce1890cf38ecc754aa49677fc89 upstream. Sasha Levin reports: "gcc5 changes the default standard to c11, which makes kernel build unhappy Explicitly

[PATCH 3.12 015/111] Input: cros_ec_keyb - fix clearing keyboard state on wakeup

2015-06-10 Thread Jiri Slaby
From: Tomeu Vizoso 3.12-stable review patch. If anyone has any objections, please let me know. === commit ef30a406468a3eae007210ae0dc5ed8d5eb59b7d upstream. As the comment right before explains, the keyboard state is to be cleared only if the EC wasn't a wakeup source in the last

[PATCH 3.12 024/111] staging, rtl8192e, LLVMLinux: Remove unused inline prototype

2015-06-10 Thread Jiri Slaby
From: Behan Webster 3.12-stable review patch. If anyone has any objections, please let me know. === commit 62ec95f86d2850b7ce6d73fb236a6fcf48411aea upstream. rtllib_probe_req is defined as "static inline" in rtllib_softmac.c however it is declared differently as "extern inline"

[PATCH 3.12 018/111] Input: xpad - add rumble support for Xbox One controller

2015-06-10 Thread Jiri Slaby
From: Ming-ting Yao Wei 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0604949ce3b9a59cff419daf706272620a9a0df0 upstream. This adds rumble support for Xbox One controller by sending continuous rumble command. Trigger button rumbling is not

[PATCH 3.12 004/111] libata: Blacklist queued TRIM on all Samsung 800-series

2015-06-10 Thread Jiri Slaby
From: "Martin K. Petersen" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a9324d3969678d44b330e1230ad2c8ae67acf81 upstream. The queued TRIM problems appear to be generic to Samsung's firmware and not tied to a particular model. A recent

[PATCH 3.12 007/111] hpsa: add missing pci_set_master in kdump path

2015-06-10 Thread Jiri Slaby
From: Tomas Henzl 3.12-stable review patch. If anyone has any objections, please let me know. === commit 859c75aba20264d87dd026bab0d0ca3bff385955 upstream. Add a call to pci_set_master(...) missing in the previous patch "hpsa: refine the pci enable/disable handling". Found

Re: [PATCH 08/14] hrtimer: Allow hrtimer::function() to free the timer

2015-06-10 Thread Oleg Nesterov
Hi Kirill, On 06/10, Kirill Tkhai wrote: > > В Вт, 09/06/2015 в 23:33 +0200, Oleg Nesterov пишет: > > > > hrtimer_active(timer) > > { > > > > do { > > base = READ_ONCE(timer->base->cpu_base); > > seq = read_seqcount_begin(_base->seq); >

[PATCH 3.12 002/111] gpio: squelch a compiler warning

2015-06-10 Thread Jiri Slaby
From: Martin Kaiser 3.12-stable review patch. If anyone has any objections, please let me know. === drivers/gpio/gpiolib-of.c: In function 'of_gpiochip_find_and_xlate': drivers/gpio/gpiolib-of.c:52:21: warning: assignment makes integer from pointer without a cast [enabled by

Re: [RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Steven Rostedt
On Wed, 10 Jun 2015 14:55:09 +0200 Peter Zijlstra wrote: > --- a/kernel/printk/printk.c > +++ b/kernel/printk/printk.c > @@ -1821,13 +1821,125 @@ int vprintk_default(const char *fmt, va_list args) > } > EXPORT_SYMBOL_GPL(vprintk_default); > > +#ifdef CONFIG_PRINTK_NMI > + > +typedef

Re: [PATCH v2 0/3] Add NUMA support for NVDIMM devices

2015-06-10 Thread Dan Williams
On Wed, Jun 10, 2015 at 8:54 AM, Jeff Moyer wrote: > Toshi Kani writes: > >> Since NVDIMMs are installed on memory slots, they expose the NUMA >> topology of a platform. This patchset adds support of sysfs >> 'numa_node' to I/O-related NVDIMM devices under /sys/bus/nd/devices. >> This enables

[PATCH 3.12 001/111] netfilter: Zero the tuple in nfnl_cthelper_parse_tuple()

2015-06-10 Thread Jiri Slaby
From: Ian Wilson 3.12-stable review patch. If anyone has any objections, please let me know. === [ upstream commit 78146572b9cd20452da47951812f35b1ad4906be ] nfnl_cthelper_parse_tuple() is called from nfnl_cthelper_new(), nfnl_cthelper_get() and nfnl_cthelper_del(). In each case

Re: [RFC] panic_on_oom_timeout

2015-06-10 Thread Michal Hocko
On Wed 10-06-15 16:28:01, Michal Hocko wrote: > On Wed 10-06-15 21:20:58, Tetsuo Handa wrote: [...] > > Since my version uses per a "struct task_struct" variable (memdie_start), > > 5 seconds of timeout is checked for individual memory cgroup. It can avoid > > unnecessary panic() calls if nobody

HAVE_CMPXCHG_LOCAL arch support.

2015-06-10 Thread Ralf Baechle
On Wed, Jun 10, 2015 at 04:58:04PM +0200, Ralf Baechle wrote: > On Mon, Jun 08, 2015 at 03:14:43PM +0200, Xose Vazquez Perez wrote: > > > If there is anything wrong, please report it in this thread: > > https://marc.info/?t=14333295573 > > > >locking/ cmpxchg-local: TODO |

Re: HAVE_CMPXCHG_LOCAL arch support.

2015-06-10 Thread Peter Zijlstra
On Wed, 2015-06-10 at 17:57 +0200, Ralf Baechle wrote: > On Wed, Jun 10, 2015 at 04:58:04PM +0200, Ralf Baechle wrote: > > > On Mon, Jun 08, 2015 at 03:14:43PM +0200, Xose Vazquez Perez wrote: > > > > > If there is anything wrong, please report it in this thread: > > >

[PATCH 3.12 031/111] perf/x86/amd/ibs: Update IBS MSRs and feature definitions

2015-06-10 Thread Jiri Slaby
From: Aravind Gopalakrishnan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 904cb3677f3adcd3d837be0a0d0b14251ba8d6f7 upstream. New Fam15h models carry extra feature bits and extend the MSR register space for IBS ops. Adding them here.

Re: [PATCH 06/11] ACPI / gsi: Add gsi_mutex to synchronize acpi_register_gsi()/acpi_unregister_gsi()

2015-06-10 Thread Marc Zyngier
On 18/05/15 13:59, Hanjun Guo wrote: > Add a mutex for acpi_register_gsi()/acpi_unregister_gsi() to avoid > concurrency issues. > > Signed-off-by: Hanjun Guo > --- > drivers/acpi/gsi.c | 17 + > 1 file changed, 13 insertions(+), 4 deletions(-) > > diff --git

[PATCH 3.12 005/111] config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected

2015-06-10 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit a6dfa128ce5c414ab46b1d690f7a1b8decb8526d upstream. A huge amount of NIC drivers use the DMA API, however if compiled under 32-bit an very important part of the DMA

[PATCH 3.12 045/111] hwmon: (nct6775) Add missing sysfs attribute initialization

2015-06-10 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1b63bf617206ff35b93c57c67bbe067ac735a85a upstream. The following error message is seen when loading the nct6775 driver with DEBUG_LOCK_ALLOC enabled. BUG: key

[PATCH 3.12 029/111] hwmon: (k10temp) Add support for F15h M60h

2015-06-10 Thread Jiri Slaby
From: Aravind Gopalakrishnan 3.12-stable review patch. If anyone has any objections, please let me know. === commit f89ce2706d8341c921b96e13a00b951a10eed308 upstream. This patch adds temperature monitoring support for F15h M60h processor. - Add new pci device id for the relevant

[PATCH 3.12 016/111] Input: xpad - add support for Xbox One controllers

2015-06-10 Thread Jiri Slaby
From: Ted Mielczarek 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1a48ff81b3912be5fadae3fafde6c2f632246a4c upstream. Xbox One controllers require an initialization message to start sending data, so xpad_init_output becomes a required

<    1   2   3   4   5   6   7   8   9   10   >