[PATCH] x86/head64: micro optimization: use memset instead of for loop

2016-01-30 Thread Alexander Kuleshov
This patch simplifies clearing of page table directories, by the using of the fast memset() from the arch/x86/lib/memset_64.S. Besides this, we 25 bytes is 25 bytes less than original. text data bss dechex filename 9735144 4970776 1547468830180608

Re: [GIT PULL 0/4] perf/urgent fixes

2016-01-30 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 45c815f06b80031659c63d7b93e580015d6024dd: > > perf: Synchronously free aux pages in case of allocation failure > (2016-01-21 18:54:27 +0100) > > are availa

Re: [BUG REPORT] Soft Lockup in smp_call_function_single+0xD8

2016-01-30 Thread Jeff Merkey
On 1/25/16, Jeff Merkey wrote: > On 1/25/16, Jeff Merkey wrote: >> On 1/24/16, Jeff Merkey wrote: >>> On 1/24/16, Jeff Merkey wrote: If I single step with either kgdb, kgdb, or mdb kernel debuggers over a sysret instruction anywhere in the OS, the system hard hangs in smp_call_f

[tip:perf/urgent] perf hists: Fix HISTC_MEM_DCACHELINE width setting

2016-01-30 Thread tip-bot for Jiri Olsa
Commit-ID: 0805909f59e02036a4e2660159f27dbf8b6084ac Gitweb: http://git.kernel.org/tip/0805909f59e02036a4e2660159f27dbf8b6084ac Author: Jiri Olsa AuthorDate: Wed, 20 Jan 2016 12:56:33 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 26 Jan 2016 11:14:55 -0300 perf hists: Fix H

[tip:perf/urgent] perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

2016-01-30 Thread tip-bot for Markus Trippelsdorf
Commit-ID: d4913cbd05bab685e49c8174896e563b2487d054 Gitweb: http://git.kernel.org/tip/d4913cbd05bab685e49c8174896e563b2487d054 Author: Markus Trippelsdorf AuthorDate: Mon, 14 Dec 2015 16:44:03 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 26 Jan 2016 11:14:25 -0300 perf an

[tip:perf/urgent] perf stat: Do not clean event's private stats

2016-01-30 Thread tip-bot for Jiri Olsa
Commit-ID: 3f416f22d1e21709a631189ba169f76fd267b374 Gitweb: http://git.kernel.org/tip/3f416f22d1e21709a631189ba169f76fd267b374 Author: Jiri Olsa AuthorDate: Wed, 20 Jan 2016 12:56:34 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 26 Jan 2016 11:15:11 -0300 perf stat: Do not

[tip:perf/urgent] perf tests: Remove wrong semicolon in while loop in CQM test

2016-01-30 Thread tip-bot for Markus Trippelsdorf
Commit-ID: cf89813a5b514bff9b3b5e7eaf2090f22fba62e0 Gitweb: http://git.kernel.org/tip/cf89813a5b514bff9b3b5e7eaf2090f22fba62e0 Author: Markus Trippelsdorf AuthorDate: Mon, 14 Dec 2015 16:43:35 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 26 Jan 2016 11:14:06 -0300 perf te

[tip:x86/boot] x86/boot: Micro-optimize reset_early_page_tables()

2016-01-30 Thread tip-bot for Alexander Kuleshov
Commit-ID: 5e9ebbd87a99ecc6abb74325b0ac63c46891f6f3 Gitweb: http://git.kernel.org/tip/5e9ebbd87a99ecc6abb74325b0ac63c46891f6f3 Author: Alexander Kuleshov AuthorDate: Sat, 30 Jan 2016 14:01:12 +0600 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:20:55 +0100 x86/boot: Micro-optim

Re: [PATCH v2] dm pref-path: provides preferred path load balance policy

2016-01-30 Thread Hannes Reinecke
On 01/29/2016 06:50 PM, Benjamin Marzinski wrote: On Fri, Jan 29, 2016 at 02:10:52PM +, Nalla, Ravikanth wrote: Hi Mike, Hannes, Ben This seems like a problem that has already been solved with path groups. If the path(s) in your preferred path group are there, multipath will >>> use them.

Re: [PATCH v2 3/3] vfs: Enable list batching for the superblock's inode list

2016-01-30 Thread Ingo Molnar
* Waiman Long wrote: > The inode_sb_list_add() and inode_sb_list_del() functions in the vfs > layer just perform list addition and deletion under lock. So they can > use the new list batching facility to speed up the list operations > when many CPUs are trying to do it simultaneously. > > In pa

Re: [BUG REPORT] Soft Lockup in smp_call_function_single+0xD8

2016-01-30 Thread Jeff Merkey
Here is an MDB debugger trace of the code in question. please note that the flags being compared don't match what's in r11 and the comparison bits are wrong. (3)> Break at 0x81680022 due to - Proceed (single step) RAX: 0080 RBX: 0002 RCX: 7FC9877F2A30 RDX: 000

[PATCH] serial: zs: Fix a transmit lockup in console output

