[PATCH 2/3] iscsi-target: Set session_fall_back_to_erl0 when forcing reinstatement

2017-05-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger While testing modification of per se_node_acl queue_depth forcing session reinstatement via lio_target_nacl_cmdsn_depth_store() -> core_tpg_set_initiator_node_queue_depth(), a hung task bug triggered when changing cmdsn_depth invoked session

[PATCH 0/3] target: Fixes for v4.12-rc1

2017-05-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi all, Here are a couple of fixes from the last weeks testing while continuing longevity and scale out workloads on v4.x target code. This series contains three patches. The first is to address a COMPARE_AND_WRITE se_cmd reference leak where the

[PATCH 1/3] target: Fix compare_and_write_callback handling for non GOOD status

2017-05-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Following the bugfix for handling non SAM_STAT_GOOD COMPARE_AND_WRITE status during COMMIT phase in commit 9b2792c3da1, the same bug exists for the READ phase as well. This would manifest first as a lost SCSI response, and eventual hung task during

Re: [PATCH] RTC: Add functionality to read/write rtc scratch registers

2017-05-03 Thread Keerthy
On Tuesday 18 April 2017 10:50 AM, Keerthy wrote: > From: Russ Dill > > Many RTCs provide scratch registers that are maintained so long as the RTC > has power. Provide a generic method to access these registers. > A gentle ping on this > Signed-off-by: Russ Dill

[PATCH 3/3] target: Don't force session reset if queue_depth does not change

2017-05-03 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Keeping in the idempotent nature of target_core_fabric_configfs.c, if a queue_depth value is set and it's the same as the existing value, don't attempt to force session reinstatement. Reported-by: Raghu Krishnamurthy Cc: Raghu

Re: [PATCH 1/2] drm: Introduce crtc->mode_valid() callback

2017-05-03 Thread Daniel Vetter
On Tue, May 2, 2017 at 11:29 AM, Jose Abreu wrote: > On 02-05-2017 09:48, Daniel Vetter wrote: >> On Wed, Apr 26, 2017 at 11:48:34AM +0100, Jose Abreu wrote: >>> Some crtc's may have restrictions in the mode they can display. In >>> this patch a new callback

Re: [PATCH] vmscan: scan pages until it founds eligible pages

2017-05-03 Thread Michal Hocko
On Wed 03-05-17 13:48:09, Minchan Kim wrote: > On Tue, May 02, 2017 at 05:14:36PM +0200, Michal Hocko wrote: > > On Tue 02-05-17 23:51:50, Minchan Kim wrote: > > > Hi Michal, > > > > > > On Tue, May 02, 2017 at 09:54:32AM +0200, Michal Hocko wrote: > > > > On Tue 02-05-17 14:14:52, Minchan Kim

Re: [patch v2] mm, vmscan: avoid thrashing anon lru when free + file is low

2017-05-03 Thread Michal Hocko
On Tue 02-05-17 13:41:23, David Rientjes wrote: > On Tue, 2 May 2017, Michal Hocko wrote: > > > I have already asked and my questions were ignored. So let me ask again > > and hopefuly not get ignored this time. So Why do we need a different > > criterion on anon pages than file pages? > > The

Re: [PATCH 1/2] drm: Introduce crtc->mode_valid() callback

2017-05-03 Thread Daniel Vetter
On Tue, May 2, 2017 at 11:29 AM, Jose Abreu wrote: > On 02-05-2017 09:48, Daniel Vetter wrote: >> On Wed, Apr 26, 2017 at 11:48:34AM +0100, Jose Abreu wrote: >>> Some crtc's may have restrictions in the mode they can display. In >>> this patch a new callback

Re: [PATCH] printk: Add best-effort printk() buffering.

2017-05-03 Thread Tetsuo Handa
Joe Perches wrote: > On Sun, 2017-04-30 at 22:54 +0900, Tetsuo Handa wrote: > > Sometimes we want to printk() multiple lines in a group without being > > disturbed by concurrent printk() from interrupts and/or other threads. > > For example, mixed printk() output of multiple thread's dump makes it

Re: [PATCH] platform/x86: Make SILEAD_DMI depend on TOUCHSCREEN_SILEAD

2017-05-03 Thread Jean Delvare
On Fri, 28 Apr 2017 14:00:19 -0700, Darren Hart (VMware) wrote: > SILEAD_DMI provides platform specific data for the TOUCHSCREEN_SILEAD > driver. Make this explicitly clear in the Kconfig depends. > > Signed-off-by: Darren Hart (VMware) > Cc: Hans de Goede

Re:

2017-05-03 Thread H.A
With profound love in my heart, I Kindly Oblige your interest to very important proposal.. It is Truly Divine and require your utmost attention.. S hlubokou láskou v mém srdci, Laskave jsem prinutit svuj zájem k návrhu .. Je velmi duležité, skutecne Divine a vyžadují vaši nejvyšší

Re: [PATCH] mm, vmalloc: properly track vmalloc users

2017-05-03 Thread Michal Hocko
the system] > > url: > https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-vmalloc-properly-track-vmalloc-users/20170503-065022 > base: git://git.cmpxchg.org/linux-mmotm.git master > config: m68k-m5475evb_defconfig (attached as .config) > compiler: m68k-linux-gcc (GCC) 4.9

