Re: [PATCH] rpmsg: Correct support for MODULE_DEVICE_TABLE()

2018-04-21 Thread Greg Kroah-Hartman
On Sat, Apr 21, 2018 at 06:55:29PM -0500, Andrew F. Davis wrote: > Due to missing a missing entry in file2alias.c MODULE_DEVICE_TABLE() are > not generating the proper module aliases. Add the needed entry here. > > Reported-by: Suman Anna > Signed-off-by: Andrew F. Davis > --- > scripts/mod/dev

[RFC PATCH] f2fs: load_nat_block() can be static

2018-04-21 Thread kbuild test robot
Fixes: c20dcf3ce26e ("f2fs: sepearte hot/cold in free nid") Signed-off-by: Fengguang Wu --- node.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index fa09baa..ff9b682 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -2031,7 +2031,7 @@

Re: [PATCH 4/4] sh: remove board_time_init() callback

2018-04-21 Thread kbuild test robot
/Arnd-Bergmann/sh-dreamcast-rtc-push-down-rtc-class-ops-into-driver/20180421-071330 config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH] f2fs: sepearte hot/cold in free nid

2018-04-21 Thread kbuild test robot
/commits/Chao-Yu/f2fs-sepearte-hot-cold-in-free-nid/20180421-061929 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones

Re: [PATCH] MAINTAINERS: add maintainer for Qualcomm HIDMA drivers

2018-04-21 Thread Vinod Koul
On Thu, Apr 19, 2018 at 11:20:32AM -0400, Sinan Kaya wrote: > drivers/dma/qcom directory is being shared by multiple QCOM dmaengine > drivers. Separate ownership by filenames. Applied, thanks -- ~Vinod

Re: [PATCH 08/61] dmaengine: dw: simplify getting .drvdata

2018-04-21 Thread Vinod Koul
On Thu, Apr 19, 2018 at 04:05:38PM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. Applied, thanks -- ~Vinod

Re: [PATCH 09/61] dmaengine: qcom: simplify getting .drvdata

2018-04-21 Thread Vinod Koul
On Thu, Apr 19, 2018 at 04:05:39PM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. Applied, thanks -- ~Vinod

Re: [PATCH 07/61] dma: simplify getting .drvdata

2018-04-21 Thread Vinod Koul
On Thu, Apr 19, 2018 at 04:05:37PM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. Do you mind splitting this per driver please, that makes it easy to manage for me :) -- ~Vinod

Re: [PATCH 01/15] dmaengine: pxa: use a dma slave map

2018-04-21 Thread Vinod Koul
On Sat, Apr 21, 2018 at 09:23:05PM +0200, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > In order to remove the specific knowledge of the dma mapping from PXA > > drivers, add a default slave map for pxa architectures. > > > > This won't impact MMP architecture, but is aimed only at all PXA

[PATCH] netfilter: fix nf_tables filter chain type build

2018-04-21 Thread Randy Dunlap
From: Randy Dunlap Fix build errors due to a missing Kconfig dependency term. Fixes these build errors: net/ipv6/netfilter/nft_chain_nat_ipv6.o: In function `nft_nat_do_chain': net/ipv6/netfilter/nft_chain_nat_ipv6.c:37: undefined reference to `nft_do_chain' net/ipv6/netfilter/nft_chain_nat_ipv

Re: [patch v2] mm, oom: fix concurrent munlock and oom reaperunmap

2018-04-21 Thread Tetsuo Handa
David Rientjes wrote: > How have you tested this? > > I'm wondering why you do not see oom killing of many processes if the > victim is a very large process that takes a long time to free memory in > exit_mmap() as I do because the oom reaper gives up trying to acquire > mm->mmap_sem and just s

Re: [patch v2] mm, oom: fix concurrent munlock and oom reaper unmap

2018-04-21 Thread David Rientjes
On Fri, 20 Apr 2018, Michal Hocko wrote: > > The solution is certainly not to hold > > down_write(&mm->mmap_sem) during munlock_vma_pages_all() instead. > > Why not? This is what we do for normal paths. exit path just tries to be > clever because it knows that it doesn't have to lock because the

Re: [patch v2] mm, oom: fix concurrent munlock and oom reaper unmap

2018-04-21 Thread David Rientjes
On Fri, 20 Apr 2018, Michal Hocko wrote: > diff --git a/mm/mmap.c b/mm/mmap.c > index faf85699f1a1..216efa6d9f61 100644 > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -3004,10 +3004,21 @@ void exit_mmap(struct mm_struct *mm) > struct mmu_gather tlb; > struct vm_area_struct *vma; > unsi

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-21 Thread Matthew Wilcox
On Sat, Apr 21, 2018 at 06:52:18PM +0200, Vlastimil Babka wrote: > On 04/13/2018 07:11 PM, Matthew Wilcox wrote: > > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: > >> online_pages()/offline_pages() theoretically allows us to work on > >> sub-section sizes. This is especially r

Re: [PATCH 03/11] fs: add frozen sb state helpers

2018-04-21 Thread Luis R. Rodriguez
On Thu, Nov 30, 2017 at 06:13:10PM +0100, Jan Kara wrote: > On Wed 29-11-17 15:23:48, Luis R. Rodriguez wrote: > > The question of whether or not a superblock is frozen needs to be > > augmented in the future to account for differences between a user > > initiated freeze and a kernel initiated free

