Re: [PATCH v2 04/10] crypto/compress: add asynchronous compression support

2016-01-26 Thread Li, Weigang
On 1/27/2016 3:41 PM, Herbert Xu wrote: On Tue, Jan 26, 2016 at 05:15:06PM +0900, Joonsoo Kim wrote: From: Weigang Li Now, asynchronous compression APIs are supported. There is no asynchronous compression driver now but this APIs can be used as front-end to synchronous compression algorithm.

Re: [PATCH 04/15] arc: use of_platform_default_populate() to populate default bus

2016-01-26 Thread Vineet Gupta
On Wednesday 27 January 2016 09:56 AM, Kefeng Wang wrote: > Use helper of_platform_default_populate() in linux/of_platform > when possible, instead of calling of_platform_populate() with > the default match table. > > Cc: Vineet Gupta > Signed-off-by: Kefeng Wang > --- Acked-by: Vineet Gupta

Re: [PATCH 01/15] arm: use of_platform_default_populate() to populate default bus

2016-01-26 Thread Kefeng Wang
On 2016/1/27 15:08, kbuild test robot wrote: > Hi Kefeng, > > [auto build test ERROR on v4.5-rc1] > [cannot apply to arm-soc/for-next next-20160127] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: >

[PATCH v2 01/15] arm: use of_platform_default_populate() to populate default bus

2016-01-26 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Cc: Nicolas Ferre Cc: Ray Jui Cc: Lee Jones Cc: Krzysztof Halasa Cc: Kukjin Kim Cc: Rob Herring Cc: Shawn Guo Cc: Santosh Shilimkar Cc:

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Tue, Jan 26, 2016 at 02:33:40PM -0800, Linus Torvalds wrote: > If it turns out that some architecture does actually need a barrier > between a read and a dependent write, then that will mean that > > (a) we'll have to make up a _new_ barrier, because > "smp_read_barrier_depends()" is not

Re: [RFC PATCH] mm: support CONFIG_ZONE_DEVICE + CONFIG_ZONE_DMA

2016-01-26 Thread Mel Gorman
On Tue, Jan 26, 2016 at 05:37:38PM -0800, Dan Williams wrote: > >> Will do, especially since other efforts are feeling the pinch on the > >> MAX_NR_ZONES limitation. > > > > Please refer my previous attempt to add a new zone, ZONE_CMA. > > > > https://lkml.org/lkml/2015/2/12/84 > > > > It salvages

Re: [PATCH v2 04/10] crypto/compress: add asynchronous compression support

2016-01-26 Thread Herbert Xu
On Tue, Jan 26, 2016 at 05:15:06PM +0900, Joonsoo Kim wrote: > From: Weigang Li > > Now, asynchronous compression APIs are supported. There is no asynchronous > compression driver now but this APIs can be used as front-end to > synchronous compression algorithm. In this case, scatterlist would

How you tested this patch(8c7f010)

2016-01-26 Thread Zhizhou Tian
hi, Karam: I back ported "zram: implement rw_page operation of zram"(8c7f010) to linux3.10 on Spreadtrum tshark board. I test this patch with following code: mm/page_io.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/mm/page_io.c b/mm/page_io.c index 4e1c1c8..1556fc4 100644

Re: [PATCH 3/3] thermal: allow u8500-thermal driver to be a module

2016-01-26 Thread Lee Jones
On Mon, 25 Jan 2016, Arnd Bergmann wrote: > When the thermal subsystem is a loadable module, the u8500 driver > fails to build: > > drivers/thermal/built-in.o: In function `db8500_thermal_probe': > db8500_thermal.c:(.text+0x96c): undefined reference to > `thermal_zone_device_register' >

