[PATCH v10 45/46] nfs: Add support for the v4.1 dacl attribute

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher The dacl attribute includes Automatic Inheritance flags not supported by the acl attribute. it is only supported in NFS version 4.1 and higher. On systems where NFS version 4.0 is still the default, an additional mount option is needed: mount -t nfs4 -o vers=4.1

[PATCH 5/7] drivers/staging: make android lowmemorykiller.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/staging/android/Kconfig:config ANDROID_LOW_MEMORY_KILLER drivers/staging/android/Kconfig:bool "Android Low Memory Killer" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular

[PATCH 2/2] drivers/irqchip: make irq-renesas-irqc.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/irqchip/Kconfig:config RENESAS_IRQC drivers/irqchip/Kconfig:bool ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading

[PATCH 1/2] drivers/irqchip: make irq-renesas-intc-irqpin.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/irqchip/Kconfig:config RENESAS_INTC_IRQPIN drivers/irqchip/Kconfig:bool ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when

[PATCH 0/2] irqchip: make non-modular code explicitly non-modular

2015-10-11 Thread Paul Gortmaker
In a previous merge window, we made changes to allow better delineation between modular and non-modular code in commit 0fd972a7d91d6e15393c449492a04d94c0b89351 ("module: relocate module_init from init.h to module.h"). This allows us to now ensure module code looks modular and non-modular code

Re: [PATCH] icmp: Fixed bug in raw sockets causing incorrect ICMP SNMP counter values

2015-10-11 Thread Eric Dumazet
On Sun, 2015-10-11 at 15:44 -0700, Eric Dumazet wrote: > On Sun, 2015-10-11 at 15:43 -0700, Eric Dumazet wrote: > > > But your code reads 21th byte. > > BTW, nice catch ! Maybe the following one. 1) We properly set transport header 2) We use icmp_hdr() helper. diff --git a/net/ipv4/raw.c

[PATCH v10 40/46] sunrpc: Allow to demand-allocate pages to encode into

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher 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 buffer size. Signed-off-by: Andreas Gruenbacher --- net/sunrpc/xdr.c | 9 + 1 file changed, 9

[PATCH 7/7] drivers/staging: make emxx_udc.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/staging/emxx_udc/Kconfig:config USB_EMXX drivers/staging/emxx_udc/Kconfig: bool "EMXX USB Function Device Controller" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code

[PATCH v10 39/46] ext4: Don't allow unmapped identifiers in richacls

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher Don't allow acls which contain unmapped identifiers: they are meaningful for remote file systems only. Signed-off-by: Andreas Gruenbacher --- fs/ext4/richacl.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/ext4/richacl.c b/fs/ext4/richacl.c index

[PATCH 6/7] drivers/staging: make android timed_output.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/staging/android/Kconfig:config ANDROID_TIMED_OUTPUT drivers/staging/android/Kconfig:bool "Timed output class driver" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code

[PATCH 2/7] drivers/staging: make android ion_page_pool.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/staging/android/ion/Kconfig:menuconfig ION drivers/staging/android/ion/Kconfig:bool "Ion Memory Manager" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is

[PATCH 1/7] drivers/staging: make android ashmem.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/staging/android/Kconfig:config ASHMEM drivers/staging/android/Kconfig:bool "Enable the Anonymous Shared Memory Subsystem" ...meaning that it currently is not being built as a module by anyone. Lets remove the

Re: [PATCH 2/2] ext2: Add locking for DAX faults