Re: [PATCH 2/2] rtmutex: Reduce top-waiter blocking on a lock

2018-04-21 Thread Davidlohr Bueso
On Fri, 20 Apr 2018, Mike Galbraith wrote: On Fri, 2018-04-20 at 17:50 +0200, Peter Zijlstra wrote: Is this similar to what we have in RT (which, IIRC, has an optimistic spinning implementation as well)? For the RT spinlock replacement, the top waiter can spin. Yeah and the difference with

Experiencing freezes with kernel 4.16.3 on a desktop with E5500 CPU (bisect included)

2018-04-21 Thread Diego Viola
Hi, I'm currently experiencing freezes after resuming from suspend when using various applications on my desktop. For example, when using Firefox and switching between tabs the screen would freeze, allowing me to only move the mouse pointer but focusing the mouse pointer on a application won't ha

Re: INFO: rcu detected stall in __process_echoes

2018-04-21 Thread Tetsuo Handa
On 2018/03/28 16:01, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) > Linux 4.16-rc7 > syzbot dashboard link: > https://syzkaller.appspot.com/bug?extid=108696293d7a21ab688f > > So far this c

Re: [PATCH 03/11] fs: add frozen sb state helpers

2018-04-21 Thread Luis R. Rodriguez
On Sun, Apr 22, 2018 at 01:53:23AM +0200, Jan Kara wrote: > On Fri 20-04-18 11:49:32, Luis R. Rodriguez wrote: > > On Tue, Apr 17, 2018 at 05:59:36PM -0700, Luis R. Rodriguez wrote: > > > On Thu, Dec 21, 2017 at 12:03:29PM +0100, Jan Kara wrote: > > > > Hello, > > > > > > > > I think I owe you a r

Re: [pci PATCH v8 0/4] Add support for unmanaged SR-IOV

2018-04-21 Thread Alexander Duyck
On Sat, Apr 21, 2018 at 1:34 PM, Bjorn Helgaas wrote: > On Fri, Apr 20, 2018 at 12:28:08PM -0400, Alexander Duyck wrote: >> This series is meant to add support for SR-IOV on devices when the VFs are >> not managed by the kernel. Examples of recent patches attempting to do this >> include: >> virto

[GIT PULL] libnvdimm fixes for 4.17-rc2