RE: [PATCH v8 1/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver

2016-01-26 Thread Yang, Wenyou
Hi Lee, > -Original Message- > From: Lee Jones [mailto:lee.jo...@linaro.org] > Sent: 2016年1月27日 15:28 > To: Yang, Wenyou > Cc: Rob Herring ; Pawel Moll ; > Mark Rutland ; Ian Campbell > ; Kumar Gala ; Javier > Martinez Canillas ; Krzysztof Kozlowski > ; Peter Korsgaard ; Ferre, > Nicolas

Re: [PATCH v5 0/7] remoteproc: Add driver for STMicroelectronics platforms

2016-01-26 Thread Lee Jones
Apologies for ping (I hate doing that), but I haven't heard anything from you. Do you want me to re-submit this set, or are you willing to take this and apply the relevant Acks? > ST's platforms often have multiple co-processors (usually ST40s or ST231s) > on-board. This provides the Linux-side

[RESEND][PATCH] PM / Domains: Fix typo in comment

2016-01-26 Thread Moritz Fischer
Acked-by: Kevin Hilman Signed-off-by: Moritz Fischer --- drivers/base/power/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 167418e..f23c036 100644 --- a/drivers/base/power/domain.c +++

Re: [PATCH v6 3/3] gpio: tps65086: Add GPO driver for the TPS65086 PMIC

2016-01-26 Thread Lee Jones
On Tue, 26 Jan 2016, Andrew F. Davis wrote: > On 01/26/2016 08:03 AM, Lee Jones wrote: > >On Mon, 25 Jan 2016, Andrew F. Davis wrote: > > > >>Add support for the TPS65086 PMIC GPOs. > >> > >>TPS65086 has four configurable GPOs that can be used for several > >>purposes. These are output only. > >>

Re: [PATCH v6 2/3] mfd: tps65086: Add driver for the TPS65086 PMIC

2016-01-26 Thread Lee Jones
On Mon, 25 Jan 2016, Andrew F. Davis wrote: > Add support for the TPS65912 device. It provides communication > through I2C and contains the following components: > > - Regulators > - Load switches > - GPO controller > > Signed-off-by: Andrew F. Davis > Acked-by: Lee Jones > --- >

Re: [PATCH v6 1/3] Documentation: tps65086: Add DT bindings for the TPS65086 PMIC

2016-01-26 Thread Lee Jones
On Mon, 25 Jan 2016, Andrew F. Davis wrote: > The TPS65086 PMIC contains several regulators and a GPO controller. > Add bindings for the TPS65086 PMIC. > > Signed-off-by: Andrew F. Davis > Acked-by: Rob Herring > --- > Documentation/devicetree/bindings/mfd/tps65086.txt | 55 >

Re: [PATCH v8 1/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver

2016-01-26 Thread Lee Jones
On Wed, 27 Jan 2016, Wenyou Yang wrote: > This patch adds support for the Active-semi ACT8945A PMIC. > It is a Multi Function Device with the following subdevices: > - Regulator > - Charger > > It is interfaced to the host controller using I2C interface, > ACT8945A is a child device of the

[PATCH] clk: Move vendor's Kconfig into CCF menu section

2016-01-26 Thread James Liao
Move all vendor's Kconfig into CCF menu section to prevent new drivers putting their Kconfig files in a wrong place. Signed-off-by: James Liao --- drivers/clk/Kconfig | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index

Re: [PATCH V4 1/5] DT: mfd: add device-tree binding doc fro PMIC max77620/max20024

2016-01-26 Thread Lee Jones
On Tue, 26 Jan 2016, Laxman Dewangan wrote: > > On Tuesday 26 January 2016 08:28 PM, Lee Jones wrote: > >On Mon, 25 Jan 2016, Laxman Dewangan wrote: > > > >>Hmm. I describe the boolean and tristate only. Do I need to define > >>type for integer,string also? > >I wouldn't describe any of them.

[PATCH] kexec: Add compound_order/compound_dtor to VMCOREINFO

2016-01-26 Thread Atsushi Kumagai
makedumpfile refers to page.lru.next to get the order of compound pages for page filtering. However, now the order is stored in page.compound_order, hence VMCOREINFO should be updated to export the offset of page.compound_order. The fact is, page.compound_order was introduced already in kernel

[PATCH v5 2/6] dt-bindings: ARM: Mediatek: Document bindings for MT2701

2016-01-26 Thread James Liao
This patch adds the binding documentation for apmixedsys, bdpsys, ethsys, hifsys, imgsys, infracfg, mmsys, pericfg, topckgen and vdecsys for Mediatek MT2701. Signed-off-by: James Liao Tested-by: John Crispin --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 1 +

[PATCH v5 1/6] clk: mediatek: Refine the makefile to support multiple clock drivers

2016-01-26 Thread James Liao
Add a Kconfig to define clock configuration for each SoC, and modify the Makefile to build drivers that only selected in config. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- drivers/clk/Kconfig | 1 + drivers/clk/mediatek/Kconfig | 23

[PATCH v5 5/6] reset: mediatek: Add MT2701 reset controller dt-binding file

2016-01-26 Thread James Liao
From: Shunli Wang Dt-binding file about reset controller is used to provide kinds of definition, which is referenced by dts file and IC-specified reset controller driver code. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin ---

[PATCH v5 0/6] Add clock support for Mediatek MT2701

2016-01-26 Thread James Liao
This series is based on 4.5-rc1, add clock and reset controller support for Mediatek MT2701. This series also refined makefile and Kconfig to support configurable multiple SoC clock support. changes since v4: - Rebase to v4.5-rc1. - Remove CLK_SET_RATE_PARENT from divider flags. - Add

[PATCH v5 4/6] clk: mediatek: Add MT2701 clock support

2016-01-26 Thread James Liao
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- drivers/clk/mediatek/Kconfig |8 + drivers/clk/mediatek/Makefile |1 +

[PATCH v5 6/6] reset: mediatek: Add MT2701 reset driver

2016-01-26 Thread James Liao
From: Shunli Wang In infrasys and perifsys, there are many reset control bits for kinds of modules. These bits are used as actual reset controllers to be registered into kernel's generic reset controller framework. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin

[PATCH v5 3/6] clk: mediatek: Add dt-bindings for MT2701 clocks

2016-01-26 Thread James Liao
From: Shunli Wang Add MT2701 clock dt-bindings, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Tested-by: John Crispin --- include/dt-bindings/clock/mt2701-clk.h | 482 + 1 file

Re: [RFC PATCH 10/21] mmc: sdhci: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
On 2016/1/27 15:11, Haibo Chen wrote: Hi Shawn, [...] @@ -1618,7 +1618,8 @@ static int sdhci_do_get_cd(struct sdhci_host *host) return 0; /* If nonremovable, assume that the card is always present. */ - if (host->mmc->caps & MMC_CAP_NONREMOVABLE) + if

Re: [PATCH v3 05/12] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-01-26 Thread Hanjun Guo
On 2016/1/25 18:21, Robert Richter wrote: > On 23.01.16 17:39:20, Hanjun Guo wrote: >> diff --git a/arch/arm64/kernel/acpi_numa.c b/arch/arm64/kernel/acpi_numa.c >> new file mode 100644 >> index 000..f7f7533 >> --- /dev/null >> +++ b/arch/arm64/kernel/acpi_numa.c >> +/* Callback for parsing of

RE: [RFC PATCH 10/21] mmc: sdhci: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Haibo Chen
Hi Shawn, > -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Shawn Lin > Sent: Wednesday, January 27, 2016 1:08 PM > To: Ulf Hansson > Cc: bcm-kernel-feedback-l...@broadcom.com; linux-rpi- > ker...@lists.infradead.org;

RE: [RFC PATCH 14/21] mmc: sdhci-esdhc-imx: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Haibo Chen
Hi Shawn, Comments below. > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: Wednesday, January 27, 2016 1:09 PM > To: Ulf Hansson > Cc: bcm-kernel-feedback-l...@broadcom.com; linux-rpi- > ker...@lists.infradead.org; linux-...@vger.kernel.org; linux- >

Re: [PATCH] mm: fix pfn_t to page conversion in vm_insert_mixed

2016-01-26 Thread Tomi Valkeinen
On 26/01/16 20:37, Dan Williams wrote: > pfn_t_to_page() honors the flags in the pfn_t value to determine if a > pfn is backed by a page. However, vm_insert_mixed() was originally > written to use pfn_valid() to make this determination. To restore the > old/correct behavior, ignore the pfn_t

Re: [PATCH 01/15] arm: use of_platform_default_populate() to populate default bus

2016-01-26 Thread kbuild test robot
Hi Kefeng, [auto build test ERROR on v4.5-rc1] [cannot apply to arm-soc/for-next next-20160127] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [RFC PATCH 14/21] mmc: sdhci-esdhc-imx: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
On 2016/1/27 14:54, Haibo Chen wrote: Hi Shawn, Comments below. [...] return ret; if (!IS_ERR_VALUE(mmc_gpio_get_cd(host->mmc))) - host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION; + host->mmc->caps &= MMC_CAP_NEEDS_POLL; You miss '

[PATCH] rtc: max77686: Cleanup and reduce dmesg output

2016-01-26 Thread Krzysztof Kozlowski
Cleanup of entire driver of its dmesg output: 1. Remove printing of the function name, because printing device name is sufficient. This also makes the dev_err()-like functions more compact and readable (not need of line break). 2. Lower from info to debug printing of each RTC interrupt (no

Re: [RFC] hwmon: (fam15h_power) Add bit masking for tdp_limit

2016-01-26 Thread Huang Rui
On Tue, Jan 26, 2016 at 11:57:35AM +0100, Gi-Oh Kim wrote: > > > On 26.01.2016 03:25, Huang Rui wrote: > >On Mon, Jan 25, 2016 at 07:41:07PM +0800, Gioh Kim wrote: > Thanks for your reply. > I'm not completely sure that the reserved bits are always zero. > Are they always zero? > Or do we need

Re: [LKP] [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)

2016-01-26 Thread Ard Biesheuvel
On 27 January 2016 at 01:45, Huang, Ying wrote: > Ard Biesheuvel writes: > >> On 22 January 2016 at 03:20, kernel test robot >> wrote: >>> FYI, we noticed the below changes on >>> >>> https://git.linaro.org/people/ard.biesheuvel/linux-arm >>> kallsyms-text-relative >>> commit

Re: [PATCH RESEND] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-26 Thread Viresh Kumar
On 27-01-16, 12:02, Gautham R. Shenoy wrote: > Currently next_policy() explicitly checks if a policy is the last > policy in the cpufreq_policy_list. Use the standard list_is_last > primitive instead. > > Cc: Viresh Kumar > Signed-off-by: Gautham R. Shenoy > --- > The earlier version one was

[PATCH RESEND] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-26 Thread Gautham R. Shenoy
Currently next_policy() explicitly checks if a policy is the last policy in the cpufreq_policy_list. Use the standard list_is_last primitive instead. Cc: Viresh Kumar Signed-off-by: Gautham R. Shenoy --- The earlier version one was based on an Juri's experimental branch. I have based this one

Re: [ANNOUNCE] 2015-Q4 release of KVMGT (Was Re: KVMGT - the implementation of ...)

2016-01-26 Thread Jike Song
Hi all, We are pleased to announce another update of Intel GVT-g for KVM. Intel GVT-g for KVM (a.k.a. KVMGT) is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel Graphics processors. A virtual GPU instance is

RE: [f2fs-dev] [PATCH 4/6] f2fs: avoid multiple node page writes due to inline_data

2016-01-26 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, January 27, 2016 2:48 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 4/6]

Re: [Y2038] [RFC 02/15] vfs: Change all structures to support 64 bit time

2016-01-26 Thread Deepa Dinamani
Arnd and I had a discussion about how to proceed here. We don't think anybody really is wanting a big patch touching 50 fs here. We are evaluating a couple of approaches that don't do this. I will post an update next week On Wed, Jan 20, 2016 at 3:17 PM, Arnd Bergmann wrote: > On Thursday 21

RE: undefined reference to `snd_timer_interrupt'

2016-01-26 Thread Jie, Yang
>-Original Message- >From: Takashi Iwai [mailto:ti...@suse.de] >Sent: Wednesday, January 27, 2016 2:14 PM >To: Wu, Fengguang >Cc: Jie, Yang; kbuild-...@01.org; linux-kernel@vger.kernel.org >Subject: Re: undefined reference to `snd_timer_interrupt' > >On Tue, 26 Jan 2016 23:16:55 +0100,

Re: [PATCH v3 08/12] arm64, numa: rework numa_add_memblk()

2016-01-26 Thread Hanjun Guo
On 2016/1/25 17:34, Robert Richter wrote: > On 23.01.16 17:39:23, Hanjun Guo wrote: >> Rework numa_add_memblk() to update the parameter "u64 size" >> to "u64 end", this will make it consistent with x86 and >> can simplify the code later. >> --- a/arch/arm64/kernel/of_numa.c >> +++

Re: make samples/bpf/ using gcc instead of clang/llvm

2016-01-26 Thread Joel Fernandes
Hi Alexei, Ok, I take that back. I see how it works now. Thanks for sharing that. On Tue, Jan 26, 2016 at 10:18 PM, Joel Fernandes wrote: > Alexei, > > Thanks for the quick reply. > > But, the bpf sample programs like tracex1_kern.c are marked with > hostprogs-y in the Makefile as well, just

Re: [PATCH v3] lib/spinlock_debug.c: prevent an infinite recursive cycle in spin_dump()

2016-01-26 Thread Byungchul Park
A better solution struck me now. Please hold on a minute. Sorry for sending many spam-email-like stuffs. :(

Re: [Intel-gfx] [Announcement] 2015-Q4 release of XenGT - a Mediated Graphics Passthrough Solution from Intel

2016-01-26 Thread Jike Song
Hi all, We are pleased to announce another update of Intel GVT-g for Xen. Intel GVT-g is a full GPU virtualization solution with mediated pass-through, starting from 4th generation Intel Core(TM) processors with Intel Graphics processors. A virtual GPU instance is maintained for each VM, with

Re: [RFC PATCH 07/21] mmc: sdhci-pxav3: consolidate parsing path

2016-01-26 Thread Shawn Lin
Hi Jisheng, On 2016/1/27 13:44, Jisheng Zhang wrote: Hi Shawn, On Wed, 27 Jan 2016 13:07:36 +0800 Shawn Lin wrote: This patch remove mmc_of_parse and check return value of sdhci_get_of_property. Cc: Jisheng Zhang Cc: Gregory CLEMENT Signed-off-by: Shawn Lin Reviewed-by: Jisheng Zhang

Re: make samples/bpf/ using gcc instead of clang/llvm

2016-01-26 Thread Joel Fernandes
Alexei, Thanks for the quick reply. But, the bpf sample programs like tracex1_kern.c are marked with hostprogs-y in the Makefile as well, just like test_verifier.c. How does Kbuild/Make know when to use gcc and when to use clang? Best, On Tue, Jan 26, 2016 at 10:08 PM, Alexei Starovoitov

Re: [PATCH v3 12/12] acpi, numa: reuse acpi_numa_memory_affinity_init()

2016-01-26 Thread Hanjun Guo
Hi Robert, On 2016/1/25 18:26, Robert Richter wrote: > On 23.01.16 17:39:27, Hanjun Guo wrote: >> From: Hanjun Guo >> >> After the cleanup for acpi_numa_memory_affinity_init(), >> it can be used for architetures both x86 and arm64, since >> CONFIG_MEMORY_HOTPLUG is not enabled for arm64, so no

Re: undefined reference to `snd_timer_interrupt'

2016-01-26 Thread Takashi Iwai
On Tue, 26 Jan 2016 23:16:55 +0100, kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 92e963f50fc74041b5e9e744c330dca48e04f08d > commit: 90bbaf66ee7b946952f1e82a0069639dea5fd893 ALSA: timer: add config item > to export PCM

Re: + lib-spinlock_debugc-prevent-an-infinite-recursive-cycle-in-spin_dump.patch added to -mm tree

2016-01-26 Thread Byungchul Park
On Wed, Jan 27, 2016 at 10:14:54AM +0900, Sergey Senozhatsky wrote: > On (01/26/16 16:12), a...@linux-foundation.org wrote: > [..] > > There is an infinite recursive cycle when using CONFIG_DEBUG_SPINLOCK, in > > spin_dump(). Backtrace prints printk() -> console_trylock() -> > >

[PATCH v3 2/2] i801_smbus: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Chen Fan
In our environment, when enable Secure boot, we found an abnormal phenomenon as following call trace shows. after investigation, we found the firmware assigned an irq number 255 which means unknown or no connection in PCI local spec for i801_smbus, meanwhile the ACPI didn't configure the pci irq

[PATCH v3 0/2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Chen Fan
see each patch comments. Chen Fan (2): pci: add an irq_invalid flag to specify the IRQ is not connected i801_smbus: fix unavailable irq number 255 reported by BIOS drivers/acpi/pci_irq.c| 10 ++ drivers/i2c/busses/i2c-i801.c | 5 + include/linux/pci.h | 1 +

[PATCH v3 1/2] pci: add an irq_invalid flag to specify the IRQ is not connected

2016-01-26 Thread Chen Fan
Quoting the PCI3.0 SPEC on page 223: "For x86 based PCs, the values in this register correspond to IRQ numbers (0-15) of the standard dual 8259 configuration. The value 255 is defined as meaning "unknown" or "no connection" to the interrupt controller. Values between 15 and 254 are reserved." So

Re: [PATCH] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-26 Thread Gautham R Shenoy
On Mon, Jan 25, 2016 at 11:18:24AM +, Juri Lelli wrote: > Hi, > > On 25/01/16 15:20, Viresh Kumar wrote: > > On 25-01-16, 15:16, Gautham R. Shenoy wrote: > > > Currently next_policy() explicitly checks if a policy is the last > > > policy in the cpufreq_policy_list. Use the standard

Re: [PATCH v4 02/10] rtc: max77686: Use ARRAY_SIZE() instead of current array length

2016-01-26 Thread Laxman Dewangan
On Wednesday 27 January 2016 09:06 AM, Javier Martinez Canillas wrote: It is better to use the ARRAY_SIZE() macro instead of the array length to avoid bugs if the array is later changed and the length not updated. Signed-off-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski

Re: make samples/bpf/ using gcc instead of clang/llvm

2016-01-26 Thread Alexei Starovoitov
On Tue, Jan 26, 2016 at 09:51:54PM -0800, Joel Fernandes wrote: > Hi Brendan, Alexei, > > I noticed your patch fixing the $subject issue. > > https://patchwork.ozlabs.org/patch/471118/ > > However, I still see make samples/bpf/ using gcc instead of clang. > > Here's a verbose kbuild output of

Re: [PATCH v2 1/2] lightnvm: specify target's logical address area

2016-01-26 Thread Wenwei Tao
Thanks. 2016-01-27 13:52 GMT+08:00 Matias Bjørling : > On 01/27/2016 03:21 AM, Wenwei Tao wrote: >> >> Yes, It's a spelling mistake, will correct it in next version. > > > I can fix it in the version I apply. No problem.

Re: [PATCH 3/3] dax: Handle write faults more efficiently

2016-01-26 Thread Andy Lutomirski
On Tue, Jan 26, 2016 at 8:17 PM, Matthew Wilcox wrote: > On Mon, Jan 25, 2016 at 09:38:19AM -0800, Andy Lutomirski wrote: >> On Mon, Jan 25, 2016 at 9:25 AM, Matthew Wilcox >> wrote: >> > From: Matthew Wilcox >> > >> > When we handle a write-fault on a DAX mapping, we currently insert a >> >

Re: [PATCH] cpufreq: Use list_is_last() to check last entry of the policy list

2016-01-26 Thread Gautham R Shenoy
On Mon, Jan 25, 2016 at 04:52:15PM +0530, Viresh Kumar wrote: > On 25-01-16, 11:18, Juri Lelli wrote: > > Hi, > > > > On 25/01/16 15:20, Viresh Kumar wrote: > > > On 25-01-16, 15:16, Gautham R. Shenoy wrote: > > > > Currently next_policy() explicitly checks if a policy is the last > > > > policy

Re: [PATCH v2 1/2] lightnvm: specify target's logical address area

2016-01-26 Thread Matias Bjørling
On 01/27/2016 03:21 AM, Wenwei Tao wrote: Yes, It's a spelling mistake, will correct it in next version. I can fix it in the version I apply. No problem.

Re: [RFC PATCH] mm: support CONFIG_ZONE_DEVICE + CONFIG_ZONE_DMA

2016-01-26 Thread Joonsoo Kim
On Tue, Jan 26, 2016 at 08:26:24PM -0800, Dan Williams wrote: > On Tue, Jan 26, 2016 at 7:52 PM, Joonsoo Kim wrote: > > On Tue, Jan 26, 2016 at 07:23:59PM -0800, Dan Williams wrote: > >> On Tue, Jan 26, 2016 at 6:15 PM, Joonsoo Kim > >> wrote: > >> > On Tue, Jan 26, 2016 at 05:37:38PM -0800,

make samples/bpf/ using gcc instead of clang/llvm

2016-01-26 Thread Joel Fernandes
Hi Brendan, Alexei, I noticed your patch fixing the $subject issue. https://patchwork.ozlabs.org/patch/471118/ However, I still see make samples/bpf/ using gcc instead of clang. Here's a verbose kbuild output of make samples/bpf/. My kernel version is 4.4. It looks to me like Kbuild is

Re: [RFC PATCH 07/21] mmc: sdhci-pxav3: consolidate parsing path

2016-01-26 Thread Jisheng Zhang
Hi Shawn, On Wed, 27 Jan 2016 13:07:36 +0800 Shawn Lin wrote: > This patch remove mmc_of_parse and check return value > of sdhci_get_of_property. > > Cc: Jisheng Zhang > Cc: Gregory CLEMENT > Signed-off-by: Shawn Lin Reviewed-by: Jisheng Zhang But I have some comments to your patch10: >

[PATCH v3] lib/spinlock_debug.c: prevent an infinite recursive cycle in spin_dump()

2016-01-26 Thread Byungchul Park
changes from v2 to v3 - avoid printk() only in case of lockup suspected, not real lockup in which case it does not help at all. - consider not only console_sem.lock but also logbuf_lock which is used by printk(). changes from v1 to v2 - only change comment and commit message esp. replacing

Re: [PATCH 1/3] x86: Honour passed pgprot in track_pfn_insert() and track_pfn_remap()

2016-01-26 Thread Andy Lutomirski
On Tue, Jan 26, 2016 at 8:40 PM, Matthew Wilcox wrote: > On Mon, Jan 25, 2016 at 09:33:35AM -0800, Andy Lutomirski wrote: >> On Mon, Jan 25, 2016 at 9:25 AM, Matthew Wilcox >> wrote: >> > From: Matthew Wilcox >> > >> > track_pfn_insert() overwrites the pgprot that is passed in with a value >> >

RE: [PATCH v3] mptlan: add checks for dma mapping errors

2016-01-26 Thread Sathya Prakash
There is no fusion based network card and resources exists today in Avago(LSI) to test this patch so we prefer to leave it as is. We would like to prevent any new changes on MPT (FC/SCSI/SAS/LAN) drivers as we don't have support for those cards anymore, is there a way we could remove those

Re: [PATCH v2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Cao jin
On 01/27/2016 08:25 AM, Bjorn Helgaas wrote: On Tue, Jan 26, 2016 at 04:48:25PM +0100, Thomas Gleixner wrote: On Tue, 26 Jan 2016, Bjorn Helgaas wrote: Right. So we could certainly do something like this INVALID_IRQ thingy, but that looks a bit weird. What would request_irq() return? If

Re: [PATCH v4 6/6] drm/dsi: Get DSI host by DT device node

2016-01-26 Thread Archit Taneja
On 01/21/2016 09:46 PM, Thierry Reding wrote: On Thu, Dec 10, 2015 at 06:11:40PM +0530, Archit Taneja wrote: mipi_dsi_devices are inherently aware of their host because they share a parent-child hierarchy in the device tree. non-dsi drivers that create dsi device don't have this data. In

[RFC PATCH 3/6] of: iommu: Increment DT node refcount in of_iommu_set_ops()

2016-01-26 Thread Anup Patel
We are saving pointer to iommu DT node in of_iommu_set_ops() hence we should increment DT node ref count. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/iommu/of_iommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/of_iommu.c

Re: [PATCH 3/3] dax: Handle write faults more efficiently

2016-01-26 Thread Andy Lutomirski
On Tue, Jan 26, 2016 at 8:17 PM, Matthew Wilcox wrote: > On Mon, Jan 25, 2016 at 09:38:19AM -0800, Andy Lutomirski wrote: >> On Mon, Jan 25, 2016 at 9:25 AM, Matthew Wilcox >> wrote: >> > From: Matthew Wilcox >> > >> > When we handle a write-fault on a DAX mapping, we currently insert a >> >

Need direction to understand mac80211

2016-01-26 Thread Sunil Shahu
Hi, I am currently working on an project that aims to provide multiple 802.11ac radio support on a single node for mesh network. In this both the radios will operate in different channel and will talk to different nodes in mesh network. I need to work with kernel mac80211 driver subsystem for

[RFC PATCH 5/6] iommu/arm-smmu: Option to treat instruction fetch as data read for SMMUv2

2016-01-26 Thread Anup Patel
Currently, the SMMU driver by default provides unprivilege read-write permission in page table entries of stage1 page table. For SMMUv2 with aarch64 long descriptor format, a privilege instruction fetch will generate context fault. To allow privilege instruction fetch from a MMU master we need to

[RFC PATCH 6/6] iommu/arm-smmu: Update bindings document for smmu-inst-as-data DT option

2016-01-26 Thread Anup Patel
This patch adds info about 'smmu-inst-as-data' DT option in ARM SMMUv1/SMMUv2 driver bindings document. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Vikram Prakash Reviewed-by: Scott Branden --- Documentation/devicetree/bindings/iommu/arm,smmu.txt | 8 1 file changed,

[RFC PATCH 1/6] iommu/arm-smmu: Init driver using IOMMU_OF_DECLARE

2016-01-26 Thread Anup Patel
From: Sricharan R This patch uses IOMMU_OF_DECLARE to register the driver and the iommu_ops. So when master devices of the iommu are registered, of_xlate callback can be used to add the master configurations to the smmu driver. Signed-off-by: Sricharan R Signed-off-by: Anup Patel Tested-by:

[RFC PATCH 4/6] iommu/arm-smmu: Add support for IOMMU_DOMAIN_DMA in SMMUv1/SMMUv2 driver

2016-01-26 Thread Anup Patel
To allow use of large memory (> 4Gb) with 32bit devices we need to use some kind of iommu for such 32bit devices. This patch extends SMMUv1/SMMUv2 driver to support DMA domains which in-turn will allows us to use iommu based DMA mappings for 32bit devices. Signed-off-by: Anup Patel Reviewed-by:

[RFC PATCH 0/6] iommu/arm-smmu: Add support for DMA domains and instruction fetch

2016-01-26 Thread Anup Patel
This patchset adds following to SMMUv1/SMMUv2 driver: 1. Support for domain type IOMMU_DOMAIN_DMA 2. Allow privilege instruction fetchs from MMU masters by having a DT option to treat instruction fetch as data read The patchset is based on '4.5-rc1' tag of linux mainline tree and is available in

[RFC PATCH 2/6] iommu/arm-smmu: Invoke DT probe from arm_smmu_of_setup()

2016-01-26 Thread Anup Patel
The SMMUv1/SMMUv2 driver is initialized very early using the IOMMU_OF_DECLARE() but the actual platform device is probed via normal DT probing. This patch uses of_platform_device_create() from arm_smmu_of_setup() to ensure that SMMU platform device is probed immediately. Signed-off-by: Anup

Re: [PATCH v4 5/6] drm/dsi: Add routine to unregister dsi device

2016-01-26 Thread Archit Taneja
On 01/21/2016 09:42 PM, Thierry Reding wrote: On Thu, Dec 10, 2015 at 06:11:39PM +0530, Archit Taneja wrote: A driver calling mipi_dsi_device_new might want to unregister the device once it's done. It might also require it in an error handling path in case something didn't go right.

Re: [PATCH] KEYS: Only apply KEY_FLAG_KEEP to a key if a parent keyring has it set

2016-01-26 Thread James Morris
On Wed, 27 Jan 2016, David Howells wrote: > Hi James, > > Can you pass this onto Linus asap? The thing it fixes breaks kerberos and > sssd. > I'd like to see some acks on this. -- James Morris

Re: [PATCH v4 4/6] drm/dsi: Check for used channels

2016-01-26 Thread Archit Taneja
On 01/21/2016 09:41 PM, Thierry Reding wrote: On Thu, Dec 10, 2015 at 06:11:38PM +0530, Archit Taneja wrote: We don't check whether a previously registered mipi_dsi_device under the same host shares the same virtual channel. Before registering, check if any of the registered devices doesn't

[RFC PATCH 18/21] mmc: sdhci-pltfm: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
We already call mmc_of_parse to get "broken-cd", so just remove it here. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-pltfm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index 8b0fa73..dae5d0ba9 100644 ---

[RFC PATCH 19/21] mmc: sdhci-pxav2: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
It already claims MMC_CAP_NONREMOVABLE, so we just remove the quirk here since we don't need non-removeble and broken-cd together. Cc: Jisheng Zhang Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-pxav2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pxav2.c

[RFC PATCH 20/21] mmc: sdhci-s3c: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
This patch remove SDHCI_QUIRK_BROKEN_CARD_DETECTION and use MMC_CAP_NEEDS_POLL to claim "broken-cd". Cc: Jaehoon Chung Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-s3c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-s3c.c

[RFC PATCH 21/21] mmc: sdhci.h: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
We remove SDHCI_QUIRK_BROKEN_CARD_DETECTION since now sdhci core and variant drivers will not use it. And we also move up the quirk number one-by-one. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci.h | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-)

[RFC PATCH 15/21] mmc: sdhci-msm: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
We just replcae SDHCI_QUIRK_BROKEN_CARD_DETECTION with MMC_CAP_NEEDS_POLL. Cc: Georgi Djakov Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index

[RFC PATCH 14/21] mmc: sdhci-esdhc-imx: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
sdhci_esdhc_imx_pdata need SDHCI_QUIRK_BROKEN_CARD_DETECTION, so we replace it with MMC_CAP_NEEDS_POLL while probing. For other cases, we directly remove SDHCI_QUIRK_BROKEN_CARD_DETECTION. Cc: Dong Aisheng Cc: Haibo Chen Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-esdhc-imx.c | 9

[RFC PATCH 16/21] mmc: sdhci-of-esdhc: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
This patch just remove SDHCI_QUIRK_BROKEN_CARD_DETECTION, and use MMC_CAP_NEEDS_POLL if needed. Cc: yangbo lu Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-esdhc.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/host/sdhci-of-esdhc.c

[RFC PATCH 17/21] mmc: sdhci-pci-core: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
This patch remove SDHCI_QUIRK_BROKEN_CARD_DETECTION and add MMC_CAP_NEEDS_POLL for PCI_DEVICE_ID_MARVELL_88ALP01_SD Cc: Adrian Hunter Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-pci-core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[RFC PATCH 11/21] mmc: sdhci-acpi: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
sdhci-acpi already add MMC_CAP_NONREMOVABLE for caps, so there is no need to add SDHCI_QUIRK_BROKEN_CARD_DETECTION. Cc: Adrian Hunter Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-acpi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-acpi.c

[RFC PATCH 12/21] mmc: sdhci-bcm-kona: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
If MMC_CAP_NONREMOVABLE is provided, SDHCI_QUIRK_BROKEN_CARD_DETECTION is redunant. Cc: Ray Jui Cc: Florian Fainelli Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-bcm-kona.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-bcm-kona.c

[RFC PATCH 13/21] mmc: sdhci-bcm2835: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
It seems SDHCI_QUIRK_BROKEN_CARD_DETECTION is a must quirk for this driver, so we remove SDHCI_QUIRK_BROKEN_CARD_DETECTION and add MMC_CAP_NEEDS_POLL for it. Cc: Florian Fainelli Cc: Ray Jui Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-bcm2835.c | 5 +++-- 1 file changed, 3

[RFC PATCH 09/21] mmc: sdhci_f_sdh30: check sdhci_get_of_property return value

2016-01-26 Thread Shawn Lin
sdhci_get_of_property may failed while probing, so we check the return value here. Cc: Vincent Yang Cc: Andy Green Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci_f_sdh30.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci_f_sdh30.c

[RFC PATCH 10/21] mmc: sdhci: remove SDHCI_QUIRK_BROKEN_CARD_DETECTION

2016-01-26 Thread Shawn Lin
SDHCI_QUIRK_BROKEN_CARD_DETECTION is for "broken-cd". If we add MMC_CAP_NONREMOVABLE("non-removeble"), we shoud not add "broken-cd" together according to mmc.txt for dt-bingdings. Also, "broken-cd" can obtain from mmc_of_parse, which will add MMC_CAP_NEEDS_POLL into mmc->caps. Signed-off-by:

[RFC PATCH 07/21] mmc: sdhci-pxav3: consolidate parsing path

2016-01-26 Thread Shawn Lin
This patch remove mmc_of_parse and check return value of sdhci_get_of_property. Cc: Jisheng Zhang Cc: Gregory CLEMENT Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-pxav3.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c

[RFC PATCH 08/21] mmc: sdhci-sirf: check sdhci_get_of_property return value

2016-01-26 Thread Shawn Lin
sdhci_get_of_property may failed while probing, so we check the return value here. Cc: Barry Song Cc: Weijun Yang Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-sirf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-sirf.c

[RFC PATCH 02/21] mmc: sdhci-iproc: consolidate parsing path

2016-01-26 Thread Shawn Lin
This patch remove mmc_of_parse and check return value of sdhci_get_of_property. Cc: Scott Branden Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-iproc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci-iproc.c

[RFC PATCH 06/21] mmc: sdhci-of-esdhc: consolidate parsing path

2016-01-26 Thread Shawn Lin
This patch remove mmc_of_parse and check return value of sdhci_get_of_property. Cc: yangbo lu Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-esdhc.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/sdhci-of-esdhc.c

[RFC PATCH 01/21] mmc: sdhci-pltfm: consolidate parsing path

2016-01-26 Thread Shawn Lin
This patch wrapper mmc_of_parse into sdhci_get_of_property, and change the return value for variant drivers to check it. Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-pltfm.c | 23 +++ drivers/mmc/host/sdhci-pltfm.h | 2 +- 2 files changed, 20 insertions(+), 5

[RFC PATCH 04/21] mmc: sdhci-of-arasan: consolidate parsing path

2016-01-26 Thread Shawn Lin
This patch remove mmc_of_parse and check return value of sdhci_get_of_property. Cc: Michal Simek Cc: soren.brinkm...@xilinx.com Signed-off-by: Shawn Lin --- drivers/mmc/host/sdhci-of-arasan.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >