[PATCH] IB/ipoib: optimized the function ipoib_mcast_alloc

2015-11-01 Thread Saurabh Sengar
ipoib_mcast_alloc is called only in atomic context, hence removing the extra check. Signed-off-by: Saurabh Sengar --- Hi, Even if in future, if there are some functions expected to call it in normal context(not atomic), we can pass the GFP_KERNEL or GFP_ATOMIC directly

[GIT pull] timer fixes for 4.3

2015-11-01 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus The last round of minimalistic fixes for clocksource drivers: - Prevent multiple shutdown of the sh_mtu2 clocksource - Annotate a

Re: [PATCH v4 6/6] arm64: ftrace: add arch-specific stack tracer

2015-11-01 Thread Jungseok Lee
On Oct 30, 2015, at 2:25 PM, AKASHI Takahiro wrote: Hi Akashi, > Stack tracer on arm64, check_stack(), is uniqeue in the following > points: > * analyze a function prologue of a traced function to estimate a more > accurate stack pointer value, replacing naive ' + 0x10.' > * use

Re: [PATCH] osd fs: __r4w_get_page rely on PageUptodate for uptodate

2015-11-01 Thread Boaz Harrosh
On 10/29/2015 08:43 PM, Hugh Dickins wrote: > Patch "mm: migrate dirty page without clear_page_dirty_for_io etc", > presently staged in mmotm and linux-next, simplifies the migration of > a PageDirty pagecache page: one stat needs moving from zone to zone > and that's about all. > > It's

[PATCH v7 22/26] powerpc: Remove pmac_xpram_{read,write} functions

2015-11-01 Thread Finn Thain
The arch_nvram_ops methods provide a uniform API for drivers and ioctls. This API is used to replace older APIs like the nvram_{read,write}_byte() exports and the pmac_xpram_{read,write} functions. The latter API is removed in this patch. The addition of the get_partition() method to struct

[PATCH v7 21/26] powerpc: Adopt nvram module for PPC64

2015-11-01 Thread Finn Thain
Adopt nvram module to reduce code duplication. This means CONFIG_NVRAM becomes available to CONFIG_PPC64 builds (until now it was only PPC32). The IOC_NVRAM_GET_OFFSET ioctl as implemented on PPC64 validates the offset returned by pmac_get_partition(). Add this test to the nvram module. Note

[PATCH v7 24/26] m68k/mac: Use macros for RTC accesses not magic numbers

2015-11-01 Thread Finn Thain
Signed-off-by: Finn Thain Acked-by: Geert Uytterhoeven --- This is intended to improve code style and not affect code behaviour. I've tested this on a Quadra 650. I don't know the meanings of the 4 undocumented write protect register bits

[PATCH v7 26/26] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2015-11-01 Thread Finn Thain
A multi-platform kernel binary needs to decide at run-time how to dispatch the arch_nvram_ops calls. Add platform-independent arch_nvram_ops, for use when multiple platform-specific NVRAM ops implementations are needed. Enable CONFIG_HAVE_ARCH_NVRAM_OPS for Macs. Signed-off-by: Finn Thain

[PATCH v7 19/26] powerpc: Remove CONFIG_GENERIC_NVRAM and adopt CONFIG_HAVE_ARCH_NVRAM_OPS

2015-11-01 Thread Finn Thain
Switch PPC32 kernels from the generic_nvram module to the nvram module. Also fix a theoretical bug where CHRP omits the chrp_nvram_init() call when CONFIG_NVRAM_MODULE=m. Signed-off-by: Finn Thain --- The change in the name of the module is visible to userspace.

[PATCH v7 23/26] m68k/mac: Adopt naming and calling conventions for PRAM routines

2015-11-01 Thread Finn Thain
Adopt the existing *_read_byte and *_write_byte naming convention. Rename via_pram_readbyte and via_pram_writebyte to avoid confusion. Adjust calling conventions of mac_pram_* functions to match the arch_nvram_ops struct methods. Signed-off-by: Finn Thain Acked-by:

[PATCH v7 25/26] m68k/mac: Fix PRAM accessors

2015-11-01 Thread Finn Thain
Signed-off-by: Finn Thain Acked-by: Geert Uytterhoeven --- Tested on a PowerBook 520 and Quadra 650. Changes since v2: - Make use of the RTC_* macros from the previous patch and add a few more besides. --- arch/m68k/mac/misc.c | 39

Re: [PATCH v2 00/11] mtd: migrate 'of_node' handling to core, not in mtd_part_parser_data

2015-11-01 Thread Boris Brezillon
On Fri, 30 Oct 2015 20:33:19 -0700 Brian Norris wrote: > Hi, > > I noticed that, for MTD drivers that want to support DT partition parsing > (essentially all recent ones), it's a bit awkward to set the tell MTD which DT > node to use. I also noticed that this info