2018-04-21 Thread Williams, Dan J
Hi Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive, a regression fix, new unit test infrastructure and a build fix. * The regression fix addresses support for the new NVDIMM label storage area access commands (_LSI, _LSR, and _L

Re: [PATCH v3] fs: dax: Adding new return type vm_fault_t

2018-04-21 Thread Dan Williams
On Sat, Apr 21, 2018 at 2:54 PM, Souptick Joarder wrote: > On Sun, Apr 22, 2018 at 3:04 AM, Matthew Wilcox wrote: >> On Sun, Apr 22, 2018 at 02:35:29AM +0530, Souptick Joarder wrote: >>> Use new return type vm_fault_t for fault handler. For >>> now, this is just documenting that the function retu

[PATCH] rpmsg: Correct support for MODULE_DEVICE_TABLE()

2018-04-21 Thread Andrew F. Davis
Due to missing a missing entry in file2alias.c MODULE_DEVICE_TABLE() are not generating the proper module aliases. Add the needed entry here. Reported-by: Suman Anna Signed-off-by: Andrew F. Davis --- scripts/mod/devicetable-offsets.c | 3 +++ scripts/mod/file2alias.c | 11 +++

Re: [PATCH 03/11] fs: add frozen sb state helpers

2018-04-21 Thread Jan Kara
On Fri 20-04-18 11:49:32, Luis R. Rodriguez wrote: > On Tue, Apr 17, 2018 at 05:59:36PM -0700, Luis R. Rodriguez wrote: > > On Thu, Dec 21, 2017 at 12:03:29PM +0100, Jan Kara wrote: > > > Hello, > > > > > > I think I owe you a reply here... Sorry that it took so long. > > > > Took me just as long

Re: [PATCH] memcg: writeback: use memcg->cgwb_list directly

2018-04-21 Thread Jan Kara
On Sat 21-04-18 21:29:41, Wang Long wrote: > Signed-off-by: Wang Long Yeah, looks good. I guess it was originally intended to avoid compilation errors if CONFIG_CGROUP_WRITEBACK was disabled. But it doesn't seem likely we'll ever need that list outside of code under CONFIG_CGROUP_WRITEBACK. So yo

Re: [PATCH v2] ext4: handle errors on ext4_commit_super

2018-04-21 Thread Jan Kara
On Thu 19-04-18 08:59:57, Jaegeuk Kim wrote: > When remounting ext4 from ro to rw, currently it allows its transition, > even if ext4_commit_super() returns EIO. Even worse thing is, after that, > fs/buffer complains buffer dirty bits like: > > Call trace: > [] mark_buffer_dirty+0x184/0x1a4 > [

Re: [PATCH] SLUB: Do not fallback to mininum order if __GFP_NORETRY is set

2018-04-21 Thread Vlastimil Babka
On 04/20/2018 04:53 PM, Christopher Lameter wrote: > On Thu, 19 Apr 2018, Michal Hocko wrote: > >> Overriding __GFP_NORETRY is just a bad idea. It will make the semantic >> of the flag just more confusing. Note there are users who use >> __GFP_NORETRY as a way to suppress heavy memory pressure and

Re: [PATCH RFC 2/8] mm: introduce PG_offline

2018-04-21 Thread Vlastimil Babka
On 04/13/2018 07:11 PM, Matthew Wilcox wrote: > On Fri, Apr 13, 2018 at 03:16:26PM +0200, David Hildenbrand wrote: >> online_pages()/offline_pages() theoretically allows us to work on >> sub-section sizes. This is especially relevant in the context of >> virtualization. It e.g. allows us to add/rem

[PATCH 2/3] mm: add find_alloc_contig_pages() interface

2018-04-21 Thread Vlastimil Babka
On 04/17/2018 04:09 AM, Mike Kravetz wrote: > find_alloc_contig_pages() is a new interface that attempts to locate > and allocate a contiguous range of pages. It is provided as a more > convenient interface than alloc_contig_range() which is currently > used by CMA and gigantic huge pages. > > Wh

[PATCH] power: supply: bq27xxx: Add support for BQ27426

2018-04-21 Thread Andrew F. Davis
This device is software similar to the BQ27426 except it has different data memory offsets. Add support here. Signed-off-by: Andrew F. Davis --- .../devicetree/bindings/power/supply/bq27xxx.txt | 1 + drivers/power/supply/bq27xxx_battery.c | 9 + drivers/power/s

Re: [PATCH] Enable the clock before calling clk_get_rate().

2018-04-21 Thread Florian Fainelli
+Jonas, On 04/19/2018 06:03 AM, Stefan Potyra wrote: > Found by Linux Driver Verification project (linuxtesting.org). Please use a commit subject which matches what was used before: git log --no-merges --oneline drivers/spi/spi-bcm63xx-hsspi.c 378da4a65f3a spi/bcm63xx-hspi: fix error return code

Re: [RESEND PATCH 1/1] drm/i915/glk: Add MODULE_FIRMWARE for Geminilake

2018-04-21 Thread Ian W MORRISON
On 21 April 2018 at 11:22, Botello Ortega, Luis wrote: > Hi all: > > We tested GLK DMC 1.04 FW in last week of September 2017, using the latest > drm-tip version for that time (4.14.0-rc2) and according to our results we > could declare this FW as acceptable and healthy to be used with kernel >

Re: [PATCH v3 4/7] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-04-21 Thread Peter Rosin
On 2018-04-21 18:19, Boris Brezillon wrote: > On Thu, 19 Apr 2018 18:27:48 +0200 > Peter Rosin wrote: > >> This beats the heuristic that the connector is involved in what format >> should be output for cases where this fails. >> >> E.g. if there is a bridge that changes format between the encoder

Re: [PATCH 22/22] parisc: use generic dma_noncoherent_ops

2018-04-21 Thread James Bottomley
On Sat, 2018-04-21 at 19:43 +0200, Helge Deller wrote: > On 20.04.2018 10:03, Christoph Hellwig wrote: > > Switch to the generic noncoherent direct mapping implementation. > > > > Parisc previously had two different non-coherent dma ops > > implementation that just different in the way coherent al

Re: [PATCH v3] fs: dax: Adding new return type vm_fault_t

2018-04-21 Thread Souptick Joarder
On Sun, Apr 22, 2018 at 3:04 AM, Matthew Wilcox wrote: > On Sun, Apr 22, 2018 at 02:35:29AM +0530, Souptick Joarder wrote: >> Use new return type vm_fault_t for fault handler. For >> now, this is just documenting that the function returns >> a VM_FAULT value rather than an errno. Once all instance

Re: [PATCH 22/22] parisc: use generic dma_noncoherent_ops

2018-04-21 Thread James Bottomley
On Fri, 2018-04-20 at 10:03 +0200, Christoph Hellwig wrote: > diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c > index 8d3a7b80ac42..4e87c35c22b7 100644 > --- a/arch/parisc/kernel/setup.c > +++ b/arch/parisc/kernel/setup.c > @@ -97,14 +97,12 @@ void __init dma_ops_init(void) >  

Re: [PATCH v3] fs: dax: Adding new return type vm_fault_t

2018-04-21 Thread Matthew Wilcox
On Sun, Apr 22, 2018 at 02:35:29AM +0530, Souptick Joarder wrote: > Use new return type vm_fault_t for fault handler. For > now, this is just documenting that the function returns > a VM_FAULT value rather than an errno. Once all instances > are converted, vm_fault_t will become a distinct type. >

Re: [PATCH 4/7] sched/core: uclamp: add utilization clamping to the CPU controller

2018-04-21 Thread Joel Fernandes
Hi Tejun, On Tue, Apr 10, 2018 at 1:05 PM, Tejun Heo wrote: > Hello, > > On Tue, Apr 10, 2018 at 06:16:12PM +0100, Patrick Bellasi wrote: >> > I'm not too enthusiastic about util_min/max given that it can easily >> > be read as actual utilization based bandwidth control when what's >> > actually

[PATCH v3] fs: dax: Adding new return type vm_fault_t

2018-04-21 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. commit 1c8f422059ae ("mm: change return type to vm_fault_t") There was an

Re: [PATCH 2/2] iio: adc128s052: add ACPI _HID AANT1280

2018-04-21 Thread Javier Arteaga
Hi Jonathan, On Sat, Apr 21, 2018 at 05:05:05PM +0100, Jonathan Cameron wrote: > This is in principle fine, but I'd like to see it done somewhat more > explicitly. > > 1) Add the adc124s101 and similar families to the driver first. I think >this is just a case of IDs for all of >adc124s05

Re: [PATCH 1/2] iio: adc128s052: allow driver to be matched using ACPI

2018-04-21 Thread Javier Arteaga
Hi Jonathan, On Sat, Apr 21, 2018 at 04:54:41PM +0100, Jonathan Cameron wrote: > I don't really see the connection between the change in here > and what the description says... I think you're right, we didn't make our intent clear here. > If you are probing from ACPI then there is no need to ens

Re: possible BUG: selftests: proc-loadavg-001 failed during kernel testing

2018-04-21 Thread Jeffrin Thalakkottoor
This problem is fixed now. $sudo make -C tools/testing/selftests/proc run_tests [sudo] password for jeffrin: make: Entering directory '/home/jeffrin/upstream-kernel/linux/tools/testing/selftests/proc' TAP version 13 selftests: proc-loadavg-001 ok 1..1 selft

Re: [PATCH] proc/stat: Separate out individual irq counts into /proc/stat_irqs

2018-04-21 Thread Alexey Dobriyan
On Sat, Apr 21, 2018 at 11:34:22PM +0300, Alexey Dobriyan wrote: > On Thu, Apr 19, 2018 at 04:23:02PM -0700, Joel Fernandes (Google) wrote: > > Can we not just remove per-IRQ stats from /proc/stat (since I gather > > from this discussion it isn't scalable), and just have applications > > that need

Re: [pci PATCH v8 0/4] Add support for unmanaged SR-IOV

2018-04-21 Thread Bjorn Helgaas
On Fri, Apr 20, 2018 at 12:28:08PM -0400, Alexander Duyck wrote: > This series is meant to add support for SR-IOV on devices when the VFs are > not managed by the kernel. Examples of recent patches attempting to do this > include: > virto - https://patchwork.kernel.org/patch/10241225/ > pci-stub -

Re: [PATCH] proc/stat: Separate out individual irq counts into /proc/stat_irqs

2018-04-21 Thread Alexey Dobriyan
On Thu, Apr 19, 2018 at 04:23:02PM -0700, Joel Fernandes (Google) wrote: > Can we not just remove per-IRQ stats from /proc/stat (since I gather > from this discussion it isn't scalable), and just have applications > that need per-IRQ stats use /proc/interrupts ? If you can prove noone is using the

False memory leak in iwlmvm

2018-04-21 Thread Larry Finger
Gentlemen, I was checking a scan of /sys/kernel/debug/kmemleak with 4.17.0-rc1 and came across this leak message arising from iwlwifi. It is a false message as unloading iwlmvm has it disappearing from the scan. Thanks, Larry unreferenced object 0x88021da6c580 (size 128): comm "softirq

Re: [PATCH v2] fs: dax: Adding new return type vm_fault_t

2018-04-21 Thread Matthew Wilcox
On Sat, Apr 21, 2018 at 10:44:42PM +0530, Souptick Joarder wrote: > @@ -1112,7 +1112,7 @@ int __dax_zero_page_range(struct block_device *bdev, > } > EXPORT_SYMBOL_GPL(dax_iomap_rw); > > -static int dax_fault_return(int error) > +static vm_fault_t dax_fault_return(int error) > { > if (err

Re: [PATCH] Input: atmel_mxt_ts - fix reset-gpio for level based irqs

2018-04-21 Thread Nick Dyer
On Fri, Apr 20, 2018 at 09:42:07PM +0200, Sebastian Reichel wrote: > On Fri, Apr 20, 2018 at 02:44:02PM -0300, Ezequiel Garcia wrote: > > Hi Sebastian, > > > > On Fri, 2018-04-20 at 19:24 +0200, Sebastian Reichel wrote: > > > The current reset-gpio support triggers an interrupt storm on platforms

Dear friend

2018-04-21 Thread Mr Umar Bello
Dear friend I am contacting you for a business deal of $17.5 Million US Dollars, ready for transfer into your account if we make this claim, we will share it 60%/40%. 100% risk free and it will be legally backed up with government approved If you are interested reply for more details. You can

Re: [PATCH] mm: memory: Introduce new vmf_insert_mixed_mkwrite

2018-04-21 Thread Souptick Joarder
On Sun, Apr 22, 2018 at 1:04 AM, Matthew Wilcox wrote: > On Sat, Apr 21, 2018 at 10:35:40PM +0530, Souptick Joarder wrote: >> As of now vm_insert_mixed_mkwrite() is only getting >> invoked from fs/dax.c, so this change has to go first >> in linus tree before changes in dax. > > No. One patch whic

Re: WARNING in perf_trace_buf_alloc (2)

2018-04-21 Thread Eric Biggers
[+bpf maintainers and netdev] On Mon, Nov 06, 2017 at 03:56:01AM -0800, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 5cb0512c02ecd7e6214e912e4c150f4219ac78e0 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .conf

Re: [PATCH 29/61] mtd: devices: simplify getting .drvdata

2018-04-21 Thread Robert Jarzmik
Wolfram Sang writes: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Robert Jarzmik Cheers. -- Robert

Re: [PATCH] mm: memory: Introduce new vmf_insert_mixed_mkwrite

2018-04-21 Thread Matthew Wilcox
On Sat, Apr 21, 2018 at 10:35:40PM +0530, Souptick Joarder wrote: > As of now vm_insert_mixed_mkwrite() is only getting > invoked from fs/dax.c, so this change has to go first > in linus tree before changes in dax. No. One patch which changes both at the same time. The history should be bisectab

Re: [PATCH 10/15] ata: pata_pxa: remove the dmaengine compat need

2018-04-21 Thread Robert Jarzmik
Robert Jarzmik writes: > As the pxa architecture switched towards the dmaengine slave map, the > old compatibility mechanism to acquire the dma requestor line number and > priority are not needed anymore. > > This patch simplifies the dma resource acquisition, using the more > generic function dm

Re: [PATCH 09/15] net: irda: pxaficp_ir: remove the dmaengine compat need

2018-04-21 Thread Robert Jarzmik
Robert Jarzmik writes: > As the pxa architecture switched towards the dmaengine slave map, the > old compatibility mechanism to acquire the dma requestor line number and > priority are not needed anymore. > > This patch simplifies the dma resource acquisition, using the more > generic function dm

Re: [PATCH 04/15] media: pxa_camera: remove the dmaengine compat need

2018-04-21 Thread Robert Jarzmik
Robert Jarzmik writes: > From: Robert Jarzmik > > As the pxa architecture switched towards the dmaengine slave map, the > old compatibility mechanism to acquire the dma requestor line number and > priority are not needed anymore. > > This patch simplifies the dma resource acquisition, using the

Re: [PATCH] platform/x86: acer-wmi: add another KEY_POWER keycode

2018-04-21 Thread Gianfranco Costamagna
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, On 20/04/2018 23:26, Antonio Rosario Intilisano wrote: > Now that we have informed the firmware that the Power Button driver is > active, laptops such as the Acer Swift 3 will generate > a WMI key event with code 0x87 when the pow

[PATCH] ARM: dts: exynos: Fix invalid node referenced by i2c20 alias

2018-04-21 Thread Krzysztof Kozlowski
After moving all nodes under "soc" node in commit 5d99cc59a3c6 ("ARM: dts: exynos: Move Exynos5250 and Exynos5420 nodes under soc"), the i2c20 alias stopped point to proper node: arch/arm/boot/dts/exynos5420-peach-pit.dtb: Warning (alias_paths): /aliases:i2c20: aliases property is not

Re: possible deadlock in ftrace_profile_set_filter (2)

2018-04-21 Thread Eric Biggers
On Mon, Jan 22, 2018 at 09:49:00AM -0800, syzbot wrote: > syzbot has found reproducer for the following crash on > git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/master commit > ebdd7b491b8a65d65936e07004caabca4a3c94a0 (Sun Jan 21 23:21:31 2018 +) > Merge branch 'mlxsw-Add-suppo

Re: [PATCH 3/3] stagging:iio:meter: Add ade7854_write_raw function

2018-04-21 Thread John Syne
Attached is a spreadsheet which should help explain the calibration process. ADE7878_calibration.xlsx Description: MS-Excel 2007 spreadsheet Here is the calibration guide: http://www.analog.com/media/en/technical-documentation/application-notes/AN-1076.pdf Regards, John > On Apr 21, 2

Re: BUG: unable to handle kernel paging request in compat_copy_entries

2018-04-21 Thread Eric Biggers
On Mon, Mar 05, 2018 at 04:18:00PM +0100, Paolo Abeni wrote: > On Mon, 2018-03-05 at 00:21 -0800, syzbot wrote: > > Hello, > > > > syzbot hit the following crash on upstream commit > > 5fbdefcf685defd8bc5a8f37b17538d25c58d77a (Fri Mar 2 21:05:20 2018 +) > > Merge branch 'parisc-4.16-1' of >

Re: [PATCH 3/3] stagging:iio:meter: Add ade7854_write_raw function

2018-04-21 Thread John Syne
> On Apr 21, 2018, at 10:26 AM, Jonathan Cameron wrote: > > On Sat, 21 Apr 2018 08:56:19 -0300 > Rodrigo Siqueira wrote: > >> This patch adds the ade7854_write_raw() function which is responsible >> for handling the write operation for registers: AIGAIN, BIGAIN, CIGAIN, >> NIGAIN, AVGAIN, BVG

Re: KASAN: use-after-free Read in perf_trace_lock_acquire (2)

2018-04-21 Thread Eric Biggers
On Tue, Jan 30, 2018 at 01:52:02AM -0800, syzbot wrote: > syzbot has found reproducer for the following crash on upstream commit > 6304672b7f0a5c010002e63a075160856dc4f88d (Tue Jan 30 03:08:02 2018 +) > Merge branch 'x86-pti-for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Re: [PATCH 22/22] parisc: use generic dma_noncoherent_ops

2018-04-21 Thread Helge Deller
On 20.04.2018 10:03, Christoph Hellwig wrote: > Switch to the generic noncoherent direct mapping implementation. > > Parisc previously had two different non-coherent dma ops implementation > that just different in the way coherent allocations were handled or not > handled. The different behavior

Re: [PATCH 5/9] firmware: add functions to load firmware without warnings v4

2018-04-21 Thread Luis R. Rodriguez
On Sat, Apr 21, 2018 at 08:32:00AM -0700, Linus Torvalds wrote: > On Sat, Apr 21, 2018 at 8:11 AM, Kees Cook wrote: > > > > What was the objection to using parameters for this? i.e. something > > like the gfp flags, but have a behavior flag FW_RQ_NOWAIT, > > FW_RQ_NOWARN, etc? > > The objection w

Re: [PATCH 1/2] drm/exynos: fimd: Add support for S5PV210 FIMD variant

2018-04-21 Thread Paweł Chmiel
On Saturday, April 21, 2018 6:55:17 PM CEST Krzysztof Kozlowski wrote: > On Fri, Apr 20, 2018 at 6:32 PM, Paweł Chmiel > wrote: > > From: Tomasz Figa > > > > This patch adds support for FIMD variant found on S5PV210 SoC. > > Except CLKSEL bit availability, it is identical to Exynos4210. > > > > T

Re: [PATCH v16 2/7] parisc: iomap: introduce io{read|write}64

2018-04-21 Thread Helge Deller
On 20.04.2018 20:23, Logan Gunthorpe wrote: > Add support for io{read|write}64() functions in parisc architecture. > These are pretty straightforward copies of similar functions which > make use of readq and writeq. > > Also, indicate that the lo_hi and hi_lo variants of these functions > are not

Re: Grant

2018-04-21 Thread M. M. Fridman
I Mikhail Fridman. has selected you specially as one of my beneficiaries for my Charitable Donation, Just as I have declared on May 23, 2016 to give my fortune as charity. Check the link below for confirmation: http://www.ibtimes.co.uk/russias-second-wealthiest-man-mikhail-fridman-plans-leaving-1

[PATCH v2 1/2] drm/exynos: fimd: Add support for S5PV210 FIMD variant

2018-04-21 Thread Paweł Chmiel
From: Tomasz Figa This patch adds support for FIMD variant found on S5PV210 SoC. Except CLKSEL bit availability, it is identical to Exynos4210. Tested-by: Paweł Chmiel Signed-off-by: Tomasz Figa Signed-off-by: Paweł Chmiel --- Changes from v1: - Added missing signed-off-by --- drivers/gpu

Re: [PATCH 3/3] stagging:iio:meter: Add ade7854_write_raw function

2018-04-21 Thread Jonathan Cameron
On Sat, 21 Apr 2018 08:56:19 -0300 Rodrigo Siqueira wrote: > This patch adds the ade7854_write_raw() function which is responsible > for handling the write operation for registers: AIGAIN, BIGAIN, CIGAIN, > NIGAIN, AVGAIN, BVGAIN, and CVGAIN. Finally, this patch completely > removes the old ABI u

[PATCH v2 2/2] drm/exynos: Allow DRM_EXYNOS on s5pv210.

2018-04-21 Thread Paweł Chmiel
This patch brings back possibility to use drivers depending on DRM_EXYNOS, on Samsung S5PV210/S5PC110 series based systems. Fixes: dbbc925bb83a ("drm/exynos: depend on ARCH_EXYNOS for DRM_EXYNOS") Signed-off-by: Paweł Chmiel --- drivers/gpu/drm/exynos/Kconfig | 2 +- 1 file changed, 1 insertion(

[PATCH v2 0/2] drm/exynos: fimd: Add support for S5PV210

2018-04-21 Thread Paweł Chmiel
This patch series compose of 2 patches. First patch, adding support for S5PV210 FIMD variant to Exynos driver. Compatible for this soc was already existing in documentation. Second patch, brings back possibility to use drivers depending on DRM_EXYNOS, on Samsung S5PV210/S5PC110 series based syste

Re: [REVIEW][PATCH 13/22] signal/parisc: Use force_sig_fault where appropriate

2018-04-21 Thread Helge Deller
On 20.04.2018 16:38, Eric W. Biederman wrote: > Filling in struct siginfo before calling force_sig_info a tedious and > error prone process, where once in a great while the wrong fields > are filled out, and siginfo has been inconsistently cleared. > > Simplify this process by using the helper for

Re: [PATCH 2/3] stagging:iio:meter: Add ade7854_read_raw function

2018-04-21 Thread Jonathan Cameron
On Sat, 21 Apr 2018 08:55:52 -0300 Rodrigo Siqueira wrote: > This patch adds the ade7854_read_raw() function which is responsible for > handling the read operation for registers: AIGAIN, BIGAIN, CIGAIN, > NIGAIN, AVGAIN, BVGAIN, and CVGAIN. For the sake of simplicity, this > patch only adds basic

Re: [PATCH 1/3] stagging:iio:meter: Add iio_chan_spec

2018-04-21 Thread Jonathan Cameron
On Sat, 21 Apr 2018 08:55:08 -0300 Rodrigo Siqueira wrote: > This patch adds iio_chan_spec struct. Additionally, the channel adds the > support for handling AIGAIN, BIGAIN, CIGAIN, NIGAIN, AVGAIN, BVGAIN, and > CVGAIN. > > Signed-off-by: Rodrigo Siqueira > --- > drivers/staging/iio/meter/ade78

Re: [PATCH 0/3] stagging:iio:meter: Add essential IIO API structures for ADE7854

2018-04-21 Thread Jonathan Cameron
On Sat, 21 Apr 2018 08:54:45 -0300 Rodrigo Siqueira wrote: > This patchset aims to update ADE7854 by adding the required IIO API > components. The first patch adds the iio_chan_spec for handling seven > different registers (all of them with a similar behavior). The second > patch appends the read

[PATCH v2] fs: dax: Adding new return type vm_fault_t

2018-04-21 Thread Souptick Joarder
Use new return type vm_fault_t for fault handler. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type. commit 1c8f422059ae ("mm: change return type to vm_fault_t") There was an

Re: possible deadlock in perf_trace_destroy (2)

2018-04-21 Thread Eric Biggers
On Tue, Jan 23, 2018 at 08:37:49AM +0100, 'Dmitry Vyukov' via syzkaller-bugs wrote: > On Tue, Jan 23, 2018 at 12:19 AM, Peter Zijlstra wrote: > > On Mon, Jan 22, 2018 at 05:20:13PM -0500, Steven Rostedt wrote: > >> > >> Peter, > >> > >> Isn't this the same as what you mentioned (and had a hack pa

[PATCH net-next v5 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-04-21 Thread Rahul Lakkireddy
On production servers running variety of workloads over time, kernel panic can happen sporadically after days or even months. It is important to collect as much debug logs as possible to root cause and fix the problem, that may not be easy to reproduce. Snapshot of underlying hardware/firmware stat

[PATCH net-next v5 3/3] cxgb4: collect hardware dump in second kernel

2018-04-21 Thread Rahul Lakkireddy
Register callback to collect hardware/firmware dumps in second kernel before hardware/firmware is initialized. The dumps for each device will be available as elf notes in /proc/vmcore in second kernel. Signed-off-by: Rahul Lakkireddy Signed-off-by: Ganesh Goudar --- v5: - No changes. v4: - No c

[PATCH net-next v5 1/3] vmcore: add API to collect hardware dump in second kernel

2018-04-21 Thread Rahul Lakkireddy
The sequence of actions done by device drivers to append their device specific hardware/firmware logs to /proc/vmcore are as follows: 1. During probe (before hardware is initialized), device drivers register to the vmcore module (via vmcore_add_device_dump()), with callback function, along with bu

[PATCH net-next v5 2/3] vmcore: append device dumps to vmcore as elf notes

2018-04-21 Thread Rahul Lakkireddy
Update read and mmap logic to append device dumps as additional notes before the other elf notes. We add device dumps before other elf notes because the other elf notes may not fill the elf notes buffer completely and we will end up with zero-filled data between the elf notes and the device dumps.

Re: [PATCH 01/61] ARM: plat-samsung: simplify getting .drvdata

2018-04-21 Thread Krzysztof Kozlowski
On Thu, Apr 19, 2018 at 04:05:31PM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang > --- > > Build tested only. buildbot is happy. Please apply individually. > > arch

Re: [PATCH 02/13] staging: iio: tsl2x7x: use GPL-2.0+ SPDX license identifier

2018-04-21 Thread Brian Masney
On Sat, Apr 21, 2018 at 05:16:38PM +0100, Jonathan Cameron wrote: > On Fri, 20 Apr 2018 20:41:42 -0400 > Brian Masney wrote: > > > The summary text for the GPL is not needed since the SPDX identifier > > is a legally binding shorthand that can be used instead. > > > > Signed-off-by: Brian Masney

[PATCH] mm: memory: Introduce new vmf_insert_mixed_mkwrite

2018-04-21 Thread Souptick Joarder
vm_insert_mixed_mkwrite() has inefficiency when it returns err, driver has to convert err to vm_fault_t type. With new vmf_insert_mixed_mkwrite we can handle this limitation. As of now vm_insert_mixed_mkwrite() is only getting invoked from fs/dax.c, so this change has to go first in linus tree bef

Re: [PATCH net-next 0/4] mm,tcp: provide mmap_hook to solve lockdep issue

2018-04-21 Thread Eric Dumazet
On 04/21/2018 02:07 AM, Christoph Hellwig wrote: > On Fri, Apr 20, 2018 at 08:55:38AM -0700, Eric Dumazet wrote: >> This patch series provide a new mmap_hook to fs willing to grab >> a mutex before mm->mmap_sem is taken, to ensure lockdep sanity. >> >> This hook allows us to shorten tcp_mmap() ex

Re: [PATCH 1/2] drm/exynos: fimd: Add support for S5PV210 FIMD variant

2018-04-21 Thread Krzysztof Kozlowski
On Fri, Apr 20, 2018 at 6:32 PM, Paweł Chmiel wrote: > From: Tomasz Figa > > This patch adds support for FIMD variant found on S5PV210 SoC. > Except CLKSEL bit availability, it is identical to Exynos4210. > > Tested-by: Paweł Chmiel > Signed-off-by: Tomasz Figa You need to add your Signed-off-

Re: [PATCH 11/13] staging: iio: tsl2x7x: use device defaults for als_time, prox_time and wait_time

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:51 -0400 Brian Masney wrote: > This patch changes the defaults of the als_time, prox_time and > wait_time to match the defaults according to the TSL2772 datasheet. > > Signed-off-by: Brian Masney Applied, thanks, Jonathan > --- > drivers/staging/iio/light/tsl2x7x.c

Re: [PATCH 13/13] staging: iio: tsl2x7x: rename prox_config to als_prox_config

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:53 -0400 Brian Masney wrote: > The configuration register on the device is represented with the > prox_config member on the tsl2x7x_settings structure. According to the > TSL2772 data sheet, this register can hold: 1) the proximity drive > level, 2) ALS/Proximity long wa

Re: [PATCH 12/13] staging: iio: tsl2x7x: various comment cleanups

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:52 -0400 Brian Masney wrote: > This patch removes several unnecessary comments, changes some comments > so that the use as much of the allowable 80 characters as possible, adds > the proper whitespace, removes some structure members from the kernel > docs that are no lon

Re: [PATCH 10/13] staging: iio: tsl2x7x: rename prx to prox for consistency

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:50 -0400 Brian Masney wrote: > The driver mostly uses the 'prox' naming convention for most of the > proximity settings, however prx_time and tsl2x7x_prx_gain was present. > This patch renames these to prox_time and tsl2x7x_prox_gain for > consistency with everything els

Re: [PATCH 09/13] staging: iio: tsl2x7x: move power and diode settings into header file

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:49 -0400 Brian Masney wrote: > The power and diode defines are needed for the platform data so this > patch moves the defines out of the .c file and into the header file. A > comment for the diode is also cleaned up while this code is touched. > > Signed-off-by: Brian M

Re: [PATCH 08/13] staging: iio: tsl2x7x: add range checking to three sysfs attributes

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:48 -0400 Brian Masney wrote: > The sysfs attributes in_illuminance0_target_input, > in_illuminance0_calibrate, and in_proximity0_calibrate did not have > proper range checking in place so this patch adds the correct range > checks. > > Signed-off-by: Brian Masney Comm

Re: [PATCH 07/13] staging: iio: tsl2x7x: simplify device id verification

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:47 -0400 Brian Masney wrote: > This patch renames tsl2x7x_device_id() to tsl2x7x_device_id_verif(), > removes the unnecessary pointer on the id parameter, and only calls > the verification function once. > > Signed-off-by: Brian Masney That double call is just weird..

Re: [PATCH 06/13] staging: iio: tsl2x7x: simplify tsl2x7x_write_interrupt_config return

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:46 -0400 Brian Masney wrote: > tsl2x7x_write_interrupt_config() has an unnecessary return value check > at the end of the function. This patch changes the function to just > return the value from the call to tsl2x7x_invoke_change(). > > Signed-off-by: Brian Masney Nice

Re: [PATCH 05/13] staging: iio: tsl2x7x: remove unnecessary chip status checks in suspend/resume

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:45 -0400 Brian Masney wrote: > tsl2x7x_suspend() and tsl2x7x_resume() both check to see what the > current chip status is. These checks are not necessary so this patch > removes those checks. > > Signed-off-by: Brian Masney This description could have been clearer... T

Re: [PATCH 10/61] gpio: simplify getting .drvdata

2018-04-21 Thread Wolfram Sang
Hi Michal, Thanks for the reviews! > There are two more occurences in this gpio-zynq driver. > zynq_gpio_resume, zynq_gpio_suspend. It wasn't detected because these > two lines are not together. But the same change can be applied for them too. Not really. The rule would have matched if there was

Re: [PATCH v3 4/7] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-04-21 Thread Boris Brezillon
On Thu, 19 Apr 2018 18:27:48 +0200 Peter Rosin wrote: > This beats the heuristic that the connector is involved in what format > should be output for cases where this fails. > > E.g. if there is a bridge that changes format between the encoder and the > connector, or if some of the RGB pins betw

Re: [PATCH 04/13] staging: iio: tsl2x7x: simplify tsl2x7x_clear_interrupts function

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:44 -0400 Brian Masney wrote: > tsl2x7x_clear_interrupts() takes a reg argument but there are only > two callers to this function and both callers pass the same value. > Since this function was introduced, interrupts are now working > properly for this driver, and several

Re: [PATCH 03/13] staging: iio: tsl2x7x: don't return error in IRQ handler

2018-04-21 Thread Jonathan Cameron
On Fri, 20 Apr 2018 20:41:43 -0400 Brian Masney wrote: > tsl2x7x_event_handler() could return an error and this could cause the > interrupt to remain masked. We shouldn't return an error in the > interrupt handler so this patch always returns IRQ_HANDLED. An error > will be logged if one occurs.

  1   2   >