2015-10-11 Thread Dave Chinner
[Nit: please send all patches of the series to the same list of recipients. Otherwise people with list based filters end up with the series spread across different mailboxes and people not subscribed to all lists don't get the full series and so are lacking in context for proper review. ] On Fri,

Re: [PATCH] icmp: Fixed bug in raw sockets causing incorrect ICMP SNMP counter values

2015-10-11 Thread Ben Cox
Nice! That works in my head at least, Sorry about not seeing that fairly glaring memory issue there. Are you sure " skb->transport_header += iphlen; " won't have a knock on affect when it's given to NF_HOOK ( as in, would a potential userspace program get something it does not expect anymore ) ?

[PATCH v10 34/46] nfsd: Use richacls as internal acl representation

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher When converting from NFSv4 ACLs to POSIX ACLs, nfsd so far was using struct nfs4_acl as its internal representation. This representation is a subset of richacls, so get rid of struct nfs4_acl. Richacls even have a more compact in-memory representation, so a few more ACL

linux-next: manual merge of the qcom tree with the arm-soc tree

2015-10-11 Thread Stephen Rothwell
Hi Andy, Today's linux-next merge of the qcom tree got a conflict in: arch/arm/configs/multi_v7_defconfig between commits: b605aded4491 ("ARM: multi_v7_defconfig: Add missing QCOM APQ8064 configs") cc68819a582c ("ARM: multi_v7_defconfig: Enable Rockchip display support") from the

[PATCH v10 16/46] richacl: Automatic Inheritance

2015-10-11 Thread Andreas Gruenbacher
From: 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

[PATCH v10 10/46] vfs: Cache base_acl objects in inodes

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher POSIX ACLs and richacls are both objects allocated by kmalloc() with a reference count which are freed by kfree_rcu(). An inode can either cache an access and a default POSIX ACL, or a richacl (richacls do not have default acls). To allow an inode to cache either of

[PATCH v10 12/46] vfs: Cache richacl in struct inode

2015-10-11 Thread Andreas Gruenbacher
From: 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_base.c

[PATCH v10 09/46] richacl: Permission check algorithm

2015-10-11 Thread Andreas Gruenbacher
From: 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

[PATCH v10 05/46] vfs: Add permission flags for setting file attributes

2015-10-11 Thread Andreas Gruenbacher
From: 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

[PATCH v10 03/46] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher Normally, deleting a file requires MAY_WRITE access to the parent directory. With richacls, a file may be deleted with MAY_DELETE_CHILD access to the parent directory or with MAY_DELETE_SELF access to the file. To support that, pass the MAY_DELETE_CHILD mask flag to

[PATCH v10 04/46] vfs: Make the inode passed to inode_change_ok non-const

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher We will need to call iop->permission and iop->get_acl from inode_change_ok() for additional permission checks, and both take a non-const inode. Signed-off-by: Andreas Gruenbacher Reviewed-by: J. Bruce Fields --- fs/attr.c | 2 +- include/linux/fs.h | 2 +-

Re: [PATCH] icmp: Fixed bug in raw sockets causing incorrect ICMP SNMP counter values

2015-10-11 Thread Eric Dumazet
Please do not top-post on netdev and/or lkml On Mon, 2015-10-12 at 00:14 +0100, Ben Cox wrote: > Nice! > > That works in my head at least, Sorry about not seeing that fairly > glaring memory issue there. No problem, this is why we review patches ;) > > Are you sure " skb->transport_header +=

[PATCH v10 08/46] richacl: Compute maximum file masks from an acl

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher Compute upper bound owner, group, and other file masks with as few permissions as possible without denying any permissions that the NFSv4 acl in a richacl grants. This algorithm is used when a file inherits an acl at create time and when an acl is set via a mechanism

[PATCH v10 02/46] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2015-10-11 Thread Andreas Gruenbacher
From: 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

Re: [PATCH v10 23/46] xfs: Make xfs_set_mode non-static