Re: [RFC PATCH 0/4] PM / Domains: Add support for explicit control of PM domains

2017-05-03 Thread Geert Uytterhoeven
Hi Ulf, On Wed, Apr 26, 2017 at 11:55 AM, Ulf Hansson wrote: > On 26 April 2017 at 11:17, Geert Uytterhoeven wrote: >> On Wed, Apr 26, 2017 at 11:04 AM, Ulf Hansson wrote: >>> On 26 April 2017 at 10:06, Geert Uytterhoeven

Re: [PATCH 09/13] lightnvm/pblk-read: use bio_clone_fast()

2017-05-03 Thread Javier González
> On 2 May 2017, at 23.51, NeilBrown wrote: > >> >> Hi Neil, >> >> Looks good. Thanks for fixing this. I did not know that bio_clone_bioset >> was not supposed to be used on drivers. > > Prior to my patchset, using bio_clone_bioset() wasn't wrong in drivers, > though it was a

Re: [RESENT PATCH] x86/mem: fix the offset overflow when read/write mem

2017-05-03 Thread zhong jiang
On 2017/5/3 4:54, David Rientjes wrote: > On Thu, 27 Apr 2017, zhongjiang wrote: > >> From: zhong jiang >> >> Recently, I found the following issue, it will result in the panic. >> >> [ 168.739152] mmap1: Corrupted page table at address 7f3e6275a002 >> [ 168.745039] PGD

[RFC] Increase Minimal GNU Make version for Linux Kernel from 3.80 to 3.81

2017-05-03 Thread Masahiro Yamada
Hello Linus and Kbuild developers. Documentation/process/changes.rst says the minimal version of GNU Make is 3.80, but actually building the kernel with this version has been broken for a long time. Specifically, it got broken by commit c8589d1e9e01 (i.e. Linux 3.18). Sorry, it's me who broke

[PATCH v3] iov_iter: don't revert iov buffer if csum error

2017-05-03 Thread Ding Tianhong
The patch 327868212381 (make skb_copy_datagram_msg() et.al. preserve ->msg_iter on error) will revert the iov buffer if copy to iter failed, but it didn't copy any datagram if the skb_checksum_complete error, so no need to revert any data at this place. v2: Sabrina notice that return -EFAULT when

Re: [PATCH 0/7] KVM: MMU: fast write protect

2017-05-03 Thread Xiao Guangrong
On 05/03/2017 08:28 PM, Paolo Bonzini wrote: So if I understand correctly this relies on userspace doing: 1) KVM_GET_DIRTY_LOG without write protect 2) KVM_WRITE_PROTECT_ALL_MEM Writes may happen between 1 and 2; they are not represented in the live dirty bitmap but

Re: [PATCH] btrfs: always write superblocks synchronously

2017-05-03 Thread Chris Mason
On 05/03/2017 04:36 AM, Jan Kara wrote: On Tue 02-05-17 09:28:13, Davidlohr Bueso wrote: Commit b685d3d65ac7 "block: treat REQ_FUA and REQ_PREFLUSH as synchronous" removed REQ_SYNC flag from WRITE_FUA implementation. Since REQ_FUA and REQ_FLUSH flags are stripped from submitted IO when the

[PATCH v10 1/3] backlight arcxcnn add arc to vendor prefix

2017-05-03 Thread Olimpiu Dejeu
backlight: Add arc to vendor prefixes Signed-off-by: Olimpiu Dejeu --- v9 => v10: - Per Rob Herring's request changed vendor-prefix to arctic v8 => v9: - Version updated to match other patch in set. No other changes. v8: - Version to match other patches in set

[PATCH] ipv4, ipv6: ensure raw socket message is big enough to hold an IP header

2017-05-03 Thread Alexander Potapenko
raw_send_hdrinc() and rawv6_send_hdrinc() expect that the buffer copied from the userspace contains the IPv4/IPv6 header, so if too few bytes are copied, parts of the header may remain uninitialized. This bug has been detected with KMSAN. Signed-off-by: Alexander Potapenko

Re: [PATCHv3 2/3] drm/prime: Introduce drm_gem_prime_import_platform

