[PATCH v2 0/5] [media] c8sectpfe: Various fixups

2015-08-27 Thread Peter Griffin
Hi Mauro, This series includes a couple of fixes for the c8sectpfe Linux dvb driver. One was caused by omitting a patch from the original c8sectpfe series which defined the ssc2 and ssc3 dt nodes, which was then used by the later DT patch. This patch is included, along with the original patch

[PATCH v2 1/5] ARM: DT: STi: stihxxx-b2120: Add pulse-width properties to ssc2 ssc3

2015-08-27 Thread Peter Griffin
Adding these properties makes the I2C bus to the demodulators much more reliable, and we no longer suffer from I2C errors when tuning. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-)

Re: [PATCH] cpufreq: powernv: Increase the verbosity of OCC console messages

2015-08-27 Thread Viresh Kumar
On 27-08-15, 14:41, Shilpasri G Bhat wrote: Modify the OCC reset/load/active event message to make it clearer for the user to understand the event and effect of the event. Suggested-by: Stewart Smith stew...@linux.vnet.ibm.com Signed-off-by: Shilpasri G Bhat shilpa.b...@linux.vnet.ibm.com

[PATCH v4 3/4] PCI: st: Provide support for the sti PCIe controller

2015-08-27 Thread Gabriel Fernandez
sti pcie is built around a Synopsis Designware PCIe IP. Signed-off-by: Fabrice Gasnier fabrice.gasn...@st.com Signed-off-by: Gabriel Fernandez gabriel.fernan...@linaro.org --- drivers/pci/host/Kconfig | 9 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pci-st.c | 583

[PATCH v4 1/4] ARM: STi: Kconfig update for PCIe support

2015-08-27 Thread Gabriel Fernandez
Update Kconfig: - MIGHT_HAVE_PCI - PCI_DOMAINS Signed-off-by: Fabrice Gasnier fabrice.gasn...@st.com --- arch/arm/mach-sti/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig index 125865d..5f99e93 100644 ---

[PATCH v4 4/4] MAINTAINERS: Add pci-st.c to ARCH/STI architecture

2015-08-27 Thread Gabriel Fernandez
This patch adds the pci-st.c pci driver found on STMicroelectronics SoC's into the STI arch section of the maintainers file. Signed-off-by: Gabriel Fernandez gabriel.fernan...@linaro.org --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v2 07/15] scsi: ufs: set REQUEST_SENSE command size to 18 bytes

2015-08-27 Thread Yaniv Gardi
According to UFS device specification REQUEST_SENSE command can only report back up to 18 bytes of data. Signed-off-by: Gilad Broner gbro...@codeaurora.org Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/ufshcd.c | 11 ++- 1 file changed, 6 insertions(+), 5

[PATCH v2 09/15] scsi: ufs: add retries for hibern8 enter

2015-08-27 Thread Yaniv Gardi
If hibern8 enter command fails then UFS link state may be unknown which may result into timeout of all the commands issued after failure. This change does 2 things (for pre-defined number of retry counts) after hibern8 enter failure: 1. Recovers the UFS link to active state 2. If link is

Re: [PATCH v5 5/5] PM / devfreq: drop comment about thermal setting max_freq

2015-08-27 Thread Javi Merino
On Thu, Aug 27, 2015 at 11:58:39AM +0100, MyungJoo Ham wrote: The thermal infrastructure should use the devfreq cooling device, which uses the OPP library to disable OPPs as necessary. Fix a couple of typos in the same comment while we are at it. Cc: MyungJoo Ham

Re: [PATCH 3/3] timer: Reduce unnecessary sighand lock contention

2015-08-27 Thread Frederic Weisbecker
On Wed, Aug 26, 2015 at 04:32:34PM -0700, Jason Low wrote: On Thu, 2015-08-27 at 00:56 +0200, Frederic Weisbecker wrote: On Tue, Aug 25, 2015 at 08:17:48PM -0700, Jason Low wrote: It was found while running a database workload on large systems that significant time was spent trying to

Re: CONFIG_DEBUG_SHIRQ and PM

