[char-misc-next v3 7/8] watchdog: mei_wdt: add activation debugfs entry

2015-12-21 Thread Tomas Winkler
Add entry for displaying whether the device has activated or deactivated watchdog fw application. cat /mei_wdt/activation activated | deactivated Signed-off-by: Tomas Winkler --- V3: new in the series drivers/watchdog/mei_wdt.c | 27 +++ 1 file changed, 27 insertions(+)

[char-misc-next v3 2/8] mei: wd: drop the watchdog code from the core mei driver

2015-12-21 Thread Tomas Winkler
From: Alexander Usyskin Instead of integrating the iAMT watchdog in the mei core driver we will create a watchdog device on the mei client bus and create a driver for it. This patch removes the watchdog code from the mei core driver. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkle

[char-misc-next v3 5/8] mei: bus: whitelist the watchdog client

2015-12-21 Thread Tomas Winkler
The iAMT WD client has to be whitelisted sice it has two connections and is filtered out by number_of_connections fixup. Also the API has changed for BDW and SKL but firmware haven't updated the protocol version. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- V2/V3: resend dr

[char-misc-next v3 1/8] mei: drop nfc leftovers from the mei driver

2015-12-21 Thread Tomas Winkler
We left few function prototypes in the header file after moving nfc logic to bus. Signed-off-by: Tomas Winkler --- V2/V3: resend drivers/misc/mei/mei_dev.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 4250555d5e72.

[char-misc-next v3 3/8] watchdog: mei_wdt: implement MEI iAMT watchdog driver

2015-12-21 Thread Tomas Winkler
Create a driver with the generic watchdog interface for the MEI iAMT watchdog device. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- V2: The watchdog device is no longer dynamically allocated in separate structure V3: Revert back to dynamically allocated watchdog device wrappe

Re: [PATCH 03/12] statx: Add a system call to make enhanced file info available

2015-12-21 Thread David Howells
Pavel Machek wrote: > But fstat() is really different operation to stat() -- tell me about > my file descriptor vs. tell me about this filename, and ptrace (and > some "security" solutions) might want to allow one but disallow the > second. I'd not group them together.. You can argue it either w

Re: [PATCH V2 22/23] pci, acpi: Match PCI config space accessors against platfrom specific quirks.