2015-10-11 Thread Dave Chinner
On Mon, Oct 12, 2015 at 12:58:34AM +0200, Andreas Gruenbacher wrote: > From: Andreas Gruenbacher > > Make xfs_set_mode non-static and move it from xfs_acl.c into xfs_inode.c. > > Signed-off-by: Andreas Gruenbacher . > +++ b/fs/xfs/xfs_inode.c > @@ -3587,3 +3587,21 @@ xfs_iflush_int( >

[PATCH v10 01/46] vfs: Add IS_ACL() and IS_RICHACL() tests

2015-10-11 Thread Andreas Gruenbacher
From: 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

[PATCH v10 07/46] richacl: Permission mapping functions

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher We need to map from POSIX permissions to NFSv4 permissions when a chmod() is done, from NFSv4 permissions to POSIX permissions when an acl is set (which implicitly sets the file permission bits), and from the MAY_READ/MAY_WRITE/MAY_EXEC/MAY_APPEND flags to NFSv4

[PATCH v10 06/46] richacl: In-memory representation and helper functions

2015-10-11 Thread Andreas Gruenbacher
From: Andreas Gruenbacher A richacl consists of an NFSv4 acl and an owner, group, and other mask. These three masks correspond to the owner, group, and other file permission bits, but they contain NFSv4 permissions instead of POSIX permissions. Each entry in the NFSv4 acl applies to the file

Re: [PATCH v10 24/46] xfs: Add richacl support

2015-10-11 Thread Dave Chinner
On Mon, Oct 12, 2015 at 12:58:35AM +0200, Andreas Gruenbacher wrote: > From: Andreas Gruenbacher > > The richacl feature flag (mkfs.xfs -m richacl=1) determines whether an xfs > filesystem supports posix acls or richacls. Richacls are stored in > "system.richacl" xattrs. > > If richacls are

Re: Updated scalable urandom patchkit

2015-10-11 Thread George Spelvin
TedTs'o wrote: > Yep, good catch; I need to subtract that off. I'm not thrilled with incrementing the pointer from i to len, but mixing at positions i+k to i+k+len. The whole LFSR scheme relies on a regular pass structure. How about this instead: drop the hashed offset, and instead let each

Re: [PATCH 3/5] ARM: shmobile: R-Mobile: add missing of_node_put

2015-10-11 Thread Simon Horman
On Sat, Oct 10, 2015 at 02:30:52PM +0200, Julia Lawall wrote: > for_each_child_of_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > The semantic patch that fixes this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ >

Re: [PATCH 1/2] irqchip/renesas-intc-irqpin: Remove obsolete platform data support

2015-10-11 Thread Simon Horman
On Fri, Oct 09, 2015 at 02:19:51PM +0200, Thomas Gleixner wrote: > On Wed, 7 Oct 2015, Geert Uytterhoeven wrote: > > On Wed, Oct 7, 2015 at 8:51 PM, kbuild test robot wrote: > > > [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please > > > ignore] > > > > > > config:

Re: [PATCH] Documentation: Remove misleading examples of the barriers in wake_*()

2015-10-11 Thread Paul E. McKenney
On Sun, Oct 11, 2015 at 11:26:40PM +0800, Boqun Feng wrote: > On Tue, Oct 06, 2015 at 06:06:50PM +0200, Peter Zijlstra wrote: > > On Thu, Sep 24, 2015 at 09:21:22PM +0800, Boqun Feng wrote: > > > > Included in it are some of the details on this subject, because a wakeup > > > > has two prior

Re: [PATCH v6 05/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-10-11 Thread Yakir Yang
Hi Krzysztof, On 10/10/2015 11:46 PM, Yakir Yang wrote: Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup()

Re: [PATCH 4/5] regulator: of: add missing of_node_put

2015-10-11 Thread Krzysztof Kozlowski
2015-10-10 21:30 GMT+09:00 Julia Lawall : > > for_each_child_of_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > The semantic patch that fixes this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ > expression root,e; >

Re: [PATCH v10 38/46] richacl: Add support for unmapped identifiers

2015-10-11 Thread Dave Chinner
On Mon, Oct 12, 2015 at 12:58:49AM +0200, Andreas Gruenbacher wrote: > From: Andreas Gruenbacher > > Some remote file systems like nfs may return user or group identifiers > that cannot be mapped to local uids / gids. Allow to represent such > unmapped identifiers in richacls. (We still cannot

Re: [PATCH] powerpc/pseries/hvcserver: don't memset pi_buff if it is null

2015-10-11 Thread Daniel Axtens
Hi Colin, This looks good. Out of curiousity, how did you find it? Code inspection? Bug? Static analysis? Not that it's particularly meaningful for such a trivial fix, but FWIW: Reviewed-by: Daniel Axtens Regards, Daniel Colin King writes: > From: Colin Ian King > > pi_buff is being

Re: [PATCH v6 05/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-10-11 Thread Krzysztof Kozlowski
On 12.10.2015 09:37, Yakir Yang wrote: > Hi Krzysztof, > > On 10/10/2015 11:46 PM, Yakir Yang wrote: >> Both hsync/vsync polarity and interlace mode can be parsed from >> drm display mode, and dynamic_range and ycbcr_coeff can be judge >> by the video code. >> >> But presumably Exynos still

Re: 4.2: CONFIG_NO_HZ_FULL_ALL effectively disabling non-boot CPUs

2015-10-11 Thread Frederic Weisbecker
On Sat, Oct 10, 2015 at 12:24:39PM -0700, Paul E. McKenney wrote: > On Sat, Oct 10, 2015 at 10:14:25PM +0300, Meelis Roos wrote: > > Short summary: turning on CONFIG_NO_HZ_FULL_ALL seems to disable all > > non-boot CPUs for scheduler. > > > > A couple of days ago I noticed that make -j8 on a

Re: [PATCH] drm/nouveau/disp,pm: constify nvkm_object_func structures

2015-10-11 Thread Ben Skeggs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 10/11/2015 10:18 PM, Julia Lawall wrote: > These nvkm_object_func structures are never modified. All other > nvkm_object_func structures are declared as const. > > Done with the help of Coccinelle. I've picked up the patch, thanks! Ben. > >

[PATCH] certs: add .gitignore to stop git nagging about x509_certificate_list

2015-10-11 Thread Paul Gortmaker
Currently we see this in "git status" if we build in the source dir: Untracked files: (use "git add ..." to include in what will be committed) certs/x509_certificate_list It looks like it used to live in kernel/ so we squash that .gitignore entry at the same time. I didn't bother to

Re: [RFC v2 4/7] powerpc: atomic: Implement xchg_* and atomic{,64}_xchg_* variants

2015-10-11 Thread Boqun Feng
Hi Paul, On Thu, Oct 01, 2015 at 11:03:01AM -0700, Paul E. McKenney wrote: > On Thu, Oct 01, 2015 at 07:13:04PM +0200, Peter Zijlstra wrote: > > On Thu, Oct 01, 2015 at 08:09:09AM -0700, Paul E. McKenney wrote: > > > On Thu, Oct 01, 2015 at 02:24:40PM +0200, Peter Zijlstra wrote: > > > > > > I

[PATCH] rtc: at91rm9200: clear RTC alarm status flag prior to suspending

2015-10-11 Thread Wenyou Yang
This patch is to clear the RTC alarm status flag prior to suspending to avoid the erroneous wake-up activity. Signed-off-by: Wenyou Yang --- drivers/rtc/rtc-at91rm9200.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c index

Re: [PATCH V1 2/3] taging: android: ion: Add ion driver for Hi6220 SoC platform

2015-10-11 Thread chenfeng
On 2015/10/10 23:00, Dan Carpenter wrote: > On Sat, Oct 10, 2015 at 02:48:22PM +0800, Chen Feng wrote: >> +static int hi6220_ion_probe(struct platform_device *pdev) >> +{ >> +int i; >> +int err = 0; >> +static struct ion_platform_heap *p_heap; >> + >> +idev =

[PATCH] ARM: EXYNOS: Fix double of_node_put() when parsing child power domains

2015-10-11 Thread Krzysztof Kozlowski
On each next iteration of for_each_compatible_node() the reference counter for current device node is already decreased by the loop iterator. The manual call to of_node_get() is required only on loop break which is not happening here. The double of_node_get() (with enabled CONFIG_OF_DYNAMIC) lead

[PATCH 2/3] drivers/hwtracing: make coresight-* explicitly non-modular

2015-10-11 Thread Paul Gortmaker
None of the Kconfig currently controlling compilation of any of the files here are tristate, meaning that none of it currently is being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the drivers there is no doubt they are builtin-only.

[PATCH 0/3] amba/coresight: make non-modular code explicitly non-modular

2015-10-11 Thread Paul Gortmaker
In a previous merge window, we made changes to allow better delineation between modular and non-modular code in commit 0fd972a7d91d6e15393c449492a04d94c0b89351 ("module: relocate module_init from init.h to module.h"). This allows us to now ensure module code looks modular and non-modular code

[PATCH 3/3] drivers/amba: make tegra-ahb.c explicitly non-modular

2015-10-11 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/amba/Kconfig:config TEGRA_AHB drivers/amba/Kconfig: bool "Enable AHB driver for NVIDIA Tegra SoCs" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity so that

[PATCH 1/3] amba: create builtin_amba_driver to avoid registration boilerplate

2015-10-11 Thread Paul Gortmaker
In commit f309d4443130bf814e991f836e919dca22df37ae ("platform_device: better support builtin boilerplate avoidance") we introduced the builtin_driver macro. Here we use that support and extend it to amba driver registration, so where a driver is clearly non-modular and builtin-only, we can

Re: [PATCH] mm: skip if required_kernelcore is larger than totalpages

2015-10-11 Thread Xishi Qiu
On 2015/10/9 23:41, Yasuaki Ishimatsu wrote: > > On Thu, 8 Oct 2015 10:21:05 +0800 > Xishi Qiu wrote: > >> If kernelcore was not specified, or the kernelcore size is zero >> (required_movablecore >= totalpages), or the kernelcore size is larger > > Why does required_movablecore become larger

Re: [PATCH V6] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-10-11 Thread Tang Chen
Hi Ishimatsu, On 10/10/2015 02:13 AM, Yasuaki Ishimatsu wrote: Hi Tang, On Fri, 9 Oct 2015 15:59:38 +0800 Tang Chen wrote: Hi, I don't mean to offend, but I really think it is not necessary to do this. hot-added memory will be added to ZONE_NORMAL by default. You can modify it when you

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-10-11 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line

Re: [PATCH v10 24/46] xfs: Add richacl support

2015-10-11 Thread Andreas Grünbacher
2015-10-12 2:10 GMT+02:00 Dave Chinner : > On Mon, Oct 12, 2015 at 12:58:35AM +0200, Andreas Gruenbacher wrote: >> diff --git a/fs/ext4/richacl.h b/fs/ext4/richacl.h >> index fc7826f..f26fbdd 100644 >> --- a/fs/ext4/richacl.h >> +++ b/fs/ext4/richacl.h >> @@ -24,7 +24,6 @@ >> >> extern struct

[PATCH] thp: use is_zero_pfn after pte_present check

2015-10-11 Thread Minchan Kim
Use is_zero_pfn on pteval only after pte_present check on pteval (It might be better idea to introduce is_zero_pte where checks pte_present first). Otherwise, it could work with swap or migration entry and if pte_pfn's result is equal to zero_pfn by chance, we lose user's data in

Re: [PATCH v10 38/46] richacl: Add support for unmapped identifiers

2015-10-11 Thread Andreas Grünbacher
2015-10-12 2:22 GMT+02:00 Dave Chinner : > This was used by the XFS support patch earlier in the series. Bisect > problem here... Yes, I'll fix that up as well. Thanks, Andreas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v8 4/6] pci: altera: Add Altera PCIe MSI driver

2015-10-11 Thread Ley Foon Tan
On Kha, 2015-10-08 at 22:05 +0200, Corentin LABBE wrote: > > This patch adds Altera PCIe MSI driver. This soft IP supports configurable > > number of vectors, which is a dts parameter. > > > > Signed-off-by: Ley Foon Tan > > Reviewed-by: Marc Zyngier > > + > > +static inline void

Re: [patch] sched: disable task group re-weighting on the desktop

2015-10-11 Thread Mike Galbraith
On Mon, 2015-10-12 at 06:46 +1100, paul.sz...@sydney.edu.au wrote: > Dear Mike, > > Did you check whether setting min_- and max_interval e.g. as per > https://lkml.org/lkml/2015/10/11/34 > would help with your issue (instead of your "horrible gs destroying" > patch)? I spent a lot of MY time

Re: staging: wilc1000: WILC1000_DYNAMICALLY_ALLOCATE_MEMROY

2015-10-11 Thread Tony Cho
On 2015년 10월 09일 03:29, Stanislav Kholmanskikh wrote: Hi! I noticed that drivers/staging/wilc1000/Kconfic defines: config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY bool "Dynamically allocate memory in real time" ---help--- This choice supports dynamic allocation of

Re: staging: wilc1000: WILC1000_DYNAMICALLY_ALLOCATE_MEMROY

2015-10-11 Thread Tony Cho
On 2015년 10월 09일 03:47, Greg KH wrote: On Thu, Oct 08, 2015 at 09:29:35PM +0300, Stanislav Kholmanskikh wrote: Hi! I noticed that drivers/staging/wilc1000/Kconfic defines: config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY bool "Dynamically allocate memory in real time"

Re: [PATCH v3 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-10-11 Thread Chen-Yu Tsai
On Mon, Oct 12, 2015 at 1:20 AM, Maxime Ripard wrote: > On Fri, Oct 09, 2015 at 11:22:23PM +0800, Chen-Yu Tsai wrote: >> On Fri, Oct 9, 2015 at 4:42 PM, Maxime Ripard >> wrote: >> > The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of >> > RAM, USB host and OTG, a wifi /

Re: [PATCH 2/5] power_supply: charger-manager: add missing of_node_put

2015-10-11 Thread Krzysztof Kozlowski
2015-10-10 21:30 GMT+09:00 Julia Lawall : > for_each_child_of_node performs an of_node_get on each iteration, so > a break out of the loop requires an of_node_put. > > The semantic patch that fixes this problem is as follows > (http://coccinelle.lip6.fr): > > // > @@ > expression root,e; > local

Re: [PATCH 3/3] fpga manager: Adding FPGA Manager support for Xilinx Zynq 7000

2015-10-11 Thread Moritz Fischer
Hi Alan, thanks for your feedback! On Fri, Oct 9, 2015 at 8:09 PM, atull wrote: > On Thu, 8 Oct 2015, Moritz Fischer wrote: > >> --- /dev/null >> +++ b/drivers/fpga/zynq-fpga.c >> @@ -0,0 +1,478 @@ >> +/* >> + * Copyright (c) 2011-2015 Xilinx Inc. >> + * Copyright (c) 2015, National Instruments

[RFC] arm64: ioremap: add ioremap_cache macro

2015-10-11 Thread yalin wang
Add ioremap_cache macro, because some code will test if this macro is defined or not, and will generate a generric version if not defined, for example, memremap.c do like this. Signed-off-by: yalin wang --- arch/arm64/include/asm/io.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH net-next] RDS: Invoke ->laddr_check() in rds_bind() for explicitly bound transports.

2015-10-11 Thread santosh.shilim...@oracle.com
On 10/11/15 1:46 PM, Sowmini Varadhan wrote: The IP address passed to rds_bind() should be vetted by the transport's ->laddr_check() for a previously bound transport. This needs to be done to avoid cases where, for example, the application has asked for an IB transport, but the IP address

Re: [RFC v6 00/25] Re-use nvram module

2015-10-11 Thread Finn Thain
Hi Laurent, On Sun, 11 Oct 2015, Laurent Vivier wrote: > On 23/08/2015 12:41, Finn Thain wrote: ... > > This patch series has been compile-tested for arm, m68k, powerpc and > > x86. The nvram and thinkpad_acpi modules were regression tested on a > > ThinkPad T43. The /dev/nvram functionality

Re: [PATCH net-next] RDS-TCP: Reset tcp callbacks if re-using an outgoing socket in rds_tcp_accept_one()

2015-10-11 Thread santosh.shilim...@oracle.com
On 10/11/15 1:49 PM, Sowmini Varadhan wrote: Consider the following "duelling syn" sequence between two peers A and B: A B SYN1 --> <-- SYN2 SYN2ACK --> Note that the SYN/ACK has already been sent out

Re: [PATCH net-next 0/2] net: fix some bugs in HNS drivers

2015-10-11 Thread huangdaode
On 2015/10/11 20:02, David Miller wrote: From: huangdaode Date: Thu, 8 Oct 2015 14:17:23 +0800 This patchset fixes the two bugs in HNS driver, one is for fixing the compilation warning bug on arm 32-bit platform, another is fixing the wrong mac port judgement bug which is found during

RE: [PATCH] Input: cyapa: remove variable overwriting

2015-10-11 Thread Dudley Du
> -Original Message- > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > Sent: 2015?9?29? 14:48 > To: Dmitry Torokhov > Cc: Dudley Du; lkml; linux-in...@vger.kernel.org > Subject: Re: [PATCH] Input: cyapa: remove variable overwriting > > On Mon, Sep 28, 2015 at 03:43:04PM

linux-next: manual merge of the jc_docs tree with Linus' tree

2015-10-11 Thread Stephen Rothwell
Hi Jonathan, Today's linux-next merge of the jc_docs tree got a conflict in: Documentation/Changes between commit: 283e8ba2dfde ("MODSIGN: Change from CMS to PKCS#7 signing if the openssl is too old") from Linus' tree and commit: 1c3a54e257f7 ("Documentation/Changes: Add bc in

[RFC] mm: fix a BUG, the page is allocated 2 times

2015-10-11 Thread yalin wang
Remove unlikely(order), because we are sure order is not zero if code reach here, also add if (page == NULL), only allocate page again if __rmqueue_smallest() failed or alloc_flags & ALLOC_HARDER == 0 Signed-off-by: yalin wang --- mm/page_alloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [PATCH 00/16] Divorcing irqdomain and device_node

2015-10-11 Thread Hanjun Guo
On 10/12/2015 05:01 AM, Thomas Gleixner wrote: On Tue, 6 Oct 2015, Marc Zyngier wrote: [This patch series used to be called "Making the generic ACPI GSI layer irqdomain aware", but as I've radically changed my approach to this problem, I've decided to reset the counters...] The irqdomain code

[PATCH] MAINTAINERS: add Mediatek usb3 phy driver

2015-10-11 Thread Chunfeng Yun
Add Mediatek usb3 phy driver to maintainer entry. Signed-off-by: Chunfeng Yun --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ba7ab7..be0055c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1291,6 +1291,13 @@ F:

Re: [PATCH v5 0/7] arm64: berlin: add pinctrl support

2015-10-11 Thread Jisheng Zhang
On Sun, 11 Oct 2015 00:36:36 +0200 Antoine Tenart wrote: > Hi Jisheng, > > Please keep Acked-by tags when you submit a new version of a series. Got it. I dunno this before, will take care in the future. Thanks a lot for your review, Jisheng > > Thanks, > > Antoine > > On Fri, Oct 09, 2015

Re: [PATCH v6 05/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-10-11 Thread Yakir Yang
On 10/12/2015 08:49 AM, Krzysztof Kozlowski wrote: On 12.10.2015 09:37, Yakir Yang wrote: Hi Krzysztof, On 10/10/2015 11:46 PM, Yakir Yang wrote: Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video

Re: [kbuild-all] [PATCH 4/5 v2] pseries/iommu: implement DDW-aware dma_get_page_shift

2015-10-11 Thread Michael Ellerman
On Sun, 2015-10-11 at 22:22 +0800, Fengguang Wu wrote: > > > > So do you mind adding linuxppc-...@lists.ozlabs.org ? :) > > > > It's pretty low traffic compared to lkml. > > Sure, I'm subscribing to it. :) Thanks. cheers -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2 2/5] mmc: sdhci-pxav3: enable usage of DAT3 pin as HW card detect

2015-10-11 Thread Jisheng Zhang
Hi Marcin, On Sat, 10 Oct 2015 14:13:51 +0200 Marcin Wojtas wrote: > Hi Jisheng, > > > >> > >> >> > >> >> When using DAT3-based detection Armada 38x SDIO IP expects its internal > >> >> clock to be always on, which had to be ensured twofold: > >> > > >> > What happen if runtime suspend

bindeb-pkg error (was Re: kbuild misc changes for v4.3-rc1 )

2015-10-11 Thread Pranith Kumar
Hi Michal, On Tue, Sep 8, 2015 at 11:38 AM, Michal Marek wrote: > Hi Linus, > > these are the non-core kbuild changes for 4.3-rc1: > - deb-pkg: > + module signing fix > + dtb files are added to the package > + do not require `hostname -f` to work during build > + make deb-pkg generates a

Re: Re: [PATCH] panic: release stale console lock to always get the logbuf printed out

2015-10-11 Thread kbuild test robot
Hi Jan, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: arm64-allnoconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

[PATCH net-next v2 2/2] hisilicon net: fix a bug on Hisilicon Network Subsystem

2015-10-11 Thread huangdaode
This patch fixes the wrong judgement of mac_id when get port num. Signed-off-by: huangdaode Signed-off-by: yankejian --- drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c

[PATCH net-next v2 0/2] hisilicon net: fix some bugs in HNS drivers

2015-10-11 Thread huangdaode
This patchset fixes the two bugs in HNS driver, one is change the code style according to the review comments from Joe Perches, another is fixing the wrong mac_id judgement bug which is found during internal tests. change log: v2 1) remove first bug fix, which is fixed in another patch

[PATCH net-next v2 1/2] hisilicon net: removes the once HANDEL_TX_MSG macro

2015-10-11 Thread huangdaode
This patch changes the code style to make the code more simple. also removes the once used HNADEL_TX_MSG macro, according to the review comments from Joe Perches. Signed-off-by: huangdaode Reviewed-by: Joe Perches --- drivers/net/ethernet/hisilicon/hns/hnae.c | 45

Re: [PATCH v5 0/5] Provide better MADT subtable sanity checks

2015-10-11 Thread Pat Erley
On 10/05/2015 10:12 AM, Al Stone wrote: On 10/05/2015 07:39 AM, Rafael J. Wysocki wrote: On Wednesday, September 30, 2015 10:10:16 AM Al Stone wrote: On 09/30/2015 03:00 AM, Hanjun Guo wrote: On 2015/9/30 7:45, Al Stone wrote: NB: this patch set is for use against the linux-pm bleeding edge

<    2   3   4   5   6   7