[GIT pull] irq fixes for 4.3

2015-11-01 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus The last two one-liners for 4.3 from the irqchip space: - Regression fix for armada SoC which addresses the fallout from the

Re: [PATCH v4 3/6] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-11-01 Thread Jungseok Lee
On Oct 30, 2015, at 2:25 PM, AKASHI Takahiro wrote: Hi Akashi, > Function graph tracer modifies a return address (LR) in a stack frame > to hook a function return. This will result in many useless entries > (return_to_handler) showing up in a stack tracer's output. > > This patch replaces such

Re: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-01 Thread Krzysztof Kozlowski
W dniu 30.10.2015 o 19:43, Pavel Fedin pisze: > Hello! > >> Please, carefully look at: >> Documentation/devicetree/bindings/net/gpmc-eth.txt >> Documentation/devicetree/bindings/bus/ti-gpmc.txt >> >> 1. Try to re-use existing bindings. Although I see existing bank-width >> and gpmc,device-width

Re: [PATCH] comedi: drivers: Fix - BIT macro used coding style issue

2015-11-01 Thread Andy Shevchenko
On Sun, Nov 1, 2015 at 11:59 AM, Ranjith wrote: > BIT macro is used for defining bit location instead of shifting > operator - coding style issue > #define APCI1032_CTRL_INT_OR (0 << 1) > +#define APCI1032_CTRL_INT_AND BIT(1) And now you have two

[PATCH v7 14/26] powerpc: Implement arch_nvram_ops.get_size() and remove old nvram_* exports

2015-11-01 Thread Finn Thain
Implement arch_nvram_ops for PPC32 and make use of it in the generic_nvram misc device module so that the nvram_* function exports can be removed. Signed-off-by: Finn Thain --- arch/powerpc/include/asm/nvram.h |3 --- arch/powerpc/kernel/setup_32.c | 10

[PATCH v7 13/26] powerpc: Add missing ppc_md.nvram_size for CHRP and PowerMac

2015-11-01 Thread Finn Thain
Add the nvram_size() function to those PowerPC platforms that don't already have one: CHRP and PowerMac. This means that the ppc_md.nvram_size() function can be used to implement arch_nvram_ops.get_size() Since we are addressing inconsistencies here, also rename chrp_nvram_read and

[PATCH v7 15/26] powerpc: Implement nvram sync ioctl

2015-11-01 Thread Finn Thain
Add the powerpc-specific sync() method to struct nvram_ops and implement the corresponding ioctl in the nvram module. This allows the nvram module to replace the generic_nvram module. Signed-off-by: Finn Thain --- On PPC32, the IOC_NVRAM_SYNC ioctl call always

[PATCH v7 12/26] powerpc: Cleanup nvram includes

2015-11-01 Thread Finn Thain
The nvram_read_byte() and nvram_write_byte() definitions in asm/nvram.h duplicate those in linux/nvram.h. Get rid of the former to prepare for adoption of struct arch_nvram_ops (which is defined in linux/nvram.h for general use). Signed-off-by: Finn Thain ---

[PATCH v7 09/26] char/nvram: Use generic fixed_size_llseek()

2015-11-01 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/char/nvram.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) Index: linux/drivers/char/nvram.c === --- linux.orig/drivers/char/nvram.c

[PATCH v7 10/26] m68k/atari: Implement arch_nvram_ops methods and enable CONFIG_HAVE_ARCH_NVRAM_OPS

2015-11-01 Thread Finn Thain
Atari RTC NVRAM has a checksum so implement the remaining arch_nvram_ops methods for the set_checksum and initialize ioctls. Enable CONFIG_HAVE_ARCH_NVRAM_OPS. Signed-off-by: Finn Thain Acked-by: Geert Uytterhoeven --- This re-enables the

[PATCH v7 11/26] char/nvram: Add "devname:nvram" module alias

2015-11-01 Thread Finn Thain
Signed-off-by: Finn Thain --- drivers/char/nvram.c |1 + 1 file changed, 1 insertion(+) Index: linux/drivers/char/nvram.c === --- linux.orig/drivers/char/nvram.c 2015-11-01 21:41:35.0

RE: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-11-01 Thread Kweh, Hock Leong
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Sunday, November 01, 2015 6:58 PM > > On Sun, Nov 01, 2015 at 10:52:52AM +, Kweh, Hock Leong wrote: > > Could you share me your dumb file? I did perform negative test, but I did > > not get these dump stack

linux-next: manual merge of the security tree with the ext4 tree