2017-05-03 Thread Daniel Vetter
On Wed, May 03, 2017 at 07:40:51AM -0700, Laura Abbott wrote: > On 05/03/2017 12:39 AM, Daniel Vetter wrote: > > On Tue, May 02, 2017 at 09:22:13PM +0100, Chris Wilson wrote: > >> On Tue, May 02, 2017 at 10:02:07AM -0700, Laura Abbott wrote: > >>> /** > >>> + * drm_gem_prime_import_platform -

Re: [v2 3/5] mm: add "zero" argument to vmemmap allocators

2017-05-03 Thread Pasha Tatashin
Hi Dave, Thank you for the review. I will address your comment and update patchset.. Pasha On 05/03/2017 10:34 AM, David Miller wrote: From: Pavel Tatashin Date: Fri, 24 Mar 2017 15:19:50 -0400 Allow clients to request non-zeroed memory from vmemmap allocator.

[GIT PULL] SPI updates for v4.12

2017-05-03 Thread Mark Brown
The following changes since commit 5a7ad1146caa895ad718a534399e38bd2ba721b7: Linux 4.11-rc8 (2017-04-23 16:53:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-v4.12 for you to fetch changes up to

Re: [PATCH 1/2] drm: Introduce crtc->mode_valid() callback

2017-05-03 Thread Ville Syrjälä
On Wed, May 03, 2017 at 05:00:31PM +0200, Daniel Vetter wrote: > On Wed, May 03, 2017 at 03:16:13PM +0100, Jose Abreu wrote: > > Hi Daniel, > > > > > > On 03-05-2017 07:19, Daniel Vetter wrote: > > > On Tue, May 2, 2017 at 11:29 AM, Jose Abreu > > > wrote: > > >> On

Re: [PATCH v2 15/16] fpga: region: add fpga_region_class_find

2017-05-03 Thread Moritz Fischer
On Thu, Apr 20, 2017 at 7:10 AM, Alan Tull wrote: > Add a function for searching the fpga-region class. This > will be useful when device tree code is no longer in the > same file that declares the fpga-region class. Another > step in separating common FPGA region code from

[PATCH] firmware: Google VPD: fix error handling on allocation failures

2017-05-03 Thread Colin King
From: Colin Ian King Fix two allocation failure checks. Firstly, ensure info is checked for a failed allocation; this fixes a potential null pointer dereference issue on info->key. Secondly, free info is info->key fails to allocate to fix a memory leak. Detected by

Linux 4.9.26

2017-05-03 Thread Greg KH
I'm announcing the release of the 4.9.26 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.66

2017-05-03 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/clock/sunxi.txt b/Documentation/devicetree/bindings/clock/sunxi.txt index 8a47b77abfca..e8c74a6e738b 100644 --- a/Documentation/devicetree/bindings/clock/sunxi.txt +++ b/Documentation/devicetree/bindings/clock/sunxi.txt @@ -18,6 +18,7 @@ Required

Re: [PATCH] driver: input :touchscreen : Change Raydium firmware update parameter

2017-05-03 Thread Guenter Roeck
On Wed, May 3, 2017 at 8:37 AM, jeffrey.lin wrote: > From: "jeffrey.lin" > > Change boot mode trigger parameter of Raydium firmware update. > That is a bit vague. What is changed to what, and why ? In other words, what prevents

Re: [PATCH] iommu/arm-smmu-v3: Poll for CMDQ drain completion more effectively

2017-05-03 Thread Sunil Kovvuri
On Wed, May 3, 2017 at 9:29 PM, Will Deacon wrote: > On Wed, May 03, 2017 at 09:24:13PM +0530, Sunil Kovvuri wrote: >> On Wed, May 3, 2017 at 9:07 PM, Will Deacon wrote: >> > On Wed, May 03, 2017 at 06:49:09PM +0530, Sunil Kovvuri wrote: >> >> On Thu,

Re: [PATCH] iommu/arm-smmu-v3: Poll for CMDQ drain completion more effectively

2017-05-03 Thread Sunil Kovvuri
On Wed, May 3, 2017 at 9:10 PM, Will Deacon wrote: > On Wed, May 03, 2017 at 04:33:57PM +0100, Robin Murphy wrote: >> On 27/04/17 12:13, sunil.kovv...@gmail.com wrote: >> > From: Sunil Goutham >> > >> > Modified polling on CMDQ consumer similar to how

Re: [PATCH 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to tpm1_pcr_extend()

2017-05-03 Thread Jarkko Sakkinen
On Tue, May 02, 2017 at 02:31:51PM +0200, Roberto Sassu wrote: > In preparation of the modifications to tpm_pcr_extend(), which will > allow callers to supply a digest for each PCR bank of a TPM 2.0, > the TPM 1.2 specific code has been moved to tpm1_pcr_extend(). > > tpm1_pcr_extend() uses

Re: [PATCH 1/3] arm64: hugetlb: Fix huge_pte_offset to return poisoned page table entries

2017-05-03 Thread Catalin Marinas
On Wed, Apr 12, 2017 at 03:04:57PM +0100, Punit Agrawal wrote: > When memory failure is enabled, a poisoned hugepage pte is marked as a > swap entry. huge_pte_offset() does not return the poisoned page table > entries when it encounters PUD/PMD hugepages. > > This behaviour of huge_pte_offset()

Re: [PATCH] mm, vmalloc: properly track vmalloc users

2017-05-03 Thread Michal Hocko
s applied to the wrong git tree, please drop us a note to > > help improve the system] > > > > url: > > https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-vmalloc-properly-track-vmalloc-users/20170503-065022 > > base: git://git.cmpxchg.org/linux-mmot

Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg

2017-05-03 Thread Peter Zijlstra
On Wed, May 03, 2017 at 12:37:37PM +0200, Vincent Guittot wrote: > On 3 May 2017 at 11:37, Peter Zijlstra wrote: > > Of course, it could be I overlooked something, in which case, please > > tell :-) > > That's mainly based on the regression i see on my platform. I haven't

Re: [PATCH] iommu/arm-smmu-v3: Poll for CMDQ drain completion more effectively

2017-05-03 Thread Sunil Kovvuri
On Thu, Apr 27, 2017 at 4:43 PM, wrote: > From: Sunil Goutham > > Modified polling on CMDQ consumer similar to how polling is done for TLB SYNC > completion in SMMUv2 driver. Code changes are done with reference to > > 8513c8930069 iommu/arm-smmu:

Re: [RFC] Increase Minimal GNU Make version for Linux Kernel from 3.80 to 3.81

2017-05-03 Thread Michal Marek
On 2017-05-03 08:46, Masahiro Yamada wrote: > Hello Linus and Kbuild developers. > > > Documentation/process/changes.rst says the minimal version > of GNU Make is 3.80, but actually building the kernel > with this version has been broken for a long time. > > Specifically, it got broken by

Re: [PATCH] netfilter: conntrack: Force inlining of build check to prevent build failure

2017-05-03 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 3 May 2017 14:18:43 +0200 > If gcc (e.g. 4.1.2) decides not to inline total_extension_size(), the > build will fail with: > > net/built-in.o: In function `nf_conntrack_init_start': > (.text+0x9baf6): undefined reference to

Re: [PATCH] test_bpf: Use ULL suffix for 64-bit constants

2017-05-03 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 3 May 2017 13:31:04 +0200 > On 32-bit: > > lib/test_bpf.c:4772: warning: integer constant is too large for ‘unsigned > long’ type > lib/test_bpf.c:4772: warning: integer constant is too large for ‘unsigned > long’ type >

Re: [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override

2017-05-03 Thread Leonard Crestez
On Wed, 2017-05-03 at 16:26 +0200, Marek Vasut wrote: > On 05/03/2017 03:57 PM, Shawn Guo wrote: > > > > On Tue, Apr 25, 2017 at 07:28:06PM +0200, Marek Vasut wrote: > > > > > > On 04/25/2017 07:23 PM, Leonard Crestez wrote: > > > > > > > > Anyway, that version also sets the supply for reg_arm

[PATCH v10 3/3] backlight arcxcnn add support for ArcticSand devices

2017-05-03 Thread Olimpiu Dejeu
backlight: Add support for Arctic Sand LED backlight driver chips This driver provides support for the Arctic Sand arc2c0608 chip, and provides a framework to support future devices. Reviewed-by: Daniel Thompson Signed-off-by: Olimpiu Dejeu

[PATCH v10 2/3] backlight arcxcnn devicetree bindings for ArcticSand

2017-05-03 Thread Olimpiu Dejeu
backlight: Add devicetree bindings for the Arctic Sand backlight driver This patch provides devicetree bindings for the Arctic Sand driver submitted in the previous patch Acked-by: Rob Herring Acked-by: Daniel Thompson Signed-off-by: Olimpiu Dejeu

Re: [PATCH 1/3] kernel/locking: #include in qrwlock.c

2017-05-03 Thread Geert Uytterhoeven
On Wed, May 3, 2017 at 4:51 PM, Yury Norov wrote: > --- a/kernel/locking/qrwlock.c > +++ b/kernel/locking/qrwlock.c > @@ -20,6 +20,7 @@ > #include > #include > #include > +#include linux/spinlock.h? Gr{oetje,eeting}s, Geert -- Geert

[PATCH] CIFS: silence lockdep splat in cifs_relock_file()

2017-05-03 Thread Rabin Vincent
From: Rabin Vincent cifs_relock_file() can perform a down_write() on the inode's lock_sem even though it was already performed in cifs_strict_readv(). Lockdep complains about this. AFAICS, there is no problem here, and lockdep just needs to be told that this nesting is OK.

RE: [PATCH] staging: unisys: Solve sparse warning

2017-05-03 Thread Kershner, David A
> -Original Message- > From: Marcos Paulo de Souza [mailto:marcos.souza@gmail.com] > Sent: Tuesday, May 2, 2017 11:28 PM > Cc: Marcos Paulo de Souza ; Kershner, David > A ; Greg Kroah-Hartman > ; Sell,

[RFC PATCH] dax: add badblocks check to Device DAX

2017-05-03 Thread Toshi Kani
This is a RFC patch for seeking suggestions. It adds support of badblocks check in Device DAX by using region-level badblocks list. This patch is only briefly tested. device_dax is a well-isolated self-contained module as it calls alloc_dax() with dev_dax, which is private to device_dax. For

Re: [RFC] Increase Minimal GNU Make version for Linux Kernel from 3.80 to 3.81

2017-05-03 Thread Linus Torvalds
On Tue, May 2, 2017 at 11:46 PM, Masahiro Yamada wrote: > > From the above, I'd like to propose to increase the minimal version of > GNU Make to 3.81. Ack. >From earlier (uinrelated) discussion, I think we have other cases where the "minimum recommended" may not

Re: [RFC PATCH] dax: add badblocks check to Device DAX

2017-05-03 Thread Dan Williams
On Wed, May 3, 2017 at 8:31 AM, Toshi Kani wrote: > This is a RFC patch for seeking suggestions. It adds support of > badblocks check in Device DAX by using region-level badblocks list. > This patch is only briefly tested. > > device_dax is a well-isolated self-contained

Re: [PATCH] ARM64/PCI: Allow userspace to mmap PCI resources

2017-05-03 Thread Lorenzo Pieralisi
On Wed, May 03, 2017 at 09:18:58PM +0530, Bharat Bhushan wrote: > This patch allows user-space to mmap PCI resources. This > patch is inline to arm32 bit implementation. > > Signed-off-by: Bharat Bhushan > --- > arch/arm64/include/asm/pci.h | 4 >

[PATCH 2/3] f2fs: relocate inode_{,un}lock in F2FS_IOC_SETFLAGS

2017-05-03 Thread Chao Yu
From: Chao Yu This patch expands cover region of inode->i_rwsem to keep setting flag atomically. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index

[PATCH 3/3] f2fs: enhance scalability of trace macro

2017-05-03 Thread Chao Yu
From: Chao Yu Use __print_flags in show_bio_op_flags and show_cpreason instead of __print_symbolic, it enables tracer function traverses and shows all bits in the flag. Additionally, add missing REQ_FUA into F2FS_OP_FLAGS. Signed-off-by: Chao Yu ---

[PATCH 1/3] f2fs: support statx

2017-05-03 Thread Chao Yu
From: Chao Yu Last kernel has already support new syscall statx() in commit a528d35e8bfc ("statx: Add a system call to make enhanced file info available"), with this interface we can show more file info including file creation and some attribute flags to user. This patch

Re: [PATCH v2 3/9] KVM: remove #ifndef CONFIG_S390 around kvm_vcpu_wake_up

2017-05-03 Thread Radim Krčmář
2017-04-26 22:32+0200, Radim Krčmář: > The #ifndef was protecting a missing halt_wakeup stat, but that is no > longer necessary. It was also protecting smp_send_reschedule() in kvm_vcpu_kick() and I didn't include Christian's patch that exported it and also missed the warning. Going to send v3

[PATCH v3] KVM: remove #ifndef CONFIG_S390 around kvm_vcpu_wake_up

2017-05-03 Thread Radim Krčmář
The #ifndef was protecting a missing halt_wakeup stat, but that is no longer necessary. The #ifndef around kvm_vcpu_kick is still necessary as s390 does not export smp_send_reschedule. Signed-off-by: Radim Krčmář --- v3: kept kvm_vcpu_kick() under the #ifndef and compile

Re: [PATCH 1/2] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.

2017-05-03 Thread Eric Anholt
Laurent Pinchart writes: > Hi Daniel, > > On Wednesday 03 May 2017 16:28:56 Daniel Vetter wrote: >> On Wed, May 03, 2017 at 12:36:06PM +0300, Laurent Pinchart wrote: >> > On Wednesday 03 May 2017 11:32:17 Daniel Vetter wrote: >> >> On Wed, May 03, 2017 at

Re: [PATCH v4] fpga manager: Add Altera CvP driver

2017-05-03 Thread Andy Shevchenko
On Wed, May 3, 2017 at 3:14 AM, Anatolij Gustschin wrote: > On Wed, 3 May 2017 00:28:17 +0300 > Andy Shevchenko andy.shevche...@gmail.com wrote: > + udelay(1); /* wait 1us */ Why not 10? Needs a comment. >>> >>> if this is not obvious, >> >>No, it's

