Re: USB broken on Banana Pi in Linux 4.6

2016-06-02 Thread Marc Haber
On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote: > On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote: > > Hi, > > > > on my Bananapis, in kernel 4.6 USB does not work. Kernel configuration > > is USB-wise identical to 4.5 (grepped for differences in (hci|usb)), > > and in 4.6 ther

Re: [RFC v2 2/3] crypto: Introduce CRYPTO_ALG_BULK flag

2016-06-02 Thread Herbert Xu
On Fri, Jun 03, 2016 at 02:48:34PM +0800, Baolin Wang wrote: > > If we move the IV generation into the crypto API, we also can not > handle every algorithm with the bulk interface. Cause we also need to > use different methods to map one whole bio or map one sector according > to the algorithm whet

[PATCH v3 1/2] ARM: dts: sun9i: a80-optimus: Drop sunxi-common-regulators.dtsi

2016-06-02 Thread Chen-Yu Tsai
sunxi-common-regulators.dtsi provided dummy regulators vcc3v0, vcc3v3, vcc5v0. 3.0V/3.3V and 5.0V are commonly used voltages in Allwinner devices. These dummy regulators provide a stand-in when bindings that require one, but the real regulator is not supported yet. Since these are no longer needed

[PATCH v3 0/2] ARM: dts: sun9i: drop sunxi-common-regulators.dtsi

2016-06-02 Thread Chen-Yu Tsai
Hi Maxime, These are the remaining 2 patches from the AXP809 series. Changes since v2: - Drop sunxi-common-regulators.dtsi instead of disabling dummy regulators. Regards ChenYu Chen-Yu Tsai (2): ARM: dts: sun9i: a80-optimus: Drop sunxi-common-regulators.dtsi ARM: dts: sun9i: cubieboard4

[PATCH v3 2/2] ARM: dts: sun9i: cubieboard4: Drop sunxi-common-regulators.dtsi

2016-06-02 Thread Chen-Yu Tsai
sunxi-common-regulators.dtsi provided dummy regulators vcc3v0, vcc3v3, vcc5v0. 3.0V/3.3V and 5.0V are commonly used voltages in Allwinner devices. These dummy regulators provide a stand-in when bindings that require one, but the real regulator is not supported yet. Since these are no longer needed

Re: [RFC v2 2/3] crypto: Introduce CRYPTO_ALG_BULK flag

2016-06-02 Thread Baolin Wang
Hi Herbet, On 2 June 2016 at 16:26, Herbert Xu wrote: > On Fri, May 27, 2016 at 07:11:23PM +0800, Baolin Wang wrote: >> Now some cipher hardware engines prefer to handle bulk block rather than one >> sector (512 bytes) created by dm-crypt, cause these cipher engines can handle >> the intermediate

Re: [PATCH 1/3] dt-bindings: pwm: Add MediaTek display PWM bindings

2016-06-02 Thread weiqing kong
On Thu, 2016-06-02 at 17:45 -0500, Rob Herring wrote: > On Mon, May 30, 2016 at 04:41:50PM +0800, Weiqing Kong wrote: > > Add MT2701 compatible string. > > > > Signed-off-by: Weiqing Kong > > --- > > Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt | 5 +++-- > > 1 file changed, 3 insertio

Re: authenc methods vs FIPS in light of unencrypted associated data

2016-06-02 Thread Stephan Mueller
Am Donnerstag, 2. Juni 2016, 18:01:04 schrieb Marcus Meissner: Hi Marcus, Herbert > Hi, > > In February I already tagged some authenc ciphers for FIPS compatibility. > > I currently revisit this to get testmgr running all the tests in strict FIPS > mode. > > The authenc() class is troublesome.

Re: linux-next/linux memleak after IO on dax mountpoint

2016-06-02 Thread Xiong Zhou
On Thu, Jun 02, 2016 at 04:22:37PM +0100, David Drysdale wrote: > On Sat, May 28, 2016 at 5:05 AM, Xiong Zhou wrote: > > On Fri, May 27, 2016 at 04:46:17PM +0800, Xiong Zhou wrote: > > ... > >> Still working on to id which commit in this merge causes this issuer, > > > > Narrowed down to: > > > >

[PATCH v2 1/9] pinctrl: walk into bcm subdir unconditionally

2016-06-02 Thread Gerd Hoffmann
There is no ARCH_BCM on arm64, and we need pinctrl-bcm2835 for the rpi3. Signed-off-by: Gerd Hoffmann --- drivers/pinctrl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile index e4bc115..88586c0 100644 --- a/drivers/p

[PATCH v2 4/9] arm64: Add platform selection for BCM2835.

2016-06-02 Thread Gerd Hoffmann
From: Eric Anholt Signed-off-by: Eric Anholt [ kraxel: copy some selects from arm to arm64 ] Signed-off-by: Gerd Hoffmann --- arch/arm64/Kconfig.platforms | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 7ef1

[PATCH v2 3/9] arm64: Allow for different DMA and CPU bus offsets

2016-06-02 Thread Gerd Hoffmann
From: Alexander Graf On arm64, all SoCs we supported so far either have an IOMMU or have bus addresses equal to CPU addresses. However, with the Raspberry Pi 3 coming up, this is no longer true. To allow DMA to work with an AArch64 kernel on those devices, let's allow devices to have DMA offsets