2015-12-21 Thread Jon Masters
On 12/21/2015 05:42 PM, Arnd Bergmann wrote: > On Monday 21 December 2015, David Daney wrote: >> On 12/21/2015 06:10 AM, Arnd Bergmann wrote: >>> On Monday 21 December 2015, Gabriele Paoloni wrote: >> >>> or require the BIOS to work around the hardware >>> quirks differently (e.g. by trapping confi

Re: [PATCH 1/5] watchdog: Create watchdog device in watchdog_dev.c

2015-12-21 Thread Guenter Roeck
On 12/21/2015 09:31 AM, Damien Riegel wrote: On Sun, Dec 20, 2015 at 01:04:59PM -0800, Guenter Roeck wrote: The watchdog character device is currently created in watchdog_dev.c, and the watchdog device in watchdog_core.c. This results in cross-dependencies, since device creation needs to know th

Re: [PATCH 2/5] watchdog: Separate and maintain variables based on variable lifetime

2015-12-21 Thread Tomas Winkler
On Mon, Dec 21, 2015 at 7:28 PM, Damien Riegel wrote: > > On Sun, Dec 20, 2015 at 01:05:00PM -0800, Guenter Roeck wrote: > > All variables required by the watchdog core to manage a watchdog are > > currently stored in struct watchdog_device. The lifetime of those > > variables is determined by the

Re: [PATCH 00/13] bring lustre's kernel_comm code up to date

2015-12-21 Thread Greg Kroah-Hartman
On Sun, Nov 08, 2015 at 02:17:05PM -0500, James Simmons wrote: > This patch series brings the kernel_comm code used by Lustre up > to the latest verison with various fixes and style improvements > which makes the code compliant with the linux kernel standard. This series does not apply, please reb

Re: [PATCH 00/40] Sync upstream lustre client LNet core

2015-12-21 Thread Greg Kroah-Hartman
On Fri, Nov 20, 2015 at 06:35:36PM -0500, James Simmons wrote: > This is the majority of the fixes that have gone into the LNet layer. > Outside a few remaining patches this brings LNet close to what is > running in production world wide. > > This patch series needs the remove IOC_LIBCFS_PING_TEST

Re: [PATCH v2 0/6] Patch series to make lustre safe(r) for W=1 compiles

2015-12-21 Thread Greg KH
On Fri, Dec 11, 2015 at 06:04:19PM -0500, Valdis Kletnieks wrote: > Start of a batch series to clean up the Lustre tree. Other people have > done some sparse and checkpatch cleanups, but I found a bunch of > stuff building with W=1. There's probably more, but this was the > really low-hanging obvio

Re: [PATCH] staging: lustre/lustre/libcfs: Fix type mismatch reported by sparse

2015-12-21 Thread Greg Kroah-Hartman
On Wed, Dec 09, 2015 at 10:38:13PM +0530, Niranjan Dighe wrote: > The third argument to function kportal_memhog_alloc is expected to > be gfp_t whereas the actual argument was unsigned int. Fix this by > explicitly typecasting to gfp_t > > Signed-off-by: Niranjan Dighe > --- > drivers/staging/lu

[RFC] free_pages stuff

2015-12-21 Thread Al Viro
FWIW, I'd done a proof-of-concept patch series converting the things to * free_page() and free_pages() taking the address to free as a pointer * get_zeroed_page() returning a pointer * get_free_page()/get_free_pages() added, both returning a pointer * __get_d

Re: [PATCH] staging: lustre: This patch fixes the following sparse warning:

2015-12-21 Thread Greg KH
On Fri, Dec 11, 2015 at 04:08:53PM +0800, Jandy Gou wrote: > drivers/staging/lustre/lustre/osc/osc_cache.c:622:19: warning: symbol > 'osc_extent_find' was not declared. Should it be static? > drivers/staging/lustre/lustre/osc/osc_cache.c:1423:6: warning: symbol > 'osc_unreserve_grant' was not decla

[POC][PATCH 05/83] switch copy_mount_options to storing void * instead of unsigned long

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- fs/compat.c| 11 +-- fs/internal.h | 2 +- fs/namespace.c | 21 ++--- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/fs/compat.c b/fs/compat.c index c4708ae..254af5d 100644 --- a/fs/compat.c +++ b/fs/compat

[POC][PATCH 04/83] kill unused {get,free}_user_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/arc/include/asm/page.h | 3 --- arch/arm/include/asm/page-nommu.h | 3 --- arch/frv/include/asm/page.h | 3 --- arch/m68k/include/asm/page_mm.h | 3 --- arch/m68k/include/asm/page_no.h | 3 --- arch/openrisc/include/asm/page.h | 3 -

[POC][PATCH 81/83] sba_iommu: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/parisc/sba_iommu.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 10ca71d..a6e76ba 100644 --- a/drivers/parisc/sba_iommu.c +++ b/dri

[POC][PATCH 15/83] qib get_map_page(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/infiniband/hw/qib/qib_qp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_qp.c b/drivers/infiniband/hw/qib/qib_qp.c index 0daa083..f7c0908b 100644 --- a/drivers/infiniband/hw/qib/qib_qp.c

[POC][PATCH 76/83] [mips, s390, score] turn empty_zero_page into pointer

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/mips/include/asm/pgtable.h | 4 ++-- arch/mips/mm/init.c | 7 --- arch/s390/include/asm/pgtable.h | 6 +++--- arch/s390/mm/init.c | 7 --- arch/score/include/asm/pgtable.h | 6 +++--- arch/score/mm/init.c

Re: [PATCH v2 3/4] staging: lustre: Less checks in mgc_process_recover_log() after error detection

2015-12-21 Thread Greg Kroah-Hartman
On Mon, Dec 21, 2015 at 08:12:12PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 21 Dec 2015 18:58:51 +0100 > > A few checks would be performed by the mgc_process_recover_log() function > even though it was determined that the passed variable "pages" contained > a null point

[POC][PATCH 78/83] x86: switch to get_free_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/x86/kernel/tce_64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/tce_64.c b/arch/x86/kernel/tce_64.c index ab40954..c6d5208 100644 --- a/arch/x86/kernel/tce_64.c +++ b/arch/x86/kernel/tce_64.c @@ -98,7 +9

[POC][PATCH 79/83] s390: turn suspend_zero_pages into a pointer

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/s390/kernel/entry.h | 2 +- arch/s390/kernel/suspend.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/s390/kernel/entry.h b/arch/s390/kernel/entry.h index b7019ab..612b35c 100644 --- a/arch/s390/kernel/entry.h +++

[POC][PATCH 82/83] media/platform/omap: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Keep ->smsshado_virt_addrp[] and ->buf_virt_addr[] as pointers. Note that this stuff is 32bit-only, so both unsigned int and unsigned long are pointer-sized... Signed-off-by: Al Viro --- drivers/media/platform/omap/omap_vout.c | 26 ++ drivers/media/p

Re: [PATCH v3 1/5] Staging: dgnc: dgnc_neo.c: usleep_range is preferred over udelay

2015-12-21 Thread Greg KH
On Sat, Nov 14, 2015 at 08:10:42PM +0530, Nizam Haider wrote: > Fix ceckpatch warning spelling? > > Signed-off-by: Nizam Haider > --- > drivers/staging/dgnc/dgnc_neo.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers

[POC][PATCH 80/83] [sun3] try to sort dvma types out

2015-12-21 Thread Al Viro
From: Al Viro [I've pretty much zero confidence in that one - if anything, it would need to be split] Signed-off-by: Al Viro --- arch/m68k/include/asm/dvma.h | 21 + arch/m68k/sun3/dvma.c| 31 --- arch/m68k/sun3/sun3dvma.c

[POC][PATCH 75/83] kill __get_free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/acpi/apei/ghes.c | 2 +- include/linux/gfp.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c index 1d074de..3c02819 100644 --- a/drivers/acpi/apei/ghes.c +++ b/driver

[POC][PATCH 61/83] switch obvious cases to get_free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/alpha/include/asm/pgalloc.h | 4 ++-- arch/alpha/kernel/srm_env.c | 4 ++-- arch/alpha/mm/init.c | 2 +- arch/arc/kernel/setup.c | 2 +- arch/arc/kerne

[POC][PATCH 83/83] nios2: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro flush_icache_range() really looks like a candidate for conversion to taking void * as arguments... Signed-off-by: Al Viro --- arch/nios2/mm/init.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/nios2/mm/init.c b/arch/nios2/mm/init.c index e03a757

[POC][PATCH 67/83] mn10300 dma_alloc_coherent(): switch to get_free_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/mn10300/mm/dma-alloc.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/mn10300/mm/dma-alloc.c b/arch/mn10300/mm/dma-alloc.c index 5f3132a4..ffcf771 100644 --- a/arch/mn10300/mm/dma-alloc.c +++ b/arch/mn1030

[POC][PATCH 70/83] s390_dma_alloc(): page_to_phys() result is always a multiple of PAGE_SIZE

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/s390/pci/pci_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/pci/pci_dma.c b/arch/s390/pci/pci_dma.c index 5a15471..afa4be1 100644 --- a/arch/s390/pci/pci_dma.c +++ b/arch/s390/pci/pci_dma.c @@ -366,7 +366,7 @@ st

[POC][PATCH 68/83] switch ps3_dma_map() and ps3_dma_region_ops->map() instances to physical address

2015-12-21 Thread Al Viro
From: Al Viro callers know whether they are passing a virtual address or a physical one; seeing that all work in the instances is done with physical addresses, might as well have all callers pass those and don't bother with instances checking whether they'd got a physical or a virtual address. S

[POC][PATCH 71/83] s390_dma_alloc(): use page_address()

2015-12-21 Thread Al Viro
From: Al Viro ... rather than open-coding it as (void *)page_to_phys() - those expand to the same thing on s390 (no highmem and __va is an identity mapping), but it's more readable (and less confusing) that way. Signed-off-by: Al Viro --- arch/s390/pci/pci_dma.c | 10 +- 1 file changed

[POC][PATCH 69/83] ps3_alloc_coherent(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/powerpc/platforms/ps3/system-bus.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c index 988f8eb..bb358ab 100644 --- a/arch/powerpc/platfo

Re: [PATCH] Staging: dgnc: dgnc_neo.c: Coding Style issue (should be space before asterisk).

2015-12-21 Thread Greg KH
On Sun, Nov 15, 2015 at 12:01:10AM +0530, Nizam Haider wrote: > Patch will add a space in commentary line. > > Signed-off-by: Nizam Haider > --- > drivers/staging/dgnc/dgnc_neo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Doesn't apply to my tree :( -- To unsubscribe from this l

[POC][PATCH 74/83] [s390] switch pcpu_alloc_lowcore() to get_free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/s390/kernel/smp.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 34a5041..a32f727 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -179,

[POC][PATCH 72/83] [powerpc] switch cmm_page_array->pages[] to pointers

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/powerpc/platforms/pseries/cmm.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/platforms/pseries/cmm.c b/arch/powerpc/platforms/pseries/cmm.c index f4aa67d..af628e4 100644 --- a/a

[POC][PATCH 73/83] niu.c: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/net/ethernet/sun/niu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/sun/niu.c b/drivers/net/ethernet/sun/niu.c index 66ac0ffe..1716148 100644 --- a/drivers/net/ethernet/sun/niu.c +++ b/drivers/net

[POC][PATCH 77/83] sparc: switch to get_free_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/sparc/kernel/irq_64.c | 3 +-- arch/sparc/mm/iommu.c | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/sparc/kernel/irq_64.c b/arch/sparc/kernel/irq_64.c index 8858bb0..54a55ce 100644 --- a/arch/sparc/kernel/irq_64

[POC][PATCH 63/83] switch kvmppc_core_vcpu_create_pr() to get_free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/powerpc/kvm/book3s_pr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index 3775664..9bdf9e3 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/boo

Re: [PATCH v3 1/3] ACPI: amba bus probing support

2015-12-21 Thread Vladimir Zapolskiy
Hi, On 21.12.2015 18:41, Aleksey Makarov wrote: > From: Graeme Gregory > > On ARM64 some devices use the AMBA device and not the platform bus for > probing so add support for this. Uses a dummy clock for apb_pclk as ACPI > does not have a suitable clock representation and to keep the core > AMBA

[POC][PATCH 62/83] m68k: switch pte_alloc_one_kernel() to get_free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/m68k/include/asm/mcf_pgalloc.h | 6 +++--- arch/m68k/include/asm/sun3_pgalloc.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/m68k/include/asm/mcf_pgalloc.h b/arch/m68k/include/asm/mcf_pgalloc.h index 04ffc22..e08

[POC][PATCH 64/83] drivers/video/fbdev: switch to get_free_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/video/fbdev/grvga.c | 20 +--- drivers/video/fbdev/vermilion/vermilion.c | 17 - drivers/video/fbdev/vermilion/vermilion.h | 2 +- 3 files changed, 18 insertions(+), 21 deletions(-) diff --git a/dri

[POC][PATCH 60/83] switch obvious cases to get_free_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/alpha/include/asm/agp.h | 2 +- arch/alpha/kernel/pci-noop.c | 2 +- arch/alpha/kernel/pci_iommu.c | 2 +- arch/arc/include/asm/pgalloc.h | 6 +++--- arch/arm/i

[POC][PATCH 66/83] switch xen_get_swiotlb_free_pages() to returning a pointer

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/arm/include/asm/xen/page.h | 2 +- arch/arm/xen/mm.c | 4 ++-- arch/x86/include/asm/xen/page.h | 4 ++-- drivers/xen/swiotlb-xen.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/include/asm/xen/pa

[POC][PATCH 65/83] um: switch to get_free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/x86/um/ldt.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x86/um/ldt.c b/arch/x86/um/ldt.c index 60b4314..a3c5104 100644 --- a/arch/x86/um/ldt.c +++ b/arch/x86/um/ldt.c @@ -297,7 +297,7 @@ long init_new_ldt(struct

[POC][PATCH 51/83] microblaze consistent_alloc(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/microblaze/mm/consistent.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/microblaze/mm/consistent.c b/arch/microblaze/mm/consistent.c index a4b587a..bdeb2cb 100644 --- a/arch/microblaze/mm/consistent.c +

[POC][PATCH 56/83] amd_gart_64: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/x86/kernel/amd_gart_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/amd_gart_64.c b/arch/x86/kernel/amd_gart_64.c index 2ef2933..94da9dd 100644 --- a/arch/x86/kernel/amd_gart_64.c +++ b/arch/x86/kernel/am

[POC][PATCH 54/83] um: store stacks as pointers

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/um/drivers/chan_user.c | 6 +++--- arch/um/drivers/chan_user.h | 2 +- arch/um/drivers/line.c | 8 arch/um/drivers/ubd.h | 2 +- arch/um/drivers/ubd_kern.c | 2 +- arch/um/drivers/ubd

[POC][PATCH 53/83] cavium: (partially) get rid of cargo-culting in allocator

2015-12-21 Thread Al Viro
From: Al Viro AFAICS, it's a rudiment of a different allocator used at some earlier point; __get_free_pages() *never* returns a pointer that wouldn't be at least 8 bytes aligned - we don't support architectures with 4-byte pages, TYVM... Signed-off-by: Al Viro --- drivers/net/ethernet/cavium/l

[POC][PATCH 50/83] s390 cmm: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/s390/mm/cmm.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c index b0ca6af..e5879ba 100644 --- a/arch/s390/mm/cmm.c +++ b/arch/s390/mm/cmm.c @@ -38,7 +38,7 @@ MODULE_PARM_DE

[POC][PATCH 52/83] devm_{get_}free_pages(): switch to pointers

2015-12-21 Thread Al Viro
From: Al Viro the only caller of devm_get_free_pages() casts anyway Signed-off-by: Al Viro --- drivers/base/devres.c | 14 ++ drivers/char/xillybus/xillybus_core.c | 2 +- include/linux/device.h| 4 ++-- 3 files changed, 9 insertions(+), 11 deletio

[POC][PATCH 55/83] sh: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/sh/boards/mach-hp6xx/pm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/sh/boards/mach-hp6xx/pm.c b/arch/sh/boards/mach-hp6xx/pm.c index 1a8aacd..b792c76 100644 --- a/arch/sh/boards/mach-hp6xx/pm.c +++ b/arch/sh/b

[POC][PATCH 58/83] iwlwifi: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/net/wireless/iwlwifi/iwl-trans.h | 4 ++-- drivers/net/wireless/iwlwifi/pcie/tx.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index

[POC][PATCH 57/83] iwlegacy: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/net/wireless/iwlegacy/3945-mac.c | 2 +- drivers/net/wireless/iwlegacy/3945.c | 2 +- drivers/net/wireless/iwlegacy/common.c | 10 +- drivers/net/wireless/iwlegacy/common.h | 4 ++-- 4 files changed, 9 insertions(+), 9 deletion

[POC][PATCH 59/83] add pointer-returning variants of __get_free_pages/__get_free_page

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/block/xen-blkback/blkback.c | 4 ++-- drivers/xen/xen-scsiback.c | 6 +++--- include/linux/gfp.h | 9 +++-- mm/page_alloc.c | 8 4 files changed, 16 insertions(+), 11 deletions(-) diff --

[POC][PATCH 46/83] frv consistent_alloc(): switch page to void *

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/frv/mm/dma-alloc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/frv/mm/dma-alloc.c b/arch/frv/mm/dma-alloc.c index c4c19ff..62268e1 100644 --- a/arch/frv/mm/dma-alloc.c +++ b/arch/frv/mm/dma-alloc.c @@ -81,7 +81,

[POC][PATCH 47/83] ia64: uncached_add_chunk(): switch to __free_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/ia64/kernel/uncached.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/uncached.c b/arch/ia64/kernel/uncached.c index 9b90526..35494cc 100644 --- a/arch/ia64/kernel/uncached.c +++ b/arch/ia64/kernel/uncached.c @@

[POC][PATCH 48/83] jfs_readdir(): make dirent_buf a pointer

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- fs/jfs/jfs_dtree.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/jfs/jfs_dtree.c b/fs/jfs/jfs_dtree.c index e585852..56d18de 100644 --- a/fs/jfs/jfs_dtree.c +++ b/fs/jfs/jfs_dtree.c @@ -3023,7 +3023,7 @@ int jfs_read

[POC][PATCH 49/83] get rid of casts in alloc_exact stuff

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- mm/page_alloc.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index aa37489..a1aa8eb 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -3449,20 +3449,20 @@ void fre

[POC][PATCH 42/83] simserial: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/ia64/hp/sim/simserial.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c index 6e81449..7c3871e 100644 --- a/arch/ia64/hp/sim/simserial.c +++ b/arch/ia64/hp/sim/

[POC][PATCH 44/83] cris free_init_page(): switch to __free_page()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/cris/mm/init.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c index dd87022..71a012c 100644 --- a/arch/cris/mm/init.c +++ b/arch/cris/mm/init.c @@ -40,9 +40,10 @@ void free_init_p

[POC][PATCH 41/83] hsi: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/hsi/clients/cmt_speech.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/hsi/clients/cmt_speech.c b/drivers/hsi/clients/cmt_speech.c index 96d98fc..86ef330 100644 --- a/drivers/hsi/clients/cmt_speech.c

[POC][PATCH 43/83] arm64 vdso: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro ... with two added to cope with flush_icache_range() calling conventions Signed-off-by: Al Viro --- arch/arm64/kernel/vdso.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c index 07e4d14..f49e158

Re: [PATCH] Staging: comedi: fix block comments coding style issue in comedi.h

2015-12-21 Thread Greg KH
On Mon, Dec 14, 2015 at 03:41:10PM +0800, maomao xu wrote: > Fix up block comments to make a trailing */ on a separate line > > Signed-off-by: maomao xu > --- > drivers/staging/comedi/comedi.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Doesn't apply to my tree :( -- To unsubscrib

Re: [PATCH] comedi/comedilib.h: cleanup coding style

2015-12-21 Thread Greg KH
On Tue, Dec 15, 2015 at 12:34:11AM +0400, George Kobiashvili wrote: > Signed-off-by: George Kobiashvili > --- > drivers/staging/comedi/comedilib.h | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) Doesn't apply to my tree :( -- To unsubscribe from this li

[POC][PATCH 37/83] ste_dma40: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/dma/ste_dma40.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 2971d47..e2e0225 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c @@ -340

[POC][PATCH 39/83] gnttab_end_foreign_access(): switch the last argument to void *

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/block/xen-blkfront.c | 12 ++-- drivers/char/tpm/xen-tpmfront.c | 2 +- drivers/input/misc/xen-kbdfront.c | 4 ++-- drivers/net/xen-netfront.c| 6 +++--- drivers/pci/xen-pcifront.c| 2 +- drivers/scsi/xen-scsifr

[POC][PATCH 36/83] pcibios: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/x86/pci/pcbios.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/pci/pcbios.c b/arch/x86/pci/pcbios.c index 7958c26..674ecff 100644 --- a/arch/x86/pci/pcbios.c +++ b/arch/x86/pci/pcbios.c @@ -381,14 +381,14 @@

[POC][PATCH 45/83] arm: switch kvm_arm_hyp_stack_page to void *

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/arm/include/asm/kvm_host.h | 4 ++-- arch/arm/kvm/arm.c| 13 + arch/arm64/include/asm/kvm_host.h | 2 +- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/arch/arm/include/asm/kvm_host.h b/arch/arm/inclu

[POC][PATCH 35/83] s390 kvm: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/s390/kvm/priv.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c index af22195..93963ff 100644 --- a/arch/s390/kvm/priv.c +++ b/arch/s390/kvm/priv.c @@ -504,7 +504,7 @@

[POC][PATCH 34/83] drivers/s390: ger rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/s390/block/xpram.c| 24 drivers/s390/char/sclp_ftp.c | 10 +- drivers/s390/cio/qdio.h | 2 +- drivers/s390/cio/qdio_main.c | 2 +- drivers/s390/cio/qdio_setup.c | 4 ++-- drivers

[POC][PATCH 38/83] usb_mon: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/usb/mon/mon_bin.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/usb/mon/mon_bin.c b/drivers/usb/mon/mon_bin.c index cdc68e5..26d497b 100644 --- a/drivers/usb/mon/mon_bin.c +++ b/drivers/usb/mon/mon_bin.c @@

[POC][PATCH 40/83] nios2: dma_free_coherent(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/nios2/mm/dma-mapping.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/nios2/mm/dma-mapping.c b/arch/nios2/mm/dma-mapping.c index fa242ab..0195f8f 100644 --- a/arch/nios2/mm/dma-mapping.c +++ b/arch/nios2/mm/dma-mapping.c

[POC][PATCH 27/83] new helper: get_dma_pages()

2015-12-21 Thread Al Viro
From: Al Viro same as __get_dma_pages(), except that it returns a pointer Signed-off-by: Al Viro --- include/linux/gfp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/gfp.h b/include/linux/gfp.h index f4304c1..07b714d 100644 --- a/include/linux/gfp.h +++ b/include/linux/

[POC][PATCH 28/83] make fd_dma_mem_alloc/nodma_mem_alloc return a pointer

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/m68k/include/asm/floppy.h | 4 ++-- arch/mips/include/asm/mach-generic/floppy.h | 8 ++-- arch/mips/include/asm/mach-jazz/floppy.h| 10 -- arch/parisc/include/asm/floppy.h| 15 +-- arch/sparc/in

[POC][PATCH 30/83] sparc: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/sparc/include/asm/dma.h | 2 +- arch/sparc/include/asm/iommu_64.h | 2 +- arch/sparc/kernel/iommu.c | 8 arch/sparc/kernel/ioport.c| 8 arch/sparc/kernel/irq_64.c| 4 ++-- arch/sparc/kernel/pci_fir

[POC][PATCH 26/83] dma_4v_alloc_coherent(): don't mix virtual and physical addresses

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/sparc/kernel/pci_sun4v.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/sparc/kernel/pci_sun4v.c b/arch/sparc/kernel/pci_sun4v.c index 3eb8907..3ea1937 100644 --- a/arch/sparc/kernel/pci_sun4v.c +++ b/arch/sparc/ke

Re: [PATCH v4 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-12-21 Thread Vladimir Zapolskiy
Hi Cory, On 10.12.2015 06:00, Cory Tusar wrote: > This commit documents bindings to be added to the eeprom_93xx46 driver > which will allow: > > - Device word size and read-only attributes to be specified. > - A device-specific compatible string for use with Atmel AT93C46D > EEPROMs. >

[POC][PATCH 33/83] drivers/pci: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/pci/host/pci-tegra.c | 10 +- drivers/pci/host/pcie-designware.c | 6 +++--- drivers/pci/host/pcie-designware.h | 2 +- drivers/pci/host/pcie-rcar.c | 6 +++--- drivers/pci/host/pcie-xilinx.c | 10 +- 5 files ch

[POC][PATCH 29/83] switch the remaining users of __get_dma_pages() to get_dma_pages()

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/char/mbcs.c | 24 drivers/net/appletalk/ltpc.c | 8 +++- drivers/net/ethernet/amd/mvme147.c | 8 drivers/net/ethernet/cirrus/cs89x0.c | 3 +-- include/linux/gfp.h

[POC][PATCH 32/83] lguest: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/lguest/lg.h | 2 +- drivers/lguest/lguest_user.c | 8 drivers/lguest/page_tables.c | 8 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/lguest/lg.h b/drivers/lguest/lg.h index ac8ad04..3334ca0 100

[POC][PATCH 20/83] staging/rdma: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/staging/rdma/ehca/ehca_pd.c | 2 +- drivers/staging/rdma/ehca/ipz_pt_fn.c | 6 +++--- drivers/staging/rdma/ehca/ipz_pt_fn.h | 2 +- drivers/staging/rdma/hfi1/qp.c| 6 +++--- drivers/staging/rdma/ipath/ipath_qp.c | 6 +++--- 5 files chan

Re: [RFC] free_pages stuff

2015-12-21 Thread Linus Torvalds
On Mon, Dec 21, 2015 at 3:46 PM, Al Viro wrote: > FWIW, I'd done a proof-of-concept patch series converting the things > to > * free_page() and free_pages() taking the address to free as a pointer > * get_zeroed_page() returning a pointer > * get_free_page()/get_fre

[POC][PATCH 31/83] efficeon: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/char/agp/efficeon-agp.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/char/agp/efficeon-agp.c b/drivers/char/agp/efficeon-agp.c index c3d0d44..d64e601 100644 --- a/drivers/char/agp/efficeon

[POC][PATCH 22/83] [davinci] ccdc_update_raw_params() frees the wrong thing

2015-12-21 Thread Al Viro
From: Al Viro Passing a physical address to free_pages() is a bad idea. config_params->fault_pxl.fpc_table_addr is set to virt_to_phys() of __get_free_pages() return value; what we should pass to free_pages() is its phys_to_virt(). ccdc_close() does that properly, but ccdc_update_raw_par

[POC][PATCH 21/83] c6x: remove unused macros

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/c6x/include/asm/processor.h | 4 1 file changed, 4 deletions(-) diff --git a/arch/c6x/include/asm/processor.h b/arch/c6x/include/asm/processor.h index b5b5a87..22f07a4 100644 --- a/arch/c6x/include/asm/processor.h +++ b/arch/c6x/include/asm/pr

[POC][PATCH 24/83] ppc: keep ->hpt_virt as a pointer

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/powerpc/include/asm/kvm_host.h | 2 +- arch/powerpc/kvm/book3s_64_mmu_hv.c | 19 ++- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h index c

[POC][PATCH 23/83] fd_dma_mem_free(): pass address as void * instead of unsigned long

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/m68k/include/asm/floppy.h | 4 ++-- arch/mips/include/asm/mach-generic/floppy.h | 4 ++-- arch/mips/include/asm/mach-jazz/floppy.h| 6 +++--- arch/parisc/include/asm/floppy.h| 6 +++--- arch/sparc/include/asm/floppy_

[POC][PATCH 25/83] dma_4u_alloc_coherent(): don't mix virtual and physical addresses

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- arch/sparc/kernel/iommu.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/sparc/kernel/iommu.c b/arch/sparc/kernel/iommu.c index eae7b6b..18a40c6 100644 --- a/arch/sparc/kernel/iommu.c +++ b/arch/sparc/kernel/iommu.c @@

[POC][PATCH 18/83] sysctl: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- kernel/sysctl.c | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 8e9cfe4..edb7da4 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -2047,9 +2047,8 @@ static

[POC][PATCH 16/83] user_namespace: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- kernel/user_namespace.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index b01948c..badce97 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c @@ -602,8

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-21 Thread Måns Rullgård
Andy Shevchenko writes: > On Mon, 2015-12-21 at 19:27 +, Måns Rullgård wrote: >> Andy Shevchenko writes: >> >> > I can share my working branch with a set of patches regarding to >> > dw_dmac. We may do our work based on that code and after I'll >> > submit >> > everything to upstream. Does

[POC][PATCH 19/83] xenstored_local_init(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/xen/xenbus/xenbus_probe.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/xen/xenbus/xenbus_probe.c b/drivers/xen/xenbus/xenbus_probe.c index 3e43b5a..d896283 100644 --- a/drivers/xen/xenbus/xenbus_probe.c ++

[POC][PATCH 17/83] ftrace: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- kernel/trace/ftrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index b995e08..927cdd4 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -741,10 +741,10 @@ int ft

[POC][PATCH 10/83] kernfs_iop_follow_link(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- fs/kernfs/symlink.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/kernfs/symlink.c b/fs/kernfs/symlink.c index 9662b66..ac8768b 100644 --- a/fs/kernfs/symlink.c +++ b/fs/kernfs/symlink.c @@ -115,15 +115,15 @@ static int k

[POC][PATCH 12/83] drivers/tty: get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- drivers/tty/amiserial.c | 10 +- drivers/tty/cyclades.c | 10 +- drivers/tty/mxser.c | 8 drivers/tty/rocket.c | 8 drivers/tty/serial/crisv10.c | 10 +- drivers/

[POC][PATCH 11/83] sound/oss/vidc: keep dma_buf[] as pointers

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- sound/oss/vidc.c | 8 sound/oss/vidc.h | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/sound/oss/vidc.c b/sound/oss/vidc.c index 3196f35..6ab875d 100644 --- a/sound/oss/vidc.c +++ b/sound/oss/vidc.c @@ -468,13 +468,13 @@

[POC][PATCH 09/83] configfs_follow_link(): get rid of pointless casts

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- fs/configfs/symlink.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index f8f4d9a..ae41e92 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c @@ -281,18 +281,18 @@ st

[POC][PATCH 13/83] rds: keep pointers in ->m_page_addrs[]

2015-12-21 Thread Al Viro
From: Al Viro Signed-off-by: Al Viro --- net/rds/cong.c | 16 net/rds/ib_recv.c | 2 +- net/rds/iw_recv.c | 2 +- net/rds/message.c | 2 +- net/rds/rds.h | 4 ++-- net/rds/tcp_recv.c | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/net/r

<    1   2   3   4   5   6   7   8   9   >