2016-01-30 Thread Maciej W. Rozycki
Transmit interrupts are disabled and the transmit buffer drained in the course of console output so that polled transmission is possible. That however causes a lost transmit interrupt as the TxIP bit in RR3 is only set on a transmit buffer full-to-empty transition and then iff transmit interru

[PATCH] scripts/sign-file.c: Add support for signing with a raw signature

2016-01-30 Thread Juerg Haefliger
This commit adds support for signing a kernel module with a raw detached PKCS#7 signature/message. The signature is not converted and is simply appended to the module so it needs to be in the right format. Using openssl, a valid signature can be generated like this: $ openssl smime -sign -nocert

Re: [PATCH v5] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-30 Thread Ingo Molnar
* Byungchul Park wrote: > + > + /* > + * If this function is called from printk(), then we should > + * not call printk() more. Or it will cause an infinite > + * recursive cycle! This should be something like: > + * If this function is called from within printk() then

[tip:sched/urgent] pid: Fix spelling in comments

2016-01-30 Thread tip-bot for Zhen Lei
Commit-ID: 840d6fe7425ffb6a62d53b2759e01ae6daf90e4e Gitweb: http://git.kernel.org/tip/840d6fe7425ffb6a62d53b2759e01ae6daf90e4e Author: Zhen Lei AuthorDate: Sat, 30 Jan 2016 10:04:17 +0800 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:28:18 +0100 pid: Fix spelling in comments

[tip:core/resources] resource: Handle resource flags properly

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: a3650d53ba16ec412185abb98f231e9ba6bcdc65 Gitweb: http://git.kernel.org/tip/a3650d53ba16ec412185abb98f231e9ba6bcdc65 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:18 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:56 +0100 resource: Handle resource fla

[tip:core/resources] resource: Add System RAM resource type

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 9babd5c8caa6e62c116efc3a64a09f65af4112b0 Gitweb: http://git.kernel.org/tip/9babd5c8caa6e62c116efc3a64a09f65af4112b0 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:17 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:56 +0100 resource: Add System RAM reso

[tip:core/resources] x86/e820: Set System RAM type and descriptor

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: f33b14a4b96b185634848046f54fb0d5028566a9 Gitweb: http://git.kernel.org/tip/f33b14a4b96b185634848046f54fb0d5028566a9 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:20 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:57 +0100 x86/e820: Set System RAM type

[tip:core/resources] ia64: Set System RAM type and descriptor

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 03cb525eb25018cf5f3da01d0f1391fc8b37805a Gitweb: http://git.kernel.org/tip/03cb525eb25018cf5f3da01d0f1391fc8b37805a Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:21 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:57 +0100 ia64: Set System RAM type and

[tip:core/resources] resource: Add I/O resource descriptor

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 43ee493bde78da00deaf5737925365c691a036ad Gitweb: http://git.kernel.org/tip/43ee493bde78da00deaf5737925365c691a036ad Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:19 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:56 +0100 resource: Add I/O resource de

[tip:core/resources] arch: Set IORESOURCE_SYSTEM_RAM flag for System RAM

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 35d98e93fe6a7ab612f6b389ce42c1dc135d6eef Gitweb: http://git.kernel.org/tip/35d98e93fe6a7ab612f6b389ce42c1dc135d6eef Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:22 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:57 +0100 arch: Set IORESOURCE_SYSTEM_R

Re: [tip:x86/asm] x86/syscalls: Remove __SYSCALL_COMMON and __SYSCALL_X32

2016-01-30 Thread Ingo Molnar
* Andy Lutomirski wrote: > >>>+ if [ "$abi" == "COMMON" -o "$abi" == "64" ]; then > >>>+ # COMMON is the same as 64, except that we don't expect X32 > >>>+ # programs to use it. Our expectation has nothing to do with > >>>+ # any generated code, so treat them the

[tip:core/resources] kexec: Set IORESOURCE_SYSTEM_RAM for System RAM

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 1a085d0727afaedb9506f04798516298b1676e11 Gitweb: http://git.kernel.org/tip/1a085d0727afaedb9506f04798516298b1676e11 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:23 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:57 +0100 kexec: Set IORESOURCE_SYSTEM_

[tip:core/resources] xen, mm: Set IORESOURCE_SYSTEM_RAM to System RAM

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 782b86641e5d471e9eb1cf0072c012d2f758e568 Gitweb: http://git.kernel.org/tip/782b86641e5d471e9eb1cf0072c012d2f758e568 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:24 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:58 +0100 xen, mm: Set IORESOURCE_SYSTE

[tip:core/resources] resource: Change walk_system_ram() to use System RAM type

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: bd7e6cb30ced147292d854a54d4a1f5c5a05d927 Gitweb: http://git.kernel.org/tip/bd7e6cb30ced147292d854a54d4a1f5c5a05d927 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:26 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:58 +0100 resource: Change walk_system_

[tip:core/resources] arm/samsung: Change s3c_pm_run_res() to use System RAM type

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 05fee7cfab7fa9d57e71f00bdd8fcff0cf5044a0 Gitweb: http://git.kernel.org/tip/05fee7cfab7fa9d57e71f00bdd8fcff0cf5044a0 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:27 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:58 +0100 arm/samsung: Change s3c_pm_ru

[tip:core/resources] memremap: Change region_intersects() to take @flags and @desc

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 1c29f25bf5d6c557017f619b638c619cbbf798c4 Gitweb: http://git.kernel.org/tip/1c29f25bf5d6c557017f619b638c619cbbf798c4 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:28 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:58 +0100 memremap: Change region_inter

[PATCH v2 2/3] [ALSA] portman2x4 - assignment in if

2016-01-30 Thread Sudip Mukherjee
It is not general practice to assign some values inside if statement. Signed-off-by: Sudip Mukherjee --- v2: no change sound/drivers/portman2x4.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c inde

[PATCH v2 3/3] [ALSA] portman2x4 - use new parport device model

2016-01-30 Thread Sudip Mukherjee
Modify portman driver to use the new parallel port device model. Signed-off-by: Sudip Mukherjee --- v2: 1. pardev_cb is initialized while declaring, thus removing the use of memset. 2. used pdev->id. 3. v1 did not have the parport probe callback, but we will need the probe callback for bindi

[tip:core/resources] resource: Kill walk_iomem_res()

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: a8fc42530ddd19d7580fe8c9f2ea86220a97e94c Gitweb: http://git.kernel.org/tip/a8fc42530ddd19d7580fe8c9f2ea86220a97e94c Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:32 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:59 +0100 resource: Kill walk_iomem_res

[tip:core/resources] x86/kexec: Remove walk_iomem_res() call with GART type

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: f296f2634920d205b93d878b48d87bb7e0a4c256 Gitweb: http://git.kernel.org/tip/f296f2634920d205b93d878b48d87bb7e0a4c256 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:31 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:59 +0100 x86/kexec: Remove walk_iomem_

[tip:core/resources] x86, kexec, nvdimm: Use walk_iomem_res_desc( ) for iomem search

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: f0f4711aa16b82016c0b6e59871934bbd71258da Gitweb: http://git.kernel.org/tip/f0f4711aa16b82016c0b6e59871934bbd71258da Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:30 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:59 +0100 x86, kexec, nvdimm: Use walk_

[tip:core/resources] ACPI/EINJ: Allow memory error injection to NVDIMM

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 4650bac1fc45d64aef62ab99aa4db93d41dedbd9 Gitweb: http://git.kernel.org/tip/4650bac1fc45d64aef62ab99aa4db93d41dedbd9 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:33 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:50:00 +0100 ACPI/EINJ: Allow memory error

[PATCH v2 1/3] [ALSA] portman2x4 - whitespace fixes

2016-01-30 Thread Sudip Mukherjee
checkpatch was complaining about trailing whitespace, multiple blank lines and space before tabs. This patch takes care of these issues related to whitespace changes and there was no other change. Signed-off-by: Sudip Mukherjee --- v2: combined 3 patches of v1 series into this patch. sound/dri

[tip:core/resources] resource: Add walk_iomem_res_desc()

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 3f33647c41962401272bb60dce67e6094d14dbf2 Gitweb: http://git.kernel.org/tip/3f33647c41962401272bb60dce67e6094d14dbf2 Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:29 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:59 +0100 resource: Add walk_iomem_res_

[tip:core/resources] drivers: Initialize resource entry to zero

2016-01-30 Thread tip-bot for Toshi Kani
Commit-ID: 9a975bee4b3945b271bcff18a520d4863c210f8b Gitweb: http://git.kernel.org/tip/9a975bee4b3945b271bcff18a520d4863c210f8b Author: Toshi Kani AuthorDate: Tue, 26 Jan 2016 21:57:25 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 09:49:58 +0100 drivers: Initialize resource

Re: [PATCH] ovl: fix getcwd() failure after unsuccessful rmdir

2016-01-30 Thread Konstantin Khlebnikov
On Fri, Jan 8, 2016 at 6:09 PM, Rui Wang wrote: > ovl_remove_upper() should do d_drop() only after it successfully > removes the dir, otherwise a subsequent getcwd() system call will > fail, breaking userspace programs. > > This is to fix: https://bugzilla.kernel.org/show_bug.cgi?id=110491 > > Sig

[PATCH V2] mfd: core: add macro for adding mfd cells

2016-01-30 Thread Laxman Dewangan
Most of MFD drivers add the mfd sub devices cells as follows: static const struct mfd_cell as3722_devs[] = { { .name = "as3722-pinctrl", }, { .name = "as3722-regulator", }, { .name = "as3722-rtc",

[PATCH v2 1/3] ALSA: mts64: whitespace fixes

2016-01-30 Thread Sudip Mukherjee
checkpatch was complaining about trailing whitespace, multiple blank lines, space before start of a line and a required space before opening brace. This patch takes care of these issues related to whitespace changes and there was no other change. Signed-off-by: Sudip Mukherjee --- v2: combined 3

[PATCH v2 2/3] ALSA: mts64: assignment in if

2016-01-30 Thread Sudip Mukherjee
It is not general practice to assign some values inside if statement. Signed-off-by: Sudip Mukherjee --- v2: no change sound/drivers/mts64.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c index f7d938d..ee6

[PATCH v2 3/3] ALSA: mts64: use new parport device model

2016-01-30 Thread Sudip Mukherjee
Modify mts64 driver to use the new parallel port device model. Signed-off-by: Sudip Mukherjee --- v2: 1. pardev_cb is initialized while declaring, thus removing the use of memset. 2. used pdev->id. 3. v1 did not have the parport probe callback, but we will need the probe callback for bindin

Re: [RFC PATCH 0/2] avoid external fragmentation related to migration fallback

2016-01-30 Thread Xishi Qiu
On 2016/1/30 5:03, Vlastimil Babka wrote: > On 01/29/2016 08:23 PM, ChengYi He wrote: > > [...] > >> Below is the root cause of this external fragmentation which could be >> observed in devices which have only one memory zone, such as some arm64 >> android devices: >> >> 1) In arm64, the first 4

[PATCH] Race between cat /proc/kallsyms and rmmod

2016-01-30 Thread Weilong Chen
Iterating code of /proc/kallsyms calls module_get_kallsym() which grabs and drops module_mutex internally and returns "struct module *", module is removed, aforementioned "struct module *" is used in non-trivial way. So, grab module_mutex for entire operation like /proc/modules does. Steps to rep

Re: [PATCH v8 3/3] x86, mce: Add __mcsafe_copy()

2016-01-30 Thread Borislav Petkov
On Fri, Jan 29, 2016 at 04:35:35PM -0800, Tony Luck wrote: > On Wed, Jan 13, 2016 at 8:39 PM, Borislav Petkov wrote: > > On Wed, Jan 13, 2016 at 03:22:58PM -0800, Tony Luck wrote: > >> Are there some examples of synthetic CPUID bits? > > > > X86_FEATURE_ALWAYS is one. The others got renamed into X

Re: [PATCHv2 1/3] arm64: Drop alloc function from create_mapping

2016-01-30 Thread Ard Biesheuvel
On 30 January 2016 at 00:46, Laura Abbott wrote: > > create_mapping is only used in fixmap_remap_fdt. All the create_mapping > calls need to happen on existing translation table pages without > additional allocations. Rather than have an alloc function be called > and fail, just set it to NULL and

Re: [RFC PATCH 2/2] mm/page_alloc: avoid splitting pages of order 2 and 3 in migration fallback

2016-01-30 Thread Xishi Qiu
On 2016/1/30 3:25, ChengYi He wrote: > While buddy system fallbacks to allocate different migration type pages, > it prefers the largest feasible pages and might split the chosen page > into smalller ones. If the largest feasible pages are less than or equal > to orde-3 and migration fallback happ

Re: [PATCH] Race between cat /proc/kallsyms and rmmod

2016-01-30 Thread kbuild test robot
/20160130-182606 config: i386-randconfig-a0-201604 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from include/linux/notifier.h:13:0, from include

[PATCH] mce-inject: use pr_err() instead of printk(KERN_ERR, ...)

2016-01-30 Thread Chen Yucong
Signed-off-by: Chen Yucong Converted printk(KERN_ERR to pr_err. pr_ format is more compact and enable utilizing of pr_fmt macro. --- arch/x86/kernel/cpu/mcheck/mce-inject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce-inject.c b/arch/x86/k

[PATCHv2 0/3] rdma controller support

2016-01-30 Thread Parav Pandit
This patchset adds support for RDMA cgroup by addressing review comments of [2], [1] and by implementing published RFC [3]. Overview: Currently user space applications can easily take away all the rdma device specific resources such as AH, CQ, QP, MR etc. Due to which other applications in other c

[PATCHv2 3/3] rdmacg: Added documentation for rdma controller

2016-01-30 Thread Parav Pandit
Added documentation for rdma controller to use in legacy mode and using new unified hirerchy. Signed-off-by: Parav Pandit --- Documentation/cgroup-v1/rdma.txt | 122 +++ Documentation/cgroup-v2.txt | 43 ++ 2 files changed, 165 insertions(+)

[PATCHv2 1/3] rdmacg: Added rdma cgroup controller.

2016-01-30 Thread Parav Pandit
Added rdma cgroup controller that does accounting, limit enforcement on rdma/IB verbs and hw resources. Added rdma cgroup header file which defines its APIs to perform charing/uncharing functionality and device registration which will participate in controller functions of accounting and limit enf

[PATCHv2 2/3] IB/core: added support to use rdma cgroup controller

2016-01-30 Thread Parav Pandit
Added support APIs for IB core to register/unregister every RDMA device with rdma cgroup for tracking verbs and hw resources. IB core registers with rdma cgroup controller and also defines resources that can be accounted. Added support APIs for uverbs layer to make use of rdma controller. Added uv

Re: [RFC PATCH 11/19] cpufreq: assert policy->rwsem is held in __cpufreq_governor

2016-01-30 Thread Rafael J. Wysocki
On Friday, January 29, 2016 04:33:39 PM Saravana Kannan wrote: > On 01/12/2016 02:20 AM, Viresh Kumar wrote: > > On 11-01-16, 17:35, Juri Lelli wrote: > >> __cpufreq_governor works on policy, so policy->rwsem has to be held. > >> Add assertion for such condition. > >> > >> Cc: "Rafael J. Wysocki"

[PATCH v3 2/2] dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible

2016-01-30 Thread David Wu
Change-Id: Ic1bdb3dc358837e97d7b48dd58be2f8d9d08d766 --- Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.t

[PATCH v3 1/2] pinctrl: rockchip: add support for the rk3399

2016-01-30 Thread David Wu
The pinctrl of rk3399 is much different from other's, especially the 3bits of drive strength. Signed-off-by: David Wu --- Change in v3: - use switch-case to distinguish special 3bits width per pin (Heiko) Change in v2: - need spin_unlock_irqrestore for set drive default case drivers/pinctrl/pi

[PATCH v3 0/2] add pinctrl support for rk3399

2016-01-30 Thread David Wu
Test on rk3399 fpga-board David Wu (2): pinctrl: rockchip: add support for the rk3399 dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible .../bindings/pinctrl/rockchip,pinctrl.txt | 1 + drivers/pinctrl/pinctrl-rockchip.c | 372 -

[PATCH] PM: Avoid false-positive warnings in dev_pm_domain_set()

2016-01-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is a WARN_ON() in dev_pm_domain_set() that triggers on attempts to set the pm_domain pointer for devices with a driver bound. However, that WARN_ON() triggers on attempts to clear the pointer too and the test it uses is based on checking the device's p->knode_driver

Re: [PATCH v2] staging: rtl8723au: Fixes unnecessary return warning

2016-01-30 Thread Julian Calaby
On Sat, Jan 30, 2016 at 4:57 PM, Bhaktipriya Shridhar wrote: > This patch fixes checkpatch.pl warning in rtw_mlme_ext.c file. > WARNING: void function return statements are not generally useful > > Signed-off-by: Bhaktipriya Shridhar Looks sane to me. Reviewed-by: Julian Calaby > --- > Chang

Re: [PATCH] staging: rtl8723au: Fixes unnecessary return warning

2016-01-30 Thread Julian Calaby
Hi Bhakti, On Sat, Jan 30, 2016 at 5:53 PM, Bhakti Priya wrote: > Hi, > > Thank you for your reply. I've just sent version 2 of the patch with > the blank lines removed. > I will be happy to extend checkpatch.pl. As suggested by you, I am > trying to detect such blank lines in a line removal patc

my subject...

2016-01-30 Thread Muthoot Finance Pvt Ltd
Be informed that Muthoot Finance give out Guarantee Business Loans, Automobile Purchase Loans, House Purchase Loans, Personal Loans at 3% interest rate, for more info email: muthootfinancceh...@gmail.com Estar informado de que Muthoot Finanzas Dar a conocer Garanta de negocios Prstamos, Prs

Re: [PATCH] staging: rtl8723au: Fixes unnecessary return warning

2016-01-30 Thread Joe Perches
On Sat, 2016-01-30 at 23:02 +1100, Julian Calaby wrote: > Hi Bhakti, > > On Sat, Jan 30, 2016 at 5:53 PM, Bhakti Priya wrote: > > Hi, > > > > Thank you for your reply. I've just sent version 2 of the patch with > > the blank lines removed. > > I will be happy to extend checkpatch.pl. As suggeste

[PATCH] PM / AVS: rockchip-io: add GRF and PMUGRF types to distinguish

2016-01-30 Thread David Wu
As rk3368 contained two separated iodomain areas, this was determined to use which regmap base address. Signed-off-by: David Wu --- drivers/power/avs/rockchip-io-domain.c | 32 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/drivers/power/avs/rockc

Re: [PATCH 4/3] mm, oom: drop the last allocation attempt before out_of_memory

2016-01-30 Thread Tetsuo Handa
Michal Hocko wrote: > > https://lkml.org/lkml/2015/3/25/40 > > > > We could have out_of_memory() wait until the number of outstanding OOM > > victims drops to 0. Then __alloc_pages_may_oom() doesn't relinquish > > the lock until its kill has been finalized: > > > > diff --git a/mm/oom_kill.c b/mm

Re: [PATCH] Remove ambiguous logging for "Unsupported brightness interface"

2016-01-30 Thread Henrique de Moraes Holschuh
On Wed, 27 Jan 2016, Joe Perches wrote: > On Wed, 2016-01-27 at 22:14 +, Eric Curtin wrote: > > Message gets logged on machines that are well supported. > > > > Signed-off-by: Eric Curtin > > --- > >  drivers/platform/x86/thinkpad_acpi.c | 1 - > >  1 file changed, 1 deletion(-) > > > > diff

[PATCH net-next] netfilter: nf_conntrack: remove the unneed check for *bucket

2016-01-30 Thread Weidong Wang
In the 'for(...) {}', the *bucket alwasy < net->ct.htable_size, so remove the check Signed-off-by: Weidong Wang --- net/netfilter/nf_conntrack_core.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/net/netfilter/nf_conntrack_core.c b/net/netfilter/nf_conntrack

[PATCH v4 2/2] dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible

2016-01-30 Thread David Wu
Signed-off-by: David Wu --- Change in v4: - need Signed-off Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/rockchip,pinc

[PATCH v4 0/2] add pinctrl support for rk3399

2016-01-30 Thread David Wu
Test on rk3399 fpga-board David Wu (2): pinctrl: rockchip: add support for the rk3399 dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible .../bindings/pinctrl/rockchip,pinctrl.txt | 1 + drivers/pinctrl/pinctrl-rockchip.c | 372 -

[PATCH v4 1/2] pinctrl: rockchip: add support for the rk3399

2016-01-30 Thread David Wu
The pinctrl of rk3399 is much different from other's, especially the 3bits of drive strength. Signed-off-by: David Wu --- Change in v4: None Change in v3: - use switch-case to distinguish special 3bits width per pin (Heiko) Change in v2: - need spin_unlock_irqrestore for set drive default case

Re: [PATCH V13 09/10] vfio, platform: add support for ACPI while detecting the reset driver

2016-01-30 Thread kbuild test robot
-driver/20160130-064551 base: https://github.com/awilliam/linux-vfio.git next config: arm64-allmodconfig (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 ~/bin/make.cross

[PATCH 3/4] netfilter: ipv4: use preferred kernel types

2016-01-30 Thread Lucas Tanure
As suggested by checkpatch.pl: CHECK: Prefer kernel type 'uX' over 'uintX_t' Signed-off-by: Lucas Tanure --- net/ipv4/netfilter/ip_tables.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index 79d4a04..dcc6

[PATCH 1/4] netfilter: ipv4: use linux/uaccess.h

2016-01-30 Thread Lucas Tanure
Fix checkpatch warning WARNING: Use #include instead of Signed-off-by: Lucas Tanure --- net/ipv4/netfilter/ip_tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index b99affa..aa0e41e 100644 --- a/net/ipv

[PATCH 4/4] netfilter: ipv4: spaces preferred around operators

2016-01-30 Thread Lucas Tanure
Fix the checkpatch.pl issues: CHECK: spaces preferred around that '&' (ctx:VxV) CHECK: spaces preferred around that '<<' (ctx:VxV) CHECK: spaces preferred around that '-' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Lucas Tanure --- net/ipv4/netfilter/ip_tables.c |

[PATCH 2/4] netfilter: ipv4: EXPORT_SYMBOL should be shortly thereafter the exported function

2016-01-30 Thread Lucas Tanure
change made to resolve following checkpatch message: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Lucas Tanure --- net/ipv4/netfilter/ip_tables.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ipv4/netfilter/ip_table

[tip:x86/asm] x86/cpufeature: Replace the old static_cpu_has() with safe variant

2016-01-30 Thread tip-bot for Borislav Petkov
Commit-ID: bc696ca05f5a8927329ec276a892341e006b00ba Gitweb: http://git.kernel.org/tip/bc696ca05f5a8927329ec276a892341e006b00ba Author: Borislav Petkov AuthorDate: Tue, 26 Jan 2016 22:12:05 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:18 +0100 x86/cpufeature: Replace

[tip:x86/asm] x86/cpufeature: Get rid of the non-asm goto variant

2016-01-30 Thread tip-bot for Borislav Petkov
Commit-ID: a362bf9f5e7dd659b96d01382da7b855f4e5a7a1 Gitweb: http://git.kernel.org/tip/a362bf9f5e7dd659b96d01382da7b855f4e5a7a1 Author: Borislav Petkov AuthorDate: Wed, 27 Jan 2016 09:43:25 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:19 +0100 x86/cpufeature: Get rid

[tip:x86/asm] x86/cpufeature: Carve out X86_FEATURE_*

2016-01-30 Thread tip-bot for Borislav Petkov
Commit-ID: cd4d09ec6f6c12a2cc3db5b7d8876a325a53545b Gitweb: http://git.kernel.org/tip/cd4d09ec6f6c12a2cc3db5b7d8876a325a53545b Author: Borislav Petkov AuthorDate: Tue, 26 Jan 2016 22:12:04 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:17 +0100 x86/cpufeature: Carve ou

[tip:x86/asm] x86/alternatives: Add an auxilary section

2016-01-30 Thread tip-bot for Borislav Petkov
Commit-ID: 337e4cc84021212a87b04b77b6549304909e Gitweb: http://git.kernel.org/tip/337e4cc84021212a87b04b77b6549304909e Author: Borislav Petkov AuthorDate: Tue, 26 Jan 2016 22:12:07 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:20 +0100 x86/alternatives: Add an

[tip:x86/asm] x86/alternatives: Discard dynamic check after init

2016-01-30 Thread tip-bot for Brian Gerst
Commit-ID: 2476f2fa20568bd5d9e09cd35bcd73e99a6f4cc6 Gitweb: http://git.kernel.org/tip/2476f2fa20568bd5d9e09cd35bcd73e99a6f4cc6 Author: Brian Gerst AuthorDate: Wed, 27 Jan 2016 09:45:25 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:22 +0100 x86/alternatives: Discard dy

[tip:x86/asm] x86/vdso: Use static_cpu_has()

2016-01-30 Thread tip-bot for Borislav Petkov
Commit-ID: 8c725306993198f845038dc9e45a1267099867a6 Gitweb: http://git.kernel.org/tip/8c725306993198f845038dc9e45a1267099867a6 Author: Borislav Petkov AuthorDate: Tue, 26 Jan 2016 22:12:09 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:23 +0100 x86/vdso: Use static_cpu

[tip:x86/boot] x86/boot: Simplify kernel load address alignment check

2016-01-30 Thread tip-bot for Alexander Kuleshov
Commit-ID: a4733143085d6c782ac1e6c85778655b6bac1d4e Gitweb: http://git.kernel.org/tip/a4733143085d6c782ac1e6c85778655b6bac1d4e Author: Alexander Kuleshov AuthorDate: Tue, 26 Jan 2016 22:12:10 +0100 Committer: Ingo Molnar CommitDate: Sat, 30 Jan 2016 11:22:48 +0100 x86/boot: Simplify ke

[PATCH] Restrict read access to private module signing key

2016-01-30 Thread Luis Ressel
The autogenerated module signing key shouldn't be world-readable. Signed-off-by: Luis Ressel --- certs/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certs/Makefile b/certs/Makefile index 28ac694..7f1f082 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -49,6 +49,8 @@ $(obj)/s

Re: [PATCH] ld-version: fix it on Fedora

2016-01-30 Thread Maciej W. Rozycki
On Mon, 25 Jan 2016, Alexander Kapshuk wrote: > > > At the moment, I'm wondering whether we really need to handle more > > > than three version number components. Another thought is that the > > > comparison could be inside ld-version.sh (or a replacement) so that > > > it can compare the array

Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types

2016-01-30 Thread Patrick McHardy
On 30.01, Lucas Tanure wrote: > As suggested by checkpatch.pl: > CHECK: Prefer kernel type 'uX' over 'uintX_t' You might have noticed we have literally hundreds of them spread over 100 files in the netfilter code. We'll gradually change them when the code is touched anyways. > net/ipv4/netfilter

Re: [PATCHSET 00/10] perf tools: Apply percent-limit to callchains (v2)

2016-01-30 Thread Namhyung Kim
Hi Arnaldo, On Sat, Jan 30, 2016 at 6:00 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Jan 28, 2016 at 08:52:25PM +0100, Jiri Olsa escreveu: >> On Thu, Jan 28, 2016 at 09:24:54PM +0900, Namhyung Kim wrote: >> >> SNIP >> >> > > > > The default limit of hist entries is 0 so it basically shows all >

Re: [PATCH v3 2/2] dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible

2016-01-30 Thread Heiko Stuebner
Hi David, Am Samstag, 30. Januar 2016, 19:31:57 schrieb David Wu: > Change-Id: Ic1bdb3dc358837e97d7b48dd58be2f8d9d08d766 please no Change-Id, it's missing the Signed-off, and as Linus Walleij said, the compatible addition to the documentation can maybe stay in the pinctrl- patch itself. I think

Re: [PATCH] PM / AVS: rockchip-io: add GRF and PMUGRF types to distinguish

2016-01-30 Thread Heiko Stuebner
Hi David, Am Samstag, 30. Januar 2016, 20:01:45 schrieb David Wu: > As rk3368 contained two separated iodomain areas, this was > determined to use which regmap base address. > > Signed-off-by: David Wu I don't think we need to specify this on a driver level. Both GRF areas are "General registe

Re: [PATCH v4 1/2] pinctrl: rockchip: add support for the rk3399

2016-01-30 Thread Heiko Stuebner
Hi David, Am Samstag, 30. Januar 2016, 20:20:12 schrieb David Wu: > The pinctrl of rk3399 is much different from other's, > especially the 3bits of drive strength. > > Signed-off-by: David Wu > --- > Change in v4: None you're to fast for me ;-) [...] > @@ -729,8 +924,67 @@ static int rockchip

Re: [PATCHv2 2/3] IB/core: added support to use rdma cgroup controller

2016-01-30 Thread kbuild test robot
Hi Parav, [auto build test ERROR on cgroup/for-next] [cannot apply to v4.5-rc1 next-20160129] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Parav-Pandit/rdma-controller-support/20160130

Re: [PATCH 3/4] netfilter: ipv4: use preferred kernel types

2016-01-30 Thread Lucas Tanure
On Sat, Jan 30, 2016 at 11:45 AM, Patrick McHardy wrote: > On 30.01, Lucas Tanure wrote: >> As suggested by checkpatch.pl: >> CHECK: Prefer kernel type 'uX' over 'uintX_t' > > You might have noticed we have literally hundreds of them spread over 100 > files in the netfilter code. We'll gradually c

Re: [PATCH 1/2] staging:iio:adc:added space around '-'

2016-01-30 Thread Jonathan Cameron
On 24/01/16 17:14, Lars-Peter Clausen wrote: > On 01/24/2016 05:36 PM, Jonathan Cameron wrote: >> On 20/01/16 14:21, Dan Carpenter wrote: >>> On Fri, Jan 15, 2016 at 09:15:52PM +0100, Lars-Peter Clausen wrote: On 01/15/2016 08:42 PM, Bhumika Goyal wrote: > This patch adds apace around '-'

Re: [PATCH] staging: iio: ad5933: avoid uninitialized variable in error case

2016-01-30 Thread Jonathan Cameron
On 25/01/16 15:50, Arnd Bergmann wrote: > The ad5933_i2c_read function returns an error code to indicate > whether it could read data or not. However ad5933_work() ignores > this return code and just accesses the data unconditionally, > which gets detected by gcc as a possible bug: > > drivers/sta

[PATCH] x86/head64: define early_idt_ripmsg only if CONFIG_KALLSYMS is enabled

2016-01-30 Thread Alexander Kuleshov
We have definition of the early_idt_ripmsg which represents string header for the output of the kernel symbols during early exception. But it will be used only if CONFIG_KALLSYMS is enabled. Signed-off-by: Alexander Kuleshov --- arch/x86/kernel/head_64.S | 2 ++ 1 file changed, 2 insertions(+)

Re: [PATCH 2/2] sched,time: call __acct_update_integrals once a jiffy

2016-01-30 Thread Frederic Weisbecker
On Fri, Jan 29, 2016 at 05:43:28PM -0500, Rik van Riel wrote: > On 01/29/2016 05:23 PM, r...@redhat.com wrote: > > From: Rik van Riel > > > This speeds up > > ... ok, that changelog got truncated :( > > Here is the full version: > > > Because __acct_update_integrals does nothing unless the ti

Re: Build failure: -Wno-unused-const-variable DNE on old GCC

2016-01-30 Thread Maciej W. Rozycki
On Thu, 7 Jan 2016, Brian Norris wrote: > > Perhaps most uses of -Werror without some CONFIG_ guard > > should be removed or replaced by some other mechanism. > > +1000. I'd personally like to see all one-off uses of -Werror removed. > > > $ git grep -E "=\s*\-Werror" | grep -v CONFIG > > [...]

Re: [PATCH] iio: ade7753: avoid uninitialized data

2016-01-30 Thread Jonathan Cameron
On 25/01/16 15:52, Arnd Bergmann wrote: > The ade7753_spi_read_reg_16() will either successfully read a value > from SPI, or return a failure code without delivering data. However, > the ade7753_stop_device() and ade7753_reset() functions use the returned > data without checking for an error condit

[patch] USB: cxacru: fix an bounds check warning

2016-01-30 Thread Dan Carpenter
This is a privileged operation so it doesn't matter much. We use "tmp" as an offset into an array. If it were invalid we could read out of bounds and trigger an oops if the memory is not mapped. Plus it makes static checkers complain. Signed-off-by: Dan Carpenter --- This changes the behavior

[patch] bfa: use strncpy() instead of memcpy()

2016-01-30 Thread Dan Carpenter
BFA_MFG_NAME is "QLogic" which is only 7 bytes, but we are copying 8 bytes. It's harmless because the badding byte is likely zero but it makes static checkers complain. Signed-off-by: Dan Carpenter --- Technically the memset() is not needed because strncpy() will pad the rest of the buffer with

[patch] crypto: keywrap - memzero the correct memory

2016-01-30 Thread Dan Carpenter
We're clearing the wrong memory. The memory corruption is likely harmless because we weren't going to use that stack memory again but not zeroing is a potential information leak. Fixes: e28facde3c39 ('crypto: keywrap - add key wrapping block chaining mode') Signed-off-by: Dan Carpenter diff --g

[patch] staging: rtl8712: memory corruption in wpa_set_encryption()

2016-01-30 Thread Dan Carpenter
->KeyMaterial is declared as a 16 byte array, but we only ever allocate either 5 or 13 bytes of it. The problem is that we memset() all 16 bytes to zero so we're memsetting past the end of the allocated memory. I fixed this in slightly lazy way, by just allocating 16 bytes. This works but there

Re: [PATCH 1/4] sched,time: remove non-power-of-two divides from __acct_update_integrals

2016-01-30 Thread Frederic Weisbecker
On Fri, Jan 29, 2016 at 10:36:02PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > When running a microbenchmark calling an invalid syscall number > in a loop, on a nohz_full CPU, we spend a full 9% of our CPU > time in __acct_update_integrals. > > This function converts cputime_t to jiff

  1   2   3   4   >