[PATCH] powerpc: allow cross-compilation of ppc64 kernel

2015-11-05 Thread Laurent Vivier
When I try to cross compile a ppc64 kernel, it generally fails on the VDSO stage. This is true for powerpc64 cross- compiler, but also when I try to build a ppc64le kernel on a ppc64 host. VDSO64L fails: VDSO64L arch/powerpc/kernel/vdso64/vdso64.so.dbg /usr/bin/powerpc64-linux-gnu-ld:

Re: [PATCH] arm64: Increase the max granular size

2015-11-05 Thread Joonsoo Kim
2015-11-05 19:32 GMT+09:00 Catalin Marinas : > On Thu, Nov 05, 2015 at 01:40:14PM +0900, Joonsoo Kim wrote: >> On Tue, Sep 22, 2015 at 07:59:48PM +0200, Robert Richter wrote: >> > From: Tirumalesh Chalamarla >> > >> > Increase the standard cacheline size to avoid having locks in the same >> >

[PATCH v14 22/22] ext4: Add richacl feature flag

2015-11-05 Thread Andreas Gruenbacher
From: "Aneesh Kumar K.V" This feature flag selects richacl instead of POSIX ACL support on the filesystem. When this feature is off, the "acl" and "noacl" mount options control whether POSIX ACLs are enabled. When it is on, richacls are automatically enabled and using the "noacl" mount option

[PATCH v14 20/22] vfs: Add richacl permission checking

2015-11-05 Thread Andreas Gruenbacher
Hook the richacl permission checking function into the vfs. Signed-off-by: Andreas Gruenbacher --- fs/namei.c | 51 +-- fs/posix_acl.c | 6 +++--- 2 files changed, 52 insertions(+), 5 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index

[PATCH v14 19/22] richacl: Add richacl xattr handler

2015-11-05 Thread Andreas Gruenbacher
Add richacl xattr handler implementing the xattr operations based on the get_richacl and set_richacl inode operations. Signed-off-by: Andreas Gruenbacher --- fs/richacl_xattr.c| 78 +++ include/linux/richacl_xattr.h | 2 ++ 2 files changed,

[PATCH v14 18/22] richacl: xattr mapping functions

2015-11-05 Thread Andreas Gruenbacher
Map between "system.richacl" xattrs and the in-kernel representation. Signed-off-by: Andreas Gruenbacher --- fs/Makefile| 2 +- fs/richacl_xattr.c | 220 + fs/xattr.c | 34 +-

[PATCH v14 21/22] ext4: Add richacl support

2015-11-05 Thread Andreas Gruenbacher
From: "Aneesh Kumar K.V" Support the richacl permission model in ext4. The richacls are stored in "system.richacl" xattrs. Richacls need to be enabled by tune2fs or at file system create time. Signed-off-by: Aneesh Kumar K.V Signed-off-by: Andreas Gruenbacher Reviewed-by: Andreas Dilger

[git pull] IOMMU Updates for Linux v4.4