Re: [PATCH] iommu/arm-smmu-v3: Poll for CMDQ drain completion more effectively

2017-05-03 Thread Robin Murphy
On 27/04/17 12:13, sunil.kovv...@gmail.com wrote: > From: Sunil Goutham > > Modified polling on CMDQ consumer similar to how polling is done for TLB SYNC > completion in SMMUv2 driver. Code changes are done with reference to > > 8513c8930069 iommu/arm-smmu: Poll for TLB

Re: [PATCH v4 0/5] virtio_rpmsg: make rpmsg channel configurable

2017-05-03 Thread Loic Pallardy
On 03/28/2017 01:49 PM, Loic Pallardy wrote: This goal of this series is to offer more flexibility for virtio_rpmsg communication link configuration. It should be possible to tune rpmsg buffer size per Rpmsg link, to provide selected configuration to coprocessor, to take into account

[PATCH] CIFS: fix oplock break deadlocks

2017-05-03 Thread Rabin Vincent
From: Rabin Vincent When the final cifsFileInfo_put() is called from cifsiod and an oplock break work is queued, lockdep complains loudly: = [ INFO: possible recursive locking detected ] 4.11.0+ #21 Not tainted

Re: [PATCH v2 4/5] drm/etnaviv: Reuse dma_fence_release.