2015-08-27 Thread Felipe Balbi
On Wed, Aug 26, 2015 at 05:36:24PM -0300, Ezequiel Garcia wrote: On 26 August 2015 at 17:24, Felipe Balbi ba...@ti.com wrote: [..] static irqreturn_t tw68_irq(int irq, void *dev_id) { struct tw68_dev *dev = dev_id; u32 status, orig; int loop;

[PATCH 0/3] drivers/staging: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... This patch set provides fixes for the following drivers: * rtl8188eu * rtl8723au * wilc1000 Alexander Kuleshov (3): staging/rtl8188eu: Use %pM

Re: [PATCH v11 00/20] Compile-time stack validation

2015-08-27 Thread Josh Poimboeuf
On Wed, Aug 26, 2015 at 09:07:23AM +0200, Ingo Molnar wrote: * Josh Poimboeuf jpoim...@redhat.com wrote: BTW, since I'm planning on adding a CFI generation option to this tool, I wonder if stackvalidate is a misnomer. I can't think of anything better. Any naming ideas are

[PATCH v1 1/5] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-08-27 Thread Shawn Lin
From: Boojin Kim boojin@samsung.com This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim boojin@samsung.com Signed-off-by: Addy Ke addy...@rock-chips.com Signed-off-by: Shawn Lin shawn@rock-chips.com cc: Heiko Stuebner

Re: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-08-27 Thread Nathan Sullivan
On Thu, Aug 27, 2015 at 01:11:30PM +0530, punnaiah choudary kalluri wrote: Hi, On Thu, Aug 27, 2015 at 10:03 AM, Peter Chen peter.c...@freescale.com wrote: On Thu, Aug 27, 2015 at 10:59:22AM +0530, sundeep subbaraya wrote: Hi, On Wed, Aug 26, 2015 at 8:57 PM, Nathan Sullivan

Re: [PATCH 03/15] hwmon, fam15h_power: refactor attributes for dynamically added

2015-08-27 Thread Guenter Roeck
On 08/27/2015 01:07 AM, Huang Rui wrote: Attributes depend on the CPU model the driver gets loaded on. Therefore, add those attributes dynamically at init time. This is more flexible to control the different attributes on different platforms. Signed-off-by: Huang Rui ray.hu...@amd.com ---

Re: [PATCH v3 13/15] mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status

2015-08-27 Thread Ulf Hansson
On 27 August 2015 at 14:47, Kishon Vijay Abraham I kis...@ti.com wrote: Hi Uffe, On Thursday 27 August 2015 06:12 PM, Ulf Hansson wrote: On 27 August 2015 at 14:41, Ulf Hansson ulf.hans...@linaro.org wrote: On 27 August 2015 at 11:14, Kishon Vijay Abraham I kis...@ti.com wrote: Use

Re: [PATCH v4 0/4] irqchip: GICv2/v3: Add support for irq_vcpu_affinity

2015-08-27 Thread Eric Auger
Hi Marc, I tested the series on Calxeda Midway with VFIO use case. Also reviewed it again without finding anything new. Tested-by: Eric Auger eric.au...@linaro.org Reviewed-by: Eric Auger eric.au...@linaro.org Best Regards Eric On 08/26/2015 06:00 PM, Marc Zyngier wrote: The GICv2 and GICv3

Re: [PATCH 0/3] timer: Improve itimers scalability

2015-08-27 Thread Frederic Weisbecker
On Wed, Aug 26, 2015 at 04:45:44PM -0700, Hideaki Kimura wrote: I totally agree that this is not a perfect solution. If there are 10x more cores and sockets, just the atomic fetch_add might be too expensive. However, it's comparatively/realistically the best thing we can do without any

Strange reports of perf events on powerpc 83xx

2015-08-27 Thread leroy christophe
Hi, Has anybody already used 'perf' tool on powerpc MPC83xx ? I have been succesfully using perf on MPC8xx, but on MPC83xx I get something strange. perf record/report reports addresses on user stack, as if it was mixing up D accesses and I accesses. Any idea of what the problem can be ?

RE: [PATCH] infiniband:cxgb4:Fix incorrect return statement in the function c4iw_reject_cr

2015-08-27 Thread Steve Wise
-Original Message- From: Nicholas Krause [mailto:xerofo...@gmail.com] Sent: Wednesday, August 26, 2015 7:22 PM To: sw...@chelsio.com Cc: dledf...@redhat.com; sean.he...@intel.com; hal.rosenst...@gmail.com; linux-r...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: [PATCH]

[PATCH v1 0/5] Fix broken DMAFLUSHP on Rockchips platform

2015-08-27 Thread Shawn Lin
The purpose of the DMAFLUSHP instruction: - Tell the peripheral to clear its status and control registers. - Send a message to the peripheral to resend its level status. There are 3 timings described in PL330 Technical Reference Manual: - Timing 1: Burst request, can work well without DMAFLUSHP.

[PATCH 2/2] drivers/base/node.c: skip non-present sections in register_mem_sect_under_node

2015-08-27 Thread Jan Stancek
Skip non-present sections in mem_blk to avoid crashing during boot at register_mem_sect_under_node()-get_nid_for_pfn(): Unable to handle kernel paging request for data at address 0xf0080020 Faulting instruction address: 0xc866b480 Oops: Kernel access of bad area, sig: 11

[PATCH v2 13/15] scsi: ufs: add missing memory barriers

2015-08-27 Thread Yaniv Gardi
Performing several writes to UFS host controller registers has no gurrantee of ordering, so we must make sure register writes to setup request list base address etc. are performed before the run/stop register is enabled. In addition, when setting up a task request, we must make sure the updating

Re: [PATCH v3 13/15] mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status

2015-08-27 Thread Ulf Hansson
On 27 August 2015 at 14:41, Ulf Hansson ulf.hans...@linaro.org wrote: On 27 August 2015 at 11:14, Kishon Vijay Abraham I kis...@ti.com wrote: Use regulator_is_enabled of pbias regulator to find pbias regulator status instead of maintaining a custom bookkeeping pbias_enabled variable. Doesn't

[PATCH v2 11/15] scsi: ufs: retry failed query flag requests

2015-08-27 Thread Yaniv Gardi
UFS flag query requests may fail sometimes due to timeouts etc. Add a wrapper function to retry up to 10 times in case of such failure, similar to retries being made for attribute queries. Signed-off-by: Gilad Broner gbro...@codeaurora.org Signed-off-by: Yaniv Gardi yga...@codeaurora.org ---

[PATCH v2 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-08-27 Thread Yaniv Gardi
Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees the new request immediately. Signed-off-by: Gilad Broner

[PATCH v2 15/15] scsi: ufs: add wrapper for retrying sending query attribute

2015-08-27 Thread Yaniv Gardi
Sometimes queries from the device might return a failure so it is recommended to retry sending the query, before giving up. This change adds a wrapper to retry sending a query attribute, in cases where we need to wait longer, before we continue, or before reporting a failure. Signed-off-by: Yaniv

[PATCH v2 10/15] scsi: ufs: fix error recovery after the hibern8 exit failure

2015-08-27 Thread Yaniv Gardi
Hibern8 exit can be called from 3 different context: - ufshcd_hibern8_exit_work - ufshcd_ungate_work - runtime/system resume If hibern8 exit fails for some reason then we try to bring the link to active state by link startup but this recovery mechanism results into deadlock or errors

[PATCH] spi: mediatek: fix SPI_CMD_PAUSE_IE macro error

2015-08-27 Thread Leilk Liu
enable pause interrupt should use SPI_CMD_PAUSE_IE MACRO, so fix it. Signed-off-by: Leilk Liu leilk@mediatek.com --- drivers/spi/spi-mt65xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index eaadc7e..d882261 100644

[PATCH 2/3] staging/rtl8723au: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 7 ++- 1 file changed, 2 insertions(+), 5

Re: [PATCH 5/5] Documentation: arm-pl330: add description of broken-no-flushp

2015-08-27 Thread Shawn Lin
On 2015/8/27 20:59, Krzysztof Kozlowski write: 2015-08-27 17:49 GMT+09:00 Shawn Lin shawn@rock-chips.com: Signed-off-by: Shawn Lin shawn@rock-chips.com --- Documentation/devicetree/bindings/dma/arm-pl330.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v7 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-08-27 Thread Hanjun Guo
On 08/27/2015 08:28 PM, Hanjun Guo wrote: On 08/27/2015 08:08 PM, Thomas Gleixner wrote: On Thu, 27 Aug 2015, Hanjun Guo wrote: On 08/26/2015 03:17 AM, Thomas Gleixner wrote: On Wed, 26 Aug 2015, Fu Wei wrote: /* Initialize per-processor generic timer */ -static int __init

[PATCH] iommu/s390: add iommu api for s390 pci devices

2015-08-27 Thread Gerald Schaefer
This adds an IOMMU API implementation for s390 PCI devices. Reviewed-by: Sebastian Ott seb...@linux.vnet.ibm.com Signed-off-by: Gerald Schaefer gerald.schae...@de.ibm.com --- MAINTAINERS | 7 + arch/s390/Kconfig | 1 + arch/s390/include/asm/pci.h | 4 +

[PATCHv4 6/7] mm: use 'unsigned int' for page order

2015-08-27 Thread Kirill A. Shutemov
Let's try to be consistent about data type of page order. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Acked-by: Michal Hocko mho...@suse.com --- include/linux/mm.h | 5 +++-- mm/hugetlb.c | 19 ++- mm/internal.h | 4 ++-- mm/page_alloc.c| 27

[PATCHv4 1/7] mm: drop page-slab_page

2015-08-27 Thread Kirill A. Shutemov
Since 8456a648cf44 (slab: use struct page for slab management) nobody uses slab_page field in struct page. Let's drop it. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Acked-by: Christoph Lameter c...@linux.com Acked-by: David Rientjes rient...@google.com Acked-by: Vlastimil

[PATCHv4 5/7] mm: make compound_head() robust

2015-08-27 Thread Kirill A. Shutemov
Hugh has pointed that compound_head() call can be unsafe in some context. There's one example: CPU0CPU1 isolate_migratepages_block() page_count() compound_head() !!PageTail() == true put_page()

[PATCH v1 5/5] Documentation: arm-pl330: add description of arm,pl330-broken-no-flushp

2015-08-27 Thread Shawn Lin
Signed-off-by: Shawn Lin shawn@rock-chips.com --- Changes in v1: - rename broken-no-flushp to arm,pl330-broken-no-flushp suggested by Krzysztof. Documentation/devicetree/bindings/dma/arm-pl330.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v1 4/5] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3xxx platform

2015-08-27 Thread Shawn Lin
Pl330 integrated in rk3xxx platform doesn't support DMAFLUSHP function. So we add broken-no-flushp quirk for it. Signed-off-by: Shawn Lin shawn@rock-chips.com cc: Heiko Stuebner he...@sntech.de cc: Doug Anderson diand...@chromium.org cc: Olof Johansson ol...@google.com --- Changes in v1: -

Re: [PATCH] mmc: Kconfig: Add dependency on GPIOLIB for MMC_SDHCI

2015-08-27 Thread Michal Simek
On 08/27/2015 04:12 PM, Ulf Hansson wrote: On 27 August 2015 at 15:43, Michal Simek michal.si...@xilinx.com wrote: On 08/27/2015 02:30 PM, Ulf Hansson wrote: On 27 August 2015 at 13:43, Michal Simek michal.si...@xilinx.com wrote: Hi Ulf, On 08/27/2015 01:32 PM, Ulf Hansson wrote: On 25

SLUB vs SLAB allocator with respect to 3.x and 4.x kernels

2015-08-27 Thread Navin Parakkal
Hi, I found that in many worst case scenarios like fragmention of allocator , slub performs well than slab. I also noticed that Centos /Ubuntu etc switched to SLUB but SLES still uses SLAB in the default image. Any particular reason where SLAB is the choice ? I ask this since i find SLUB

Re: [PATCH 0/2] mpt3sas: Reference counting fixes from in-flight mpt2sas

2015-08-27 Thread James Bottomley
On Thu, 2015-08-27 at 10:37 +0530, Sreekanth Reddy wrote: HI Nicholas Calvin, Thanks for the patchset. Sure We will review and we do some unit testing on this patch series. Currently my bandwidth is occupied with some internal activity, so by end of next week I will acknowledge this series

Re: [PATCH 0/3] timer: Improve itimers scalability

2015-08-27 Thread Steven Rostedt
On Thu, 27 Aug 2015 15:18:49 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 26, 2015 at 04:45:44PM -0700, Hideaki Kimura wrote: I totally agree that this is not a perfect solution. If there are 10x more cores and sockets, just the atomic fetch_add might be too expensive.

Re: [PATCH] ARM: dts: use vqmmc-supply of emmc/sd for exynos4412-odroid-common

2015-08-27 Thread Krzysztof Kozlowski
W dniu 27.08.2015 o 18:29, Jaehoon Chung pisze: Currently vmmc's property is wrong. If it needs to control two supplies, then it has to use vmmc/vqmmc-supply. (Card supply power and I/O Line supply Power.) Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com ---

wake_up_process implied memory barrier clarification

2015-08-27 Thread Michal Hocko
Hi, I have just stumbled over the comment above wake_up_process which claims: * It may be assumed that this function implies a write memory barrier before * changing the task state if and only if any tasks are woken up. but try_to_wake_up does smp_mb__before_spinlock and did smp_wmb since

[PATCH v3] mm/page_alloc: add a helper function to check page before alloc/free

2015-08-27 Thread Yaowei Bai
The major portion of check_new_page() and free_pages_check() are same, introduce a helper function check_one_page() for simplification. Change in v3: - add the missed __PG_HWPOISON check per Michal Hocko Change in v2: - use bad_flags as parameter directly per Michal Hocko

Re: [PATCH 1/5] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-08-27 Thread Krzysztof Kozlowski
2015-08-27 17:48 GMT+09:00 Shawn Lin shawn@rock-chips.com: This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim boojin@samsung.com Signed-off-by: Addy Ke addy...@rock-chips.com Signed-off-by: Shawn Lin shawn@rock-chips.com cc:

Re: [PATCH v4 0/4] VFIO platform reset

2015-08-27 Thread Eric Auger
Dear all, Please ignore this email. It is a reply to a wrong thread (was targeting [PATCH v4 0/4] irqchip: GICv2/v3: Add support for irq_vcpu_affinity). My apologies Best Regards Eric On 08/27/2015 01:56 PM, Eric Auger wrote: Hi Marc, I tested the series on Calxeda Midway with VFIO use

[RFC/PATCH 2/2] kconfig: add KCONFIG_BASECONFIG option to savedefconfig

2015-08-27 Thread Felipe Contreras
This option parses a defconfig file, and sets all the values as default ones. The result is a much simplified defconfig. This defconfig can be used as a KBUILD_USERCONFIG, which added to the default defconfig generates exactly the same config file. Signed-off-by: Felipe Contreras

[RFC/PATCH 1/2] kconfig: add KBUILD_USERCONFIG option

2015-08-27 Thread Felipe Contreras
This allows us to specify a user defconfig which is added on top of the default defconfig, which makes it easier for users to keep a simpler defconfig, without duplicating all the options already present in the arch defconfig. Here a very simple defconfig I've been using for several years on top

[RFC/PATCH 0/2] A simpler way to maintain custom defconfigs

2015-08-27 Thread Felipe Contreras
Hi, For several years I've used a trick to be able to maintain a simple defconfig that works across many versions, and requires little maintenance from my part: % cat arch/x86/configs/x86_64_defconfig ~/my-config .config make olddefconfig I'm sending a proposal to integrate it on the build

Re: wake_up_process implied memory barrier clarification

2015-08-27 Thread Michal Hocko
On Thu 27-08-15 14:43:34, Peter Zijlstra wrote: On Thu, Aug 27, 2015 at 02:27:27PM +0200, Michal Hocko wrote: Hi, I have just stumbled over the comment above wake_up_process which claims: * It may be assumed that this function implies a write memory barrier before * changing the

Re: [PATCH] mmc: block: disable the reliable write If the card does not support CMD23

2015-08-27 Thread Ulf Hansson
On 25 August 2015 at 14:06, Ulf Hansson ulf.hans...@linaro.org wrote: On 14 August 2015 at 09:30, sdliy...@gmail.com wrote: From: Yong Li sdliy...@gmail.com Signed-off-by: Yong Li sdliy...@gmail.com --- drivers/mmc/card/block.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH v7 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-08-27 Thread Thomas Gleixner
On Thu, 27 Aug 2015, Hanjun Guo wrote: [1]: https://lkml.org/lkml/2015/7/29/236 If that is ok with you, we will introduce similar DECLARE_ thing for clock declare. Yes. Or we can drop this patch from this patch set, and clean up this patch when the ACPI_DECLARE() infrastructure is

Re: [PATCH] tools lib traceeveent: Allow for negative numbers in print format

2015-08-27 Thread Vlastimil Babka
On 08/27/2015 03:46 PM, Steven Rostedt wrote: It was reported that %-8s does not parse well when used in the printk format. The '-' is what is throwing it off. Allow that to be included. Reported-by: Vlastimil Babka vba...@suse.cz Reported-and-tested-by: Vlastimil Babka vba...@suse.cz

[PATCHv4 3/7] zsmalloc: use page-private instead of page-first_page

2015-08-27 Thread Kirill A. Shutemov
We are going to rework how compound_head() work. It will not use page-first_page as we have it now. The only other user of page-first_page beyond compound pages is zsmalloc. Let's use page-private instead of page-first_page here. It occupies the same storage space. Signed-off-by: Kirill A.

[PATCHv4 7/7] mm: use 'unsigned int' for compound_dtor/compound_order on 64BIT

2015-08-27 Thread Kirill A. Shutemov
On 64 bit system we have enough space in struct page to encode compound_dtor and compound_order with unsigned int. On x86-64 it leads to slightly smaller code size due usesage of plain MOV instead of MOVZX (zero-extended move) or similar effect. allyesconfig: textdata bss dec

[PATCH v1 2/5] DMA: pl330: add quirk for broken no flushp

2015-08-27 Thread Shawn Lin
From: Addy Ke addy...@rock-chips.com This patch add arm,pl330-broken-no-flushp quirk to avoid execute DMAFLUSHP if Soc doesn't support it. Signed-off-by: Addy Ke addy...@rock-chips.com Signed-off-by: Shawn Lin shawn@rock-chips.com cc: Heiko Stuebner he...@sntech.de cc: Doug Anderson

[PATCH v1 3/5] ARM: dts: Add arm,pl330-broken-no-flushp quirk for rk3288 platform

2015-08-27 Thread Shawn Lin
From: Addy Ke addy...@rock-chips.com Pl330 integrated in rk3288 platform doesn't support DMAFLUSHP function. So we add broken-no-flushp quirk for it. Signed-off-by: Addy Ke addy...@rock-chips.com Signed-off-by: Shawn Lin shawn@rock-chips.com cc: Heiko Stuebner he...@sntech.de cc: Doug

Re: [PATCH 2/2]: acpica/nfit: Rename not-armed bit definition

2015-08-27 Thread Toshi Kani
On Thu, 2015-08-27 at 01:56 +, Moore, Robert wrote: I don’t have any problem changing this in ACPICA if/when you all agree. Great. I will resend this patch alone, assuming the patch can be based on the Dan's NVDIMM tree (since it changes NFIT files). Thanks, -Toshi -- To unsubscribe from

[PATCH 1/2] drivers/base/node.c: split loop in register_mem_sect_under_node

2015-08-27 Thread Jan Stancek
Split single loop going over all pfn in mem_blk into 2 loops, where outer loop goes over all sections and inner loop goes over pfn from that section. This is preparatory patch for next patch: skip non-present sections in register_mem_sect_under_node Signed-off-by: Jan Stancek

Re: [PATCH v7 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-08-27 Thread Hanjun Guo
On 08/27/2015 08:08 PM, Thomas Gleixner wrote: On Thu, 27 Aug 2015, Hanjun Guo wrote: On 08/26/2015 03:17 AM, Thomas Gleixner wrote: On Wed, 26 Aug 2015, Fu Wei wrote: /* Initialize per-processor generic timer */ -static int __init arch_timer_acpi_init(struct acpi_table_header *table)

Re: [PATCH v1 14/15] scsi: ufs: commit descriptors before setting the doorbell

2015-08-27 Thread ygardi
On Aug 21, 2015 3:10 PM, Yaniv Gardi yga...@codeaurora.org wrote: Add a write memory barrier to make sure descriptors prepared are actually written to memory before ringing the doorbell. We have also added the write memory barrier after ringing the doorbell register so that controller sees

[PATCH v4 2/4] PCI: st: Add Device Tree bindings for sti pcie

2015-08-27 Thread Gabriel Fernandez
sti pcie is built around a Synopsis Designware PCIe IP. Signed-off-by: Fabrice Gasnier fabrice.gasn...@st.com Signed-off-by: Gabriel Fernandez gabriel.fernan...@linaro.org --- Documentation/devicetree/bindings/pci/st-pcie.txt | 53 +++ 1 file changed, 53 insertions(+) create

[PATCH v4 0/4] PCI: st: provide support for dw pcie

2015-08-27 Thread Gabriel Fernandez
This patchset is based on v4.2-rc1 and is based on [PATCH v8 0/6] PCI: hisi: Add PCIe host support for HiSilicon SoC Hip05 patchset from Zhou Wang. Changes in v4: - Remove pci: designware: remove my pci_common_init_dev() patch and use [PATCH v8 3/6] PCI: designware: Add ARM64 support

[PATCH v2 12/15] scsi: ufs: reduce the interrupts for power mode change requests

2015-08-27 Thread Yaniv Gardi
DME commands such as Hibern8 enter/exit and gear switch generate 2 completion interrupts, one for confirmation that command is received by local UniPro and 2nd one is the final confirmation after communication with remote UniPro. Currently both of these completions are registered as interrupt

Re: wake_up_process implied memory barrier clarification

2015-08-27 Thread Peter Zijlstra
On Thu, Aug 27, 2015 at 02:27:27PM +0200, Michal Hocko wrote: Hi, I have just stumbled over the comment above wake_up_process which claims: * It may be assumed that this function implies a write memory barrier before * changing the task state if and only if any tasks are woken up.

Re: [PATCH v2] mm/page_alloc: add a helper function to check page before alloc/free

2015-08-27 Thread Yaowei Bai
On Tue, Aug 25, 2015 at 04:03:22PM +0200, Michal Hocko wrote: On Tue 25-08-15 21:26:30, Yaowei Bai wrote: [...] static inline int check_new_page(struct page *page) { - const char *bad_reason = NULL; - unsigned long bad_flags = 0; - - if (unlikely(page_mapcount(page))) -

[PATCH] tools lib traceeveent: Allow for negative numbers in print format

2015-08-27 Thread Steven Rostedt
It was reported that %-8s does not parse well when used in the printk format. The '-' is what is throwing it off. Allow that to be included. Reported-by: Vlastimil Babka vba...@suse.cz Signed-off-by: Steven Rostedt rost...@goodmis.org --- tools/lib/traceevent/event-parse.c | 1 + 1 file

Re: [PATCH 3/5] dma-mapping: cosolidate dma_mapping_error

2015-08-27 Thread Andy Shevchenko
On Mon, Aug 17, 2015 at 10:06 AM, Christoph Hellwig h...@lst.de wrote: Currently there are three valid implementations of dma_mapping_error: (1) call -mapping_error (2) check for a hardcoded error code (3) always return 0 This patch provides a common implementation that calls

[PATCHv4 4/7] mm: pack compound_dtor and compound_order into one word in struct page

2015-08-27 Thread Kirill A. Shutemov
The patch halves space occupied by compound_dtor and compound_order in struct page. For compound_order, it's trivial long - short conversion. For get_compound_page_dtor(), we now use hardcoded table for destructor lookup and store its index in the struct page instead of direct pointer to

Re: [PATCH 7/7] selftests: breakpoints: fix installing error on the architecture except x86

2015-08-27 Thread Shuah Khan
On 08/14/2015 07:43 AM, Bamvor Jian Zhang wrote: Signed-off-by: Bamvor Jian Zhang bamvor.zhangj...@linaro.org Hi Bamvor, Could you please add commit log with more details on the error you are seeing. I would like to get this patch into kselftest next for 4.3 soon thanks, -- Shuah ---

[PATCH] mm, migrate: count pages failing all retries in vmstat and tracepoint

2015-08-27 Thread Vlastimil Babka
Migration tries up to 10 times to migrate pages that return -EAGAIN until it gives up. If some pages fail all retries, they are counted towards the number of failed pages that migrate_pages() returns. They should also be counted in the /proc/vmstat pgmigrate_fail and in the mm_migrate_pages

Re: [PATCH 05/10] ALSA: axd: add buffers manipulation files

2015-08-27 Thread Qais Yousef
On 08/26/2015 07:43 PM, Mark Brown wrote: On Mon, Aug 24, 2015 at 01:39:14PM +0100, Qais Yousef wrote: + /* +* must ensure we have one access at a time to the queue and rd_idx +* to be preemption and SMP safe +* Sempahores will ensure that we will only read after

Re: [PATCH 1/2]: nfit: Clarify memory device state flags strings

2015-08-27 Thread Toshi Kani
On Wed, 2015-08-26 at 21:07 -0600, Ross Zwisler wrote: On Wed, Aug 26, 2015 at 10:20:23AM -0600, Toshi Kani wrote: diff --git a/drivers/acpi/nfit.c b/drivers/acpi/nfit.c index c3fe206..6993ff2 100644 --- a/drivers/acpi/nfit.c +++ b/drivers/acpi/nfit.c @@ -701,12 +701,13 @@ static

[PATCH v2 05/15] scsi: ufs: increase fDeviceInit query response timeout

2015-08-27 Thread Yaniv Gardi
fDeviceInit query response time for some devices is too long that default query request timeout of 100ms may not be enough. Experiments show that fDeviceInit response sometimes takes 500ms so to be on safer side this change sets the timeout to 600ms. Without this change, we might unnecessarily

Re: [PATCH v3 13/15] mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status

2015-08-27 Thread Ulf Hansson
On 27 August 2015 at 11:14, Kishon Vijay Abraham I kis...@ti.com wrote: Use regulator_is_enabled of pbias regulator to find pbias regulator status instead of maintaining a custom bookkeeping pbias_enabled variable. Doesn't this cause a problem for the scenario when the initial state of the

[PATCH 1/3] staging/rtl8188eu: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 5 ++--- 1 file changed, 2 insertions(+), 3

Re: [PATCH v3 00/15] omap_hsmmc: regulator usage cleanup and fixes

2015-08-27 Thread Ulf Hansson
On 27 August 2015 at 11:13, Kishon Vijay Abraham I kis...@ti.com wrote: This patch series does the following *) Uses devm_regulator_get_optional() for vmmc and then removes the CONFIG_REGULATOR check altogether. *) return on -EPROBE_DEFER and any other fatal errors *) enable/disable

Re: [PATCH] tools lib traceeveent: Allow for negative numbers in print format

2015-08-27 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 27, 2015 at 03:55:56PM +0200, Vlastimil Babka escreveu: On 08/27/2015 03:46 PM, Steven Rostedt wrote: It was reported that %-8s does not parse well when used in the printk format. The '-' is what is throwing it off. Allow that to be included. Reported-by: Vlastimil Babka

Re: [PATCH v5 2/2] efi: a misc char interface for user to update efi firmware

2015-08-27 Thread Matt Fleming
On Fri, 21 Aug, at 07:34:48PM, Kweh Hock Leong wrote: From: Kweh, Hock Leong hock.leong.k...@intel.com Introducing a kernel module to expose capsule loader interface (misc char device file note) for user to upload capsule binaries. Example method to load the capsule binary: cat

Re: [PATCH 2/2]: acpica/nfit: Rename not-armed bit definition

2015-08-27 Thread Linda Knippers
On 8/26/2015 6:00 PM, Dan Williams wrote: On Wed, Aug 26, 2015 at 2:44 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2015-08-26 at 14:30 -0700, Dan Williams wrote: On Wed, Aug 26, 2015 at 2:12 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2015-08-26 at 10:16 -0700, Dan Williams wrote: On

[PATCH] m68k/sun3: Use %pM format specifier to print ethernet address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- arch/m68k/sun3/idprom.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH v2 4/5] [media] c8sectpfe: Update binding to reset-gpios

2015-08-27 Thread Peter Griffin
gpio.txt documents that GPIO properties should be named [name-]gpios, with name being the purpose of this GPIO for the device. This change has been done as one atomic commit. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt

Re: [PATCH] mmc: Kconfig: Add dependency on GPIOLIB for MMC_SDHCI

2015-08-27 Thread Ulf Hansson
On 27 August 2015 at 13:43, Michal Simek michal.si...@xilinx.com wrote: Hi Ulf, On 08/27/2015 01:32 PM, Ulf Hansson wrote: On 25 August 2015 at 14:04, Ulf Hansson ulf.hans...@linaro.org wrote: On 6 August 2015 at 07:39, Michal Simek michal.si...@xilinx.com wrote: Add GPIOLIB dependency for

[PATCH v2 5/5] [media] c8sectpfe: Update DT binding doc with some minor fixes

2015-08-27 Thread Peter Griffin
Signed-off-by: Peter Griffin peter.grif...@linaro.org --- .../devicetree/bindings/media/stih407-c8sectpfe.txt | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt

[PATCH v2 2/5] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-08-27 Thread Peter Griffin
This patch adds in the required DT node for the c8sectpfe Linux DVB demux driver which allows the tsin channels to be used on an upstream kernel. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 34 ++ 1 file

[PATCH v2 3/5] [media] c8sectpfe: Remove select on undefined LIBELF_32

2015-08-27 Thread Peter Griffin
LIBELF_32 is not defined in Kconfig, and is left over legacy which is not required in the upstream driver, so remove it. Signed-off-by: Peter Griffin peter.grif...@linaro.org Suggested-by: Valentin Rothberg valentinrothb...@gmail.com --- drivers/media/platform/sti/c8sectpfe/Kconfig | 1 - 1 file

[PATCH v2 00/15] Big fixes, retries, handle a race condition

2015-08-27 Thread Yaniv Gardi
Important: This serie of 15 small patches should be pushed after the series of 8 patches Fix error message and present UFS variant probe V2: a few minor changes V1: This serie of 15 small patches should be pushed after the series of 8 patches I have uploaded to the upstream a week ago: Fix error

[PATCH v2 08/15] scsi: ufs: add retries to dme_peer get and set attribute

2015-08-27 Thread Yaniv Gardi
The dme_peer get/set attribute commands are prone to errors, therefore we add three retries for the UIC command sending. Error code returned from ufshcd_send_uic_cmd() is checked, and unless it was successful or the retries have finished, another command will be sent. Signed-off-by: Lee Susman

[PATCH v2 04/15] scsi: ufs: clear outstanding_request bit in case query timeout

2015-08-27 Thread Yaniv Gardi
When sending a query to the device returns with a timeout error, we clear the corresponding bit in the DOORBELL register but we don't clear the outstanding_request field as we should. This patch fixes this bug. Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/scsi/ufs/ufshcd.c | 22

[PATCH v2 06/15] scsi: ufs: avoid exception event handler racing with PM callbacks

2015-08-27 Thread Yaniv Gardi
If device raises the exception event in the response to the commands sent during the runtime/system PM callbacks, exception event handler might run in parallel with PM callbacks and may see unclocked register accesses. This change fixes this issue by not scheduling the exception event handler

Re: [PATCH] m68k/sun3: Use %pM format specifier to print ethernet address

2015-08-27 Thread Geert Uytterhoeven
On Thu, Aug 27, 2015 at 2:30 PM, Alexander Kuleshov kuleshovm...@gmail.com wrote: printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com Thanks, will

Re: [PATCH v3 13/15] mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status

2015-08-27 Thread Kishon Vijay Abraham I
Hi Uffe, On Thursday 27 August 2015 06:12 PM, Ulf Hansson wrote: On 27 August 2015 at 14:41, Ulf Hansson ulf.hans...@linaro.org wrote: On 27 August 2015 at 11:14, Kishon Vijay Abraham I kis...@ti.com wrote: Use regulator_is_enabled of pbias regulator to find pbias regulator status instead of

[PATCH v2 02/15] scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers

2015-08-27 Thread Yaniv Gardi
Some of the data structures (like response UPIU) and/or its elements (unused fields) should be cleared before sending out the respective command to UFS device. This change clears the UPIU response data structure for query commands and NOP command before sending out the command. We also initialize

[PATCH v2 01/15] scsi: ufs: clear UTRD, UPIU req and rsp before new transfers

2015-08-27 Thread Yaniv Gardi
Clear the UFS data structures before sending new request. The SCSI command is sent to the device within the UFS UPIU request. As part of the transfer UPIU preparation, the SCSI command is copied to the UPIU structure according to the SCSI command size. As different SCSI commands differ in size

[PATCH 3/3] staging/wilc1000: Use %pM format specifier to print mac address

2015-08-27 Thread Alexander Kuleshov
printk() supports %pM format specifier for printing 6-byte MAC/FDDI addresses in hex notation small buffers, let's use it intead of %x:%x... Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000/linux_mon.c

Re: [PATCH 1/5] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-08-27 Thread Shawn Lin
在 2015/8/27 20:57, Krzysztof Kozlowski 写道: 2015-08-27 17:48 GMT+09:00 Shawn Lin shawn@rock-chips.com: This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim boojin@samsung.com Signed-off-by: Addy Ke addy...@rock-chips.com Signed-off-by:

Re: [PATCH] mmc: Kconfig: Add dependency on GPIOLIB for MMC_SDHCI

2015-08-27 Thread Michal Simek
On 08/27/2015 02:30 PM, Ulf Hansson wrote: On 27 August 2015 at 13:43, Michal Simek michal.si...@xilinx.com wrote: Hi Ulf, On 08/27/2015 01:32 PM, Ulf Hansson wrote: On 25 August 2015 at 14:04, Ulf Hansson ulf.hans...@linaro.org wrote: On 6 August 2015 at 07:39, Michal Simek

Re: [PATCH v7 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-08-27 Thread Fu Wei
Hi Thomas, Hanjun On 27 August 2015 at 21:40, Thomas Gleixner t...@linutronix.de wrote: On Thu, 27 Aug 2015, Hanjun Guo wrote: [1]: https://lkml.org/lkml/2015/7/29/236 If that is ok with you, we will introduce similar DECLARE_ thing for clock declare. Yes. Thanks Or we can drop

  1   2   3   4   5   6   7   8   9   10   >