2015-11-05 Thread Joerg Roedel
Hi Linus, The following changes since commit 6a13feb9c82803e2b815eca72fa7a9f5561d7861: Linux 4.3 (2015-11-01 16:05:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-updates-v4.4 for you to fetch changes up to

[PATCH v14 13/22] vfs: Cache richacl in struct inode

2015-11-05 Thread Andreas Gruenbacher
Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. This is similar to POSIX ACLs. Signed-off-by: Andreas Gruenbacher --- fs/inode.c | 11 +-- fs/posix_acl.c | 2 +- fs/richacl_inode.c | 77

[PATCH v14 16/22] richacl: Create-time inheritance

2015-11-05 Thread Andreas Gruenbacher
When a new file is created, it can inherit an acl from its parent directory; this is similar to how default acls work in POSIX (draft) ACLs. As with POSIX ACLs, if a file inherits an acl from its parent directory, the intersection between the create mode and the permissions granted by the

[PATCH v14 17/22] richacl: Automatic Inheritance

2015-11-05 Thread Andreas Gruenbacher
Automatic Inheritance (AI) allows changes to the acl of a directory to propagate down to children. This is mostly implemented in user space: when a process changes the permissions of a directory and Automatic Inheritance is enabled for that directory, the process must propagate those changes to

[PATCH v14 15/22] richacl: Check if an acl is equivalent to a file mode

2015-11-05 Thread Andreas Gruenbacher
ACLs are considered equivalent to file modes if they only consist of owner@, group@, and everyone@ entries, the owner@ permissions do not depend on whether the owner is a member in the owning group, and no inheritance flags are set. This test is used to avoid storing richacls if the acl can be

Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry

2015-11-05 Thread Pali Rohár
On Tuesday 13 October 2015 16:37:46 Pali Rohár wrote: > On Monday 12 October 2015 13:45:09 Tony Lindgren wrote: > > * Pali Rohár [151012 13:29]: > > > On Monday 12 October 2015 22:16:40 Tony Lindgren wrote: > > > > > > > > Pali, any news on posting an updated series with the comments > > > >

[PATCH v14 09/22] richacl: Permission check algorithm

2015-11-05 Thread Andreas Gruenbacher
A richacl roughly grants a requested access if the NFSv4 acl in the richacl grants the requested permissions according to the NFSv4 permission check algorithm and the file mask that applies to the process includes the requested permissions. Signed-off-by: Andreas Gruenbacher Reviewed-by: "J.

[PATCH v14 10/22] posix_acl: Unexport acl_by_type and make it static

2015-11-05 Thread Andreas Gruenbacher
acl_by_type(inode, type) returns a pointer to either inode->i_acl or inode->i_default_acl depending on type. This is useful in fs/posix_acl.c, but should never have been visible outside that file. Signed-off-by: Andreas Gruenbacher --- fs/posix_acl.c| 3 +--

[PATCH v14 01/22] vfs: Add IS_ACL() and IS_RICHACL() tests

2015-11-05 Thread Andreas Gruenbacher
The vfs does not apply the umask for file systems that support acls. The test used for this used to be called IS_POSIXACL(). Switch to a new IS_ACL() test to check for either posix acls or richacls instead. Add a new MS_RICHACL flag and IS_RICHACL() test for richacls alone. The IS_POSIXACL() test

[PATCH v14 05/22] vfs: Add permission flags for setting file attributes

2015-11-05 Thread Andreas Gruenbacher
Richacls support permissions that allow to take ownership of a file, change the file permissions, and set the file timestamps. Support that by introducing new permission mask flags and by checking for those mask flags in inode_change_ok(). Signed-off-by: Andreas Gruenbacher Reviewed-by: J.

[PATCH v14 02/22] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-11-05 Thread Andreas Gruenbacher
Richacls distinguish between creating non-directories and directories. To support that, add an isdir parameter to may_create(). When checking inode_permission() for create permission, pass in an additional MAY_CREATE_FILE or MAY_CREATE_DIR mask flag. To allow checking for delete *and* create

[PATCH v14 00/22] Richacls (Core and Ext4)

2015-11-05 Thread Andreas Gruenbacher
Here is another update to the richacl patch queue. This posting contains the patches ready to be merged; the patches later in the queue still need some more review. Changes since the last posting (http://lwn.net/Articles/662881/): * Functions {get,put}_base_acl renamed to base_acl_{get,put}.

Kлuентcкие бaзы Teл\Вaцaп\Вaйбeр +791з39I3837

2015-11-05 Thread Kлueнmсkue бaзы Teл\Вaцaп\Bайбeр +79I3З9lз837
Клиeнтсkиe бaзы Тел\Вaцaп\Вайбеp +79IЗз913837 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH v6 00/17] ILP32 for ARM64

2015-11-05 Thread Andreas Schwab
Yury Norov writes: > v6: > - time_t, __kenel_off_t and other types turned to be 32-bit >for compatibility reasons (after v5 discussion); Are the updated glibc patches available somewhere? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970

RE: [PATCH v5 4/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-11-05 Thread Pavel Fedin
Hello! > >>> + ethernet@3 { > >>> + compatible = "smsc,lan9115"; > >>> + reg = <3 0 0x1>; > >>> + phy-mode = "mii"; > >>> + interrupt-parent = <>; > >>> + interrupts = <5 8>; > >> > >> s/8/IRQ_TYPE_LEVEL_LOW/ > >> (is this really level low interrupt?)

Re: [PATCHSET 0/4] perf report: Support folded callchain output (v4)

2015-11-05 Thread Namhyung Kim
Hi Arnaldo, On Wed, Nov 04, 2015 at 03:08:58PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Nov 05, 2015 at 12:34:57AM +0900, Namhyung Kim escreveu: > > Hi Arnaldo and Brendan, > > > > On Wed, Nov 04, 2015 at 11:51:31AM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Nov 03, 2015 at

[PATCH] powerpc/boot: allow wrapper to work on non-english system

2015-11-05 Thread Laurent Vivier
if the language is not english objdump output is not parsed correctly and format is "". Later, "ld -m $format" fails. This patch adds "LANG=C" to force english output for objdump. Signed-off-by: Laurent Vivier --- arch/powerpc/boot/wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Xishi Qiu
On 2015/11/4 5:48, Laura Abbott wrote: > > Currently, the set_memory_* functions that are implemented for arm64 > are restricted to module addresses only. This was mostly done > because arm64 maps normal zone memory with larger page sizes to > improve TLB performance. This has the side effect

Re: [PATCH v5 4/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-11-05 Thread Krzysztof Kozlowski
W dniu 05.11.2015 o 20:14, Pavel Fedin pisze: > Hello! > >>> + ethernet@3 { >>> + compatible = "smsc,lan9115"; >>> + reg = <3 0 0x1>; >>> + phy-mode = "mii"; >>> + interrupt-parent = <>; >>> + interrupts = <5 8>; >> >>

Re: [PATCH] powerpc: on crash, kexec'ed kernel needs all CPUs are online

2015-11-05 Thread Stewart Smith
David Gibson writes: >> > opal/powernv: >> > https://github.com/open-power/skiboot/commit/9ee56b5 >> >> Very interesting. Is there a way to have a firmware with the fix ? > > From Laurent's analysis of the crash, I don't think this will be > relevant either, but I'm not sure. It would be very

[RFC PATCH 0/7] reset: make RESET_CONTROLLER a select'ed option

2015-11-05 Thread Masahiro Yamada
When I was implementing a new reset controller for my SoCs, I struggled to make my sub-menu shown under the reset controller menu. I noticed the Kconfig in reset sub-system are screwed up due to two config options (ARCH_HAS_RESET_CONTROLLER and RESET_CONTROLLER). I think only the former should be

[RFC PATCH 3/7] spi: tegra: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
ARCH_TEGRA selects RESET_CONTROLLER. The dependency "depends on RESET_CONTROLLER" is already met. Signed-off-by: Masahiro Yamada --- drivers/spi/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 604ffab..d853306

[RFC PATCH 1/7] reset: drop ARCH_HAS_RESET_CONTROLLER

2015-11-05 Thread Masahiro Yamada
The reset sub-system is supposed to be enabled by two steps: - ARCH_HAS_RESET_CONTROLLER is select'ed by such sub-architectures that support reset controllers - Based on that, RESET_CONTROLLER is configured by "make menuconfig" or friends. (Note that it is a user-configurable option

[RFC PATCH 4/7] pinctrl: sunxi: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
ARCH_SUNXI selects RESET_CONTROLLER. The dependency "depends on RESET_CONTROLLER" is already met. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/sunxi/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/sunxi/Kconfig b/drivers/pinctrl/sunxi/Kconfig index

[RFC PATCH 7/7] drm/tegra: tegra: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
ARCH_TEGRA selects RESET_CONTROLLER. The dependency "depends on RESET_CONTROLLER" is already met. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/tegra/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/tegra/Kconfig b/drivers/gpu/drm/tegra/Kconfig index

[RFC PATCH 5/7] drm/sti: replace "select RESET_CONTROLLER" with "depends on ..."

2015-11-05 Thread Masahiro Yamada
RESET_CONTROLLER should be select'ed by SoCs that support reset controllers. Use "depends on RESET_CONTROLLER" to describe dependency between two drivers. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/sti/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[RFC PATCH 6/7] drm/rockchip: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
ARCH_ROCKCHIP selects RESET_CONTROLLER. The dependency "depends on RESET_CONTROLLER" is already met. Signed-off-by: Masahiro Yamada --- drivers/gpu/drm/rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index

[RFC PATCH 2/7] spi: sunxi: remove redundant "depends on RESET_CONTROLLER"

2015-11-05 Thread Masahiro Yamada
ARCH_SUNXI selects RESET_CONTROLLER. The dependency "depends on RESET_CONTROLLER" is already met. Signed-off-by: Masahiro Yamada --- drivers/spi/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 4887f31..604ffab 100644 ---

Re: [RFC PATCH] x86/paravirt: Kill some unused patching functions

2015-11-05 Thread Juergen Gross
On 11/03/2015 10:18 AM, Borislav Petkov wrote: From: Borislav Petkov paravirt_patch_ignore() is completely unused and paravirt_patch_nop() doesn't do a whole lot. Remove them both. Signed-off-by: Borislav Petkov Reviewed-by: Juergen Gross Cc: Andrew Morton Cc: Andy Lutomirski Cc:

RE: [PATCH v5 4/4] ARM: dts: Add Ethernet chip to SMDK5410

2015-11-05 Thread Pavel Fedin
Hello! > > + ethernet@3 { > > + compatible = "smsc,lan9115"; > > + reg = <3 0 0x1>; > > + phy-mode = "mii"; > > + interrupt-parent = <>; > > + interrupts = <5 8>; > > s/8/IRQ_TYPE_LEVEL_LOW/ > (is this really level low interrupt?) Yes,

Re: [PATCH 2/2] arm64: Allow changing of attributes outside of modules

2015-11-05 Thread Xishi Qiu
On 2015/11/5 2:12, Laura Abbott wrote: > On 11/03/2015 06:59 PM, zhong jiang wrote: >> >> Hi Laura >> >> This patch seems vaild, but I didn't feel very reasonable. >> Because of the large page to make TLB performance better, just >> split it if it is necessary.therefore, I think the first thing

Re: [PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-11-05 Thread dawei chien
On Wed, 2015-11-04 at 11:41 -0800, Eduardo Valentin wrote: > On Thu, Oct 22, 2015 at 08:02:39PM +0800, Dawei Chien wrote: > > Add thermal zone node to mt8173.dtsi. > > > > Signed-off-by: Dawei Chien > > --- > > This patch is base on > > https://patchwork.kernel.org/patch/7249821/ > >

Re: [PATCH v3 1/2] thermal: mediatek: Add cpu power cooling model.

2015-11-05 Thread dawei chien
On Wed, 2015-11-04 at 11:40 -0800, Eduardo Valentin wrote: > On Thu, Oct 22, 2015 at 08:02:38PM +0800, Dawei Chien wrote: > > This power model is base on Intelligent Power Allocation (IPA) > > technical, requires that the operating-points of the CPUs are > > registered using the kernel's opp

Re: [PATCH v5 3/4] drivers: exynos-srom: Add support for bank configuration

2015-11-05 Thread Krzysztof Kozlowski
W dniu 05.11.2015 o 19:40, Pavel Fedin pisze: > Hello! > >>> +static int decode_sromc(struct exynos_srom *srom, struct device_node *np) >> >> I missed that one previously: add prefix and more descriptive name, like: >> exynos_srom_parse_child() > > exynos_srom_configure_bank(), is this name

Re: [PATCH v3 0/2] thermal: mediatek: Add cpu power cooling model

2015-11-05 Thread dawei chien
On Mon, 2015-11-02 at 17:40 +0530, Viresh Kumar wrote: > On 02-11-15, 18:46, dawei chien wrote: > > On Wed, 2015-10-28 at 21:14 +0530, Viresh Kumar wrote: > > > Sorry for being extremely late in reviewing this stuff. You are > > > already on v3 and I haven't reviewed it once. Mostly due to bad

Re: [PATCH v13 45/51] sunrpc: Allow to demand-allocate pages to encode into

2015-11-05 Thread Andreas Gruenbacher
Trond, On Tue, Nov 3, 2015 at 5:25 PM, Trond Myklebust wrote: > On Tue, Nov 3, 2015 at 10:17 AM, Andreas Gruenbacher > wrote: >> When encoding large, variable-length objects such as acls into xdr_bufs, >> it is easier to allocate buffer pages on demand rather than precomputing >> the required

Re: [tpmdd-devel] [BUG, bisect, PATCH 04/10] tpm: move the PPI attributes to character device directory.

2015-11-05 Thread Jarkko Sakkinen
On Thu, Nov 05, 2015 at 11:22:55AM +0200, Jarkko Sakkinen wrote: > On Wed, Nov 04, 2015 at 10:17:05AM -0800, Jeremiah Mahler wrote: > > Jarkko, all, > > > > On Fri, Oct 16, 2015 at 09:40:23PM +0300, Jarkko Sakkinen wrote: > > > Moved PPI attributes to the character device directory. This aligns

darlehen

2015-11-05 Thread HARRY FRANZ
Guten Tag Herr / Frau, Hiermit möchten wir Sie informieren, dass PRIVATE HOME MANAGEMENT LTD ist die Gewährung von Ende des Jahres Darlehensfazilitäten zu alten und neuen Kunden bei 2% niedriger inerest Rate. bitte geben Sie uns die folgenden Informationen, wenn interessiert. Ihr

Grafting old platform drivers onto a new DT kernel

2015-11-05 Thread Mason
Hello, My company provides a 3.4 kernel for an ARM-based SoC (there's also a 2.6.32 stashed somewhere for customers refusing to upgrade) along with drivers of dubious quality written over the past decade. I was tasked to release a new kernel, and took the opportunity to perform a massive

Re: [PATCH 2/2] printk: Only unregister boot consoles when necessary

2015-11-05 Thread Andrew Morton
On Thu, 29 Oct 2015 09:26:07 +0100 Thierry Reding wrote: > From: Thierry Reding > > Boot consoles are typically replaced by proper consoles during the boot > process. This can be problematic if the boot console data is part of the > init section that is reclaimed late during boot. If the

[GIT PULL] SPI updates for v4.4

2015-11-05 Thread Mark Brown
The following changes since commit 6a13feb9c82803e2b815eca72fa7a9f5561d7861: Linux 4.3 (2015-11-01 16:05:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v4.4 for you to fetch changes up to

Re: [PATCH 2/2] char/nvram: fix style issues

2015-11-05 Thread kbuild test robot
Hi LABBE, [auto build test ERROR on: char-misc/char-misc-next] [also build test ERROR on: v4.3 next-20151105] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/char-nvram-set-array-of-const-as-const/20151105-174316 config: x86_64-lkp (attached as .config) reproduce: # save

Re: [PATCH 1/2] asm/sections: Add helpers to check for section data

2015-11-05 Thread Andrew Morton
On Thu, 29 Oct 2015 09:26:06 +0100 Thierry Reding wrote: > From: Thierry Reding > > Add a helper to check if an object (given an address and a size) is part > of a section (given beginning and end addresses). For convenience, also > provide a helper that performs this check for __init data

Re: [PATCH v3 1/5] stmmac: replace all pr_xxx by their netdev_xxx counterpart

2015-11-05 Thread kbuild test robot
Hi LABBE, [auto build test ERROR on: net/master] [also build test ERROR on: v4.3 next-20151105] url: https://github.com/0day-ci/linux/commits/LABBE-Corentin/stmmac-replace-all-pr_xxx-by-their-netdev_xxx-counterpart/20151105-163344 config: m68k-allyesconfig (attached as .config) reproduce

[GIT PULL] regulator updates for v4.4

2015-11-05 Thread Mark Brown
The following changes since commit 6a13feb9c82803e2b815eca72fa7a9f5561d7861: Linux 4.3 (2015-11-01 16:05:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.4 for you to fetch changes up to

GSO with udp_tunnel_xmit_skb

2015-11-05 Thread Jason A. Donenfeld
Hi folks, When sending arbitrary SKBs with udp_tunnel_xmit_skb, the networking stack does not appear to be utilizing UFO on the outgoing UDP packets, which significantly caps the transmission speed. I see about 50% CPU usage in this send path, triggered for every single outgoing packet. Is there

Re: Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-05 Thread Christian König
On 04.11.2015 23:13, Alex Deucher wrote: On Wed, Nov 4, 2015 at 5:10 PM, Pavel Machek wrote: Hi! index dac78ad..b86f06a 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -569,6 +569,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,

[PATCH 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec

2015-11-05 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/sound/da7218.txt | 116 + 1 file changed, 116 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/da7218.txt diff --git a/Documentation/devicetree/bindings/sound/da7218.txt

[PATCH 0/2] ASoC: Add support for DA7217 and DA7218 audio codecs

2015-11-05 Thread Adam Thomson
This patch set adds DT and ASoC codec driver support for DA7217 and DA7218. Changes are based against v4.3 kernel version. Adam Thomson (2): ASoC: da7218: Add bindings documentation for DA7218 audio codec ASoC: codecs: Add da7218 codec driver

Re: [PATCH] leds-bcm6328: Reuse bcm6328_led_set() instead of copying its functionality

2015-11-05 Thread Jacek Anaszewski
Hi Alvaro, On 11/04/2015 04:46 PM, Álvaro Fernández Rojas wrote: Hello Jacek, BCM6328_LED_MODE_ON and BCM6328_LED_MODE_OFF values were extracted from Broadcom's GPL code, in which they assume leds are active low by default. I can confirm the code is correct as it is right now, since those

RE: [PATCH v5 3/4] drivers: exynos-srom: Add support for bank configuration

2015-11-05 Thread Pavel Fedin
Hello! > > +static int decode_sromc(struct exynos_srom *srom, struct device_node *np) > > I missed that one previously: add prefix and more descriptive name, like: > exynos_srom_parse_child() exynos_srom_configure_bank(), is this name OK? > > static int exynos_srom_probe(struct

Re: [PATCH] crypto: sun4i-ss: add missing statesize

2015-11-05 Thread Chen-Yu Tsai
On Thu, Nov 5, 2015 at 3:48 PM, LABBE Corentin wrote: > sun4i-ss implementaton of md5/sha1 is via ahash algorithms. > A recent change make impossible to load them without giving statesize. > This patch specifiy statesize for sha1 and md5. > > Signed-off-by: LABBE Corentin > Cc:

Re: [PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-05 Thread Nicolas Boichat
On Thu, Nov 5, 2015 at 5:16 PM, Andy Shevchenko wrote: > On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: [...] >> diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c >> index 563954a..f694031 100644 >> --- a/drivers/spi/spi-mt65xx.c >> +++ b/drivers/spi/spi-mt65xx.c >> @@

Re: [PATCH] arm64: Increase the max granular size

2015-11-05 Thread Catalin Marinas
On Thu, Nov 05, 2015 at 01:40:14PM +0900, Joonsoo Kim wrote: > On Tue, Sep 22, 2015 at 07:59:48PM +0200, Robert Richter wrote: > > From: Tirumalesh Chalamarla > > > > Increase the standard cacheline size to avoid having locks in the same > > cacheline. > > > > Cavium's ThunderX core implements

[PATCH] decnet: remove macro-local declarations

2015-11-05 Thread Julia Lawall
Move the variable declarations from the for_nexthops macro to the surrounding context, so that it is clear where these variables are declared. This also makes it possible to remove the endfor_nexthops macro. This change adds new arguments to the macro for_nexthops. They are ordered such that a

Re: [PATCH V2] Intel device IDs Audio

2015-11-05 Thread Takashi Iwai
On Thu, 05 Nov 2015 00:56:09 +0100, Alexandra Yates wrote: > > Adding Intel codename Lewisburg platform device IDs for audio. > > Signed-off-by: Alexandra Yates Thanks. Though, I still believe the position after Wellsburg is best (which is the similar chip that has the same driver type and

Re: [patch] mm, oom: add comment for why oom_adj exists

2015-11-05 Thread Michal Hocko
On Wed 04-11-15 12:32:14, David Rientjes wrote: > /proc/pid/oom_adj exists solely to avoid breaking existing userspace > binaries that write to the tunable. > > Add a comment in the only possible location within the kernel tree to > describe the situation and motivation for keeping it around.

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-05 Thread Mark Brown
On Wed, Nov 04, 2015 at 06:33:22PM +, Charles Keepax wrote: > You should probably make a seperate driver within GPIO for this > and then tie the two together, using an MFD. I appreciate that is > more work but it is likely a nicer solution overall. GPIO chips are small and simple enough that

Re: linux-next: build failure after merge of the thermal-soc tree

2015-11-05 Thread Caesar Wang
在 2015年11月05日 13:01, Stephen Rothwell 写道: Hi Eduardo, After merging the thermal-soc tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/thermal/rockchip_thermal.c: In function 'rockchip_thermal_suspend': drivers/thermal/rockchip_thermal.c:641:2: error: implicit

[PATCH 3/3] tpm: fix missing migratable flag in sealing functionality for TPM2

2015-11-05 Thread Jarkko Sakkinen
The 'migratable' flag was not added to the key payload. This patch fixes the problem. Fixes: 0fe5480303a1 ("keys, trusted: seal/unseal with TPM 2.0 chips") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm2-cmd.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff

Re: [PATCHv2 3/4] arm-cci: Add routines to enable/disable all counters

2015-11-05 Thread Suzuki K. Poulose
On 05/11/15 10:14, Suzuki K. Poulose wrote: On 04/11/15 18:28, Mark Rutland wrote: On Tue, Oct 20, 2015 at 02:05:25PM +0100, Suzuki K. Poulose wrote: Adds helper routines to manipulate the counter controls for all the counters on the CCI PMU. +static void pmu_disable_counters_ctrl(struct

Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-05 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, sorry for the delay. Am Mo den 2. Nov 2015 um 20:45 schrieb Andy Lutomirski: > > Well, the think that changed is that the ambient capabilities can be set > > by any process if the pI and pE are matching for a process. But then, > > that

[PATCH 1/3] TPM: Avoid reference to potentially freed memory

2015-11-05 Thread Jarkko Sakkinen
From: Christophe JAILLET Reference to the 'np' node is dropped before dereferencing the 'sizep' and 'basep' pointers, which could by then point to junk if the node has been freed. Refactor code to call 'of_node_put' later. Fixes: c5df39262dd5 ("drivers/char/tpm: Add securityfs support for

[PATCH 2/3] TPM: revert the list handling logic fixed in 398a1e7

2015-11-05 Thread Jarkko Sakkinen
Mimi reported that afb5abc reverts the fix in 398a1e7. This patch reverts it back. Fixes: afb5abc262e9 ("tpm: two-phase chip management functions") Reported-by: Mimi Zohar Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 0/3] Fixes for v4.4-rc1

2015-11-05 Thread Jarkko Sakkinen
Critical bug fixes for v4.4-rc1. Christophe JAILLET (1): TPM: Avoid reference to potentially freed memory Jarkko Sakkinen (2): TPM: revert the list handling logic fixed in 398a1e7 tpm: fix missing migratable flag in sealing functionality for TPM2 drivers/char/tpm/tpm-chip.c | 2 +-

Re: [PATCH v9 1/9] perf tools: Add 'perf-config' command

2015-11-05 Thread Taeung Song
Hi, Arnaldo Thanks for your review. > On Nov 4, 2015, at 12:40 AM, Arnaldo Carvalho de Melo > wrote: > > Em Tue, Nov 03, 2015 at 10:50:12AM +0900, Taeung Song escreveu: >> The perf configuration file contains many variables which can make >> the perf command's action more effective. >> But

Re: [PATCH 1/2] arm64: Get existing page protections in split_pmd

2015-11-05 Thread Xishi Qiu
On 2015/11/4 5:48, Laura Abbott wrote: > > Rather than always putting the least restrictived permissions > (PAGE_KERNEL_EXEC) when spliting a pmd into pages, use > the existing permissions from the pmd for the page. > > Signed-off-by: Laura Abbott > --- > arch/arm64/mm/mmu.c | 9 - >

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-05 Thread Mark Brown
On Wed, Nov 04, 2015 at 09:35:26AM -0600, Andrew F. Davis wrote: > Something I just noticed, when I remove this table, module loading stops > working, even with 'MODULE_ALIAS("platform:tps65912-regulator");'. It > looks like when DT is enabled platform_uevent (drivers/base/platform.c:787) > only

Re: [PATCHv2 3/4] arm-cci: Add routines to enable/disable all counters

2015-11-05 Thread Suzuki K. Poulose
On 04/11/15 18:28, Mark Rutland wrote: On Tue, Oct 20, 2015 at 02:05:25PM +0100, Suzuki K. Poulose wrote: Adds helper routines to manipulate the counter controls for all the counters on the CCI PMU. pmu_disable_counters_ctrl: Iterates over the counters, checking the status of each counter and

Re: [RFC PATCH 0/3] CFS idle injection

2015-11-05 Thread Peter Zijlstra
People, trim your emails! On Wed, Nov 04, 2015 at 08:58:30AM -0800, Jacob Pan wrote: > > I also like #2 too. Specially now that it is not limited to a specific > > platform. One question though, could you still keep the cooling device > > support of it? In some systems, it might make sense to

Re: [RFC PATCH 3/3] sched: introduce synchronized idle injection

2015-11-05 Thread Peter Zijlstra
On Tue, Nov 03, 2015 at 08:45:01AM -0800, Jacob Pan wrote: > Fair enough, I will give that a try, I guess it would be costly > and hard to scale if we were to dequeue/enqueue every se for every > period of injection plus locking. Let me get some data first. Yeah, don't go dequeue/enqueue

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-05 Thread Charles Keepax
On Wed, Nov 04, 2015 at 08:35:18PM +0100, Robert Jarzmik wrote: > Charles Keepax writes: > > > On Wed, Nov 04, 2015 at 06:12:44PM +0100, Robert Jarzmik wrote: > >> The Wolfson WM9713 provides 8 GPIOs. If the gpiolib is compiled in the > >> kernel, declare a gpio chip. > >> > >> Signed-off-by:

[PATCH v2 1/2] staging: rtl8188eu: rarely used macros replaced by their definitions

2015-11-05 Thread Ivan Safonov
IS_* macros (except one) occur only once. Signed-off-by: Ivan Safonov --- Changes in v2: - All e-mail addresses of get_mainterner.pl script for this patch placed to the cc header. drivers/staging/rtl8188eu/hal/hal_com.c | 14 +++--- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c

[PATCH v2 2/2] staging: rtl8188eu: unused macros removed

2015-11-05 Thread Ivan Safonov
IS_* and GET_CVID_* macros have not been used. Signed-off-by: Ivan Safonov --- Changes in v2: - All e-mail addresses of get_mainterner.pl script for this patch placed to the cc header. - Patch description corrected. drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 7 --

[PATCH v2 2/2] ASoC: RK3036: Add binding doc of inno-rk3036 codec driver

2015-11-05 Thread Shunqian Zheng
From: ZhengShunQian This patch add the binding document of inno-rk3036 audio codec driver. Signed-off-by: ZhengShunQian --- .../devicetree/bindings/sound/inno-rk3036.txt| 20 1 file changed, 20 insertions(+) create mode 100644

[PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-05 Thread Shunqian Zheng
From: ZhengShunQian RK3036 SoC integrated with an Inno audio codec. This driver implements the functions of it. There is not need a special machine driver, since the simple-card machine driver works perfect in this case. Signed-off-by: ZhengShunQian --- sound/soc/codecs/Kconfig | 4 +

[PATCH v2 0/2] Audio Codec Driver of RK3036 SoC

2015-11-05 Thread Shunqian Zheng
From: ZhengShunQian This patches add the RK3036 SoC codec driver. Rockchip RK3036 SoC integrated with an Inno audio codec. It supports the following features: o. 24bit DAC o. Support 16Ω to 32Ω headphone output and speaker output o. Support Mono, Stereo channel o. Sampling rate of

Re: [PATCH v1 1/4] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-05 Thread Shunqian Zheng
Mark, I sended the v2 patches and fixed the follows, On 2015年10月20日 03:09, Mark Brown wrote: On Tue, Oct 13, 2015 at 09:01:06AM +0800, Shunqian Zheng wrote: +config SND_SOC_INNO_RK3036 + tristate "Inno codec driver for RK3036 SoC" + depends on ARCH_ROCKCHIP + There doesn't appear

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-05 Thread Russell King - ARM Linux
On Wed, Nov 04, 2015 at 05:00:39PM -0800, Laura Abbott wrote: > Currently, read only permissions are not being applied even > when CONFIG_DEBUG_RODATA is set. This is because section_update > uses current->mm for adjusting the page tables. current->mm > need not be equivalent to the kernel

Re: [PATCH RESEND 3/4] ARM: BCM: Add SMP support for Broadcom NSP

2015-11-05 Thread Linus Walleij
On Thu, Nov 5, 2015 at 6:51 AM, Kapil Hali wrote: > Add SMP support for Broadcom's Northstar Plus SoC, > cpu enable method and pen_release procedures. This > changes also consolidates iProc family's - BCM NSP > and BCM Kona, SMP handling in a common file. > > Northstar Plus SoC is based on ARM

RE: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver

2015-11-05 Thread Gabriele Paoloni
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Thursday, November 05, 2015 9:36 AM > To: Gabriele Paoloni; majun (F); Thomas Gleixner; Jiang Liu; Jason > Cooper > Cc: linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org; >

Re: [PATCH] livepatch: Cleanup page permission changes

2015-11-05 Thread Jiri Kosina
On Thu, 5 Nov 2015, Jiri Kosina wrote: > > > > +#ifdef CONFIG_DEBUG_SET_MODULE_RONX > > > > +static void set_page_attributes(void *start, void *end, > > > > + int (*set)(unsigned long start, int > > > > num_pages)) > > > > +{ > > > > + unsigned long begin_pfn

Re: [PATCH v2] pwm-backlight: fix the panel power sequence

2015-11-05 Thread Philipp Zabel
Am Mittwoch, den 04.11.2015, 09:47 +0800 schrieb YH Huang: > On Tue, 2015-11-03 at 12:08 +0100, Philipp Zabel wrote: > > Hi YH, > > > > Am Dienstag, den 03.11.2015, 16:11 +0800 schrieb YH Huang: > > > > The reasoning is that devices where there is no phandle link pointing to > > > > the backlight

[PATCH 1/2] char/nvram: set array of const as const

2015-11-05 Thread LABBE Corentin
Some array of const char are not set as const. This patch fix that. Signed-off-by: LABBE Corentin --- drivers/char/nvram.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index 97c2d8d..cb901b3 100644 ---

[PATCH 2/2] char/nvram: fix style issues

2015-11-05 Thread LABBE Corentin
This patch fix some style issue reported by checkpatch.pl. Signed-off-by: LABBE Corentin --- drivers/char/nvram.c | 75 1 file changed, 35 insertions(+), 40 deletions(-) diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index

Re: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver

2015-11-05 Thread Marc Zyngier
On 05/11/15 08:25, Gabriele Paoloni wrote: > Hi Marc > >> -Original Message- >> From: linux-pci-ow...@vger.kernel.org >> [mailto:linux-pci-ow...@vger.kernel.org] >> On Behalf Of Marc Zyngier >> Sent: 04 November 2015 09:04 >> To: majun (F); Thomas Gleixner; Jiang Liu; Jason Cooper >> Cc:

Re: [PATCH RESEND 0/4] SMP support for Broadcom NSP

2015-11-05 Thread Russell King - ARM Linux
On Thu, Nov 05, 2015 at 12:51:17AM -0500, Kapil Hali wrote: > Hi, > > This series adds SMP support for Broadcom's Northstar Plus SoC. > > There are similar SMP enablement methods for many ARMv7 bsed SoCs. > BCM NSP SoC, has a typical such mechanism - after power-on, the > secondary core is held

Re: [PATCH] reset: remove redundant $(CONFIG_RESET_CONTROLLER) from Makefile

2015-11-05 Thread Philipp Zabel
Am Donnerstag, den 05.11.2015, 17:17 +0900 schrieb Masahiro Yamada: > The directory drivers/reset/ is guarded by CONFIG_RESET_CONTROLLER > in driver/Makefile. > > CONFIG_RESET_CONTROLLER is boolean, so it always evaluates to 'y' > in drivers/reset/Makefile. > > Signed-off-by: Masahiro Yamada

Re: [PATCH] reset: check return value of reset_controller_register()

2015-11-05 Thread Philipp Zabel
Am Donnerstag, den 05.11.2015, 14:54 +0900 schrieb Masahiro Yamada: > Currently, reset_controller_register() always return 0, but it would > be better to check its return code. > > Signed-off-by: Masahiro Yamada Applied with Sören's Acked-by, thanks. regards Philipp -- To unsubscribe from

[PATCH] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-05 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtou8. Signed-off-by: LABBE Corentin --- drivers/i2c/busses/i2c-taos-evm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-taos-evm.c

[PATCH] drm: modes: replace simple_strtoul by kstrtouint

2015-11-05 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtouint. Signed-off-by: LABBE Corentin --- drivers/gpu/drm/drm_modes.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c

[PATCH V4] PM / OPP: Add debugfs support

2015-11-05 Thread Viresh Kumar
This patch adds debugfs support to OPP layer to export OPPs and their properties for all the devices. This creates a top level directory: /sys/kernel/debug/opp and then device specific directories (based on device names) inside it. For example: 'cpu0', 'cpu1', etc.. If multiple devices share the

[PATCH] ipmi: constify some struct and char arrays

2015-11-05 Thread LABBE Corentin
Lots of char arrays could be set as const since they contain only literal char arrays. We could in the same time make const some struct members who are pointer to those const char arrays. Signed-off-by: LABBE Corentin --- drivers/char/ipmi/ipmi_msghandler.c | 7 ---

<    3   4   5   6   7   8   9   10   11   12   >