2017-05-03 Thread Eric Anholt
Lucas Stach writes: > Hi Eric, > > Am Mittwoch, den 12.04.2017, 12:12 -0700 schrieb Eric Anholt: >> If we follow the typical pattern of the base class being the first >> member, we can use the default dma_fence_free function. > > Sorry, I don't like this change. > While

[PATCH 9/9] NFS: Support the mount context and fsopen()

2017-05-03 Thread David Howells
Support the fsopen() system call in NFS, parsing the options and filling in an nfs_parsed_mount_data struct attached to the mount_context struct. For example: mfd = fsopen("nfs4", -1, 0); E_write(mfd, "d warthog:/root"); E_write(mfd, "o fsc"); E_write(mfd, "o

[PATCH 1/9] Provide a function to create a NUL-terminated string from unterminated data

2017-05-03 Thread David Howells
Provide a function, kstrcreate(), that will create a NUL-terminated string from an unterminated character array where the length is known in advance. This is better than kstrndup() in situations where we already know the string length as the strnlen() in kstrndup() is superfluous. Signed-off-by:

[PATCH 6/9] Sample program for driving fsopen/fsmount

2017-05-03 Thread David Howells
--- samples/fsmount/test-fsmount.c | 79 1 file changed, 79 insertions(+) create mode 100644 samples/fsmount/test-fsmount.c diff --git a/samples/fsmount/test-fsmount.c b/samples/fsmount/test-fsmount.c new file mode 100644 index

[PATCH 5/9] Implement fsmount() to effect a pre-configured mount

2017-05-03 Thread David Howells
Provide a system call by which a filesystem opened with fsopen() and configured by a series of writes can be mounted: int ret = fsmount(int fsfd, int dfd, const char *path); where fsfd is the fd returned by fsopen(), dfd and path describe the mountpoint. dfd can be AT_FDCWD or an fd

Re: [PATCH] CIFS: fix oplock break deadlocks

2017-05-03 Thread Steve French
Thoughts about whether cc: stable? On Wed, May 3, 2017 at 10:54 AM, Rabin Vincent wrote: > From: Rabin Vincent > > When the final cifsFileInfo_put() is called from cifsiod and an oplock > break work is queued, lockdep complains loudly: > >

[PATCH 2/9] Clean up whitespace in fs/namespace.c

2017-05-03 Thread David Howells
Clean up line terminal whitespace in fs/namespace.c. Signed-off-by: David Howells --- fs/namespace.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index cc1375eff88c..db034b6afd43 100644 --- a/fs/namespace.c +++

[PATCH] scsi: pmcraid: remove redundant check to see if request_size is less than zero

2017-05-03 Thread Colin King
From: Colin Ian King The 2nd check to see if request_size is less than zero is redundant because the first check takes error exit path on this condition. So, since it is redundant, remove it. Detected by CoverityScan, CID#146149 ("Logically Dead Code") Signed-off-by:

GFS2: Pull request (merge window)

2017-05-03 Thread Bob Peterson
Hi Linus, Please consider pulling the following changes for the GFS2 file system. Special note: This time we had an unusual dependency on a patch (f9fe1c12) which went through David Miller's net-next tree, so we had a merge commit on our GFS2 for-next branch. After you pulled that patch, I

Re: [PATCH 0/7] KVM: MMU: fast write protect

2017-05-03 Thread Paolo Bonzini
On 03/05/2017 16:50, Xiao Guangrong wrote: > Furthermore, userspace has no knowledge about if PML is enable (it > can be required from sysfs, but it is a good way in QEMU), so it is > difficult for the usespace to know when to use write-protect-all. > Maybe we can make

Re: [RFC PATCH 0/4] PM / Domains: Add support for explicit control of PM domains

2017-05-03 Thread Jon Hunter
On 03/05/17 14:43, Ulf Hansson wrote: > On 3 May 2017 at 10:32, Jon Hunter wrote: >> On 03/05/17 09:12, Ulf Hansson wrote: >>> On 2 May 2017 at 23:51, Rafael J. Wysocki wrote: On Tuesday, May 02, 2017 11:10:29 AM Jon Hunter wrote: ... > So

[PATCH v2] drivers: dma-mapping: Do not leave an invalid area->pages pointer in dma_common_contiguous_remap()

2017-05-03 Thread Catalin Marinas
The dma_common_pages_remap() function allocates a vm_struct object and initialises the pages pointer to value passed as argument. However, when this function is called dma_common_contiguous_remap(), the pages array is only temporarily allocated, being freed shortly after

Re:What has actually kept you waiting?

2017-05-03 Thread Mr.Williams Brown
What has actually kept you waiting to claim your fund $870.000.00 since then? Your fund has been approved since and nobody has heard from you. hurry and get back to me with your valid receiving data immediately you receive this mail to avoid error procedures because the United Nation Newly

Re: [PATCH] iommu/arm-smmu-v3: Poll for CMDQ drain completion more effectively

2017-05-03 Thread Will Deacon
On Wed, May 03, 2017 at 04:33:57PM +0100, Robin Murphy wrote: > On 27/04/17 12:13, sunil.kovv...@gmail.com wrote: > > From: Sunil Goutham > > > > Modified polling on CMDQ consumer similar to how polling is done for TLB > > SYNC > > completion in SMMUv2 driver. Code changes

Re: [linux-sunxi] Designware UART bug

2017-05-03 Thread Olliver Schinagl
Hey Tim, On 03-05-17 16:22, Tim Kryger wrote: On Wed, May 3, 2017 at 4:26 AM, Olliver Schinagl wrote: Hey Chen-Yu On 03-05-17 12:40, Chen-Yu Tsai wrote: On Wed, May 3, 2017 at 6:17 PM, Olliver Schinagl wrote: Hey Jamie, Several years ago you

[PATCH] ARM64/PCI: Allow userspace to mmap PCI resources

2017-05-03 Thread Bharat Bhushan
This patch allows user-space to mmap PCI resources. This patch is inline to arm32 bit implementation. Signed-off-by: Bharat Bhushan --- arch/arm64/include/asm/pci.h | 4 arch/arm64/kernel/pci.c | 19 +++ 2 files changed, 23 insertions(+) diff

Re: [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override

2017-05-03 Thread Marek Vasut
On 05/03/2017 04:58 PM, Leonard Crestez wrote: > On Wed, 2017-05-03 at 16:26 +0200, Marek Vasut wrote: > >> On 05/03/2017 03:57 PM, Shawn Guo wrote: >>> >>> On Tue, Apr 25, 2017 at 07:28:06PM +0200, Marek Vasut wrote: On 04/25/2017 07:23 PM, Leonard Crestez wrote: > > Anyway,

RE: [PATCH] ARM64/PCI: Allow userspace to mmap PCI resources

2017-05-03 Thread Bharat Bhushan
> -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: Wednesday, May 03, 2017 9:29 PM > To: Bharat Bhushan > Cc: catalin.mari...@arm.com; will.dea...@arm.com; > bhelg...@google.com; linux-arm-ker...@lists.infradead.org; linux-

[PATCH 3/9] VFS: Introduce a mount context

2017-05-03 Thread David Howells
Introduce a mount context concept. This is allocated at the beginning of the mount procedure and into it is placed: (1) Filesystem type. (2) Namespaces. (3) Device name. (4) Superblock flags (MS_*) and mount flags (MNT_*). (5) Security details. (6) Filesystem-specific data, as set by

[PATCH 4/9] Implement fsopen() to prepare for a mount

2017-05-03 Thread David Howells
Provide an fsopen() system call that starts the process of preparing to mount, using an fd as a context handle. fsopen() is given the name of the filesystem that will be used: int mfd = fsopen(const char *fsname, int reserved, int open_flags); where reserved

[PATCH 8/9] proc: Support the mount context in procfs

2017-05-03 Thread David Howells
--- fs/proc/inode.c|2 - fs/proc/internal.h |2 - fs/proc/root.c | 158 3 files changed, 100 insertions(+), 62 deletions(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 194fa2d13b7e..9ddaf60c6f93 100644 ---

[PATCH 7/9] procfs: Move proc_fill_super() to fs/proc/root.c

2017-05-03 Thread David Howells
Move proc_fill_super() to fs/proc/root.c as that's where the other superblock stuff is. Signed-off-by: David Howells --- fs/proc/inode.c| 48 +--- fs/proc/internal.h |4 +--- fs/proc/root.c | 48

Re: [PATCH 3/9] bio-integrity: bio_integrity_advance must update integrity seed

2017-05-03 Thread Dmitry Monakhov
"Martin K. Petersen" writes: > Dmitry Monakhov writes: > >> SCSI drivers do care about bip_seed so we must update it accordingly. > >> +bip->bip_iter.bi_sector += bytes_done >> 9; > > This needs to count protection intervals. Otherwise

[PATCH v2 1/3] tpm: move endianness conversion of TPM_TAG_RQU_COMMAND to tpm_input_header

2017-05-03 Thread Roberto Sassu
In the long term, TPM 1.2 functions in the driver interface will be modified to use tpm_buf_init(). However, tag and ordinals cannot be passed directly to tpm_buf_init(), because this function performs CPU native to big-endian conversion of these arguments. Since TPM_TAG_RQU_COMMAND and TPM_ORD_

[PATCH v2 3/3] tpm: move TPM 1.2 code of tpm_pcr_extend() to tpm1_pcr_extend()

2017-05-03 Thread Roberto Sassu
In preparation of the modifications to tpm_pcr_extend(), which will allow callers to supply a digest for each PCR bank of a TPM 2.0, the TPM 1.2 specific code has been moved to tpm1_pcr_extend(). tpm1_pcr_extend() uses tpm_buf_init() to prepare the command buffer, which offers protection against

Re: [RFC PATCH] dax: add badblocks check to Device DAX

2017-05-03 Thread Dan Williams
On Wed, May 3, 2017 at 9:09 AM, Kani, Toshimitsu wrote: > On Wed, 2017-05-03 at 08:52 -0700, Dan Williams wrote: >> On Wed, May 3, 2017 at 8:31 AM, Toshi Kani >> wrote: >> > This is a RFC patch for seeking suggestions. It adds support of >> > badblocks

Re: [RFC PATCH v2 3/3] hwmon: (adt7475) temperature smoothing

2017-05-03 Thread Guenter Roeck
On Wed, May 03, 2017 at 12:40:09PM +1200, Chris Packham wrote: > When enabled temperature smoothing allows ramping the fan speed over a > configurable period of time instead of jumping to the new speed > instantaneously. > > Signed-off-by: Chris Packham > --- >

Re: [PATCH 1/2] drm/bridge: Refactor out the panel wrapper from the lvds-encoder bridge.

2017-05-03 Thread Eric Anholt
Archit Taneja writes: > Hi, > > On 04/27/2017 10:06 PM, Eric Anholt wrote: >> Many DRM drivers have common code to make a stub connector >> implementation that wraps a drm_panel. By wrapping the panel in a DRM >> bridge, all of the connector code (including calls during

[GIT PULL] regulator updates for v4.12

2017-05-03 Thread Mark Brown
The following changes since commit 5a7ad1146caa895ad718a534399e38bd2ba721b7: Linux 4.11-rc8 (2017-04-23 16:53:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.12 for you to fetch changes up to

Re: [PATCHv2 0/4] Motorola Droid 4: Add WL1285C support

2017-05-03 Thread Rob Herring
On Wed, May 3, 2017 at 9:22 AM, Sebastian Reichel wrote: > Hi, > > Motorola Droid 4 uses a WL1285C, as visible on iFixit [0]. This > fixes the DT file to use correct compatible for the wifi node > and adds the bluetooth node. > > [0]

[PATCH 0/3] arm64: queued spinlocks and rw-locks

2017-05-03 Thread Yury Norov
The patch 3 adds implementation for queued-based locking on ARM64, and the option in kernel config to enable it. Patches 1 and 2 fix some mess in header files to apply patch 3 smoothly. Tested on QDF2400 with huge improvements with these patches on the torture tests, by Adam Wallis. Tested on

Re: [PATCH] ARM: dts: imx6sx-sdb: Remove cpufreq OPP override

2017-05-03 Thread Marek Vasut
On 05/03/2017 04:41 PM, Shawn Guo wrote: > On Wed, May 03, 2017 at 04:32:06PM +0200, Marek Vasut wrote: >> On 05/03/2017 04:26 PM, Marek Vasut wrote: >>> On 05/03/2017 03:57 PM, Shawn Guo wrote: On Tue, Apr 25, 2017 at 07:28:06PM +0200, Marek Vasut wrote: > On 04/25/2017 07:23 PM, Leonard

[PATCH 2/3] asm-generic: don't #include in qspinlock_types.h

2017-05-03 Thread Yury Norov
The "qspinlock_types.h" doesn't need linux/atomic.h directly. So because of this, and because including of it requires the protection against recursive inclusion, it looks reasonable to move the inclusion exactly where it is needed. This change affects the x86_64 arch, as the only user of

Re: linux-next: manual merge of the drivers-x86 tree with the watchdog tree

2017-05-03 Thread Wim Van Sebroeck
Hi All, > On Tue, May 02, 2017 at 02:58:22PM -0700, Guenter Roeck wrote: > > On Tue, May 02, 2017 at 02:30:46PM -0700, Darren Hart wrote: > > > On Tue, May 02, 2017 at 11:57:18PM +0300, Andy Shevchenko wrote: > > > > On Tue, May 2, 2017 at 11:21 PM, Darren Hart > > > >

[PATCH 1/3] kernel/locking: #include in qrwlock.c

2017-05-03 Thread Yury Norov
qrwlock.c calls arch_spin_lock() and arch_spin_unlock() but doesn't include the asm/spinlock.h, where those functions are defined. It may produce "implicit declaration of function" errors. This patch fixes it. Signed-off-by: Yury Norov --- kernel/locking/qrwlock.c | 1

[PATCH 3/3] arm64/locking: qspinlocks and qrwlocks support

2017-05-03 Thread Yury Norov
From: Jan Glauber Ported from x86_64 with paravirtualization support removed. Signed-off-by: Jan Glauber Note. This patch removes protection from direct inclusion of arch/arm64/include/asm/spinlock_types.h. It's done because kernel/locking/qrwlock.c

Re: I'd like to donate a MacBook Pro

2017-05-03 Thread Joerg Roedel
On Wed, May 03, 2017 at 08:35:47AM -0600, Alex Henrie wrote: > 2017-05-03 5:58 GMT-06:00 Greg KH : > > On Tue, May 02, 2017 at 10:55:09PM -0600, Alex Henrie wrote: > >> Today I ran a regression test to determine which commit made the > >> keyboard stop working entirely.

Re: x86: warning: kernel stack regs has bad 'bp' value

2017-05-03 Thread Andrey Konovalov
On Wed, May 3, 2017 at 3:30 PM, Josh Poimboeuf wrote: > On Wed, May 03, 2017 at 02:48:28PM +0200, Andrey Konovalov wrote: >> Hi, >> >> I've got the following error report while fuzzing the kernel with syzkaller. >> >> On commit 89c9fea3c8034cdb2fd745f551cde0b507fd6893

Re: Linux 4.9.26

2017-05-03 Thread Greg KH
diff --git a/Makefile b/Makefile index 8e18c63388c4..c09679c1a70d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 25 +SUBLEVEL = 26 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/include/asm/atomic.h b/arch/arc/include/asm/atomic.h

  1   2   3   4   5   6   7   8   9   10   >