Re: [PATCH v5 1/6] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-08 Thread Peter Zijlstra
On Fri, Aug 07, 2015 at 11:17:56PM -0400, Waiman Long wrote: If _Q_SLOW_VAL has been set, the vCPU state must have been vcpu_hashed. The extra check at the end of __pv_queued_spin_unlock() is unnecessary and so is removed. This is half the patch it should be. Because if the load is not

Re: [PATCH 0/2] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-08 Thread Baolin Wang
On 8 August 2015 at 01:52, Greg KH gre...@linuxfoundation.org wrote: On Fri, Aug 07, 2015 at 04:19:40PM +0800, Baolin Wang wrote: On 7 August 2015 at 13:34, Peter Chen peter.c...@freescale.com wrote: On Thu, Aug 06, 2015 at 03:03:47PM +0800, Baolin Wang wrote: Currently the Linux kernel does

Re: [PATCH 2/2] gadget: Support for the usb charger framework

2015-08-08 Thread Baolin Wang
On 8 August 2015 at 01:53, Greg KH gre...@linuxfoundation.org wrote: On Fri, Aug 07, 2015 at 05:22:47PM +0800, Baolin Wang wrote: On 7 August 2015 at 17:07, Peter Chen peter.c...@freescale.com wrote: /** * struct usb_udc - describes one usb device controller @@ -127,12 +128,45 @@

[PATCH] Staging: media: davinci_vpfe: Fix over 80 characters coding style issue

2015-08-08 Thread Junsu Shin
This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected. Signed-off-by: Junsu Shin jjun...@gmail.com --- drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH v3 1/2] perf,x86: add Intel Memory Bandwidth Monitoring (MBM) PMU

2015-08-08 Thread Kanaka Juvva
This patch adds Memory Bandwidth Monitoring events to the exitsing intel_cqm pmu in the Linux Kernel. Intel MBM builds on Cache Monitoring Technology (CMT) infrastructure to allow monitoring of bandwidth from one level of the cache hierarchy to the next - in this case focusing on the L3 cache,

[PATCH] crypto: nx-sha256/512: respect sg limit bounds when building sg lists

2015-08-08 Thread Jan Stancek
Commit 000851119e80 changed sha256/512 update functions to pass more data to nx_build_sg_list(), which ends with sg list overflows and usually with update functions failing for data larger than max_sg_len * NX_PAGE_SIZE. This happens because: - both total and to_process are updated, which leads

Re: [PATCH 4.1 099/267] phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.

2015-08-08 Thread Kishon Vijay Abraham I
On Saturday 08 August 2015 11:23 AM, Alexander Holler wrote: Hello, this patch killed the musb-host functionality on my classic Beagleboard (rev c4). Symptom was that it there was a message I don't remember and the attached device didn't enumerate anymore (likely because of missing power,

Re: Next round: revised futex(2) man page for review

2015-08-08 Thread Michael Kerrisk (man-pages)
Hi Thomas, Thank you for the comments below. This helps hugely: more than 30 of my FIXMEs have now gone away! I have a few open questions, which you can find by searching for the string ???. If you would have a chance to look at those, I'd appreciate it. On 07/28/2015 10:23 PM, Thomas Gleixner

Re: [PATCH 1/1] Staging: media: davinci_vpfe: fix over 80 characters coding style issue.

2015-08-08 Thread Junsu Shin
On 08/06/2015 11:45 PM, Sudip Mukherjee wrote: On Thu, Aug 06, 2015 at 09:55:54PM -0500, Junsu Shin wrote: This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected by checkpatch.pl. Signed-off-by: Junsu Shin jjun...@gmail.com please do not use whitespace before

Re: Next round: revised futex(2) man page for review

2015-08-08 Thread Michael Kerrisk (man-pages)
On 07/28/2015 11:03 PM, Thomas Gleixner wrote: On Tue, 28 Jul 2015, Peter Zijlstra wrote: On Tue, Jul 28, 2015 at 10:23:51PM +0200, Thomas Gleixner wrote: FUTEX_WAKE (since Linux 2.6.0) This operation wakes at most val of the waiters that are waiting

Re: Next round: revised futex(2) man page for review

2015-08-08 Thread Michael Kerrisk (man-pages)
Hi Darren, Some of my comments below will refer to the reply I just sent to tglx (and the list) a few minutes ago. On 08/06/2015 12:21 AM, Darren Hart wrote: On Mon, Jul 27, 2015 at 02:07:15PM +0200, Michael Kerrisk (man-pages) wrote: Hello all, Michael, thank you for your diligence in

[GIT PULL] Thermal Management updates for v4.2-rc6

2015-08-08 Thread Zhang Rui
Hi, Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git for-rc to receive the latest Thermal Management updates for 4.2-rc6 with top-most commit 8bf93f2476cede84e6d7e7de5da9a55aeb196f9e: Merge branch 'fixes' of

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-08 Thread Krzysztof Kozlowski
W dniu 08.08.2015 o 11:07, Viresh Kumar pisze: On 08-08-15, 00:24, Rafael J. Wysocki wrote: OK, so please let me know which patches you want me to pick up. Ideally, I'd prefer them to be resent in a separate series with ACKs and all with a cover letter clearly stating whose tree they are

[PATCH v3 2/2] perf,x86: skip intel_cqm_stable if CMT is not present in a CPU model

2015-08-08 Thread Kanaka Juvva
CMT and MBM are complementary technologies. One technology doesn't imply the other technology. If CMT is not present in your CPU model intel_cqm_stable() won't be called when computing a free RMID. This is because, LLC_OCCUPANCY reading in this case doesn't apply and shouldn't be used a criteria

Re: [PATCH v2] clk: pxa: pxa3xx: fix CKEN register access

2015-08-08 Thread Robert Jarzmik
Stephen Boyd sb...@codeaurora.org writes: On 08/04, Robert Jarzmik wrote: Clocks 0 to 31 are on CKENA, and not CKENB. The clock register names were inadequately inverted. As a consequence, all clock operations were happening on CKENB, because almost all but 2 clocks are on CKENA. As the

[PATCH] usb: core: hub.c: Removed some warnings generated by checkpatch.pl

2015-08-08 Thread Chase Metzger
Removed some checkpatch.pl warnings saying there was an unwanted space between function names and their arguments. Signed-off-by: Chase Metzger chasemetzge...@gmail.com --- drivers/usb/core/hub.c | 40 1 file changed, 20 insertions(+), 20 deletions(-)

Re: [GIT PULL 00/24] perf/ebpf lib + llvm/clang building infrastructure

2015-08-08 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, This is up to a test that checks that the infrastructure for getting a C source file and build it to a form that can then be used to upload it to the kernel is working. Wang has a tree where we go all the way to

[tip:perf/core] bpf tools: Allow caller to set printing function

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: b3f59d66e22b8be4ccae67c8eaffa2cbb9e54eb1 Gitweb: http://git.kernel.org/tip/b3f59d66e22b8be4ccae67c8eaffa2cbb9e54eb1 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:52 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Check endianness and make libbpf fail early

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: cc4228d57c4c35ae0a29efa1e7687a817dc038d9 Gitweb: http://git.kernel.org/tip/cc4228d57c4c35ae0a29efa1e7687a817dc038d9 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:55 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Read eBPF object from buffer

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 6c956392b0486c170e382476ab9dd97a696fd169 Gitweb: http://git.kernel.org/tip/6c956392b0486c170e382476ab9dd97a696fd169 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:54 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Collect version and license from ELF sections

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: cb1e5e961991ee9b2cbfd3bf06ef490ea578cd2f Gitweb: http://git.kernel.org/tip/cb1e5e961991ee9b2cbfd3bf06ef490ea578cd2f Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:57 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Iterate over ELF sections to collect information

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 296036653ae8b1367ec9d06d65377c2e2371b153 Gitweb: http://git.kernel.org/tip/296036653ae8b1367ec9d06d65377c2e2371b153 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:56 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

Re: [PATCH V10 4/5] arm64: apei: implement arch_apei_get_mem_attributes()

2015-08-08 Thread Ard Biesheuvel
On 7 August 2015 at 20:57, Matt Fleming m...@codeblueprint.co.uk wrote: On Fri, 07 Aug, at 11:16:03AM, Zhang, Jonathan Zhixiong wrote: On some (future) arm64 platforms, APEI/GHES region may have full coherent access by platform. In such case, the APEI/GHES region have the same memory

[tip:perf/core] bpf tools: Collect symbol table from SHT_SYMTAB section

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: bec7d68cb561e94f8a44c2b73c468b534c05f20d Gitweb: http://git.kernel.org/tip/bec7d68cb561e94f8a44c2b73c468b534c05f20d Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:59 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Collect eBPF programs from their own sections

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: a5b8bd47dcc574cd3a71357b3a0f586969e4b887 Gitweb: http://git.kernel.org/tip/a5b8bd47dcc574cd3a71357b3a0f586969e4b887 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:00 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Record map accessing instructions for each program

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 340909152ae5a588b9a77a85df35d61ec3523833 Gitweb: http://git.kernel.org/tip/340909152ae5a588b9a77a85df35d61ec3523833 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:02 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Add bpf.c/h for common bpf operations

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: e3ed2fef22b694cf07b06abaa6481a9e6f868e1f Gitweb: http://git.kernel.org/tip/e3ed2fef22b694cf07b06abaa6481a9e6f868e1f Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:03 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Collect map definitions from 'maps' section

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 0b3d1efade1b7e2ccaf79c40a7481c93cfb5090a Gitweb: http://git.kernel.org/tip/0b3d1efade1b7e2ccaf79c40a7481c93cfb5090a Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:58 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Introduce bpf_load_program() to bpf.c

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b Gitweb: http://git.kernel.org/tip/7bf98369a73a9a84c56b3f2b247ea8f0eaf8668b Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:06 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Create eBPF maps defined in an object file

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 52d3352e79815307521bef6121dba00b6c3477c6 Gitweb: http://git.kernel.org/tip/52d3352e79815307521bef6121dba00b6c3477c6 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:04 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Collect relocation sections from SHT_REL sections

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: b62f06e81bcf28d47fe736fe2beae40f15f496be Gitweb: http://git.kernel.org/tip/b62f06e81bcf28d47fe736fe2beae40f15f496be Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:01 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Link all bpf objects onto a list

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 9a208effd1832e50e1f7ea002f400f8b9ca8b1ed Gitweb: http://git.kernel.org/tip/9a208effd1832e50e1f7ea002f400f8b9ca8b1ed Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:10 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] perf tools: Introduce llvm config options

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: aa61fd05ca79666c973d5b15e0f91ecdc7dcfa21 Gitweb: http://git.kernel.org/tip/aa61fd05ca79666c973d5b15e0f91ecdc7dcfa21 Author: Wang Nan wangn...@huawei.com AuthorDate: Tue, 21 Jul 2015 11:13:34 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] perf tools: Auto detecting kernel build directory

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: d325d7887b960627dc686d70d07682e18383f9c4 Gitweb: http://git.kernel.org/tip/d325d7887b960627dc686d70d07682e18383f9c4 Author: Wang Nan wangn...@huawei.com AuthorDate: Tue, 14 Jul 2015 06:40:02 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] perf tools: Auto detecting kernel include options

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 0c6d18bfd551622b438e216e4863155f47907b0d Gitweb: http://git.kernel.org/tip/0c6d18bfd551622b438e216e4863155f47907b0d Author: Wang Nan wangn...@huawei.com AuthorDate: Thu, 11 Jun 2015 11:25:49 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

Re: [PATCH] clk: s5pv210: add missing call to samsung_clk_of_add_provider()

2015-08-08 Thread Krzysztof Kozlowski
2015-08-07 23:10 GMT+09:00 Marek Szyprowski m.szyprow...@samsung.com: Hello, On 2014-09-19 11:00, Marek Szyprowski wrote: Commit d5e136a21b2028fb1f45143ea7112d5869bfc6c7 (clk: samsung: Register clk provider only after registering its all clocks, merged to v3.17-rc1) modified a way that

[tip:perf/core] perf tests: Add LLVM test for eBPF on-the-fly compiling

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 9bc898c7019383b6aa2ae6cb2928c4ca926449f0 Gitweb: http://git.kernel.org/tip/9bc898c7019383b6aa2ae6cb2928c4ca926449f0 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 8 Jul 2015 10:04:02 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] perf tools: Call clang to compile C source to object code

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 4cea3a9cb30a962fa759fcb081fb83351113d9c4 Gitweb: http://git.kernel.org/tip/4cea3a9cb30a962fa759fcb081fb83351113d9c4 Author: Wang Nan wangn...@huawei.com AuthorDate: Thu, 11 Jun 2015 10:31:09 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Introduce accessors for struct bpf_program

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: aa9b1ac33c7979d0d91eff8b70cffc4916fc Gitweb: http://git.kernel.org/tip/aa9b1ac33c7979d0d91eff8b70cffc4916fc Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:08 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Load eBPF programs in object files into kernel

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 55cffde2e1a41109cb49f8e94de954c8240242b5 Gitweb: http://git.kernel.org/tip/55cffde2e1a41109cb49f8e94de954c8240242b5 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:07 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Relocate eBPF programs

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 8a47a6c522c0593a977069b0b1e5a0725ca0e32e Gitweb: http://git.kernel.org/tip/8a47a6c522c0593a977069b0b1e5a0725ca0e32e Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:14:05 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Introduce 'bpf' library and add bpf feature check

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 1b76c13e4b36f978ea45af079f38ad423a229630 Gitweb: http://git.kernel.org/tip/1b76c13e4b36f978ea45af079f38ad423a229630 Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:51 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

[tip:perf/core] bpf tools: Open eBPF object file and do basic validation

2015-08-08 Thread tip-bot for Wang Nan
Commit-ID: 1a5e3fb1e9a4a3e3695cd57c33c169a90d16fd3b Gitweb: http://git.kernel.org/tip/1a5e3fb1e9a4a3e3695cd57c33c169a90d16fd3b Author: Wang Nan wangn...@huawei.com AuthorDate: Wed, 1 Jul 2015 02:13:53 + Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 7 Aug 2015

Re: [f2fs-dev] [PATCH] f2fs:Fix concurrent access issues in the function recover_dentry

2015-08-08 Thread Chao Yu
On Aug 8, 2015, at 11:12 AM, Nicholas Krause xerofo...@gmail.com wrote: This fixes concurrent access issues in the function recover_dentry by locking and locking another the block labeled retry with the functions f2fs_lock_op/f2fs_unlock_op on a pointer of the superblock used by the passed

Re: [f2fs-dev] [PATCH] f2fs:Fix concurrent access issues in the function recover_dentry

2015-08-08 Thread Chao Yu
-- 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: [PATCH 7/8] arm64: apei: implement arch_apei_get_mem_attributes()

2015-08-08 Thread Ingo Molnar
* Matt Fleming m...@codeblueprint.co.uk wrote: On Fri, 07 Aug, at 09:37:00AM, Matt Fleming wrote: From: Jonathan (Zhixiong) Zhang zjzh...@codeaurora.org Table 8 of UEFI 2.5 section 2.3.6.1 defines mappings from EFI memory types to MAIR attribute encodings for arm64. If the

Re: [PATCH] cpu/cacheinfo: Fix teardown path

2015-08-08 Thread Borislav Petkov
On Mon, Jul 27, 2015 at 09:58:05AM +0200, Borislav Petkov wrote: Philip Müller reported a hang when booting 32-bit 4.1 kernel on an AMD box. A fragment of the splat was enough to pinpoint the issue: Bah, this goes to Greg and not to tip. Anyway, here's a version with updated tags. Greg, please

[PATCH] lib: scatterlist: add sg splitting function

2015-08-08 Thread Robert Jarzmik
Sometimes a scatter-gather has to be split into several chunks, or sub scatter lists. This happens for example if a scatter list will be handled by multiple DMA channels, each one filling a part of it. A concrete example comes with the media V4L2 API, where the scatter list is allocated from

Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-08 Thread Hannes Reinecke
On 08/08/2015 01:40 AM, Ming Lin wrote: On Fri, 2015-08-07 at 09:30 +0200, Christoph Hellwig wrote: I'm for solution 3: - keep blk_bio_{discard,write_same}_split, but ensure we never built a 4GB bio in blkdev_issue_{discard,write_same}. This has problem as I mentioned in solution 1.

Re: 4.1-rc6: ATA link is slow to respond, please be patient

2015-08-08 Thread Denis Kirjanov
On 8/7/15, Christian Kujau li...@nerdbynature.de wrote: Hi, this PowerBook G4 was running 3.16 for a while but now I wanted to upgrade to latest mainline. However, during bootup the following happens: === [2.237102] ata1: PATA max UDMA/100 irq 39 [

Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-08 Thread Kent Overstreet
On Sat, Aug 08, 2015 at 10:52:24AM +0200, Hannes Reinecke wrote: Wouldn't it be easier to move both max_write_same_sectors and max_discard sectors to 64 bit (ie to type sector_t) and be done with the overflow? Seems to me this is far too much coding around self-imposed restrictions... It's

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-08 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 08:28:57PM -0400, Peter Hurley wrote: Even dma_get_slave_caps() returns _true_ for cmd_pause support; ok, that interface is pointless. How about reporting that as a bug then, because if you look back in the git history, as you are fully capable of, you will find that the

Re: [PATCH] x86, fpu: correct XSAVE xstate size calculation

2015-08-08 Thread Ingo Molnar
* Dave Hansen d...@sr71.net wrote: Just to be clear: the current code is OK and correct for non-compacted buffers. Since we currently disable the compacted buffers, this patch has no effect on current kernels. Absolutely, this was my assumption as well. This patch fixes the (currently

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-08 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 09:41:19PM -0400, Peter Hurley wrote: That's your assertion; I've seen no documentation to back that up (other than the de facto commit). So, you can't be bothered to read the thread where I quoted bits from the manual, including paraphrasing emails I had discussing this

Re: [PATCH 25/31] fs/ubifs: use kmemdup rather than duplicating its implementation

2015-08-08 Thread Richard Weinberger
On Fri, Aug 7, 2015 at 9:59 AM, Andrzej Hajda a.ha...@samsung.com wrote: The patch was generated using fixed coccinelle semantic patch scripts/coccinelle/api/memdup.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2014320 Signed-off-by: Andrzej Hajda a.ha...@samsung.com ---

Re: [PATCH] x86, fpu: correct XSAVE xstate size calculation

2015-08-08 Thread Ingo Molnar
* Dave Hansen d...@sr71.net wrote: I think we have three options. Here's some rough pseudo-ish-code to sketch them out. /* Option 2: search for the end of the last state, probably works, Ingo likes? */ for (i = 0; i nr_xstates; i++) { if (cpu_has_xsaves

Re: [PATCH v5 1/2] usb: make xhci platform driver use 64 bit or 32 bit DMA

2015-08-08 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 08:18:48PM -0700, Duc Dang wrote: diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 890ad9d..5d03f8b 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -93,14 +93,14 @@ static int xhci_plat_probe(struct

[PATCH] tty: Fix potentialy used uninitialized variable

2015-08-08 Thread Tomer Barletz
Initialize size to 0, as it may be used uninitialized in case read_mem32() fails. Signed-off-by: Tomer Barletz barl...@gmail.com --- drivers/tty/nozomi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index 80f9de9..d70e9e4 100644

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-08 Thread Sebastian Andrzej Siewior
On 08/08/2015 02:28 AM, Peter Hurley wrote: diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index 0340ee6ba970..07a11e0935e4 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -769,7 +771,9 @@ static void

Re: [PATCH] tty: Fix potentialy used uninitialized variable

2015-08-08 Thread Richard Weinberger
On Sat, Aug 8, 2015 at 11:24 AM, Tomer Barletz barl...@gmail.com wrote: Initialize size to 0, as it may be used uninitialized in case read_mem32() fails. Instead of papering over the issue better cleanup read_mem32() such that a failure can be detected. :-) -- Thanks, //richard -- To

Re: [PATCH v4 4/5] perf config: Add a option 'list-all' to perf-config

2015-08-08 Thread Taewoong Song
Hi, Namhyung On Aug 7, 2015, at 10:12 AM, taeung treeze.tae...@gmail.com wrote: Hi, Namhyung On 07/27/2015 05:48 PM, Namhyung Kim wrote: On Mon, Jul 27, 2015 at 12:58:30AM +0900, Taeung Song wrote: A option 'list-all' is to display both current config variables and all possible config

Re: [PATCH] Staging: media: davinci_vpfe: Fix over 80 characters coding style issue

2015-08-08 Thread Dan Carpenter
On Sat, Aug 08, 2015 at 01:30:48AM -0500, Junsu Shin wrote: This is a patch to the dm365_ipipe.c that fixes over 80 characters warning detected. Signed-off-by: Junsu Shin jjun...@gmail.com Put a blank line before the Signed-off-by. regards, dan carpenter -- To unsubscribe from this list:

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-08 Thread Russell King - ARM Linux
On Sat, Aug 08, 2015 at 11:32:05AM +0200, Sebastian Andrzej Siewior wrote: This might not happen at all. At 115200 I *never* encouraged this. Once the FIFO is filled with less than RX-trigger size than the UART sends the time-out interrupt and the DMA *never* completes. Careful with statements

[PATCH] ARM: at91: debug: use DEBUG_UART_PHYS

2015-08-08 Thread Alexandre Belloni
Instead of having to add a new configuration option each time support for new SoC is added, use CONFIG_DEBUG_UART_PHYS. For now, CONFIG_DEBUG_UART_VIRT is automatically computed. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/Kconfig.debug| 41

Re: [PATCH 1/1] Staging: media: davinci_vpfe: fix over 80 characters coding style issue.

2015-08-08 Thread Sudip Mukherjee
On Sat, Aug 08, 2015 at 01:55:02AM -0500, Junsu Shin wrote: On 08/06/2015 11:45 PM, Sudip Mukherjee wrote: On Thu, Aug 06, 2015 at 09:55:54PM -0500, Junsu Shin wrote: snip Thanks for pointing it out. Again, this is a patch to the dm365_ipipe.c that fixes over 80 characters warning

Re: [PATCH v2] Input: drivers/joystick: use parallel port device model

2015-08-08 Thread Sudip Mukherjee
On Tue, Aug 04, 2015 at 07:55:51PM +0530, Sudip Mukherjee wrote: Modify db9 driver to use the new Parallel Port device model. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- v2: an extra check was removed. db9_base could not be removed. Already mailed you the reasons, reference

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-08 Thread Zang MingJie
Days ago I mistakenly set the gateway address on my box, then add the default router, after I deleted the address my box can't access Internet and all things looks fine. It takes me several hours to figure out it is an kernel bug. On Sat, Aug 8, 2015, 1:00 AM Hannes Frederic Sowa

Re: [PATCH v2] staging: ion: Add a default struct device for cma heap

2015-08-08 Thread Michal Nazarewicz
On Fri, Aug 07 2015, Feng Tang wrote: For ion cma heap, the buffer allocation func ion_cma_allocate() will call dma_alloc_coherent(dev, ...). And dma_alloc_coherent() is implemented by each architeture(arm/m68k/x86 etc), and many Arch's implementation doesn't use cma, but use alloc_pages()

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-08 Thread Arnd Bergmann
On Friday 07 August 2015 12:43:20 Robert Richter wrote: I would not pollute bgx_probe() with acpi and dt specifics, and instead keep bgx_init_phy(). The typical design pattern for this is: static int bgx_init_phy(struct bgx *bgx) { #ifdef CONFIG_ACPI if (!acpi_disabled)

Re: [PATCH V2] iio: declare struct to fix warning

2015-08-08 Thread Jonathan Cameron
On 04/08/15 09:14, Daniel Baluta wrote: On Tue, Aug 4, 2015 at 11:11 AM, Pengyu Ma pengyu...@windriver.com wrote: On 08/04/2015 04:03 PM, Daniel Baluta wrote: On Mon, Aug 3, 2015 at 5:39 AM, Pengyu Ma pengyu...@windriver.com wrote: When compile iio related driver the following warning

Re: [PATCH V3] iio: declare struct to fix warning

2015-08-08 Thread Jonathan Cameron
On 04/08/15 09:30, Daniel Baluta wrote: On Tue, Aug 4, 2015 at 11:17 AM, Pengyu Ma pengyu...@windriver.com wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int

Re: [PATCH V4] iio: declare struct to fix warning

2015-08-08 Thread Jonathan Cameron
On 04/08/15 09:32, Pengyu Ma wrote: When compile iio related driver the following warning shown: include/linux/iio/trigger.h:35:34: warning: 'struct iio_trigger' declared inside parameter list int (*set_trigger_state)(struct iio_trigger *trig, bool state);

Re: [PATCH v5] DocBook: Add initial documentation for IIO

2015-08-08 Thread Jonathan Cameron
On 04/08/15 15:20, Daniel Baluta wrote: This is intended to help developers faster find their way inside the Industrial I/O core and reduce time spent on IIO drivers development. Signed-off-by: Daniel Baluta daniel.bal...@intel.com Acked-by: Crt Mori c...@melexis.com Reviewed-by:

Re: [PATCH 0/3] MAX6675 IIO temperature driver

2015-08-08 Thread Jonathan Cameron
On 04/08/15 18:34, Matt Porter wrote: On Tue, Aug 04, 2015 at 05:52:17PM +0100, Jonathan Cameron wrote: On 3 August 2015 21:56:47 BST, Matt Porter mpor...@konsulko.com wrote: This series adds a driver for the MAX6675 SPI thermocouple converter. The device supports temperature measurements

Re: [PATCH 2/3] iio: temperature: add max6675 thermocouple converter driver

2015-08-08 Thread Jonathan Cameron
On 06/08/15 18:38, Matt Porter wrote: On Mon, Aug 03, 2015 at 11:26:12PM +0200, Peter Meerwald wrote: On Mon, 3 Aug 2015, Matt Porter wrote: ... +static int max6675_read(struct max6675_state *st, int *val) +{ + int ret; + + ret = spi_read(st-spi, val, 2); + if (ret 0) +

Re: [PATCH v2] iio: Documentation: Add trigger name attribute ABI documentation

2015-08-08 Thread Jonathan Cameron
On 06/08/15 13:00, Daniel Baluta wrote: On Thu, Aug 6, 2015 at 2:17 PM, Cristina Opriceana cristina.oprice...@gmail.com wrote: This patch adds an entry in ABI Documentation for the name attribute issued when a trigger is created. Signed-off-by: Cristina Opriceana cristina.oprice...@gmail.com

Re: [PATCH v2] iio: trigger: Add missing fields in kernel docs

2015-08-08 Thread Jonathan Cameron
On 06/08/15 12:56, Cristina Opriceana wrote: Fix kernel docs warnings by adding the missing description for each of the existing function parameters. Signed-off-by: Cristina Opriceana cristina.oprice...@gmail.com Applied to the togreg branch of iio.git Thanks, --- Changes in v2: - Change

Re: [PATCH] ARM: refactor bitops functions with BIT_MASK() and BIT_WORD()

2015-08-08 Thread Masahiro Yamada
Hi. No comment? If nobody has objection to this patch, I will post it to the patch tracking system. 2015-07-21 15:48 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Use BIT_MASK() and BIT_WORD() rather than hard-coding the size of the long type. Signed-off-by: Masahiro Yamada

[PATCH 3/4] staging: wilc1000: Remove ' ' before quoted '\n'

2015-08-08 Thread Chandra S Gorentla
Fixes the checkpatch.pl warning - 'unnecessary whitespace before a quoted newline'. Signed-off-by: Chandra S Gorentla csgoren...@gmail.com --- drivers/staging/wilc1000/linux_wlan.c | 20 +-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 42 +++

staging: wilc1000 Fixes for style errors/warnings

2015-08-08 Thread Chandra S Gorentla
This series fix some of the errors and warnings found using checkpatch.pl. -- 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

[PATCH 1/4] staging: wilc1000: Add space between the braces

2015-08-08 Thread Chandra S Gorentla
Inserted space between nested braces. This fixes the checkpatch.pl error - space required after that close brace '}'. Signed-off-by: Chandra S Gorentla csgoren...@gmail.com --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 4/4] staging: wilc1000: Remove braces for single statement 'if' and 'else'

2015-08-08 Thread Chandra S Gorentla
Fixes the checkpatch.pl warning - braces {} are not necessary for any arm of this statement Signed-off-by: Chandra S Gorentla csgoren...@gmail.com --- drivers/staging/wilc1000/coreconfigurator.c | 10 - drivers/staging/wilc1000/host_interface.c | 19 -

[PATCH 2/4] staging: wilc1000: Remove unused extern declarations

2015-08-08 Thread Chandra S Gorentla
'extern' declarations which are not referenced within the file are removed. Signed-off-by: Chandra S Gorentla csgoren...@gmail.com --- drivers/staging/wilc1000/host_interface.c | 1 - drivers/staging/wilc1000/linux_wlan_sdio.c| 1 -

[PATCH] ARM: UniPhier: drop v7_invalidate_l1 call at secondary entry

2015-08-08 Thread Masahiro Yamada
This is unnecessary since commit 02b4e2756e01 (ARM: v7 setup function should invalidate L1 cache). Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arm/mach-uniphier/platsmp.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[PATCH] ARM: Feroceon: use of_iomap() to map register base

2015-08-08 Thread Masahiro Yamada
The sequence of of_address_to_resource() and ioremap() can be replaced with of_iomap(). Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- arch/arm/mm/cache-feroceon-l2.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm/mm/cache-feroceon-l2.c

Re: [PATCH] ARM: add boot image dependencies not to generate invalid images

2015-08-08 Thread Masahiro Yamada
Hi Russell, I will rephrase the git-description and post v2. 2015-07-21 15:58 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Hi Russel, No more comment? I answered your question. 2015-07-11 1:41 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Hi Russel,

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-08 Thread Christoph Hellwig
On Fri, Aug 07, 2015 at 09:22:26PM -0800, Kent Overstreet wrote: Is granularity required to be a power of two? One would hope, but looking at the code that doesn't appear to be a requirement... ugh, that's terrible... If devices have an odd granularity we'll just have to split more than

Re: [PATCH] localmodconfig: Use Kbuild files too

2015-08-08 Thread Richard Weinberger
On Mon, Jul 27, 2015 at 12:06 AM, Richard Weinberger rich...@nod.at wrote: In kbuild it is allowed to define objects in files named Makefile and Kbuild. Currently localmodconfig reads objects only from Makefiles and misses modules like nouveau. Reported-and-tested-by: Leonidas Spyropoulos

Re: [PATCH 0/8] misc: remove boundary checks from bin attr users

2015-08-08 Thread Vladimir Zapolskiy
Hi Wolfram, On 08.08.2015 01:34, Wolfram Sang wrote: if we're talking about this particular series, you should have them in your mailbox, since you have them applied in wsa/i2c/for-next: Those are already in linus tree. I mean all drivers which use struct i2c_driver. Or do you prefer they

Re: [PATCH 0/3] Make workingset detection logic memcg aware

2015-08-08 Thread Vladimir Davydov
On Fri, Aug 07, 2015 at 10:38:16AM +0900, Kamezawa Hiroyuki wrote: On 2015/08/06 17:59, Vladimir Davydov wrote: On Wed, Aug 05, 2015 at 10:34:58AM +0900, Kamezawa Hiroyuki wrote: I wonder, rather than collecting more data, rough calculation can help the situation. for example,

Re: [PATCH 6/6] scatterlist: use sg_phys()

2015-08-08 Thread Williams, Dan J
On Fri, 2015-08-07 at 18:15 +0200, Christoph Hellwig wrote: [..] - page_to_phys(sg_page(sg)) + sg_phys(sg) - sg-offset Here's a replacement using PAGE_MASK instead of subtracting sg-offset and a fixup for the awkward whitespace in dma_direct_map_sg(). 8- Subject: scatterlist: use sg_phys()

Re: [PATCH 1/2] drm: bridge/dw_hdmi: Cache edid data

2015-08-08 Thread Russell King - ARM Linux
On Fri, Aug 07, 2015 at 11:40:28PM +0100, Russell King - ARM Linux wrote: However, if we do this, then we might as well just modify dw_hdmi_connector_get_modes(), and arrange for a HPD de-assertion to NULL and free hdmi-edid so the next get_modes() call triggers a re-read. Testing with the AV

Re: [PATCH v3 01/20] net/xen-netback: xenvif_gop_frag_copy: move GSO check out of the loop

2015-08-08 Thread Wei Liu
On Fri, Aug 07, 2015 at 05:46:40PM +0100, Julien Grall wrote: The skb doesn't change within the function. Therefore it's only necessary to check if we need GSO once at the beginning. Signed-off-by: Julien Grall julien.gr...@citrix.com Acked-by: Wei Liu wei.l...@citrix.com -- To unsubscribe

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-08 Thread Viresh Kumar
On 08-08-15, 16:27, Krzysztof Kozlowski wrote: Can you apply the 2-5 of this series to v4.3? It's getting late but maybe they still could go? FWIW, 1/6 (updated version) is already applied by Rafael. -- viresh -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] staging: iio_simple_dummy: Fix indentation errors

2015-08-08 Thread Jonathan Cameron
On 05/08/15 13:22, Daniel Baluta wrote: On Wed, Aug 5, 2015 at 3:15 PM, Lars Svensson lars1.svens...@sonymobile.com wrote: Fixing indentation errors in drivers/staging/iio/iio_simple_dummy_events.c. Signed-off-by: Lars Svensson lars1.svens...@sonymobile.com Good catch. Acked-by: Daniel

[PATCH V10] fixup: audit: implement audit by executable

2015-08-08 Thread Richard Guy Briggs
The Intel build-bot detected a sparse warning with with a patch I posted a couple of days ago that was accepted in the audit/next tree: Subject: [linux-next:master 6689/6751] kernel/audit_watch.c:543:36: sparse: dereference of noderef expression Date: Friday, August 07, 2015, 06:57:55 PM From:

[PATCH V10] audit: add audit by children of executable path

2015-08-08 Thread Richard Guy Briggs
This adds the ability to audit the actions of children of a not-yet-running process. This is a split-out of a heavily modified version of a patch originally submitted by Eric Paris with some ideas from Peter Moody. V10: Always reference task_struct::pid in the initial PID namespace. Cc: Peter

[PATCH V10] fixup! audit: add audit by children of executable path

2015-08-08 Thread Richard Guy Briggs
Adding C=1 CF=-D__CHECK_ENDIAN__ to enable sparse warnings identified a warning with the [PATCH V9 3/3] audit: add audit by children of executable path patch posted a couple of days ago (and just re-posted due to another fix): kernel/auditsc.c:476:46: warning: dereference of noderef

Re: [PATCH v2] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

2015-08-08 Thread Jonathan Cameron
On 05/08/15 13:10, Sanchayan Maity wrote: This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. Looking good. Just a couple more bits and

sparse bogus unexpected unlock warning? untag_chunk

2015-08-08 Thread Richard Guy Briggs
After adding C=1 CF=-D__CHECK_ENDIAN__ to my build script, sparse produced the following warning: kernel/audit_tree.c:222:13: warning: context imbalance in 'untag_chunk' - unexpected unlock It looks like a confused parser to me, because the locks appear to balance properly from my

  1   2   3   4   5   6   7   8   9   >