Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-24 Thread Andreas Gruenbacher
2015-09-24 17:28 GMT+02:00 J. Bruce Fields : > I guess Samba's only choice on reading an ACL will be to split OWNER@ > ACEs into inheritable and effective parts and then replace the "who" on > the latter by the current owner. Right, that's when translating from richacls to Windows ACLs. > On

Re: [Patch V1 1/3] x86, mce: MCE log size not enough for high core parts

2015-09-24 Thread Borislav Petkov
On Thu, Sep 24, 2015 at 01:48:38AM -0400, Ashok Raj wrote: > MCE_LOG_LEN appears to be short for high core count parts. Especially when > handling fatal errors, we don't clear MCE banks. Socket level MC banks > are visible to all CPUs that share banks. > > Assuming 18 core part, 2 threads per

Re: [PATCH RFC v2] pidns: introduce syscall getvpid

2015-09-24 Thread Konstantin Khlebnikov
On Thu, Sep 24, 2015 at 5:56 PM, Oleg Nesterov wrote: > On 09/24, Konstantin Khlebnikov wrote: >> >> +SYSCALL_DEFINE3(getvpid, pid_t, pid, int, source, int, target) >> +{ >> + struct file *source_file = NULL, *target_file = NULL; >> + struct pid_namespace *source_ns, *target_ns; >> +

Re: [PATCH v3 0/5] Add SMP bringup support for mt65xx socs

2015-09-24 Thread Yingjoe Chen
On Fri, 2015-08-07 at 18:50 +0800, Yingjoe Chen wrote: > On Wed, 2015-08-05 at 23:31 +0100, Russell King - ARM Linux wrote: > > The problem is that this patch series uses memblock_reserve() way after > > the memory has been transitioned out of memblock's control, so actually > > this has no

Re: [PATCH] KVM: nVMX: emulate the INVVPID instruction

2015-09-24 Thread Bandan Das
Paolo Bonzini writes: ... >> @@ -7189,7 +7189,28 @@ static int handle_invept(struct kvm_vcpu *vcpu) >> >> static int handle_invvpid(struct kvm_vcpu *vcpu) >> { >> -kvm_queue_exception(vcpu, UD_VECTOR); >> +u32 vmx_instruction_info; >> +unsigned long type; >> + >> +if

Re: [PATCHv2 2/2] power_supply: Add support for tps65217-charger.

2015-09-24 Thread Sebastian Reichel
Hi, On Thu, Sep 24, 2015 at 09:23:25AM +0200, Enric Balletbo i Serra wrote: > This patch adds support for the tps65217 charger driver. This driver is > responsible for controlling the charger aspect of the tps65217 mfd. > Currently, this mainly consists of turning on and off the charger, but >

Re: [PATCH] drm/nouveau: remove unused function

2015-09-24 Thread Sudip Mukherjee
On Wed, Sep 02, 2015 at 12:08:08PM +0530, Sudip Mukherjee wrote: > coverity.com reported that memset was using a buffer of size 0, on > checking the code it turned out that the function was not being used. So > remove it. > > Signed-off-by: Sudip Mukherjee > --- Hi Ben, A gentle ping. regards

Re: [PATCH 3/5] drm: omapdrm: tiler: Fix module autoload for OF platform driver

2015-09-24 Thread Tomi Valkeinen
On 24/09/15 18:36, Luis de Bethencourt wrote: > I am a bit confused. Yes, it's an interesting mess due to legacy reasons. Maybe we manage to fix it some day... > So how the OMAP DRM auto loading is supposed to work when using Device Trees? omapdrm isn't a real HW device driver at the moment.

[PATCH v4 5/5] ARM: dts: mt8127: enable basic SMP bringup for mt8127

2015-09-24 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8127 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8127.dtsi | 27

[PATCH v4 2/5] devicetree: bindings: add new SMP enable method Mediatek SoC

2015-09-24 Thread Yingjoe Chen
This commit add new cpu enable method "mediatek,mt65xx-smp" and "mediatek,mt81xx-tz-smp". Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/arm/cpus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.txt

[PATCH v4 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-09-24 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8135 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8135.dtsi | 27

[PATCH v4 3/5] ARM: mediatek: add smp bringup code

2015-09-24 Thread Yingjoe Chen
Add support for booting secondary CPUs on mt6589, mt8127 and mt8135. Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/Makefile | 3 + arch/arm/mach-mediatek/platsmp.c | 141 +++ 2 files changed, 144 insertions(+) create mode 100644

[PATCH v4 1/5] ARM: mediatek: enable gpt6 on boot up to make arch timer working

2015-09-24 Thread Yingjoe Chen
From: Matthias Brugger We enable GTP6 which ungates the arch timer clock. In the future this should be done in the bootloader. Signed-off-by: Matthias Brugger Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/mediatek.c | 27 +++ 1 file changed, 27 insertions(+)

[PATCH v4 0/5] Add SMP bringup support for mt65xx socs

2015-09-24 Thread Yingjoe Chen
This series add SMP brinup support for MediaTek SoCs. This is v4 and is based on v4.3-rc1. There are similar but different SMP bringup up methods on MediaTek mt65xx and mt81xx. On MT8135 & MT8127, system boots with a trustzone firmware. Others, like MT6589, doesn't have trustzone, and run kernel

Re: No more new fbdev drivers, please

2015-09-24 Thread Alex Deucher
On Thu, Sep 24, 2015 at 11:21 AM, Austin S Hemmelgarn wrote: > On 2015-09-24 08:46, Thomas Petazzoni wrote: >> >> Hello, >> >> On Thu, 24 Sep 2015 15:27:01 +0300, Tomi Valkeinen wrote: >> >>> fbdev is (more or less) maintained, but it's a deprecated framework. All >>> new Linux display drivers

Re: [PATCH 3/5] drm: omapdrm: tiler: Fix module autoload for OF platform driver

2015-09-24 Thread Luis de Bethencourt
On Thu, Sep 24, 2015 at 01:41:56PM +0300, Tomi Valkeinen wrote: > > On 17/09/15 17:21, Luis de Bethencourt wrote: > > This platform driver has a OF device ID table but the OF module > > alias information is not created so module autoloading won't work. > > > > Signed-off-by: Luis de Bethencourt

Re: [PATCH 2/2] acpi-dma: Add support for "dma-names" device property

2015-09-24 Thread Vinod Koul
On Mon, Sep 14, 2015 at 05:37:36PM +0300, Mika Westerberg wrote: > The current implementation hard codes the two supported channels so that > "tx" is always 0 and "rx" is always 1. This is because there has been no > suitable way in ACPI to name resources. > > With _DSD device properties we can

Re: [PATCH] perf record: Limit --intr-regs to platforms supporting PERF_REGS

2015-09-24 Thread Stephane Eranian
On Thu, Sep 24, 2015 at 5:57 AM, Jiri Olsa wrote: > > On Thu, Sep 24, 2015 at 05:41:58PM +0530, Naveen N. Rao wrote: > > perf build currently fails on powerpc: > > > > LINK perf > > libperf.a(libperf-in.o):(.toc+0x120): undefined reference to > > `sample_reg_masks' > >

Re: [PATCH] linux-firmware: Add qmss accumulator pdsp firmware for keystone SoCs

2015-09-24 Thread Kyle McMartin
On Tue, Sep 15, 2015 at 02:54:37PM -0400, Murali Karicheri wrote: > This patch adds firmware for Keystone QMSS Accumulator PDSP. This is required > to support Accumulator queues. Accumulator queues are one of the queue types > supported in drivers/soc/ti/knav_qmss_acc.c. This queue can be part of

Re: [PATCH] tcp: Use absolute system clock for TCP timestamps

2015-09-24 Thread Florian Westphal
Eric Dumazet wrote: > On Thu, Sep 24, 2015 at 7:14 AM, Jovi Zhangwei wrote: > > From f455dc3958593250909627474100f6cc5c158a5c Mon Sep 17 00:00:00 2001 > > From: Marek Majkowski > > Date: Fri, 11 Sep 2015 06:05:07 -0700 > > Subject: [PATCH] tcp: Use absolute system clock for TCP timestamps > > >

Re: [RFC v7 26/41] richacl: Apply the file masks to a richacl

2015-09-24 Thread J. Bruce Fields
On Thu, Sep 24, 2015 at 12:14:40AM +0200, Andreas Gruenbacher wrote: > 2015-09-23 23:05 GMT+02:00 J. Bruce Fields : > > On Wed, Sep 23, 2015 at 10:40:18PM +0200, Andreas Gruenbacher wrote: > >> 2015-09-23 22:33 GMT+02:00 J. Bruce Fields : > >> > The same could be said if there's a

Re: [PATCH 3/3] page-flags: rectify forward declaration

2015-09-24 Thread Sudip Mukherjee
> > > > Also, I'm finding that the patch series introduces a pretty large > > bisection hole: > > > > include/linux/page-flags.h: In function 'PageYoung': > > include/linux/page-flags.h:327: error: implicit declaration of function > > 'PF_ANY' > > include/linux/page-flags.h:327: error: invalid

Re: [PATCH 08/15] block, dax, pmem: reference counting infrastructure

2015-09-24 Thread Christoph Hellwig
On Wed, Sep 23, 2015 at 12:41:55AM -0400, Dan Williams wrote: > Enable DAX to use a reference count for keeping the virtual address > returned by ->direct_access() valid for the duration of its usage in > fs/dax.c, or otherwise hold off blk_cleanup_queue() while > pmem_make_request is active. The

Re: [PATCH] ARM: at91/dt: pullup dbgu rx instead of tx

2015-09-24 Thread Peter Rosin
On 2015-09-24 16:47, Alexandre Belloni wrote: > Hi Peter, > > Thanks for the patch but you actually got beaten by Sylvain: > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/368426.html Ok, great! I just noticed that other ports have the same problem in sama5d3.dtsi. E.g.

[PATCH v2] usb: gadget: f_sourcesink: fix function params handling

2015-09-24 Thread Robert Baldyga
Move function parameters to struct f_sourcesink to make them per instance instead of having them as global variables. Since we can have multiple instances of USB function we also want to have separate set of parameters for each instance. Cc: # 3.10+ Signed-off-by: Robert Baldyga ---

Re: No more new fbdev drivers, please

2015-09-24 Thread Austin S Hemmelgarn
On 2015-09-24 08:46, Thomas Petazzoni wrote: Hello, On Thu, 24 Sep 2015 15:27:01 +0300, Tomi Valkeinen wrote: fbdev is (more or less) maintained, but it's a deprecated framework. All new Linux display drivers should be done on DRM. So let's not add any more new fbdev drivers. I will

Re: No more new fbdev drivers, please

2015-09-24 Thread Daniel Vetter
On Thu, Sep 24, 2015 at 02:46:21PM +0200, Thomas Petazzoni wrote: > Hello, > > On Thu, 24 Sep 2015 15:27:01 +0300, Tomi Valkeinen wrote: > > > fbdev is (more or less) maintained, but it's a deprecated framework. All > > new Linux display drivers should be done on DRM. > > > > So let's not add

[v3 3/8] dpaa_eth: add support for S/G frames

2015-09-24 Thread Madalin Bucur
Add support for Scater/Gather (S/G) frames. The FMan can place the frame content into multiple buffers and provide a S/G Table (SGT) into one first buffer with references to the others. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 6 +

Re: [PATCH 2/2] usb: gadget: f_loopfack: fix function params handling

2015-09-24 Thread Robert Baldyga
Hi Felipe, I see that Krzysztof Opasiak made the same change in patch https://lkml.org/lkml/2015/9/22/578, so please just ignore my patch. My first patch is still needed - I will resend it with CC: stable. Thanks, Robert Baldyga On 09/24/2015 05:02 PM, Robert Baldyga wrote: > Move function

[v3 0/8] dpaa_eth: Add the Freescale DPAA Ethernet driver

2015-09-24 Thread Madalin Bucur
This patch series adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This version includes changes following the feedback received on previous versions from Eric Dumazet, Bob Cochran, Joe Perches, Paul Bolle, Joakim Tjernlund, Scott Wood - thank you for

[v3 4/8] dpaa_eth: add driver's Tx queue selection mechanism

2015-09-24 Thread Madalin Bucur
Allow the selection of the transmission queue based on the CPU id. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Kconfig | 10 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.c| 3 +++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h| 6

[v3 7/8] dpaa_eth: add sysfs exports

2015-09-24 Thread Madalin Bucur
Export Frame Queue and Buffer Pool IDs through sysfs. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 3 +

[RFC] futex: prevent endless loop on s390x with emulated hugepages

2015-09-24 Thread Vlastimil Babka
Yong Sun has reported the LTP futex_wake04 test to hang a s390x with our kernel based on 3.12. This is reproducible on upstream 4.1.8 as well. 4.2+ is OK thanks to removal of emulated hugepages, but we should do something about the stable kernels here. The LTP test is a regression test for commit

Re: [PATCH] drm: drm_atomic_crtc_get_property should be static

2015-09-24 Thread Daniel Vetter
On Thu, Sep 24, 2015 at 03:01:03AM -0700, Geliang Tang wrote: > Fixes the following sparse warning: > drivers/gpu/drm/drm_atomic.c:442:5: warning: symbol > 'drm_atomic_crtc_get_property' was not declared. Should it be static? > > Signed-off-by: Geliang Tang Applied to drm-misc, thansk.

Re: [PATCH 07/15] devm_memremap: convert to return ERR_PTR

2015-09-24 Thread Christoph Hellwig
On Wed, Sep 23, 2015 at 12:41:50AM -0400, Dan Williams wrote: > Make devm_memremap consistent with the error return scheme of > devm_memremap_pages to remove special casing in the pmem driver. Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line

Re: [PATCH 06/15] devm_memunmap: use devres_release()

2015-09-24 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig -- 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/

[PATCH] regmap: Add HCI support

2015-09-24 Thread Loic Poulain
Add HCI support to the regmap API. Some HCI/BT devices provide register access via their HCI interface. (e.g. FM registers access for Intel BT/FM combo chip) Read/Write operations are performed via a HCI transaction composed of a HCI command (host->controller) followed by a HCI command complete

Re: [PATCH 05/15] pmem: kill memremap_pmem()

2015-09-24 Thread Christoph Hellwig
Yes, please! Reviewed-by: Christoph Hellwig -- 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 01/15] avr32: convert to asm-generic/memory_model.h

2015-09-24 Thread Christoph Hellwig
On Wed, Sep 23, 2015 at 12:41:18AM -0400, Dan Williams wrote: > Switch avr32/include/asm/page.h to use the common defintions for > pfn_to_page(), page_to_pfn(), and ARCH_PFN_OFFSET. This was the last architecture not using asm-generic/memory_model.h, so it might be time to move it to linux/ or

Re: [PATCH] powercap / RAPL : remove dependency on iosf_mbi

2015-09-24 Thread Austin S Hemmelgarn
On 2015-09-24 06:03, Pengyu Ma wrote: On 09/23/2015 01:01 AM, Jacob Pan wrote: On Tue, 22 Sep 2015 11:11:36 +0800 Pengyu Ma wrote: On 09/22/2015 05:36 AM, Jacob Pan wrote: On Mon, 21 Sep 2015 11:48:14 +0800 Pengyu Ma wrote: On 09/18/2015 11:43 PM, Jacob Pan wrote: On Fri, 18 Sep 2015

Re: [PATCH 04/15] x86, mm: quiet arch_add_memory()

2015-09-24 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig -- 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: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-24 Thread Michael Petlan
On Wed, 2015-09-23 at 11:08 +0100, Matt Fleming wrote: [SNIP] > > The RedHat QE has some more perf tool tests. There was some movement > > to make those public, but not sure how it ended up.. ccing Michael Petlan > > for news on this ;-) > > Cool! I'd definitely be interested in knowing the

[v3 8/8] dpaa_eth: add trace points

2015-09-24 Thread Madalin Bucur
Add trace points on the hot processing path. Signed-off-by: Ruxandra Ioana Radulescu --- drivers/net/ethernet/freescale/dpaa/Makefile | 1 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 12 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 4 +

[PATCH 1/2] usb: gadget: f_sourcesink: fix function params handling

2015-09-24 Thread Robert Baldyga
Move function parameters to struct f_sourcesink to make them per instance instead of having them as global variables. Since we can have multiple instances of USB function we also want to have separate set of parameters for each instance. Signed-off-by: Robert Baldyga ---

[PATCH 2/2] usb: gadget: f_loopfack: fix function params handling

2015-09-24 Thread Robert Baldyga
Move function parameters to struct f_loopback to make them per instance instead of having them as global variables. Since we can have multiple instances of USB function we also want to have separate set of parameters for each instance. Signed-off-by: Robert Baldyga ---

Re: [PATCH 06/19] staging: media: omap4iss: fix handling platform_get_irq result

2015-09-24 Thread Dan Carpenter
On Thu, Sep 24, 2015 at 04:00:14PM +0200, Andrzej Hajda wrote: > Hi, > > To avoid problems with too many mail recipients I have sent whole > patchset only to LKML. Anyway patches have no dependencies. > I'm pretty sure mailman or whatever counts CCs as recipients as well. regards, dan

Re: [PATCH/RFC] perf buildid: Cache kernel DSO created when reading buildid header table

2015-09-24 Thread Namhyung Kim
Hi Arnaldo, On Thu, Sep 24, 2015 at 10:42:28AM -0300, Arnaldo Carvalho de Melo wrote: > Namhyung, > > Can you take a look and perhaps give me your Acked-by? The dso->kernel and event->cpumode is always confusing for modules.. In this case, it seems that mmap events set kernel cpumode but

[v3 2/8] dpaa_eth: add support for DPAA Ethernet

2015-09-24 Thread Madalin Bucur
This introduces the Freescale Data Path Acceleration Architecture (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, BMan, PAMU and FMan drivers to deliver Ethernet connectivity on the Freescale DPAA QorIQ platforms. Signed-off-by: Madalin Bucur ---

[v3 5/8] dpaa_eth: add ethtool functionality

2015-09-24 Thread Madalin Bucur
Add support for basic ethtool operations. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- .../net/ethernet/freescale/dpaa/dpaa_eth_common.c | 2 + .../net/ethernet/freescale/dpaa/dpaa_eth_common.h | 3 +

[v3 1/8] devres: add devm_alloc_percpu()

2015-09-24 Thread Madalin Bucur
Introduce managed counterparts for alloc_percpu() and free_percpu(). Add devm_alloc_percpu() and devm_free_percpu() into the managed interfaces list. Signed-off-by: Madalin Bucur Tested-by: Madalin-Cristian Bucur --- Documentation/driver-model/devres.txt | 4 +++ drivers/base/devres.c

[v3 6/8] dpaa_eth: add ethtool statistics

2015-09-24 Thread Madalin Bucur
Add a series of counters to be exported through ethtool: - add detailed counters for reception errors; - add detailed counters for QMan enqueue reject events; - count the number of fragmented skbs received from the stack; - count all frames received on the Tx confirmation path; - add congestion

[PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback

2015-09-24 Thread Robert Baldyga
Hi Felipe, There are two bugfix patches. The problem was that function parameters in f_sourcesink and f_loopback were stored in global variables, and in result setting parameters in one function instance caused overwriting them in all other instances. This patchset fixes this problem by replacing

Re: [linux-sunxi][alsa-devel][PATCH 2/3] dt-binding: Add sunxi SPDIF machine driver

2015-09-24 Thread Chen-Yu Tsai
On Thu, Sep 24, 2015 at 2:04 AM, wrote: > From: Marcus Cooper > > Add device tree bindings for the SPDIF machine driver for Allwinner SoC > devices. Is there a particular reason for having 2 separate bindings for one piece of hardware? Also, both this binding and the driver bits look almost

[PATCH 11/16] page-flags: define PG_swapcache behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
Swap cannot handle compound pages so far. Transparent huge pages are split on the way to swap. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index

Re: [PATCH RFC v2] pidns: introduce syscall getvpid

2015-09-24 Thread Oleg Nesterov
On 09/24, Konstantin Khlebnikov wrote: > > +SYSCALL_DEFINE3(getvpid, pid_t, pid, int, source, int, target) > +{ > + struct file *source_file = NULL, *target_file = NULL; > + struct pid_namespace *source_ns, *target_ns; > + struct pid *struct_pid; > + struct ns_common *ns; > +

[PATCH 07/16] page-flags: define behavior SL*B-related flags on compound pages

2015-09-24 Thread Kirill A. Shutemov
SL*B uses compound pages and marks head pages with PG_slab. __SetPageSlab() and __ClearPageSlab() are never called for tail pages. The same situation with PG_slob_free in SLOB allocator. PF_NO_TAIL is appropriate for these flags. Signed-off-by: Kirill A. Shutemov ---

[PATCH 12/16] page-flags: define PG_mlocked behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
Transparent huge pages can be mlocked -- whole compund page at once. Something went wrong if we're trying to mlock() tail page. Let's use PF_NO_TAIL. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 01/16] page-flags: trivial cleanup for PageTrans* helpers

2015-09-24 Thread Kirill A. Shutemov
Use TESTPAGEFLAG_FALSE() to get it a bit cleaner. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 4fdfb5ed4b43..815246a80e2d

[PATCH 16/16] mm: sanitize page->mapping for tail pages

2015-09-24 Thread Kirill A. Shutemov
We don't define meaning of page->mapping for tail pages. Currently it's always NULL, which can be inconsistent with head page and potentially lead to problems. Let's poison the pointer to catch all illigal uses. page_rmapping(), page_mapping() and page_anon_vma() are changed to look on head

[PATCH] iwlwifi: Deinline iwl_write8/write32/read32()

2015-09-24 Thread Denys Vlasenko
With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os, after deinlining these functions have sizes and callsite counts as follows: iwl_write8: 315 bytes, 3 calls iwl_write32: 296 bytes, 90 calls iwl_read32: 278 bytes, 51 calls Total size reduction is about 40 kbytes. Signed-off-by:

Re: [PATCH] tcp: Use absolute system clock for TCP timestamps

2015-09-24 Thread Eric Dumazet
On Thu, Sep 24, 2015 at 7:14 AM, Jovi Zhangwei wrote: > From f455dc3958593250909627474100f6cc5c158a5c Mon Sep 17 00:00:00 2001 > From: Marek Majkowski > Date: Fri, 11 Sep 2015 06:05:07 -0700 > Subject: [PATCH] tcp: Use absolute system clock for TCP timestamps > > Using TCP timestamps is

Re: [PATCH] iommu/amd: Fix amd_iommu_detect() (does not fix any issues).

2015-09-24 Thread Joerg Roedel
On Mon, Aug 31, 2015 at 06:13:03PM -0400, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > Fix amd_iommu_detect() to return positive value on success, like > intended, and not zero. This will not change anything in the end > as AMD IOMMU disable swiotlb and properly associate itself with >

[PATCH v3 4/5] regulators: tps65912: Add regulator driver for the TPS65912 PMIC

2015-09-24 Thread Andrew F. Davis
This patch adds support for TPS65912 PMIC regulators. The regulators set consists of 4 DCDCs and 10 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Andrew F. Davis --- drivers/regulator/Kconfig |

[PATCH v3 2/5] mfd: tps65912: Remove old driver in preparation for new driver

2015-09-24 Thread Andrew F. Davis
The old tps65912 driver is being replaced, delete old driver. Signed-off-by: Andrew F. Davis --- drivers/gpio/Kconfig | 6 - drivers/gpio/Makefile | 1 - drivers/gpio/gpio-tps65912.c | 153 -- drivers/mfd/Kconfig| 26

[PATCH v3 3/5] mfd: tps65912: Add driver for the TPS65912 PMIC

2015-09-24 Thread Andrew F. Davis
This patch adds support for TPS65912 mfd device. It provides communication through the I2C and SPI interfaces. It contains the following components: - Regulators - GPIO controller Signed-off-by: Andrew F. Davis --- drivers/mfd/Kconfig | 24 +++ drivers/mfd/Makefile | 3 +

[PATCH 08/16] page-flags: define behavior of Xen-related flags on compound pages

2015-09-24 Thread Kirill A. Shutemov
PG_pinned and PG_savepinned are about page table's pages which are never compound. I'm not so sure about PG_foreign, but it seems we shouldn't see compound pages there too. Let's use PF_NO_COMPOUND for all of them. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 10

[PATCH 15/16] page-flags: look at head page if the flag is encoded in page->mapping

2015-09-24 Thread Kirill A. Shutemov
PageAnon() and PageKsm() look at lower bits of page->mapping to check if the page is Anon or KSM. page->mapping can be overloaded in tail pages. Let's always look at head page to avoid false-positives. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 2 ++ 1 file changed, 2

Re: [PATCH 3/3] sched: add_nr_running(): drop tick_nohz_full_cpu() check

2015-09-24 Thread Luiz Capitulino
On Thu, 24 Sep 2015 16:44:18 +0200 Frederic Weisbecker wrote: > On Thu, Sep 10, 2015 at 03:58:27PM -0400, Luiz Capitulino wrote: > > tick_nohz_full_kick_cpu() performs the same check. > > > > Signed-off-by: Luiz Capitulino > > --- > > kernel/sched/sched.h | 20 +--- > > 1 file

Re: [PATCH v2] scsi: Export SCSI Inquiry data to sysfs

2015-09-24 Thread Johannes Thumshirn
Ping? -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint = EC38 9CAB

[PATCH v3 1/5] Documentation: tps65912: Add DT bindings for the TPS65912 PMIC

2015-09-24 Thread Andrew F. Davis
The TPS65912 PMIC contains several regulators and a GPIO controller. Add bindings for the TPS65912 PMIC. Signed-off-by: Andrew F. Davis --- .../devicetree/bindings/gpio/gpio-tps65912.txt | 16 + Documentation/devicetree/bindings/mfd/tps65912.txt | 42 ++

[PATCH v3 5/5] gpio: tps65912: Add GPIO driver for the TPS65912 PMIC

2015-09-24 Thread Andrew F. Davis
This patch adds support for the TPS65912 PMIC GPIOs. TPS65912 has five configurable GPIOs that can be used for several purposes. Signed-off-by: Andrew F. Davis --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps65912.c | 138

[PATCH v3 0/5] mfd: tps65912: Driver rewrite with DT support

2015-09-24 Thread Andrew F. Davis
In an effort to cleanup this driver and add Device Tree support the driver has been rewritten based on new driver styles and modern kernel driver helpers. This has nearly halved the lines of code while keeping all previous functionality. Platform file based initialization has been dropped as

[PATCH 06/16] page-flags: define behavior of LRU-related flags on compound pages

2015-09-24 Thread Kirill A. Shutemov
Only head pages are ever on LRU. Let's use PF_HEAD policy to avoid any confusion for all LRU-related flags. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/linux/page-flags.h

Re: [PATCH 03/19] libata: samsung_cf: fix handling platform_get_irq result

2015-09-24 Thread Tejun Heo
On Thu, Sep 24, 2015 at 04:00:11PM +0200, Andrzej Hajda wrote: > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Re: [PATCH] ARM: at91/dt: pullup dbgu rx instead of tx

2015-09-24 Thread Alexandre Belloni
Hi Peter, Thanks for the patch but you actually got beaten by Sylvain: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/368426.html On 24/09/2015 at 16:44:15 +0200, Peter Rosin wrote : > From: Peter Rosin > > It seems pointless to pullup the tx line, but there is value in

[PATCH 04/16] page-flags: define PG_locked behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
lock_page() must operate on the whole compound page. It doesn't make much sense to lock part of compound page. Change code to use head page's PG_locked, if tail page is passed. This patch also gets rid of custom helper functions -- __set_page_locked() and __clear_page_locked(). They are

[PATCH 14/16] page-flags: define PG_uptodate behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
We use PG_uptodate on head pages on transparent huge page. Let's use PF_NO_TAIL. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index

[PATCH 10/16] page-flags: define PG_swapbacked behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
PG_swapbacked is used for transparent huge pages. For head pages only. Let's use PF_NO_TAIL policy. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h

[PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-24 Thread Kirill A. Shutemov
This patch adds a third argument to macros which create function definitions for page flags. This argument defines how page-flags helpers behave on compound functions. For now we define four policies: - PF_ANY: the helper function operates on the page it gets, regardless if it's non-compound,

[PATCH 05/16] page-flags: define behavior of FS/IO-related flags on compound pages

2015-09-24 Thread Kirill A. Shutemov
It seems we don't have compound page on FS/IO path currently. Use PF_NO_COMPOUND to catch if we have. The odd exception is PG_dirty: sound uses compound pages and maps them with PTEs. PF_NO_COMPOUND triggers VM_BUG_ON() in set_page_dirty() on handling shared fault. Let's use PF_HEAD for

[PATCH 02/16] page-flags: move code around

2015-09-24 Thread Kirill A. Shutemov
The preparation patch: we are going to use compound_head(), PageTail() and PageCompound() to define page-flags helpers. Let's define them before macros. We cannot user PageHead() helper in PageCompound() as it's not yet defined -- use test_bit(PG_head, >flags) instead. Signed-off-by: Kirill A.

Re: [LTP] LTP and commit e1d7ba8735551ed7 ("time: Always make sure wall_to_monotonic isn't positive")

2015-09-24 Thread Cyril Hrubis
Hi! > Thanks for the report, we allready have patch for the first testcase on > the mailing list that initializes the the timeval value to current time > + small amount. I will have a look at the second test as well. > > > [1] > >

[PATCH 00/16] Refreshed page-flags patchset

2015-09-24 Thread Kirill A. Shutemov
As requested, here's reworked version of page-flags patchset. Updated version should fit more naturally into current code base. Kirill A. Shutemov (16): page-flags: trivial cleanup for PageTrans* helpers page-flags: move code around page-flags: introduce page flags policies wrt compound

[PATCH 09/16] page-flags: define PG_reserved behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
As far as I can see there's no users of PG_reserved on compound pages. Let's use PF_NO_COMPOUND here. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h

[PATCH 13/16] page-flags: define PG_uncached behavior on compound pages

2015-09-24 Thread Kirill A. Shutemov
So far, only IA64 uses PG_uncached and only on non-compound pages. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 31e68a8c2777..5e52cc6a27c3 100644

[PATCH] ARM: at91/dt: pullup dbgu rx instead of tx

2015-09-24 Thread Peter Rosin
From: Peter Rosin It seems pointless to pullup the tx line, but there is value in pulling up the rx line. Cc: sta...@vger.kernel.org Signed-off-by: Peter Rosin --- arch/arm/boot/dts/sama5d3.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 3/3] sched: add_nr_running(): drop tick_nohz_full_cpu() check

2015-09-24 Thread Frederic Weisbecker
On Thu, Sep 10, 2015 at 03:58:27PM -0400, Luiz Capitulino wrote: > tick_nohz_full_kick_cpu() performs the same check. > > Signed-off-by: Luiz Capitulino > --- > kernel/sched/sched.h | 20 +--- > 1 file changed, 9 insertions(+), 11 deletions(-) > > diff --git

Re: [PATCH 2/3] nohz: mark tick_nohz_init_all() as __init

2015-09-24 Thread Frederic Weisbecker
On Thu, Sep 10, 2015 at 03:58:26PM -0400, Luiz Capitulino wrote: > It's only called by tick_nohz_init(). > > Signed-off-by: Luiz Capitulino > --- > kernel/time/tick-sched.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/time/tick-sched.c

Re: [linux-sunxi][alsa-devel][PATCH 0/3]Add SPDIF support for Allwinner SoCs

2015-09-24 Thread Code Kipper
On 23 September 2015 at 20:41, Code Kipper wrote: > Hi All, > I'm getting a "fatal: 'send-email'" response with the last patch(even > though the dry run of the patch series worked) and I've not been able > to work around it. I'll post it as soon as I can work out what the > issue is, DONE > BR, >

[linux-sunxi][alsa-devel][PATCH 3/3] ASOC: sunxi: Add support for the spdif block

2015-09-24 Thread codekipper
From: Marcus Cooper The sun4i, sun6i and sun7i SoC families have an SPDIF block which is capable of playback and capture. This patch enables the playback of this block for the sun4i and sun7i families. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/Kconfig | 10 +

Re: [tip:perf/core] tools lib api fs: Remove debugfs, tracefs and findfs objects

2015-09-24 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 24, 2015 at 01:15:51PM +0100, Matt Fleming escreveu: > On Wed, 23 Sep, at 10:44:56AM, Arnaldo Carvalho de Melo wrote: > > Of course, in these days of CI, I'd love if someone would hook 'make -C > > tools/perf build-test' and 'perf test' somewhere to be run for every > > changeset. >

Re: [PATCH 1/3] Documentation: dt: keystone: provide SoC specific compatible flags

2015-09-24 Thread Nishanth Menon
On 09/24/2015 09:05 AM, Murali Karicheri wrote: > On 09/23/2015 02:19 PM, santosh shilimkar wrote: >> Nishant, >> >> On 9/22/2015 9:08 AM, Nishanth Menon wrote: >>> Keystone2 devices are used on more platforms than just Texas >>> Instruments reference evaluation platforms called EVMs. Providing a

Re: + kernelh-make-abs-work-with-64-bit-types.patch added to -mm tree

2015-09-24 Thread Alexey Dobriyan
On Thu, Sep 24, 2015 at 4:32 PM, Michal Nazarewicz wrote: > On Wed, Sep 23 2015, Alexey Dobriyan wrote: >> I've sent kabs() before which didn't go in because it didn't work for >> INT_MAX et al >> (don't worry, this abs() doens't as well) but it is nicer that this >> version in other aspects >>

Re: [PATCH 3/3] irqchip/GICv2m: Fix GICv2m build warning on 32 bits

2015-09-24 Thread Marc Zyngier
On Thu, 24 Sep 2015 11:19:33 +0300 Pavel Fedin wrote: > Hello! > > > From: Pavel Fedin > > > > After GICv2m was enabled for 32-bit ARM kernel, a warning popped up: > > Thank you for the cooperation, i'm now back from my vacation. > What about the first patch in the series, which actually

Re: [PATCH 18/19] mac80211: make ieee80211_new_mesh_header return unsigned

2015-09-24 Thread Johannes Berg
On Thu, 2015-09-24 at 16:00 +0200, Andrzej Hajda wrote: > The function returns always non-negative values. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. > You should at least compile your patches. johannes -- To

[PATCH 12/19] extcon: rt8973a: fix handling regmap_irq_get_virq result

2015-09-24 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- Hi, To avoid problems with too many

[PATCH 02/19] spi: davinci: fix handling platform_get_irq result

2015-09-24 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- Hi, To avoid problems with too many

[PATCH 05/19] media: am437x-vpfe: fix handling platform_get_irq result

2015-09-24 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- Hi, To avoid problems with too many

[PATCH 04/19] v4l: omap3isp: fix handling platform_get_irq result

2015-09-24 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- Hi, To avoid problems with too many

[PATCH 07/19] net: hisilicon: fix handling platform_get_irq result

2015-09-24 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- Hi, To avoid problems with too many

<    1   2   3   4   5   6   7   8   9   10   >