2015-11-01 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the security tree got a conflict in: fs/ext4/crypto_key.c between commit: 687c3c36e754 ("ext4 crypto: replace some BUG_ON()'s with error checks") from the ext4 tree and commit: 146aa8b1453b ("KEYS: Merge the type-specific data with the payload

[PATCH v3] rtc: rtc-s3c: Set year, month, day value for setting alarm

2015-11-01 Thread Krzysztof Kozlowski
This patch sets year, month, day value for set_alarm function. The current driver omits to set the values. This fixes setting wake alarm for dates different than current day. Without the patch the alarm scheduled for tomorrow would fire today on chosen time. Signed-off-by: Donggeun Kim

Re: [PATCH 0/8] MADV_FREE support

2015-11-01 Thread Daniel Micay
On 01/11/15 12:51 AM, David Rientjes wrote: > On Fri, 30 Oct 2015, Minchan Kim wrote: > >> MADV_FREE is on linux-next so long time. The reason was two, I think. >> >> 1. MADV_FREE code on reclaim path was really mess. >> >> 2. Andrew really want to see voice of userland people who want to use >>

English,Chinese Simultaneous Interpreting

2015-11-01 Thread Allen
Dear linux-kernel, Asian Language Solutions Company (ALS) is a language solution provider right here in China. We have a network of professional and experienced translators and interpreters. Our interpreters have years' experience in various industries such as Oil & Gas, Agriculture,

[PATCH v7 03/26] m68k/atari: Replace nvram_{read,write}_byte with arch_nvram_ops

2015-11-01 Thread Finn Thain
By implementing an arch_nvram_ops struct, any platform can re-use the drivers/char/nvram module without needing any arch-specific code in that module. Atari does so here. Atari has one user of nvram_check_checksum() whereas the other platforms (i.e. x86 and ARM platforms) have none at all.

[PATCH v7 01/26] scsi/atari_scsi: Dont select CONFIG_NVRAM

2015-11-01 Thread Finn Thain
On powerpc, setting CONFIG_NVRAM=n builds a kernel with no NVRAM support. Setting CONFIG_NVRAM=m enables the /dev/nvram misc device module without enabling NVRAM support in drivers. Setting CONFIG_NVRAM=y enables the misc device (built-in) and also enables NVRAM support in drivers. m68k shares

Re: [PATCH 2/2] i2c: add driver for Sigma Designs SMP8642 I2C master

2015-11-01 Thread Wolfram Sang
On Sat, Oct 31, 2015 at 05:35:57PM +, Mans Rullgard wrote: > This adds a driver for the Sigma Designs SMP8642 built-in I2C master > controller. The hardware is very similar to the I2C controller in the > Ralink RT3050 chip with the addition of interrupt generation and an > inverted busy/idle

Re: livepatch: old_name@old_addr scheme in livepatch sysfs directory

2015-11-01 Thread Jiri Kosina
On Sat, 31 Oct 2015, Chris J Arges wrote: > Makes sense to me. Is there a reason why the sysfs entries are visible > to non-root users? Well, kptr_restrict applies only to values printed using '%pK'. So if the sysfs handler is using other printk() format string to print the pointer, it'll be

Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-01 Thread Maxime Ripard
Hi, On Fri, Oct 30, 2015 at 03:33:05PM +0800, Chen-Yu Tsai wrote: > > + pll6: clk@01c20028 { > > + #clock-cells = <1>; > > + compatible = "allwinner,sun6i-a31-pll6-clk"; > > + reg = <0x01c20028 0x4>; > > +

linux-next: build failure after merge of the iommu tree

2015-11-01 Thread Stephen Rothwell
Hi Joerg, After merging the iommu tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/iommu/ipmmu-vmsa.c:24:27: fatal error: asm/dma-iommu.h: No such file or directory Caused by commit bad78b13e305 ("iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency") Only arm has

linux-next: manual merge of the spi tree with the net-next tree

2015-11-01 Thread Stephen Rothwell
Hi Mark, Today's linux-next merge of the spi tree got a conflict in: drivers/nfc/trf7970a.c between commit: 3c39c1a54a26 ("NFC: trf7970a: Add OF match table") from the net-next tree and commit: 3821a065f567 ("spi: Drop owner assignment from spi_drivers") from the spi tree. I fixed it

Re: [PATCH] checkkconfigsymbols.py: multiprocessing of files

2015-11-01 Thread Valentin Rothberg
Hi Greg, On Oct 15 '15 10:37, Valentin Rothberg wrote: Can you take the patch below? I use the patched version of the script since sending it and it has proved to be much faster and hence more comfortable to use since then. Kind regards, Valentin > Distribute the parsing of source and

Re: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-11-01 Thread Borislav Petkov
On Sun, Nov 01, 2015 at 10:52:52AM +, Kweh, Hock Leong wrote: > Could you share me your dumb file? I did perform negative test, but I did > not get these dump stack in dmesg. Thanks. I think almost any file works: cat /bin/ls > /dev/efi_capsule_loader > > > +#define UPLOAD_DONE -1 > > > >

Re: [PATCH v2] rtc: rtc-s3c: Set year, month, day value for setting alarm

2015-11-01 Thread Krzysztof Kozlowski
W dniu 01.11.2015 o 20:40, Krzysztof Kozlowski pisze: > From: Donggeun Kim > > This patch sets year, month, day value for set_alarm function. > The current driver omits to set the values. > > This fixes setting wake alarm for dates different than current day. > Without the

[PATCH v2] rtc: rtc-s3c: Set year, month, day value for setting alarm

2015-11-01 Thread Krzysztof Kozlowski
From: Donggeun Kim This patch sets year, month, day value for set_alarm function. The current driver omits to set the values. This fixes setting wake alarm for dates different than current day. Without the patch the alarm scheduled for tomorrow would fire today on chosen

[PATCH] manage/irq.c

2015-11-01 Thread pawandeep oza
Hello, there is this WARNING coming "Trying to free already-free IRQ" but that warning suggests that we are either calling free_irq twice or request_irq has not been made. bu the problem was, free_irq was being called with invalid/NULL device id. but the warning is misleading which does not

Re: [PATCH 2/2] i2c: add driver for Sigma Designs SMP8642 I2C master

2015-11-01 Thread Måns Rullgård
Wolfram Sang writes: > On Sat, Oct 31, 2015 at 05:35:57PM +, Mans Rullgard wrote: >> This adds a driver for the Sigma Designs SMP8642 built-in I2C master >> controller. The hardware is very similar to the I2C controller in the >> Ralink RT3050 chip with the addition of

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

2015-11-01 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got conflicts in: drivers/gpu/drm/amd/amdgpu/dce_v10_0.c drivers/gpu/drm/amd/amdgpu/dce_v11_0.c drivers/gpu/drm/amd/amdgpu/dce_v8_0.c between commit: f6c7aba47bcc ("drm/amdgpu: Keep the pflip interrupts always enabled v7") from Linus'

[GIT pull] x86 fixes for 4.3

2015-11-01 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus This set of updates contains: - Another bugfix for the pathologic vm86 machinery. Clear thread.vm86 on fork to prevent corrupting the

[PATCH] comedi: drivers: Fix - BIT macro used coding style issue

2015-11-01 Thread Ranjith
BIT macro is used for defining bit location instead of shifting operator - coding style issue Signed-off-by: Ranjith T --- drivers/staging/comedi/drivers/addi_apci_1032.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

linux-next: build failure after merge of the device-mapper tree

2015-11-01 Thread Stephen Rothwell
Hi all, After merging the device-mapper tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/md/dm-mpath.c: In function 'multipath_prepare_ioctl': drivers/md/dm-mpath.c:1570:41: error: 'cmd' undeclared (first use in this function) int err =

[PATCH v7 16/26] powerpc, fbdev: Use NV_CMODE and NV_VMODE only when CONFIG_PPC32 and CONFIG_PPC_PMAC and CONFIG_NVRAM

2015-11-01 Thread Finn Thain
This patch addresses inconsistencies in Mac framebuffer drivers and their use of Kconfig symbols relating to NVRAM, so PPC64 can use CONFIG_NVRAM. Macintosh framebuffer drivers use default settings for color mode and video mode that are found in NVRAM. On PCI Macs, MacOS stores display settings

[PATCH v7 02/26] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-11-01 Thread Finn Thain
Move the m68k-specific code elsewhere to make the driver generic. Signed-off-by: Finn Thain Tested-by: Christian T. Steigies Acked-by: Geert Uytterhoeven --- Changes since v3: - Move the vmode fix to a separate patch as

[PATCH v7 00/26] Re-use nvram module

2015-11-01 Thread Finn Thain
The generic NVRAM module, drivers/char/generic_nvram, implements a /dev/nvram misc device. It is used only by 32-bit PowerPC platforms and isn't generic enough to be more widely used. The RTC NVRAM module, drivers/char/nvram, also implements a /dev/nvram misc device. It is used by x86, ARM and

[PATCH v7 05/26] char/nvram: Adopt arch_nvram_ops

2015-11-01 Thread Finn Thain
Different platforms and architectures offer different NVRAM sizes and access methods. E.g. PPC32 has byte-at-a-time read/write functions whereas PPC64 has byte-range read/write functions. Adopt the nvram_ops struct so the nvram module can call such functions as are defined by the various

[PATCH v6 3/3] arm64: Introduce IRQ stack

2015-11-01 Thread Jungseok Lee
Currently, kernel context and interrupts are handled using a single kernel stack navigated by sp_el1. This forces a system to use 16KB stack, not 8KB one. This restriction can make low memory platforms suffer from memory pressure accompanied by performance degradation. This patch addresses the

[PATCH v6 2/3] percpu: add PERCPU_ATOM_SIZE for a generic percpu area setup

2015-11-01 Thread Jungseok Lee
There is no room to adjust 'atom_size' now when a generic percpu area is used. It would be redundant to write down an architecture-specific setup_per_cpu_areas() in order to only change the 'atom_size'. Thus, this patch adds a new definition, PERCPU_ATOM_SIZE, which is PAGE_SIZE by default. The

[PATCH v6 0/3] Introduce IRQ stack on arm64 with percpu changes

2015-11-01 Thread Jungseok Lee
This is version 6 of IRQ stack on arm64. A major change between v5 and v6 is how IRQ stack is allocated. The space is allocated via generic VM APIs, such as __get_free_pages() or kmalloc() up to v5. In contrast, PERCPU is responsible for the work in this version since it helps to 1) handle stack

[PATCH v6 1/3] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition

2015-11-01 Thread Jungseok Lee
As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not used any more. That is, no code refers to the definition. Signed-off-by: Jungseok Lee --- include/linux/percpu.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/linux/percpu.h

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

2015-11-01 Thread Stephen Rothwell
Hi Doug, Today's linux-next merge of the rdma tree got a conflict in: net/sunrpc/xprtrdma/svc_rdma_recvfrom.c between commit: c91aed989694 ("svcrdma: handle rdma read with a non-zero initial page offset") from Linus' tree and commit: 412a15c0fe53 ("svcrdma: Port to new memory

[PATCH] lustre: obdclass: fix sparse warning

2015-11-01 Thread Paul Davies C
Fix the following warning given by sparse: drivers/staging/lustre/lustre/obdclass/cl_lock.c:690:5: warning: symbol 'cl_lock_mutex_try' was not declared. Should it be static? Signed-off-by: Paul Davies C --- drivers/staging/lustre/lustre/obdclass/cl_lock.c | 2 +- 1 file

Re: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-11-01 Thread Borislav Petkov
On Thu, Oct 29, 2015 at 01:58:57AM +0800, Kweh, Hock Leong wrote: > From: "Kweh, Hock Leong" > > Introducing a kernel module to expose capsule loader interface > (misc char device file note) for user to upload capsule binaries. > > Example method to load the capsule

[tip:x86/cpu] x86/cpu: Add CLZERO detection

2015-11-01 Thread tip-bot for Wan Zongshun
Commit-ID: 2167ceabf34163727ca4e283c0f030e3960932e5 Gitweb: http://git.kernel.org/tip/2167ceabf34163727ca4e283c0f030e3960932e5 Author: Wan Zongshun AuthorDate: Fri, 30 Oct 2015 13:11:39 +0100 Committer: Ingo Molnar CommitDate: Sun, 1 Nov 2015

[tip:ras/core] x86/mce: Add a Scalable MCA vendor flags bit

2015-11-01 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: c7f54d21fb02e90042e6233b46716dcb244e70e6 Gitweb: http://git.kernel.org/tip/c7f54d21fb02e90042e6233b46716dcb244e70e6 Author: Aravind Gopalakrishnan AuthorDate: Fri, 30 Oct 2015 13:11:37 +0100 Committer: Ingo Molnar CommitDate:

[tip:ras/core] x86/mce: Add a default case to the switch in __mcheck_cpu_ancient_init()

2015-11-01 Thread tip-bot for Borislav Petkov
Commit-ID: dc34bdd2367fd31744ee3ba1de1b1cc0fa2ce193 Gitweb: http://git.kernel.org/tip/dc34bdd2367fd31744ee3ba1de1b1cc0fa2ce193 Author: Borislav Petkov AuthorDate: Fri, 30 Oct 2015 13:11:38 +0100 Committer: Ingo Molnar CommitDate: Sun, 1 Nov 2015 11:26:14

RE: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-11-01 Thread Kweh, Hock Leong
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Sunday, November 01, 2015 6:30 PM > > > > Example method to load the capsule binary: > > cat firmware.bin > /dev/efi_capsule_loader > > $ cat "some_dumb_file" > /dev/efi_capsule_loader Killed > > and in dmesg: >

[PATCH v7 08/26] char/nvram: Implement NVRAM read/write methods

2015-11-01 Thread Finn Thain
Refactor the RTC "CMOS" NVRAM functions so that they can be used as arch_nvram_ops methods. Checksumming logic is moved from the misc device operations to the nvram read/write operations. This makes the misc device implementation more generic. This also preserves the locking semantics such that

[PATCH v7 07/26] char/nvram: Allow the set_checksum and initialize ioctls to be omitted

2015-11-01 Thread Finn Thain
The drivers/char/nvram module has previously only supported RTC "CMOS" NVRAM, for which it provides appropriate checksum ioctls. Make these ioctls optional so the module can be re-used with other kinds of NVRAM. The ops struct methods that implement the ioctls now return error codes so that a

[PATCH v7 17/26] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-11-01 Thread Finn Thain
Make use of arch_nvram_ops in device drivers so that the nvram_* function exports can be removed. Since they are no longer global symbols, rename the PPC32 nvram_* functions appropriately. Signed-off-by: Finn Thain --- Changed since v4: - Split off the

[PATCH v7 18/26] nvram: Drop nvram_* symbol exports and prototypes

2015-11-01 Thread Finn Thain
Drivers now use the arch_nvram_ops calls so remove the function exports and prototypes. nvram_check_checksum() is unused so remove it. Signed-off-by: Finn Thain Acked-by: Geert Uytterhoeven --- arch/m68k/atari/nvram.c |6 +++---

linux-next: build failure after merge of the pm tree

2015-11-01 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) failed like this: arch/arm/mach-mediatek/mediatek.c: In function 'mediatek_timer_init': arch/arm/mach-mediatek/mediatek.c:43:2: error: implicit declaration of function 'clocksource_of_init'

linux-next: manual merge of the modules tree with the kbuild tree

2015-11-01 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the modules tree got a conflict in: scripts/Makefile.modpost between commit: 19a3cc83353e ("Kbuild, lto: Add Link Time Optimization support v3") from the kbuild tree and commit: 47490ec141b9 ("modpost: Add flag -E for making section mismatches

Re: [PATCH v2] ASoC: sun4i-codec: use consistent names for PA controls

2015-11-01 Thread Maxime Ripard
Hi! On Tue, Oct 27, 2015 at 09:00:45PM +, Adam Sampson wrote: > The power amplifier for the headphone output is called "the PA" and "the > headphone amplifier" in Allwinner's documentation for the A10 and A20. > sun4i-codec calls it "PA" in some places and "Pre-Amplifier" (which > isn't

FROM MR HASSAN SAIDU Hello Re: LETTER OF CONFIDENTIALITY (01/11/2015)

2015-11-01 Thread Hassan Saidu
FROM:MR HASSAN SAIDU BILL AND EXCHANGE MANAGER, AFRICAN DEVELOPMENT BANK (A D B) OUAGADOUGOU BURKINA-FASO. Dear Friend This message might come to you as a surprise. However, it all just my urgent needs for a foreign partner that made me to contact you for this transaction. I saw your brief

Re: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-11-01 Thread Borislav Petkov
On Sun, Nov 01, 2015 at 11:11:23AM +, Kweh, Hock Leong wrote: > Hmm If I combine these 2 flags to become one as > "NO_MORE_WRITE_ACTION" to better describing the situation, you Okay > with it? I don't understand, why combine? Why not simply make UPLOAD_DONE a positive value: #define

Re: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-11-01 Thread Krzysztof Kozlowski
W dniu 31.10.2015 o 02:15, Rob Herring pisze: > On Fri, Oct 30, 2015 at 2:23 AM, Krzysztof Kozlowski > wrote: >> On 30.10.2015 15:58, Pavel Fedin wrote: >>> Hello! >>> > Add documentation for new subnode properties, allowing bank configuration. > Based on u-boot

Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-01 Thread Maxime Ripard
Hi, On Tue, Oct 27, 2015 at 05:50:25PM +0100, Jens Kuske wrote: > + bus_gates: clk@01c20060 { > + #clock-cells = <1>; > + compatible = "allwinner,sun8i-h3-bus-gates-clk"; > + reg = <0x01c20060 0x14>; > +

[PATCH v7 04/26] char/nvram: Re-order functions to remove forward declarations and #ifdefs

2015-11-01 Thread Finn Thain
Also give functions more sensible names: nvram_misc_* for misc device ops, nvram_proc_* for proc file ops and nvram_module_* for init and exit functions. This makes them distict from nvram_ops members. Signed-off-by: Finn Thain --- drivers/char/nvram.c | 194

[PATCH v7 20/26] char/generic_nvram: Remove as unused

2015-11-01 Thread Finn Thain
And thus eliminate some twisted CONFIG_GENERIC_NVRAM logic. Signed-off-by: Finn Thain --- drivers/char/Makefile|6 - drivers/char/generic_nvram.c | 175 --- 2 files changed, 1 insertion(+), 180 deletions(-)

[PATCH v7 06/26] x86/thinkpad_acpi: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-11-01 Thread Finn Thain
Make use of arch_nvram_ops in the thinkpad_acpi driver so that the nvram_* function exports can be removed. This patch series was tested on a ThinkPad T43. Signed-off-by: Finn Thain Acked-by: Henrique de Moraes Holschuh Reviewed-by: Darren Hart

linux-next: build failure after merge of the mailbox tree

2015-11-01 Thread Stephen Rothwell
Hi Jassi, After merging the mailbox tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/mailbox/mailbox-test.c: In function 'mbox_test_receive_message': drivers/mailbox/mailbox-test.c:226:11: error: implicit declaration of function '__io_virt'

Re: [linux-sunxi] Re: [PATCH v4 3/6] pinctrl: sunxi: Add H3 PIO controller support

2015-11-01 Thread Chen-Yu Tsai
On Sun, Nov 1, 2015 at 9:17 PM, Jens Kuske wrote: > On 30/10/15 09:08, Chen-Yu Tsai wrote: >> Hi, >> >> On Wed, Oct 28, 2015 at 12:50 AM, Jens Kuske wrote: >>> The H3 uses the same pin controller as previous SoC's from Allwinner. >>> Add support for the

linux-next: build failure after merge of the akpm-current tree

2015-11-01 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/block/nbd.c: In function 'nbd_thread_send': drivers/block/nbd.c:592:3: error: implicit declaration of function 'dequeue_signal_lock'

Re: linux-next: build failure after merge of the akpm-current tree

2015-11-01 Thread kbuild test robot
Hi Stephen, [auto build test ERROR on v4.3-rc7 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Stephen-Rothwell/linux-next-build-failure-after-merge-of-the-akpm-current-tree/20151102-001657 config:

linux-next: build failure after merge of the akpm tree

2015-11-01 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig) failed like this: fs/ext4/mballoc.c: In function 'ext4_mb_check_group_pa': /home/sfr/next/next/fs/ext4/mballoc.c:3335:17: error: implicit declaration of function 'abs64'

Re: [PATCH] VSOCK: define VSOCK_SS_LISTEN once only

2015-11-01 Thread David Miller
From: Stefan Hajnoczi Date: Thu, 29 Oct 2015 11:57:42 + > The SS_LISTEN socket state is defined by both af_vsock.c and > vmci_transport.c. This is risky since the value could be changed in one > file and the other would be out of sync. > > Rename from SS_LISTEN to

Re: [PATCH 2/3] gpio: ath79: Move to the generic GPIO driver

2015-11-01 Thread Alban
On Sat, 31 Oct 2015 22:02:53 +0100 Linus Walleij wrote: > On Fri, Oct 30, 2015 at 11:36 AM, Alban Bedel wrote: > > > Turn the ath79 driver into a true driver supporting multiple > > instances while dropping most of the code in favor of the generic > >

Re: [PATCH] checkkconfigsymbols.py: multiprocessing of files

2015-11-01 Thread Greg KH
On Sun, Nov 01, 2015 at 01:53:40PM +0100, Valentin Rothberg wrote: > Hi Greg, > > On Oct 15 '15 10:37, Valentin Rothberg wrote: > > Can you take the patch below? I use the patched version of the script > since sending it and it has proved to be much faster and hence more > comfortable to use

Re: [PATCH] checkkconfigsymbols.py: multiprocessing of files

2015-11-01 Thread Valentin Rothberg
On Nov 01 '15 10:13, Greg KH wrote: > On Sun, Nov 01, 2015 at 01:53:40PM +0100, Valentin Rothberg wrote: > > Hi Greg, > > > > On Oct 15 '15 10:37, Valentin Rothberg wrote: > > > > Can you take the patch below? I use the patched version of the script > > since sending it and it has proved to be

Re: [PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver

2015-11-01 Thread Sinan Kaya
Also, if you waste CPU cycles for hundreds of milliseconds, it's unlikely that the function is so performance critical that it requires writel_relaxed(). Just use writel() here. ok, replaced writel_relaxed+wmb with writel. The issue is not writel_relaxed vs. writel. After I issue reset,

Re: [PATCH 1/2] Input: Add binding document for a generic ADC keypad

2015-11-01 Thread Fabio Estevam
Hi Andrew, On Mon, Mar 30, 2015 at 1:56 AM, Andrew Bresticker wrote: >> I'd rather we have it defined explicitly in the binding, i.e. make it a >> required property? > > Sure, will do. Do you plan to send a v2 of the generic ADC keypad series? Thanks -- To unsubscribe

linux-next: build failure after merge of the pci tree

2015-11-01 Thread Stephen Rothwell
Hi Bjorn, After merging the pci tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from include/linux/kvm_host.h:20:0, from arch/powerpc/kernel/asm-offsets.c:54: include/linux/msi.h:174:21: fatal error: asm/msi.h: No such file or directory

Apsveicam Uzvarētājs - Ref Nē: Sp/229/0-01/07/5-02/ES.

2015-11-01 Thread Jennifer Sullivan
Apsveicam Uzvarētājs - Ref Nē: Sp/229/0-01/07/5-02/ES. Jūsu e-pasts ID ir tikko ieguva € 150,000.00 Eiro(Viens simts piecdesmit tūkstoši. Eiro) uz Uplift Starptautiskā Labdarības programma. Ref Nr Sp/229/0-01/07/5-02/ES. Lucky Nr 9/11/13/24/40. Lai iegūtu vairāk informācijas un kontaktu

Re: [PATCH 0/4] nbd: Remove signal usage

2015-11-01 Thread Oleg Nesterov
Hi Markus, Sorry again for delay. I was offlist. again. On 10/29, Markus Pargmann wrote: > > Hi, > > this is a try to remove all the signals from NBD. The first patch replaces the > signals. The other patches are some cleanups I made on the way. > > This should solve the kthread_run() problems

Re: [PATCH 0/2] iio: Heart Rate Monitors

2015-11-01 Thread Jonathan Cameron
On 31/10/15 16:31, Andrew F. Davis wrote: > Hello all, > > This series adds the TI AFE4404 "Ultra-small, Integrated AFE for > Wearable, Optical Heart Rate Monitoring and Bio-Sensing". > > This work is based on previous work by Dan Murphy [0] who is working > on other tasks at the moment, so I

[PATCH] snd-maestro3: Enable docking support for Dell Latitude C810

2015-11-01 Thread Ondrej Zary
Enable I2S docking for Dell Latitude C810. This allows the audio output on C/Port II to work (and probably also the audio inputs on C/Dock II). The volume can't be adjusted - none of the mixer controls currently supported affects the I2S output (they belong to the STAC9721/23 AC'97 codec

linux-next: manual merge of the staging tree with the l2-mtd tree

2015-11-01 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/mt29f_spinand/mt29f_spinand.c between commit: 45aaeff94719 ("mtd: nand: pass page number to ecc->write_xxx() methods") from the l2-mtd tree and commits: 74f63bd664b6 ("Staging: mt29f_spinand: Use

Re: linux-next: build failure after merge of the iommu tree

2015-11-01 Thread Joerg Roedel
Hi Stephen, On Sun, Nov 01, 2015 at 10:42:52PM +1100, Stephen Rothwell wrote: > After merging the iommu tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/iommu/ipmmu-vmsa.c:24:27: fatal error: asm/dma-iommu.h: No such file > or directory > > Caused by commit

Re: [PATCH v3] rtc: rtc-s3c: Set year, month, day value for setting alarm

2015-11-01 Thread Alexandre Belloni
On 01/11/2015 at 20:49:04 +0900, Krzysztof Kozlowski wrote : > This patch sets year, month, day value for set_alarm function. > The current driver omits to set the values. > > This fixes setting wake alarm for dates different than current day. > Without the patch the alarm scheduled for tomorrow

Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-11-01 Thread Maxime Ripard
On Tue, Oct 27, 2015 at 05:50:25PM +0100, Jens Kuske wrote: > + timer { > + compatible = "arm,armv7-timer"; > + interrupts = IRQ_TYPE_LEVEL_LOW)>, > + IRQ_TYPE_LEVEL_LOW)>, > + IRQ_TYPE_LEVEL_LOW)>, > +

[PATCH] drivers:staging:gdm72xx Fix all spacing preferred messages

2015-11-01 Thread Bogicevic Sasa
This fixes all spacing preferred around that... mesages from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm72xx/gdm_qos.c | 54 +++ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git

linux-next: manual merge of the staging tree with the rdma tree

2015-11-01 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h between commit: e622f2f4ad21 ("IB: split struct ib_send_wr") from the rdma tree and commit: d0bed03524f3 ("staging/lustre: fix block comment formatting") from

linux-next: manual merge of the akpm-current tree with the file-locks tree

2015-11-01 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: fs/9p/vfs_file.c between commit: 4f6563677ae8 ("Move locks API users to locks_lock_inode_wait()") from the file-locks tree and commit: 4c3932157148 ("9p: do not overwrite return code when locking fails")

Re: [PATCH v4.3-rc7] be2iscsi : Fix bogus WARN_ON length check

2015-11-01 Thread Tim Gardner
On 10/30/2015 02:59 PM, Johannes Thumshirn wrote: > Hi Tim, > tim.gard...@canonical.com writes: > >> From: Tim Gardner >> >> drivers/scsi/be2iscsi/be_main.c: In function 'be_sgl_create_contiguous': >> drivers/scsi/be2iscsi/be_main.c:3187:18: warning: logical not is

linux-next: manual merge of the akpm-current tree with the block tree

2015-11-01 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: block/blk-mq.c between commit: 3ef28e83ab15 ("block: generic request_queue reference counting") from the block tree and commit: 7cc8e61bde7a ("mm, page_alloc: distinguish between being unable to sleep,

linux-next: Tree for Nov 1

2015-11-01 Thread Stephen Rothwell
Hi all, I start again a day early, and this is how you all repay me? ;-) Changes since 20151022: New trees: usb-chipidea-fixes, usb-chipidea-next Removed tree: kdbus (temporarily at the maintainer's request) The mvebu tree gained a conflict against the arm-soc tree. The arm64 tree gained a

  1   2   3   4   5   6   7   8   >