[PATCH v2 5/9] arm64: Add BCM2835 support to the defconfig.

2016-06-02 Thread Gerd Hoffmann
From: Eric Anholt Made with make defconfig; make menuconfig (only saying Y to new entries); make savedefconfig. Signed-off-by: Eric Anholt [ kraxel: quick+dirty rebase to 4.7 ] Signed-off-by: Gerd Hoffmann --- arch/arm64/configs/defconfig | 23 --- 1 file changed, 20 ins

[PATCH v2 6/9] dt-bindings: Add root properties for Raspberry Pi 3

2016-06-02 Thread Gerd Hoffmann
From: Eric Anholt Signed-off-by: Eric Anholt Acked-by: Stephen Warren Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/device

[PATCH v2 9/9] ARM: bcm2837: dt: Add the ethernet to the device trees

2016-06-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts index 223793d..6f47dd2 100644 --- a/arch/arm64/boot/dts/broadc

[PATCH v2 7/9] ARM: bcm2835: Add devicetree for the Raspberry Pi 3.

2016-06-02 Thread Gerd Hoffmann
From: Eric Anholt While this devicetree also works for booting in 32-bit mode, it's placed in arm64 since it's a 64-bit CPU (as suggested by Arnd). v2: Move to arm64/ instead of arm/ Signed-off-by: Eric Anholt Acked-by: Stephen Warren (v1) [ kraxel: update bcm2837-rpi-3-b.dtb path in arm(32)

Re: [PATCH] device tree description for AD5820 camera auto-focus coil

2016-06-02 Thread Pavel Machek
On Fri 2016-06-03 00:27:46, Sakari Ailus wrote: > On Thu, Jun 02, 2016 at 09:30:27PM +0200, Pavel Machek wrote: > > > > Add documentation for ad5820 device tree binding. > > > > Signed-off-by: Pavel Machek > > Thanks, Pavel!! > > Can I pick the two patches (this one + the driver) or would you

[PATCH v2 8/9] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-06-02 Thread Gerd Hoffmann
From: Lubomir Rintel The hub and the ethernet in its port 1 are hardwired on the board. Compared to the adapters that can be plugged into the USB ports, this one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the MAC address for this adapter in its ROM, accessible from

[PATCH v2 2/9] irqchip: bcm2835: Avoid arch/arm-specific handle_IRQ.

2016-06-02 Thread Gerd Hoffmann
From: Eric Anholt This is equivalent and works for arm64 as well. Signed-off-by: Eric Anholt --- drivers/irqchip/irq-bcm2835.c | 3 +-- drivers/irqchip/irq-bcm2836.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-bcm2835.c b/drivers/irqchip/irq-bcm28

[PATCH v3 1/2] ARM: at91/dt: at91sam9260: Remove leading zeros in OHCI node.

2016-06-02 Thread Raashid Muhammed
From: Raashid Muhammed Remove leading zeros in OHCI node for at91sam9260 based boards. Signed-off-by: Raashid Muhammed Reviewed-by: Vijay Kumar B. --- arch/arm/boot/dts/aks-cdu.dts | 2 +- arch/arm/boot/dts/animeo_ip.dts | 2 +- arch/arm/boot/dts/at91-foxg20.dts

[PATCH v3 2/2] ARM: at91: Add DT support for Olimex SAM9-L9260 board.

2016-06-02 Thread Raashid Muhammed
From: Raashid Muhammed sam9-l9260 is a low cost board designed by Olimex. More information is available at: https://www.olimex.com/Products/ARM/Atmel/SAM9-L9260/ Signed-off-by: Raashid Muhammed Reviewed-by: Vijay Kumar B. Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/olime

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-02 Thread Horng-Shyang Liao
Hi Mathias, Please see my inline reply. On Thu, 2016-06-02 at 10:46 +0200, Matthias Brugger wrote: > > On 01/06/16 11:57, Horng-Shyang Liao wrote: > > Hi Mathias, > > > > Please see my inline reply. > > > > On Tue, 2016-05-31 at 22:04 +0200, Matthias Brugger wrote: > >> > >> On 31/05/16 10:36, H

[PATCH v1] KVM: VMX: enable guest access to LMCE related MSRs

2016-06-02 Thread Haozhong Zhang
On Intel platforms, this patch adds LMCE to KVM MCE supported capabilities and handles guest access to LMCE related MSRs. Signed-off-by: Ashok Raj Signed-off-by: Haozhong Zhang --- arch/x86/include/asm/kvm_host.h | 3 +++ arch/x86/kvm/vmx.c | 27 +-- arch/x

[PATCH v1] Add KVM support for Intel local MCE

2016-06-02 Thread Haozhong Zhang
Previous v0 patch can be found at http://permalink.gmane.org/gmane.linux.kernel/2104347 Changes in v1: * Change macro KVM_MCE_CAP_SUPPORTED to variable kvm_mce_cap_supported. * Include LMCE capability in kvm_mce_cap_supported only on Intel CPU, i.e. LMCE can be enabled only on Intel CPU. * C

Re: [linux-sunxi] [PATCH] [V2] ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board

2016-06-02 Thread luoyi . ly
From: Luo Yi Remove the extra empty line and add signed off. Signed-off-by: Luo Yi --- arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts b/arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts i

Re: [PATCH] f2fs: fix to redirty page if fail to gc data page

2016-06-02 Thread Chao Yu
On 2016/6/3 13:17, Jaegeuk Kim wrote: > On Fri, Jun 03, 2016 at 01:13:21PM +0800, Chao Yu wrote: >> On 2016/6/3 13:08, Jaegeuk Kim wrote: >>> On Tue, May 31, 2016 at 02:10:50PM +0800, Chao Yu wrote: Hi Jaegeuk, On 2016/5/30 10:37, Jaegeuk Kim wrote: > Hi Chao, > > On Sat,

[GIT PULL] Keys keyctl placeholder

2016-06-02 Thread James Morris
David Howells has asked that this be accepted before -rc2: "Could you pass this along to Linus as soon as possible, please? This alters a new keyctl function added in the current merge window to allow for a future extension planned for the next merge window." Please pull. The following change

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Al Viro
On Fri, Jun 03, 2016 at 12:58:10AM -0400, Oleg Drokin wrote: > This one cures the insta-crash I was having, and I see no other ill-effects > so far. OK... I can take it through vfs.git, but I think it'd be better off in NFS tree. Is everyone OK with something like the following? make nfs_atom

Re: ath9k gpio request

2016-06-02 Thread Pan, Miaoqing
Done, https://patchwork.kernel.org/patch/9151847/. Thanks, Miaoqing From: Kalle Valo Sent: Friday, June 3, 2016 1:33 PM To: Pan, Miaoqing Cc: Sudip Mukherjee; Stephen Rothwell; ath9k-devel; linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-w

RE: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry

2016-06-02 Thread Li, Yong B
Hi Tony, I can submit a V2 version about the "disabled", or just drop this patch? Thanks, Yong -Original Message- From: Tony Lindgren [mailto:t...@atomide.com] Sent: Friday, June 3, 2016 1:57 AM To: Robert Nelson Cc: Li, Yong B ; Benoit Cousson ; Rob Herring ; Pawel Moll ; Mark Rutland

Re: [PATCH v2 1/3] regulator: DT: Add DT property for operation mode configuration

2016-06-02 Thread Fan Chen
Hi Mark, On Fri, 2016-06-03 at 01:16 +0100, Mark Brown wrote: > On Tue, May 31, 2016 at 04:20:35PM +0800, Fan Chen wrote: > > On Mon, 2016-05-23 at 12:28 +0100, Mark Brown wrote: > > In the case of svs[1], which Henry mentioned in cover letter, it can be > > regarded as a special consumer who req

Let me know about regressions in 4.7 (was: Re: Linux 4.7-rc1)

2016-06-02 Thread Thorsten Leemhuis
On 29.05.2016 19:00, Linus Torvalds wrote: > […] Anyway, enough blathering. Go out and test. […] And if you find any regressions in 4.7 pre-releases let me know via regressi...@leemhuis.info I'll try to compile them into a list and post it on LKML once a week similar to how Rafael did it until a f

Re: [PATCH] sched/cputime: add steal clock warps handling during cpu hotplug

2016-06-02 Thread Wanpeng Li
2016-06-02 21:59 GMT+08:00 Rik van Riel : > On Thu, 2016-06-02 at 14:00 +0200, Peter Zijlstra wrote: >> On Thu, Jun 02, 2016 at 07:57:19PM +0800, Wanpeng Li wrote: >> > >> > From: Wanpeng Li >> > >> > I observed that sometimes st is 100% instantaneous, then idle is >> > 100% >> > even if there is

Re: ath9k gpio request

2016-06-02 Thread Kalle Valo
Sudip Mukherjee writes: > On Thursday 02 June 2016 01:32 PM, Pan, Miaoqing wrote: >> Seems there are something wrong in the datasheet, try >> >> --- a/drivers/net/wireless/ath/ath9k/reg.h >> +++ b/drivers/net/wireless/ath/ath9k/reg.h >> @@ -1122,8 +1122,8 @@ enum { >> #define AR9300_NUM_GPIO

[PATCH V3 0/8] cpufreq: cleanups and reorganization

2016-06-02 Thread Viresh Kumar
Hi Rafael, This cleans up cpufreq core and few platform drivers a bit. Its mostly around cleaning up the usage of cpufreq_frequency_table_target(), which will be optimized in a separate series. V2->V3: - Fixed an issue with cpu_cooling.c (Javi) - Included 2 new patches from the other cleanup seri

[PATCH V3 4/8] cpufreq: ondemand: Don't keep a copy of freq_table pointer

2016-06-02 Thread Viresh Kumar
There is absolutely no need to keep a copy to the freq-table in 'struct od_policy_dbs_info'. Use policy->freq_table instead. Signed-off-by: Viresh Kumar --- drivers/cpufreq/amd_freq_sensitivity.c | 7 +++ drivers/cpufreq/cpufreq_ondemand.c | 22 +++--- drivers/cpufreq/cp

[PATCH V3 1/8] ARM: davinci: Sort frequency table

2016-06-02 Thread Viresh Kumar
This is required for some of the changes in cpufreq core. There was only one function dependent on the order of the table, that is fixed as well. Cc: Sekhar Nori Cc: Kevin Hilman Signed-off-by: Viresh Kumar --- arch/arm/mach-davinci/da850.c | 16 +--- 1 file changed, 9 insertions(+

[PATCH V3 7/8] cpufreq: Return index from cpufreq_frequency_table_target()

2016-06-02 Thread Viresh Kumar
This routine can't fail unless the frequency table is invalid and doesn't contain any valid entries. Make it return the index and WARN() in case it is used for an invalid table. Signed-off-by: Viresh Kumar --- Documentation/cpu-freq/cpu-drivers.txt | 7 +++ drivers/cpufreq/amd_freq_sensiti

[PATCH V3 6/8] cpufreq: Drop 'freq_table' argument of __target_index()

2016-06-02 Thread Viresh Kumar
It is already present as part of the policy and so no need to pass it from the caller. Also, 'freq_table' is guaranteed to be valid in this function and so no need to check it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq.c | 21 +++-- 1 file changed, 7 insertions(+),

[PATCH V3 8/8] cpufreq: davinci: Reuse cpufreq_generic_frequency_table_verify()

2016-06-02 Thread Viresh Kumar
policy->freq_table will always be valid for this platform, otherwise driver's probe() would fail. And so this routine will *always* return after calling cpufreq_frequency_table_verify(). This can be done using the generic callback provided by core, lets use it instead. Cc: Sekhar Nori Signed-off

[PATCH V3 2/8] cpufreq: s3c24xx: Remove useless checks

2016-06-02 Thread Viresh Kumar
These aren't required at all, remove them. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Viresh Kumar --- drivers/cpufreq/s3c24xx-cpufreq.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c index ae8eaed77b70..4567c3c

[PATCH V3 5/8] cpufreq: Drop freq-table param to cpufreq_frequency_table_target()

2016-06-02 Thread Viresh Kumar
The policy already has this pointer set, use it instead. Signed-off-by: Viresh Kumar --- Documentation/cpu-freq/cpu-drivers.txt | 1 - drivers/cpufreq/amd_freq_sensitivity.c | 3 +-- drivers/cpufreq/cpufreq.c | 4 ++-- drivers/cpufreq/cpufreq_ondemand.c | 11 +-- driv

[PATCH V3 3/8] cpufreq: Remove cpufreq_frequency_get_table()

2016-06-02 Thread Viresh Kumar
Most of the callers of cpufreq_frequency_get_table() already have the pointer to a valid 'policy' structure and they don't really need to go through the per-cpu variable first and then a check to validate the frequency, in order to find the freq-table for the policy. Directly use the policy->freq_

Zpráva pro vás!

2016-06-02 Thread messg1
Jsem zastupujicí investicní zajem ze strany Dubaji, pro ktere hledáme vasi ucast. Odpoved na e-mailu nize v pripade zajmu. E-mail: pbrt...@gmail.com

[PATCH v2] sched/cputime: add steal clock warp handling

2016-06-02 Thread Wanpeng Li
From: Wanpeng Li I observed that sometimes st is 100% instantaneous, then idle is 100% even if there is a cpu hog on the guest cpu after the cpu hotplug comes back(N.B. this can not always be readily reproduced). I add trace to capture it as below: cpuhp/1-12[001] d.h1 167.461657: accou

Re: [PATCH 4/6] clocksource/drivers/armv7m_systick: Add the COMPILE_TEST option

2016-06-02 Thread kbuild test robot
Hi, [auto build test ERROR on tip/timers/core] [also build test ERROR on v4.7-rc1 next-20160602] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Daniel-Lezcano/clk-Add-missing-clk_get_sys-stub

Re: [PATCH] f2fs: fix to redirty page if fail to gc data page

2016-06-02 Thread Jaegeuk Kim
On Fri, Jun 03, 2016 at 01:13:21PM +0800, Chao Yu wrote: > On 2016/6/3 13:08, Jaegeuk Kim wrote: > > On Tue, May 31, 2016 at 02:10:50PM +0800, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2016/5/30 10:37, Jaegeuk Kim wrote: > >>> Hi Chao, > >>> > >>> On Sat, May 21, 2016 at 01:19:11PM +0800, Chao Y

Good News

2016-06-02 Thread Pedro Quezada
You are a recipient to Mr Pedro Quezada Donation of 2M USD. Contact (qpedro...@gmail.com) for claims.

Offer

2016-06-02 Thread Pedro Quezada
You are a recipient to Mr Pedro Quezada Donation of 2M USD. Contact (qpedro...@gmail.com) for claims.

Re: [PATCH] f2fs: fix to redirty page if fail to gc data page

2016-06-02 Thread Chao Yu
On 2016/6/3 13:08, Jaegeuk Kim wrote: > On Tue, May 31, 2016 at 02:10:50PM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/5/30 10:37, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> On Sat, May 21, 2016 at 01:19:11PM +0800, Chao Yu wrote: From: Chao Yu If we fail to move data page durin

Re: [PATCH V2 2/6] cpufreq: Remove cpufreq_frequency_get_table()

2016-06-02 Thread Viresh Kumar
On 02-06-16, 19:02, Javi Merino wrote: > On Thu, Jun 02, 2016 at 09:06:26PM +0530, Viresh Kumar wrote: > > On 2 June 2016 at 20:29, Javi Merino wrote: > > > In 5a31d594a973 ("cpufreq: Allow freq_table to be obtained for offline > > > CPUs") you did the opposite: don't use cpufreq_cpu_get_raw() bec

Re: [PATCH] f2fs: fix to redirty page if fail to gc data page

2016-06-02 Thread Jaegeuk Kim
On Tue, May 31, 2016 at 02:10:50PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/5/30 10:37, Jaegeuk Kim wrote: > > Hi Chao, > > > > On Sat, May 21, 2016 at 01:19:11PM +0800, Chao Yu wrote: > >> From: Chao Yu > >> > >> If we fail to move data page during foreground GC, we should give another >

[alsa-devel] [PATCH v2 8/9] ASoC: mediatek: add BT implementation

2016-06-02 Thread Garlic Tseng
Add BT implementation for mt2701 platform driver. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 141 + 1 file changed, 141 insertions(+) diff --git a/sound/soc/mediatek/mt2701/mt2701-afe-pcm.c b/sound/soc/mediatek/mt2701/mt2701-afe-pcm

[alsa-devel] [PATCH v2 7/9] ASoC: bt-sco: extend rate and add a general compatible string

2016-06-02 Thread Garlic Tseng
Add supports for 16k (wideband BT) and add a general compatible string "linux,bt-sco" Signed-off-by: Garlic Tseng --- Documentation/devicetree/bindings/sound/bt-sco.txt | 2 +- sound/soc/codecs/bt-sco.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --

[alsa-devel] [PATCH v2 5/9] ASoC: mediatek: add structure define and clock control for 2701

2016-06-02 Thread Garlic Tseng
add structure define and clock control function for 2701. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.c | 357 ++ sound/soc/mediatek/mt2701/mt2701-afe-clock-ctrl.h | 33 ++ sound/soc/mediatek/mt2701/mt2701-afe-common.h | 185 ++

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Oleg Drokin
On Jun 3, 2016, at 12:26 AM, Al Viro wrote: > On Thu, Jun 02, 2016 at 11:43:59PM -0400, Oleg Drokin wrote: > >>> Which of the call sites had that been and how does one reproduce that fun? >>> If you feel that posting a reproducer in the open is a bad idea, just send >>> it off-list... >> >> Thi

[alsa-devel] [PATCH v2 4/9] ASoC: mediatek: add documents for mt2701

2016-06-02 Thread Garlic Tseng
add mt2701-afe-pcm.txt and mt2701-cs42448.txt for mt2701 Signed-off-by: Garlic Tseng --- .../devicetree/bindings/sound/mt2701-afe-pcm.txt | 150 + .../devicetree/bindings/sound/mt2701-cs42448.txt | 43 ++ 2 files changed, 193 insertions(+) create mode 100644 Documen

[alsa-devel] [PATCH v2 0/9] ASoC: Mediatek: Add support for MT2701 SOC

2016-06-02 Thread Garlic Tseng
This patch adds basic support for Mediatek AFE for MT2701 SoC. The patch is based on broonie tree "for-next" branch. Change since v1: implement common private structure, fe dai and platform driver. let mt8173 and mt2701 use the common structure. Garlic Tseng (9): ASoC: mediatek: Refine mt8173

[alsa-devel] [PATCH v2 3/9] ASoC: mediatek: let mt8173 use mediatek common structure

2016-06-02 Thread Garlic Tseng
Modify mt8173 driver implementation to use common structure. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/Kconfig| 11 + sound/soc/mediatek/Makefile | 3 +- sound/soc/mediatek/common/Makefile| 17 + sound/soc/mediatek/mt8173/mt8173-afe-

[alsa-devel] [PATCH v2 6/9] ASoC: mediatek: add mt2701 platform driver implementation.

2016-06-02 Thread Garlic Tseng
Add mt2701 platform driver implementation for playback and capture. The implement follow DAPM structure (memory interface as FE and I2S as BE). Because of the hardware design, i2s out required to be enabled when we need to enable i2s in. This patch includes the implementation. Signed-off-by: Garli

[alsa-devel] [PATCH v2 1/9] ASoC: mediatek: Refine mt8173 driver and change config option

2016-06-02 Thread Garlic Tseng
move mt8173 driver to another folder and add prefix. add config option SND_SOC_MT8173 Signed-off-by: Garlic Tseng --- sound/soc/mediatek/Kconfig | 14 +- sound/soc/mediatek/Makefile| 9 +- sound/soc/mediatek/mt8173/Makefile | 7

[alsa-devel] [PATCH v2 2/9] ASoC: mediatek: implement mediatek common structure

2016-06-02 Thread Garlic Tseng
implement mediatek basic structure, include common private data, afe fe dai operator and afe platform driver. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/common/mtk-afe-fe-dai.c | 387 + sound/soc/mediatek/common/mtk-afe-fe-dai.h | 47 +++ .../soc/medi

[alsa-devel] [PATCH v2 9/9] ASoC: mediatek: Add mt2701-cs42448 driver and config option.

2016-06-02 Thread Garlic Tseng
Add machine driver and config option for MT2701. Signed-off-by: Garlic Tseng --- sound/soc/mediatek/Kconfig | 21 ++ sound/soc/mediatek/Makefile| 1 + sound/soc/mediatek/mt2701/Makefile | 19 ++ sound/soc/mediatek/mt2701/mt2701-cs42448.c | 422

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Al Viro
On Fri, Jun 03, 2016 at 05:42:53AM +0100, Al Viro wrote: > On Fri, Jun 03, 2016 at 05:26:48AM +0100, Al Viro wrote: > > > Looks like the right thing to do would be to do d_drop() at no_open:, > > just before we call nfs_lookup(). If not earlier, actually... How > > about the following? > > A bi

[PATCH RESEND 1/2] kernel: Add noaudit variant of ns_capable()

2016-06-02 Thread Tyler Hicks
When checking the current cred for a capability in a specific user namespace, it isn't always desirable to have the LSMs audit the check. This patch adds a noaudit variant of ns_capable() for when those situations arise. The common logic between ns_capable() and the new ns_capable_noaudit() is mov

[PATCH RESEND 2/2] net: Use ns_capable_noaudit() when determining net sysctl permissions

2016-06-02 Thread Tyler Hicks
The capability check should not be audited since it is only being used to determine the inode permissions. A failed check does not indicate a violation of security policy but, when an LSM is enabled, a denial audit message was being generated. The denial audit message caused confusion for some app

[PATCH RESEND 0/2] Quiet noisy LSM denial when accessing net sysctl

2016-06-02 Thread Tyler Hicks
I'm resending this patch set at the request of James Morris. This pair of patches does away with what I believe is a useless denial audit message when a privileged process initially accesses a net sysctl. The bug was first discovered when running Go applications under AppArmor confinement. It can

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Al Viro
On Fri, Jun 03, 2016 at 05:26:48AM +0100, Al Viro wrote: > Looks like the right thing to do would be to do d_drop() at no_open:, > just before we call nfs_lookup(). If not earlier, actually... How > about the following? A bit of rationale: dentry in question is negative and attempt to open it h

Re: [PATCH v5 1/6] qspinlock: powerpc support qspinlock

2016-06-02 Thread Benjamin Herrenschmidt
On Fri, 2016-06-03 at 12:10 +0800, xinhui wrote: > On 2016年06月03日 09:32, Benjamin Herrenschmidt wrote: > > On Fri, 2016-06-03 at 11:32 +1000, Benjamin Herrenschmidt wrote: > >> On Thu, 2016-06-02 at 17:22 +0800, Pan Xinhui wrote: > >>> > >>> Base code to enable qspinlock on powerpc. this patch add

RE: [PATCH v2 10/27] staging: unisys: visorinput: remove unnecessary locking

2016-06-02 Thread Sell, Timothy C
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Wednesday, June 01, 2016 2:41 AM > To: Kershner, David A > Cc: cor...@lwn.net; mi...@redhat.com; h...@zytor.com; > gre...@linuxfoundation.org; Arfvidson, Erik; Sell, Timothy C; > hof...@osadl.org; dzic...@redha

Re: [PATCH] rds: fix an infoleak in rds_inc_info_copy

2016-06-02 Thread David Miller
From: Kangjie Lu Date: Thu, 2 Jun 2016 04:11:20 -0400 > The last field "flags" of object "minfo" is not initialized. > Copying this object out may leak kernel stack data. > Assign 0 to it to avoid leak. > > Signed-off-by: Kangjie Lu Applied.

Re: [PATCH] tipc: fix an infoleak in tipc_nl_compat_link_dump

2016-06-02 Thread David Miller
From: Kangjie Lu Date: Thu, 2 Jun 2016 04:04:56 -0400 > link_info.str is a char array of size 60. Memory after the NULL > byte is not initialized. Sending the whole object out can cause > a leak. > > Signed-off-by: Kangjie Lu Applied.

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Al Viro
On Thu, Jun 02, 2016 at 11:43:59PM -0400, Oleg Drokin wrote: > > Which of the call sites had that been and how does one reproduce that fun? > > If you feel that posting a reproducer in the open is a bad idea, just send > > it off-list... > > This is fs/nfs/dir.c::nfs_lookup() right after no_entry

Re: [linux-next: Tree for Jun 1] __khugepaged_exit rwsem_down_write_failed lockup

2016-06-02 Thread Sergey Senozhatsky
On (06/03/16 10:29), Sergey Senozhatsky wrote: > > if (allocstall == curr_allocstall && swap != 0) { > > if (!__collapse_huge_page_swapin(mm, vma, address, pmd)) { > > { > > : if (ret & VM_FAULT_RETRY) { > > :

Re: [PATCH v5 1/6] qspinlock: powerpc support qspinlock

2016-06-02 Thread xinhui
On 2016年06月03日 09:32, Benjamin Herrenschmidt wrote: On Fri, 2016-06-03 at 11:32 +1000, Benjamin Herrenschmidt wrote: On Thu, 2016-06-02 at 17:22 +0800, Pan Xinhui wrote: Base code to enable qspinlock on powerpc. this patch add some #ifdef here and there. Although there is no paravirt related

Re: [PATCH 2/2] aer: add support aer interrupt with none MSI/MSI-X/INTx mode

2016-06-02 Thread Bjorn Helgaas
On Thu, Jun 02, 2016 at 11:37:28AM -0400, Murali Karicheri wrote: > On 06/02/2016 09:55 AM, Bjorn Helgaas wrote: > > On Thu, Jun 02, 2016 at 05:01:19AM +, Po Liu wrote: > >>> -Original Message- > >>> From: Bjorn Helgaas [mailto:helg...@kernel.org] > >>> Sent: Thursday, June 02, 2016

Re: [RFC PATCH 4/4] drm/rockchip: Add dmc notifier in vop driver

2016-06-02 Thread dbasehore .
On Wed, Jun 1, 2016 at 2:35 AM, Lin Huang wrote: > when in ddr frequency scaling process, vop can not do > enable or disable operate, since dcf will base on vop vblank > time to do frequency scaling and need to get vop irq if there > have vop enabled. So need register to dmc notifier, and we can >

linux-next: Tree for Jun 3

2016-06-02 Thread Stephen Rothwell
Hi all, Changes since 20160602: My fixes tree contains: of: silence warnings due to max() usage The pstore tree lost its build failures. The pm tree lost its build failure. Non-merge commits (relative to Linus' tree): 1330 1135 files changed, 43583 insertions(+), 20406 dele

[PATCH] Dyna-Image AL3320A update, add AL3010 driver

2016-06-02 Thread Rocky Hsiao
1. Change al3320a.c to match light sensor test flow. 2. Add al3010.c to add new device AL3010. original file copy from al3320a.c Signed-off-by: Rocky Hsiao --- .../config/x86_64/chromiumos-x86_64.flavour.config | 2 + drivers/iio/light/Kconfig | 10 + drivers/iio/l

Re: [PATCH] tty: serial: msm: Don't read off end of tx fifo

2016-06-02 Thread Frank Rowand
On 06/02/16 17:48, Bjorn Andersson wrote: > For dm uarts in pio mode tx data is transferred to the fifo register 4 > bytes at a time, but care is not taken when these 4 bytes spans the end > of the xmit buffer so the loop might read up to 3 bytes past the buffer > and then skip the actual data at t

[PATCH 4/8] f2fs: skip roll_forward recovery after umount

2016-06-02 Thread Jaegeuk Kim
If f2fs was umounted successfully, we don't need to go into roll_forward. Signed-off-by: Jaegeuk Kim --- fs/f2fs/recovery.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index b568b28..841bddc 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery

Re: [Patch v5 5/8] firmware: qcom: scm: Convert to streaming DMA APIS

2016-06-02 Thread Andy Gross
On Thu, Jun 02, 2016 at 04:26:02PM -0700, Stephen Boyd wrote: > On 05/12, Andy Gross wrote: > > This patch converts the Qualcomm SCM driver to use the streaming DMA APIs > > for communication buffers. > > Yes, but why? This was done so that we can remove the secure_flush mechanism, as we are the

[PATCH 5/8] f2fs: remove obsolete parameter in f2fs_truncate

2016-06-02 Thread Jaegeuk Kim
We don't need lock parameter, which is always true. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- fs/f2fs/file.c | 6 +++--- fs/f2fs/inode.c | 2 +- fs/f2fs/super.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 498c736..d17

[PATCH 2/8] f2fs: remove deprecated parameter

2016-06-02 Thread Jaegeuk Kim
Remove deprecated paramter. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c| 4 ++-- fs/f2fs/f2fs.h | 2 +- fs/f2fs/inline.c | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 6fbb1ed..f6ab3c2 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/

[PATCH 8/8] f2fs: control not to exceed # of cached nat entries

2016-06-02 Thread Jaegeuk Kim
This is to avoid cache entry management overhead including radix tree. Signed-off-by: Jaegeuk Kim --- fs/f2fs/node.c| 4 fs/f2fs/node.h| 7 +++ fs/f2fs/segment.c | 5 + 3 files changed, 16 insertions(+) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 15f55ae..d7e624c 100

[PATCH 7/8] f2fs: fix wrong percentage

2016-06-02 Thread Jaegeuk Kim
This should be 1%, 10MB / 1GB. Signed-off-by: Jaegeuk Kim --- fs/f2fs/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index 1f4f9d4..2c2a797 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h @@ -23,7 +23,7 @@ #define MAX_RA_NODE

[PATCH 1/8] f2fs: reuse nid if it was cached only

2016-06-02 Thread Jaegeuk Kim
If nid's block address is assigned as: NULL_ADDR -> NEW_ADDR -> NULL_ADDR, we can reset this nid, since its node page has never written back. Signed-off-by: Jaegeuk Kim --- fs/f2fs/node.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2f

[PATCH 6/8] f2fs: avoid data race between FI_DIRTY_INODE flag and update_inode

2016-06-02 Thread Jaegeuk Kim
FI_DIRTY_INODE flag is not covered by inode page lock, so it can be unset at any time like below. Thread #1Thread #2 - lock_page(ipage) - update i_fields - update i_size/i_blocks/and so on - set FI_DIRTY_INOD

[PATCH 3/8] f2fs: avoid wrong count on dirty inodes

2016-06-02 Thread Jaegeuk Kim
The number should be covered by spin_lock. Otherwise we can see wrong count in f2fs_stat. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 27f76819e..9e75433 100644 --- a/fs/f2fs/super.c

Re: block: correctly fallback for zeroout

2016-06-02 Thread Mike Snitzer
On Thu, Jun 02 2016 at 11:06pm -0400, Martin K. Petersen wrote: > > "Christoph" == Christoph Hellwig writes: > > Christoph> As part of that I also removed the strange EOPNOTSUPP ignore, > Christoph> but Mike reverted it just because it changed something in the > Christoph> dm testsuite. >

Re: BUG: scheduling while atomic: cron/668/0x10c9a0c0

2016-06-02 Thread Stephen Rothwell
Hi Andrew, On Thu, 2 Jun 2016 11:43:41 -0700 Andrew Morton wrote: > > On Thu, 2 Jun 2016 13:19:36 +0100 Mel Gorman > wrote: > > > > >Signed-off-by: Mel Gorman > > > > > > Acked-by: Vlastimil Babka > > > > > > > Thanks. > > I queued this. A tested-by:Geert would be nice? > > > F

Re: [Patch v5 6/8] firmware: qcom: scm: Add support for ARM64 SoCs

2016-06-02 Thread Andy Gross
On Thu, Jun 02, 2016 at 03:28:40PM -0700, Stephen Boyd wrote: > On 05/12, Andy Gross wrote: > > + > > +#define MAX_QCOM_SCM_ARGS 10 > > +#define MAX_QCOM_SCM_RETS 3 > > + > > +#define QCOM_SCM_ARGS_IMPL(num, a, b, c, d, e, f, g, h, i, j, ...) (\ > > + (((a) & 0x3) << 4) | \ > >

[PATCH v2] powerpc: spinlock: Fix spin_unlock_wait()

2016-06-02 Thread Boqun Feng
There is an ordering issue with spin_unlock_wait() on powerpc, because the spin_lock primitive is an ACQUIRE and an ACQUIRE is only ordering the load part of the operation with memory operations following it. Therefore the following event sequence can happen: CPU 1 CPU 2

Re: [Patch v5 2/8] firmware: qcom: scm: Convert SCM to platform driver

2016-06-02 Thread Andy Gross
On Thu, Jun 02, 2016 at 03:14:24PM -0700, Stephen Boyd wrote: > On 05/12, Andy Gross wrote: > > This patch converts the Qualcomm SCM firmware driver into a platform > > driver. > > And introduces clk enable/disable + rate setting logic because > the firmware uses crypto clks during some scm calls.

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Oleg Drokin
On Jun 2, 2016, at 11:37 PM, Al Viro wrote: > On Thu, Jun 02, 2016 at 06:46:08PM -0400, Oleg Drokin wrote: >> Hello! >> >> I just came across a bug (trying to run some Lustre test scripts against >> NFS, while hunting for another nfsd bug) >> that seems to be present since at least 2014 tha

Re: [PATCH v2] rcu: sysctl: Panic on RCU Stall

2016-06-02 Thread Paul E. McKenney
On Thu, Jun 02, 2016 at 01:51:41PM -0300, Daniel Bristot de Oliveira wrote: > It is not always easy to define the cause of an RCU stall just by > analysing the RCU stall messages, mainly when the problem is caused > by the indirect starvation of rcu threads. For example, when preempt_rcu > is not a

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Al Viro
On Fri, Jun 03, 2016 at 04:26:25AM +0100, Al Viro wrote: > On Thu, Jun 02, 2016 at 08:54:06PM -0400, Oleg Drokin wrote: > > > > Al, I’ve been distracted by personal matters in the past 6 months. What > > > is there to guarantee exclusion of the readdirplus dentry instantiation > > > and the NFSv

Re: NFS/d_splice_alias breakage

2016-06-02 Thread Al Viro
On Thu, Jun 02, 2016 at 06:46:08PM -0400, Oleg Drokin wrote: > Hello! > >I just came across a bug (trying to run some Lustre test scripts against > NFS, while hunting for another nfsd bug) >that seems to be present since at least 2014 that lets users crash nfs > client locally. > > * C

[PATCH v9 06/14] perf tools: Separate local/remote libunwind config

2016-06-02 Thread He Kuang
CONFIG_LIBUNWIND/NO_LIBUNWIND are changed to CONFIG_LOCAL_LIBUNWIND/NO_LOCAL_LIBUNWIND for retaining local unwind features. The new CONFIG_LIBUNWIND stands for either local or remote or both unwind are supported, and NO_LIBUNWIND means that neither local nor remote unwind is supported. LIBUNWIND_L

[PATCH v9 09/14] perf tools: Export normalize_arch() function

2016-06-02 Thread He Kuang
Export normalize_arch() function, so other part of perf can get normalized form of arch string. Signed-off-by: He Kuang --- tools/perf/arch/common.c | 2 +- tools/perf/arch/common.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/arch/common.c b/tools/perf/arch/co

  1   2   3   4   5   6   7   8   9   10   >