Re: [PATCH v6] USB: serial: add Moxa UPORT 11x0 driver

2015-12-29 Thread Johan Hovold
On Mon, Dec 28, 2015 at 09:21:25PM +0100, Mathieu OTHACEHE wrote: > Add a driver which supports : > > - UPort 1110 : 1 port RS-232 USB to Serial Hub. > - UPort 1130 : 1 port RS-422/485 USB to Serial Hub. > - UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation. > - UPort 1150 : 1

Re: [PATCH v2 1/4] x86/signal/64: Add a comment about sigcontext->fs and gs

2015-12-29 Thread Stas Sergeev
08.12.2015 02:23, Andy Lutomirski пишет: > On Oct 31, 2015 8:25 AM, "Stas Sergeev" wrote: >> >> 26.10.2015 04:25, Andy Lutomirski пишет: >> >>> These fields have a strange history. This tries to document it. >>> >>> This borrows from 9a036b93a344 ("x86/signal/64: Remove 'fs' and 'gs' >>> from

Re: [PATCH] [media] uvcvideo: Fix build if !MEDIA_CONTROLLER

2015-12-29 Thread Javier Martinez Canillas
Hello Thierry, On 12/29/2015 07:30 AM, Thierry Reding wrote: > From: Thierry Reding > > Accesses to the UVC device's mdev field need to be protected by a > preprocessor conditional to avoid build errors, since the field is only > included if the MEDIA_CONTROLLER option is selected. > > Fixes:

Re: [PATCH 0/2] Fixes for dell-wmi

2015-12-29 Thread Michał Kępień
> > > This patch series adds check if Dell WMI descriptor structure is > > > valid and fixes processing WMI events on devices with WMI > > > interface version 0. > > > > > > After testing, second patch is good candidate for backporting into > > > stable kernels, but problem is that it cannot be

[PATCH] mm/vmstat: fix overflow in mod_zone_page_state()

2015-12-29 Thread Heiko Carstens
mod_zone_page_state() takes a "delta" integer argument. delta contains the number of pages that should be added or subtracted from a struct zone's vm_stat field. If a zone is larger than 8TB this will cause overflows. E.g. for a zone with a size slightly larger than 8TB the line

[SUSPECTED SPAM] hi Tux

2015-12-29 Thread wsonguci
hey Tux http://pinewoodaccounting.ca/freedom.php?silver=k1e13tzhma16pt Yours Truly wsonguci -- 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

[tip:timers/core] clocksource/drivers/acpi_pm: Convert to pr_* macros

2015-12-29 Thread tip-bot for Andy Shevchenko
Commit-ID: 01414888eaf725a677171605cb051b1c6311e6ab Gitweb: http://git.kernel.org/tip/01414888eaf725a677171605cb051b1c6311e6ab Author: Andy Shevchenko AuthorDate: Mon, 28 Dec 2015 15:41:25 +0200 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 12:52:57 +0100

Re: [PATCH 2/2] 32-bit ABI: introduce ARCH_32BIT_OFF_T config option

2015-12-29 Thread Thomas Gleixner
On Tue, 29 Dec 2015, Yury Norov wrote: > All new 32-bit architectures should have 64-bit off_t type, but existing > architectures has 32-bit ones. > > To handle it, new config option is added to arch/Kconfig that defaults > ARCH_32BIT_OFF_T to be disabled for non-64 bit architectures. All

Re: [PATCH 2/2] 32-bit ABI: introduce ARCH_32BIT_OFF_T config option

2015-12-29 Thread Yury Norov
On Tue, Dec 29, 2015 at 12:02:33PM +0100, Arnd Bergmann wrote: > On Tuesday 29 December 2015 12:26:35 Yury Norov wrote: > > All new 32-bit architectures should have 64-bit off_t type, but existing > > architectures has 32-bit ones. > > > > To handle it, new config option is added to arch/Kconfig

[tip:x86/mm] x86/mm: Drop WARN from multi-BAR check

2015-12-29 Thread tip-bot for Laura Abbott
Commit-ID: 9abb0ecdee69a2577560cc283368e490da974934 Gitweb: http://git.kernel.org/tip/9abb0ecdee69a2577560cc283368e490da974934 Author: Laura Abbott AuthorDate: Mon, 21 Dec 2015 12:01:14 -0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 12:34:38 +0100 x86/mm: Drop WARN from

[tip:x86/mm] x86/LDT: Print the real LDT base address

2015-12-29 Thread tip-bot for Jan Beulich
Commit-ID: 0d430e3fb3f7cdc13c0d22078b820f682821b45a Gitweb: http://git.kernel.org/tip/0d430e3fb3f7cdc13c0d22078b820f682821b45a Author: Jan Beulich AuthorDate: Tue, 22 Dec 2015 08:42:44 -0700 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 12:34:38 +0100 x86/LDT: Print the real

[PATCH] [media] msi2500: Delete an unnecessary check in msi2500_set_usb_adc()

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 12:32:41 +0100 This issue was detected by using the Coccinelle software. Return the value from a call of the msi2500_ctrl_msg() function without using an extra check for the variable "ret" at the end. Signed-off-by: Markus Elfring ---

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Paul Kocialkowski
Hi Milo, Le mardi 29 décembre 2015 à 09:45 +0900, Milo Kim a écrit : > Hi Paul, > > On 29/12/15 07:49, Paul Kocialkowski wrote: > > Hi Milo, thanks for the review, > > > > Le lundi 28 décembre 2015 à 09:56 +0900, Milo Kim a écrit : > >> Hi Paul, > >> > >> On 23/12/15 20:56, Mark Brown wrote: >

Re: [f2fs-dev] [PATCH 1/2] f2fs: use atomic variable for total_extent_tree

2015-12-29 Thread He YunLei
On 2015/12/22 11:38, Jaegeuk Kim wrote: It would be better to use atomic variable for total_extent_tree. Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c| 5 +++-- fs/f2fs/extent_cache.c | 8 fs/f2fs/f2fs.h | 2 +- fs/f2fs/node.c | 3 ++- fs/f2fs/shrinker.c

[PATCH v3 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Andy Shevchenko
Just a style fix, no functional changes. To be folded to Andrew's patch [1]. [1] http://comments.gmane.org/gmane.linux.kernel.commits.mm/97592 Or in linux next: e39ece7 include-linux-propertyh-fix-build-issues-with-gcc-444-fix 40bb8a1 include/linux/property.h: fix build issues with gcc-4.4.4

Re: [PATCH v6] serial: rewrite pxa2xx-uart to use 8250_core

2015-12-29 Thread Heikki Krogerus
On Thu, Dec 24, 2015 at 06:15:14PM +0300, Sergei Ianovich wrote: > pxa2xx-uart was a separate uart platform driver. It was declaring > the same device names and numbers as 8250 driver. As a result, > it was impossible to use 8250 driver on PXA SoCs. > > Upon closer examination pxa2xx-uart turned

[PATCH v3 3/3] device property: avoid allocations of 0 length

2015-12-29 Thread Andy Shevchenko
Arrays can not have zero elements by definition of the unified device properties. If such property comes from outside we should not allow it to pass. Otherwise memory allocation on 0 length will return non-NULL value, which we currently don't check. Prevent memory allocations of 0 length.

[PATCH v3 0/3] device property: post merge fixes

2015-12-29 Thread Andy Shevchenko
Three fixes to device property API. Patch 1 is a simple style fix to be folded into previous Andrew's patch to allow old gcc to build (see commit message for the details). There is a crash in linux-next BUG: unable to handle kernel NULL pointer dereference at 0008 IP: []

[PATCH v3 2/3] device property: the secondary fwnode needs to depend on the primary

2015-12-29 Thread Andy Shevchenko
From: Heikki Krogerus This fixes NULL pointer dereference when the primary fwnode handle does not exist, for example with PCI devices that do not have ACPI companion. Signed-off-by: Heikki Krogerus Signed-off-by: Andy Shevchenko --- drivers/base/property.c | 8 1 file changed, 4

[tip:irq/core] irqchip/ts4800: Add TS-4800 interrupt controller

2015-12-29 Thread tip-bot for Damien Riegel
Commit-ID: d01f8633d52e4dac5ee598b87d49fd23346ccfd6 Gitweb: http://git.kernel.org/tip/d01f8633d52e4dac5ee598b87d49fd23346ccfd6 Author: Damien Riegel AuthorDate: Mon, 21 Dec 2015 15:11:23 -0500 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:58:53 +0100 irqchip/ts4800: Add

[tip:irq/core] irqchip/ts4800: Add documentation for TS-4800 interrupt controller

2015-12-29 Thread tip-bot for Damien Riegel
Commit-ID: 0f6d785c847eeff55ae19546f5885156394be569 Gitweb: http://git.kernel.org/tip/0f6d785c847eeff55ae19546f5885156394be569 Author: Damien Riegel AuthorDate: Mon, 21 Dec 2015 15:11:22 -0500 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:58:53 +0100 irqchip/ts4800: Add

[tip:irq/core] irq/platform-MSI: Increase the maximum MSIs the MSI framework can support

2015-12-29 Thread tip-bot for MaJun
Commit-ID: aff5e06b0dda7704ff2fa45162cfc4dde316a6f1 Gitweb: http://git.kernel.org/tip/aff5e06b0dda7704ff2fa45162cfc4dde316a6f1 Author: MaJun AuthorDate: Tue, 22 Dec 2015 10:47:22 +0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:58:53 +0100 irq/platform-MSI: Increase

[tip:irq/core] irqchip/omap-intc: Remove duplicate setup for IRQ chip type handler

2015-12-29 Thread tip-bot for Milo Kim
Commit-ID: fee48dfcd76b21b9a7117c3014e1345697ff08ec Gitweb: http://git.kernel.org/tip/fee48dfcd76b21b9a7117c3014e1345697ff08ec Author: Milo Kim AuthorDate: Mon, 21 Dec 2015 17:53:14 +0900 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:58:54 +0100 irqchip/omap-intc: Remove

[tip:irq/core] irqchip/gicv2m: Miscellaneous fixes for v2m resources and SPI ranges

2015-12-29 Thread tip-bot for Suravee Suthikulpanit
Commit-ID: 5a1ff480f4ec40ace313c16b0543c7c6af09e227 Gitweb: http://git.kernel.org/tip/5a1ff480f4ec40ace313c16b0543c7c6af09e227 Author: Suravee Suthikulpanit AuthorDate: Tue, 22 Dec 2015 16:24:23 -0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:58:53 +0100

Re: [PATCH 2/2] 32-bit ABI: introduce ARCH_32BIT_OFF_T config option

2015-12-29 Thread Arnd Bergmann
On Tuesday 29 December 2015 12:26:35 Yury Norov wrote: > All new 32-bit architectures should have 64-bit off_t type, but existing > architectures has 32-bit ones. > > To handle it, new config option is added to arch/Kconfig that defaults > ARCH_32BIT_OFF_T to be disabled for non-64 bit

Re: [PATCH 2/2] kexec: Provide arch_kexec_protect(unprotect)_crashkres()

2015-12-29 Thread Xunlei Pang
On 12/28/2015 at 08:14 PM, Minfei Huang wrote: > On 12/28/15 at 02:32pm, Xunlei Pang wrote: >> On 12/24/2015 at 02:44 PM, Xunlei Pang wrote: >>> +static void kexec_mark_crashkres(bool protect) >>> +{ >>> + unsigned long control; >>> + >>> +

Re: [PATCH] af_unix: Fix splice-bind deadlock

2015-12-29 Thread Hannes Frederic Sowa
Hello Rainer, On 27.12.2015 21:13, Rainer Weikusat wrote: -static int unix_mknod(const char *sun_path, umode_t mode, struct path *res) +static int unix_mknod(struct dentry *dentry, struct path *path, umode_t mode, + struct path *res) { - struct dentry *dentry; -

Re: [PATCH v2 2/3] device property: the secondary fwnode needs to depend on the primary

2015-12-29 Thread Andy Shevchenko
On Tue, 2015-12-29 at 10:40 +0200, Heikki Krogerus wrote: > Hi Andy, > > Found a bug from my code.. > > > diff --git a/drivers/base/property.c b/drivers/base/property.c > > index 0b22c8a..6c04d18 100644 > > --- a/drivers/base/property.c > > +++ b/drivers/base/property.c > > @@ -218,7 +218,7 @@

[tip:irq/core] irqchip/bcm2836: Add SMP support for the 2836

2015-12-29 Thread tip-bot for Andrea Merello
Commit-ID: 41f4988cc287e5f836d3f6620c9f900bc9b560e9 Gitweb: http://git.kernel.org/tip/41f4988cc287e5f836d3f6620c9f900bc9b560e9 Author: Andrea Merello AuthorDate: Sat, 26 Dec 2015 13:47:22 -0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:40:45 +0100 irqchip/bcm2836: Add

[tip:irq/core] irqchip/bcm2836: Tolerate IRQs while no flag is set in ISR

2015-12-29 Thread tip-bot for Andrea Merello
Commit-ID: a51744ddcc62925ec4d3d3d3a8a13bdd2033af59 Gitweb: http://git.kernel.org/tip/a51744ddcc62925ec4d3d3d3a8a13bdd2033af59 Author: Andrea Merello AuthorDate: Sat, 26 Dec 2015 13:47:23 -0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:40:45 +0100 irqchip/bcm2836:

[tip:irq/core] irqchip/bcm2836: Make code more readable

2015-12-29 Thread tip-bot for Andrea Merello
Commit-ID: 64103f061573e3d7670ba295b07919fb8fc7594c Gitweb: http://git.kernel.org/tip/64103f061573e3d7670ba295b07919fb8fc7594c Author: Andrea Merello AuthorDate: Sat, 26 Dec 2015 13:47:24 -0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:40:46 +0100 irqchip/bcm2836:

[tip:irq/core] irqchip/bcm2836: Fix initialization of the LOCAL_IRQ_CNT timers

2015-12-29 Thread tip-bot for Eric Anholt
Commit-ID: 401667bb8a2e0825090c5e6c15b899c1c36a4773 Gitweb: http://git.kernel.org/tip/401667bb8a2e0825090c5e6c15b899c1c36a4773 Author: Eric Anholt AuthorDate: Sat, 26 Dec 2015 13:47:21 -0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:40:45 +0100 irqchip/bcm2836: Fix

[tip:x86/cleanups] arch/x86/kernel/ptrace.c: Remove unused arg_offs_table

2015-12-29 Thread tip-bot for cheng...@emindsoft.com.cn
Commit-ID: 0105c8d8334fc941e0297ca6708fa57854114c0e Gitweb: http://git.kernel.org/tip/0105c8d8334fc941e0297ca6708fa57854114c0e Author: cheng...@emindsoft.com.cn AuthorDate: Sat, 26 Dec 2015 21:49:58 +0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:35:34 +0100

[tip:timers/urgent] posix-clock: Fix return code on the poll method's error path

2015-12-29 Thread tip-bot for Richard Cochran
Commit-ID: 1b9f23727abb92c5e58f139e7d180befcaa06fe0 Gitweb: http://git.kernel.org/tip/1b9f23727abb92c5e58f139e7d180befcaa06fe0 Author: Richard Cochran AuthorDate: Tue, 22 Dec 2015 22:19:58 +0100 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:33:06 +0100 posix-clock: Fix

[PATCH] printk: nmi: Use correct format specifier for size_t

2015-12-29 Thread Thierry Reding
From: Thierry Reding The correct format specifier for arguments of type size_t is %zu. Using anything else is bound to trigger warnings on either 32-bit or 64-bit builds. Fixes: 0dcfca2060ee ("printk-nmi-generic-solution-for-safe-printk-in-nmi-v4") Cc: Andrew Morton Cc: Petr Mladek

[PATCH] [media] uvcvideo: Fix build if !MEDIA_CONTROLLER

2015-12-29 Thread Thierry Reding
From: Thierry Reding Accesses to the UVC device's mdev field need to be protected by a preprocessor conditional to avoid build errors, since the field is only included if the MEDIA_CONTROLLER option is selected. Fixes: 1590ad7b5271 ("[media] media-device: split media initialization and

Re: On Lindent shortcomings and massive style fixing

2015-12-29 Thread Julia Lawall
On Tue, 29 Dec 2015, Andrey Utkin wrote: > On Tue, Dec 29, 2015 at 9:32 AM, Mauro Carvalho Chehab > wrote: > > IMHO, there are two problems by letting indent breaking long > > lines: > > > > 1) indent would break strings on printks. This is something that we don't > > want to break strings on

[PATCH] [media] hdpvr: Refactoring for hdpvr_read()

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 11:02:43 +0100 Let us return directly if the element "status" of the variable "buf" indicates "BUFSTAT_READY". A check repetition can be excluded for the variable "ret" at the end then. Signed-off-by: Markus Elfring ---

[PATCH] lightnvm: fix rrpc_lun_gc

2015-12-29 Thread Wenwei Tao
This patch fix two issues in rrpc_lun_gc 1. prio_list is protected by rrpc_lun's lock not nvm_lun's, so acquire rlun's lock instead of lun's before operate on the list. 2. we delete block from prio_list before allocating gcb, but gcb allocation may fail, we end without putting it back to the

[PATCH] perf/kvm: Guest Symbol Resolution for powerpc

2015-12-29 Thread Ravi Bangoria
'perf kvm {record|report}' is used to record and report the profiled performance of any workload on a guest. From the host, we can collect guest kernel statistics which is useful in finding out any contentions in guest kernel symbols for a certain workload. This feature is not available on powerpc

[PATCH] drivers: power: fix typo in documentation

2015-12-29 Thread Manuel Pégourié-Gonnard
The documentation for detach() said attach. Signed-off-by: Manuel Pégourié-Gonnard Cc: triv...@kernel.org --- drivers/base/power/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/common.c b/drivers/base/power/common.c index

Re: [PATCH 08/13] IB/srpt: chain RDMA READ/WRITE requests

2015-12-29 Thread Bart Van Assche
On 12/07/2015 09:51 PM, Christoph Hellwig wrote: > Remove struct rdma_iu and instead allocate the struct ib_rdma_wr array > early and fill out directly. This allows us to chain the WRs, and thus > archive both less lock contention on the HCA workqueue as well as much > simpler error handling.

Re: [PATCH 03/13] irq_poll: fold irq_poll_sched_prep into irq_poll_sched

2015-12-29 Thread Bart Van Assche
On 12/07/2015 09:51 PM, Christoph Hellwig wrote: diff --git a/lib/irq_poll.c b/lib/irq_poll.c index 88af879..13cb149 100644 --- a/lib/irq_poll.c +++ b/lib/irq_poll.c @@ -21,13 +21,17 @@ static DEFINE_PER_CPU(struct list_head, blk_cpu_iopoll); * * Description: * Add this irq_poll

Re: completion queue abstraction V2

2015-12-29 Thread Bart Van Assche
On 12/07/2015 09:51 PM, Christoph Hellwig wrote: This series adds a new RDMA core abstraction that insulated the ULPs from the nitty gritty details of CQ polling. See the individual patches for more details. Hello Christoph, After having tested the SRP initiator and target drivers with this

[PATCH] f2fs: introduce F2FS_MAX_BLOCKS

2015-12-29 Thread Chao Yu
Introduce a macro named F2FS_MAX_BLOCKS to indicate maximum block index in f2fs, it could be used to avoid unneeded calculation in runtime. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 2 +- fs/f2fs/f2fs.h | 1 - fs/f2fs/super.c | 19 ++-

Re: [PATCH RFC] mm: Rework virtual memory accounting

2015-12-29 Thread Cyrill Gorcunov
On Mon, Dec 28, 2015 at 03:10:02PM -0800, Andrew Morton wrote: > On Tue, 29 Dec 2015 00:10:15 +0300 Cyrill Gorcunov wrote: ... > > This clashes with > mm-mmapc-remove-redundant-local-variables-for-may_expand_vm.patch, > below. I resolved it thusly: > > bool may_expand_vm(struct mm_struct *mm,

Re: [RFC v2 3/3] irq: Privatize irq_common_data::state_use_accessors

2015-12-29 Thread Thomas Gleixner
On Tue, 29 Dec 2015, Boqun Feng wrote: > irq_common_data::state_use_accessors is not designed for public use. > Therefore make it private so that people who write code accessing it > directly will get blamed by sparse. Also #undef the macro > __irqd_to_state after used in header files, so that

Re: timerfd_settime/timerfd_gettime issue ?

2015-12-29 Thread Thomas Gleixner
Helge, On Sat, 26 Dec 2015, Helge Deller wrote: > I see a strange behavior on the parisc platform, for which I'm not sure if > it's intended or if there is a bug somewhere. > The program calls timerfd_settime() and sets a timer (e.g. sec=0, > nsec=1). > Directly after setting the timer

Re: [PATCH RFC] mm: Rework virtual memory accounting

2015-12-29 Thread Cyrill Gorcunov
On Mon, Dec 28, 2015 at 02:22:23PM -0800, Linus Torvalds wrote: > On Mon, Dec 28, 2015 at 1:10 PM, Cyrill Gorcunov wrote: > > Really sorry for delays. Konstantin, I slightly updated the > > changelog (to point where problem came from). Linus are you > > fine with accounting not only anonymous

RE: [PATCH 1/2] mmc: enable mmc host device to suspend/resume asynchronously

2015-12-29 Thread Venu Byravarasu
Looks good to me. Acked-by: Venu Byravarasu BR, Venu -Original Message- From: Fu, Zhonghui [mailto:zhonghui...@linux.intel.com] Sent: Monday, December 28, 2015 9:09 PM To: Ulf Hansson Cc: Adrian Hunter; chaotian.j...@mediatek.com; l...@metafoo.de; Venu Byravarasu;

Re: [PATCH] lightnvm: check bi_error in gc

2015-12-29 Thread Matias Bjørling
On 12/29/2015 06:50 AM, Wenwei Tao wrote: We should check last io compeltion status before start another one. Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c index

Re: [PATCH] lightnvm: put block back to gc list on its reclaim fail

2015-12-29 Thread Matias Bjørling
On 12/29/2015 09:27 AM, Wenwei Tao wrote: We delete a block from the gc list before reclaim it, so put it back to the list on its reclaim fail, otherwize this block will not get reclaimed and be programable in the future. Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 18

Re: [PATCH v2 00/12] mtd: nand_bbt: introduce independent nand BBT

2015-12-29 Thread Boris Brezillon
Hi, On Mon, 28 Dec 2015 17:42:50 -0300 Ezequiel Garcia wrote: > This is looking a lot better, thanks for the good work! > > On 15 December 2015 at 02:59, Peter Pan wrote: > > Currently nand_bbt.c is tied with struct nand_chip, and it makes other > > NAND family chips hard to use nand_bbt.c.

Re: RCU stall and the system boot hang with nfsroot

2015-12-29 Thread Aaron Ma
Add paul...@linux.vnet.ibm.com On Tue, Dec 29, 2015 at 5:32 PM, Aaron Ma wrote: > Hi, Paul: > I found the linux-stable-4.1.15 with rt15 patches boot hang sometimes. > Hardware is Grantley-EP and WildcatPass. > No response by sysrq. > > Did you found any issue about this? Or how can I address

[PATCH 2/2] 32-bit ABI: introduce ARCH_32BIT_OFF_T config option

2015-12-29 Thread Yury Norov
All new 32-bit architectures should have 64-bit off_t type, but existing architectures has 32-bit ones. To handle it, new config option is added to arch/Kconfig that defaults ARCH_32BIT_OFF_T to be disabled for non-64 bit architectures. All existing 32-bit architectures enable it explicitly here.

[PATCH 1/2] compat ABI: use non-compat openat and open_by_handle_at variants

2015-12-29 Thread Yury Norov
The only difference is that non-compat version forces O_LARGEFILE, and it should be the default behaviour for all architectures, as we don't support 32-bit off_t. The only exception is tile32, that continues with compat version of syscalls. Signed-off-by: Yury Norov Acked-by: Arnd Bergmann

[PATCH v2 0/2] ABI: handle 32-bit off_t for 32-bit and compat ABIs

2015-12-29 Thread Yury Norov
32-bit off_t is supported only for old 32-bit and compat ABIs. New ABIs are 64-bit length only. This patchset makes 64-bit length the default for off_t, and reverts it for old architectures where needed. It does not change the behaviour of existing code. First patch makes all compat users of

RE: [f2fs-dev] [PATCH 3/3] f2fs: load largest extent all the time

2015-12-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, December 29, 2015 7:32 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 3/3] f2fs:

RE: [f2fs-dev] [PATCH 2/3] f2fs: use i_size_read to get i_size

2015-12-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, December 29, 2015 7:32 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/3] f2fs:

[PATCH] iommu/amd: set AMD iommu-callbacks for the amba bus

2015-12-29 Thread Wan Zongshun
From: Wan Zongshun Since uart dma is using AMD iommu, and it bases on amba bus. So we need set callbacks for amba bus type firstly. Signed-off-by: Wan Zongshun --- drivers/iommu/amd_iommu.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git

Re: On Lindent shortcomings and massive style fixing

2015-12-29 Thread Andrey Utkin
On Tue, Dec 29, 2015 at 9:32 AM, Mauro Carvalho Chehab wrote: > IMHO, there are two problems by letting indent breaking long > lines: > > 1) indent would break strings on printks. This is something that we don't > want to break strings on multiple lines in the Kernel; Yeah, GNU indent does its

Re: [PATCH 3/7] omapfb: fix error return code

2015-12-29 Thread Tomi Valkeinen
On 26/12/15 17:28, Julia Lawall wrote: > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if (\(ret < 0\|ret != 0\)) > { ...

Re: [RFC PATCH 4/5] x86/events: Move perf_event_amd_iommu.*

2015-12-29 Thread Boris Petkov
Joerg Roedel wrote: >Hmm, the arch/x86/events directory does not exist yet, is it the plan >to move non-cpu event over there? It looks to be a better place for the >iommu events, are there more no-cpu events to move there? Yeah, basically move all arch/x86/ *perf_event* stuff there. -- Sent

Re: [PATCH v2 2/3] device property: the secondary fwnode needs to depend on the primary

2015-12-29 Thread Heikki Krogerus
Hi Andy, Found a bug from my code.. > diff --git a/drivers/base/property.c b/drivers/base/property.c > index 0b22c8a..6c04d18 100644 > --- a/drivers/base/property.c > +++ b/drivers/base/property.c > @@ -218,7 +218,7 @@ bool fwnode_property_present(struct fwnode_handle > *fwnode, const char

[Bug] compile error

2015-12-29 Thread Chen Bough
Hi, For the latest linux-next tree[tag: v4.4-rc6], I meet one compile error, drivers/media/usb/uvc/uvc_driver.c: In function 'uvc_probe': drivers/media/usb/uvc/uvc_driver.c:1941:32: error: 'struct uvc_device' has no member named 'mdev' if (media_device_register(>mdev) < 0)

[PATCH V3 1/1] arm64: dts: add Hi6220 spi configuration nodes

2015-12-29 Thread Zhong Kaihua
arm64: dts: add Hi6220 spi configuration nodes Signed-off-by: Zhong Kaihua --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 20 2 files changed, 21 insertions(+) diff --git

[PATCH] lightnvm: put block back to gc list on its reclaim fail

2015-12-29 Thread Wenwei Tao
We delete a block from the gc list before reclaim it, so put it back to the list on its reclaim fail, otherwize this block will not get reclaimed and be programable in the future. Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 18 ++ 1 file changed, 14 insertions(+), 4

Re: [RESEND v4 0/6] remoteproc: Add driver for STMicroelectronics platforms

2015-12-29 Thread Ohad Ben-Cohen
On Mon, Dec 28, 2015 at 8:41 PM, Bjorn Andersson wrote: > I interpreted this as you picked patch 1-4 and didn't pay more > attention to them, but I can't find them in your kernel.org trees. So > I've looked through them again. > > Please apply patch 1, 3 and 4 to your tree Ohad. I was unable to

Re: [PATCH] lightnvm: wrong offset in bad blk lun calculation

2015-12-29 Thread Jens Axboe
On 12/29/2015 06:37 AM, Matias Bjørling wrote: dev->nr_luns reports the total number of luns available in a device while dev->luns_per_chnl is the number of luns per channel. When multiple channels are available, the offset is calculated from a channel and lun id into a linear array. As it

Re: use-after-free in hash_sock_destruct

2015-12-29 Thread Dmitry Vyukov
On Tue, Dec 29, 2015 at 3:40 PM, Herbert Xu wrote: > On Thu, Dec 17, 2015 at 01:59:50PM +0100, Dmitry Vyukov wrote: >> >> The following program causes use-after-free in hash_sock_destruct: > > This patch should fix the problem. AFAIK everything that you have >

[PATCH v2 1/2] lib/vsprintf: refactor duplicate code to special_hex_number()

2015-12-29 Thread Andy Shevchenko
special_hex_number() is a helper to print a fixed size type in a hex format with '0x' prefix, zero padding, and small letters. In the module we have already several copies of such code. Consolidate them under special_hex_number() helper. There are couple of differences though. It seems nobody

[PATCH v2 0/2] lib/vsprintf: introduce stricter rules for %p extensions

2015-12-29 Thread Andy Shevchenko
Besides the code refactoring we introduce the following rules for %p extensions here. i.e: - fixed type extensions are always printed in hex format, prefixed by '0x', small letters, full field width on a running architecture (%pa[dp], %pNF) - fallback to %p based on different kernel

Re: [PATCH] drivers: power: fix typo in documentation

2015-12-29 Thread Pavel Machek
On Tue 2015-12-29 11:03:21, Manuel Pégourié-Gonnard wrote: > The documentation for detach() said attach. > > Signed-off-by: Manuel Pégourié-Gonnard > Cc: triv...@kernel.org Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky,

[PATCH v2 2/2] lib/vsprintf: factor out %pN[F] handler as netdev_bits()

2015-12-29 Thread Andy Shevchenko
Move switch case to the netdev_features_string() and rename it to netdev_bits(). In the future we can extend it as needed. Here we replace the fallback of %pN from '%p' with possible flags to sticter '0x%p' without any flags variation. Signed-off-by: Andy Shevchenko

Re: [PATCH] pty: fix use after free of tty->driver_data

2015-12-29 Thread Herton R. Krzesinski
On Tue, Dec 15, 2015 at 04:05:09PM -0200, Herton R. Krzesinski wrote: > On Tue, Dec 15, 2015 at 09:36:26AM -0800, Peter Hurley wrote: > > > since in this > > > case any of the tty->driver_data can be stale, due to all references/ > > > files being closed before (files related to ptmx/pts inodes

Re: [PATCH] ath6kl: Use vmalloc to allocate ar->fw for api1 method

2015-12-29 Thread Souptick Joarder
Brent, On Tue, Dec 22, 2015 at 2:42 PM, Kalle Valo wrote: > Souptick Joarder writes: > >> Hi Brent, >> >> On Tue, Dec 22, 2015 at 3:23 AM, Brent Taylor wrote: >>> On Mon, Dec 21, 2015 at 1:23 PM, Souptick Joarder

[PATCH] mfd: twl-core: One function call less in add_numbered_child() after error detection

2015-12-29 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 29 Dec 2015 19:29:08 +0100 The platform_device_put() function was called in one case by the add_numbered_child() function during error handling even if the passed variable "pdev" contained a null pointer. Implementation details

Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-29 Thread Rob Herring
On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > Signed-off-by: Bjorn Andersson > --- > .../bindings/net/wireless/qcom,wcn36xx-wifi.txt| 76 > ++ > 1 file

Re: [PATCH v3 2/5] dt-bindings: mediatek: Modify pinctrl bindings for mt2701

2015-12-29 Thread Rob Herring
On Mon, Dec 28, 2015 at 03:09:03PM +0800, Biao Huang wrote: > Signed-off-by: Biao Huang > --- > .../devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |9 + > 1 file changed, 5 insertions(+), 4 deletions(-) I acked v2 already. Please add acks when posting new

[PATCH] mtd: fixing memory leak and handling failed kmalloc

2015-12-29 Thread Insu Yun
kmalloc needs to be handled when failing in memory pressure. Also, it has memory leak in error routine. Signed-off-by: Insu Yun --- drivers/mtd/chips/cfi_cmdset_0001.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] kernel booting messages, first line

2015-12-29 Thread Randy Dunlap
On 12/28/15 17:31, Alexandru GOIA wrote: > > For -rc8 , > > Hoping that someone DO cares about the aesthetic of kernel messages at boot : > > > What it does : first line of booting kernel, as seen in dmesg(1), will be the > Linux kernel signature > (version, compiler, compiler hostname). >

[PATCH] qxl: correctly handling failed allocation

2015-12-29 Thread Insu Yun
Since kmalloc can be failed in memory pressure, when fails, return error code. Signed-off-by: Insu Yun --- drivers/gpu/drm/qxl/qxl_kms.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_kms.c b/drivers/gpu/drm/qxl/qxl_kms.c index

Re: [PATCH v2 3/3] bpf: hash: use per-bucket spinlock

2015-12-29 Thread Daniel Borkmann
On 12/29/2015 03:40 PM, Ming Lei wrote: Both htab_map_update_elem() and htab_map_delete_elem() can be called from eBPF program, and they may be in kernel hot path, so it isn't efficient to use a per-hashtable lock in this two helpers. The per-hashtable spinlock is used for protecting bucket's

Re: [RFC PATCH] fbdev: add support for Sigma Designs' smp8xxxfb.ko

2015-12-29 Thread Sebastian Frias
On 12/29/2015 03:16 PM, Frans Klaver wrote: On Tue, Dec 29, 2015 at 3:06 PM, Sebastian Frias wrote: Right now we don't know if the driver will be upstreamed. Let me rephrase my question: - how would you recommend enabling FB_CFB_FILLRECT, FB_CFB_COPYAREA and FB_CFB_IMAGEBLIT

Re: [PATCH v6] serial: rewrite pxa2xx-uart to use 8250_core

2015-12-29 Thread Robert Jarzmik
Heikki Krogerus writes: > On Thu, Dec 24, 2015 at 06:15:14PM +0300, Sergei Ianovich wrote: >> pxa2xx-uart was a separate uart platform driver. It was declaring >> the same device names and numbers as 8250 driver. As a result, >> it was impossible to use 8250

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-29 Thread Christoph Lameter
On Thu, 24 Dec 2015, Sasha Levin wrote: > >> > [ 3462.527795] pwq 4: cpus=2 node=2 flags=0x0 nice=0 active=1/256 > >> > [ 3462.554836] pending: vmstat_update > > Does that mean that vmstat_update locks up or something that schedules it? > > I think it means that vmstat_update didn't finish

Re: [PATCH RESEND] nvme:Fix error handling in the function nvme_init_integrity

2015-12-29 Thread Keith Busch
On Tue, Dec 29, 2015 at 01:10:48PM -0500, Nicholas Krause wrote: > - blk_integrity_register(ns->disk, ); > + if (blk_integrity_register(ns->disk, )) { Nak; blk_integrity_register returns 'void'. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH RESEND] csiostor:Fix locking issues in the function csio_scsim_cleanup_io_lnode

2015-12-29 Thread Jens Axboe
On 12/29/2015 11:23 AM, Nicholas Krause wrote: This fixes locking issues in the function csio_scsim_cleanup_io_lnode by locking around the call to the function csio_csci_gather_active_ios with the function pair spin_lock_irq/spin_unlock_irq as any function calling this particular function must

Re: [PATCH] cx231xx: correctly handling failed allocation

2015-12-29 Thread Devin Heitmueller
On Tue, Dec 29, 2015 at 1:53 PM, Insu Yun wrote: > Since kmalloc can be failed in memory pressure, > if not properly handled, NULL dereference can be happend > > Signed-off-by: Insu Yun > --- > drivers/media/usb/cx231xx/cx231xx-417.c | 2 ++ > 1 file

RE: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-29 Thread Jordan_Hargrave
>On Mon, Dec 28, 2015 at 9:29 PM, wrote: >> I had posted a patch recently to enable exposing the VPD-R valyes to sysfs. >> I need access >> to these to parse into systemd for network naming (biosdevname style names). >> >> >> The VPD-R is a readonly area contained

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2015-12-29 Thread Santosh Shukla
On 29 December 2015 at 18:58, Arnd Bergmann wrote: > On Wednesday 23 December 2015 17:04:40 Santosh Shukla wrote: >> On 23 December 2015 at 03:26, Arnd Bergmann wrote: >> > On Tuesday 22 December 2015, Santosh Shukla wrote: >> >> } >> >> >> >> So I care for

Re: [PATCH 1/2] dell-wmi: Check if Dell WMI descriptor structure is valid

2015-12-29 Thread Pali Rohár
On Tuesday 29 December 2015 13:44:13 Michał Kępień wrote: > > > > According to Dell WMI document mentioned in ML dicussion > > > > archived at > > > > http://www.spinics.net/lists/platform-driver-x86/msg07220.html > > > > OS should check Dell WMI descriptor structure. > > > > > > "Should" or

Re: BUG: Bad rss-counter state mm:ffff8800c5a96000 idx:3 val:3894

2015-12-29 Thread Michal Hocko
[CCing Andrew] On Thu 24-12-15 09:12:53, Jeremiah Mahler wrote: > all, > > I have started seeing a "Bad rss-counter" message in the logs with > the latest linux-next 20151222+. > > [ 458.282192] BUG: Bad rss-counter state mm:8800c5a96000 idx:3 val:3894 This is MM_SHMEMPAGES so an

Re: [PATCH 02/10] spi: cadence, zynq: use to_platform_device()

2015-12-29 Thread Moritz Fischer
Hi, On Sun, Dec 27, 2015 at 5:15 AM, Geliang Tang wrote: > Use to_platform_device() instead of open-coding it. > Reviewed-by: Moritz Fischer > Signed-off-by: Geliang Tang Looks good to me, maybe (nit) split it up into two

Re: [PATCH v2] net, socket, socket_wq: fix missing initialization of flags

2015-12-29 Thread Eric Dumazet
On Tue, 2015-12-29 at 13:29 +0100, Nicolai Stange wrote: > Fixes: ceb5d58b2170 ("net: fix sock_wake_async() rcu protection") > Sorry for any inconvenience this late-night induced brainfart might > have caused at your side... Not really, because I read the source code and saw the bug there ;)

Re: [PATCH 4/4] dt: binding: Add Qualcomm wcn36xx WiFi binding

2015-12-29 Thread Bjorn Andersson
On Tue 29 Dec 10:34 PST 2015, Rob Herring wrote: > On Sun, Dec 27, 2015 at 05:34:27PM -0800, Bjorn Andersson wrote: > > Add binding representing the Qualcomm wcn3620/60/80 WiFi block. > > Signed-off-by: Bjorn Andersson > > --- > >

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2015-12-29 Thread Arnd Bergmann
On Tuesday 29 December 2015 21:25:15 Santosh Shukla wrote: > mistakenly added wrong email-id of alex, looping his correct one. > > On 29 December 2015 at 21:23, Santosh Shukla > wrote: > > On 29 December 2015 at 18:58, Arnd Bergmann wrote: > >> On

Re: [PATCH 0/3] OOM detection rework v4

2015-12-29 Thread Michal Hocko
On Thu 24-12-15 21:41:19, Tetsuo Handa wrote: > I got OOM killers while running heavy disk I/O (extracting kernel source, > running lxr's genxref command). (Environ: 4 CPUs / 2048MB RAM / no swap / XFS) > Do you think these OOM killers reasonable? Too weak against fragmentation? I will have a

Re: [PATCH] cfq-iosched: convert slice idle time to jiffies

2015-12-29 Thread Jens Axboe
On 12/28/2015 06:08 PM, Alexandru Moise wrote: This patch refers to Jens Axboe's change way back in 2006: 7b14e3b52 cfq-iosched: slice expiry fixups In this patch he fixed a potential timer race condition by delaying idle_slice_timer by the slice_idle time value. Today this timer is delayed by

Re: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2015-12-29 Thread Rob Herring
On Thu, Dec 24, 2015 at 07:01:00PM +0800, Yuan Yao wrote: > new compatible string: "fsl,ls2080a-qspi". > > Signed-off-by: Yuan Yao > --- > Changed in v2: > Update my email to > --- > Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 3 ++- > 1 file

<    1   2   3   4   5   6   7   8   >