Re: [PATCH v2 20/20] x86/PCI: VMD: Fix malformed Kconfig default

2018-02-22 Thread Bjorn Helgaas
On Fri, Feb 23, 2018 at 12:42:28AM +0100, Ulf Magnusson wrote: > On Fri, Feb 23, 2018 at 12:00 AM, Bjorn Helgaas wrote: > > On Tue, Feb 06, 2018 at 11:11:06PM +0100, Ulf Magnusson wrote: > >> 'default N' should be 'default n', though they happen to have the same > >> effect here, due to undefined

Re: [RFC][PATCH 0/6] KEYS: Fixes

2018-02-22 Thread James Morris
On Thu, 22 Feb 2018, David Howells wrote: > I've posted an update that converts the min() to a min_t() and tagged it: > > https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/tag/?h=keys-fixes-20180222-2 > > Do you want me to repost the patches? Nope, I

Re: [PATCH 5/9] drm/xen-front: Implement handling of shared display buffers

2018-02-22 Thread Boris Ostrovsky
On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: > > static int __init xen_drv_init(void) > { > + /* At the moment we only support case with XEN_PAGE_SIZE == PAGE_SIZE */ > + BUILD_BUG_ON(XEN_PAGE_SIZE != PAGE_SIZE); Why BUILD_BUG_ON? This should simply not load if page sizes ar

Re: [PATCH 1/2] ARM: dts: exynos: Fix address of PPMU ACP on Exynos4210

2018-02-22 Thread Chanwoo Choi
On 2018년 02월 23일 04:11, Krzysztof Kozlowski wrote: > Typo in unit address of PPMU ACP caused DTC warnings: > > arch/arm/boot/dts/exynos4412-odroidu3.dtb: > Warning (simple_bus_reg): Node /soc/ppmu_acp@10ae simple-bus unit > address format error, expected "106e" > > PPMU ACP (

Re: [PATCH 2/2] ARM: dts: exynos: Fix unit addresses of PDMA nodes in Exynos5410

2018-02-22 Thread Chanwoo Choi
On 2018년 02월 23일 04:11, Krzysztof Kozlowski wrote: > Fix the unit addresses of PDMA nodes in Exynos5410 (the reg property is > correct) to get rid of DTC warnings like: > > arch/arm/boot/dts/exynos5410-odroidxu.dtb: Warning (simple_bus_reg): > Node /soc/amba/pdma@1268 simple-bus un

Re: [GIT PULL] SCSI fixes for 4.16-rc2

2018-02-22 Thread Linus Torvalds
On Thu, Feb 22, 2018 at 11:28 AM, James Bottomley wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes When I pull that, I get something completely different from what you claim I should get. Much bigger, and a lot more commits. Hmm? Dropped. Linus

Re: [PATCH] riscv: Implement free_initrd_mem.

2018-02-22 Thread Palmer Dabbelt
On Tue, 20 Feb 2018 05:50:43 PST (-0800), s...@shealevy.com wrote: Signed-off-by: Shea Levy --- arch/riscv/mm/init.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index c77df8142be2..1c832b541e95 100644 --- a/arch/riscv/mm/init.c +++ b/arc

Re: [PATCH v2 0/6] fs/dcache: avoid trylock loops

2018-02-22 Thread Linus Torvalds
On Thu, Feb 22, 2018 at 3:50 PM, John Ogness wrote: > > This patchset removes all trylock loops from within the dcache code. I'm not hating it. It may be because I got used (resigned?) to this from the discussion around the previous version. But it looks ok to me. But this is very much an area

[PATCH] MIPS: boot: Define __ASSEMBLY__ for its.S build

2018-02-22 Thread Kees Cook
The MIPS %.its.S compiler command did not define __ASSEMBLY__, which meant when compiler_types.h was added to kconfig.h, unexpected things appeared (e.g. struct declarations) which should not have been present. As done in the general %.S compiler command, __ASSEMBLY__ is now included here too. The

Re: [PATCH 1/1] mm, compaction: correct the bounds of __fragmentation_index()

2018-02-22 Thread Robert Harris
> On 19 Feb 2018, at 12:39, Michal Hocko wrote: > > On Mon 19-02-18 12:14:26, Robert Harris wrote: >> >> >>> On 19 Feb 2018, at 08:26, Michal Hocko wrote: >>> >>> On Sun 18-02-18 16:47:55, robert.m.har...@oracle.com wrote: From: "Robert M. Harris" __fragmentation_index() ca

Re: linux-next: Signed-off-by missing for commit in the nfsd tree

2018-02-22 Thread J. Bruce Fields
On Thu, Feb 22, 2018 at 06:39:43AM +, James Ettle wrote: > I only really posted this as a demo of a fix. I was hoping someone who > actually knows what they're doing in the kernel would pick it up and make it > proper. Whoops, sorry, I didn't realize that. But I don't see a problem with the

Re: [PATCH v2] [media] Delete unnecessary variable initialisations in seven functions

2018-02-22 Thread Alexey Klimov
On Thu, Feb 22, 2018 at 9:22 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 22 Feb 2018 21:45:47 +0100 > > Some local variables will be set to an appropriate value before usage. > Thus omit explicit initialisations at the beginning of these functions. > > Signed-off-by: Markus E

Proposal - how to make usbip more resistant to misconfiguration

2018-02-22 Thread wzabo...@elektron.elka.pw.edu.pl
Hi, I have found that the https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891036 is not the only one related to misconfiguration of the usbip driver and tools. A few weeks ago the similar bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878866 was discovered. It seems that the configuration

Re: [PATCH] mmc: dw_mmc: Fix the DTO timeout overflow calculation for 32-bit systems

2018-02-22 Thread kbuild test robot
Hi Evgeniy, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2 next-20180222] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 1/2] Staging: gdm724x: Simplify the struct gdm_endian to a variable.

2018-02-22 Thread Quytelda Kahja
Sorry, it depends on the several patches I submitted earlier in that email thread, since they were in response to several suggestions for earlier patches. I will resend all of the patches in that thread as a consecutive patch series in response to this email to minimize confusion. Thank you, Quyt

[PATCH v2 0/2] ASoC: add support for ROHM BD28623 codec

2018-02-22 Thread Katsuhiro Suzuki
This patch adds support for ROHM BD28623MUV class D speaker amplifier codec driver. This driver only refers information of HW specification document that can be derivered at website of ROHM. http://www.rohm.com/web/global/products/-/product/BD28623MUV --- Changes in v2: - Change gpio properti

[PATCH v2 1/2] ASoC: add DT bindings documentation for ROHM BD28623 codec

2018-02-22 Thread Katsuhiro Suzuki
This patch adds DT bindings documentation for ROHM BD28623MUV class D speaker amplifier. Signed-off-by: Katsuhiro Suzuki --- Changes in v2: - Change gpio properties to optional - Change VCCA, VCCP-supply to mandatory --- .../devicetree/bindings/sound/rohm,bd28623.txt | 29 +

Re: [PATCH 0/7] fujitsu-laptop: Miscellaneous cleanups

2018-02-22 Thread Darren Hart
On Sun, Feb 18, 2018 at 08:55:09PM +0100, Michał Kępień wrote: > > To avoid just having to review everything again in a few months ;-) I've > > queued > > up patches 1-5. I'll await comments to 6 and a respin of 7 based on > > feedback. > > Thanks, I think I will post v2 of the entire series wit

[PATCH v2 2/2] ASoC: support ROHM BD28623 codec

2018-02-22 Thread Katsuhiro Suzuki
This patch adds support of the ROHM BD28623MUV Class D speaker amplifier for Flat-panel TVs. This IC delivers an output power of 20W + 20W. Signed-off-by: Katsuhiro Suzuki --- Changes in v2: - Fix lisence comment style - Use _cansleep() version for manipulating GPIO - Use ASoC component r

Re: [PATCH] srcu: remove never used variable

2018-02-22 Thread Paul E. McKenney
On Fri, Feb 23, 2018 at 09:04:05AM +0800, Zhouyi Zhou wrote: > Thanks Paul for reviewing And thank you for your interest in SRCU! I am pretty sure that other bugs still remain. ;-) Thanx, Paul > Cheers > Zhouyi > > On Friday, February 23

Re: [PATCH 04/10] KVM: Introduce a new guest mapping API

2018-02-22 Thread kbuild test robot
Hi KarimAllah, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.16-rc2 next-20180222] [cannot apply to kvm/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

[PATCH 1/4] Staging: gdm724x: LTE: Fix trailing open parentheses.

2018-02-22 Thread Quytelda Kahja
Fix lines with a trailing open parenthesis, which is a coding style issue. Signed-off-by: Quytelda Kahja --- drivers/staging/gdm724x/gdm_lte.c | 44 +++ 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_lte.c b/driver

Re: [PATCH 0/3] Improve and extend checkpatch.pl Kconfig help text checks

2018-02-22 Thread Ulf Magnusson
On Fri, Feb 16, 2018 at 10:14 PM, Joe Perches wrote: > On Fri, 2018-02-16 at 21:22 +0100, Ulf Magnusson wrote: >> Hello, >> >> This patchset contains some improvements for the Kconfig help text check in >> scripts/checkconfig.pl: > > Seems sensible enough to me. > Signed-off-by: Joe Perches Will

[rcu] 11d88c8120: general_protection_fault:#[##]

2018-02-22 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 11d88c812043b17c016b8dbe931244f74f082281 ("rcu: Parallelize expedited grace-period initialization") https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/dev in testcase: boot on test machine: qemu-system-x86_64

[PATCH 4/4] Staging: gdm724x: LTE: Refactor gdm_lte_pdn_table().

2018-02-22 Thread Quytelda Kahja
Mostly this change just reverses the primary conditional so most of the code can be pulled back a tab, which fixes some code style warnings. Signed-off-by: Quytelda Kahja --- drivers/staging/gdm724x/gdm_lte.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --

[PATCH 2/4] Staging: gdm724x: hci: Changed camel-case to snake-case.

2018-02-22 Thread Quytelda Kahja
Changed a variable name from camel to snake case to fix a coding style issue. Signed-off-by: Quytelda Kahja --- drivers/staging/gdm724x/hci_packet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/hci_packet.h b/drivers/staging/gdm724x/hci_packet.h in

[PATCH 3/4] Staging: gdm724x: Simplify the struct gdm_endian to a variable.

2018-02-22 Thread Quytelda Kahja
Since the testing for host endianness and in-driver conversion were removed in 77e8a50149a2, the gdm_endian struct contains only one member, and can therefore be simplified to a single u8 variable. Signed-off-by: Quytelda Kahja --- drivers/staging/gdm724x/gdm_endian.c | 24 --

Re: [PATCH v2 1/2] free_pcppages_bulk: do not hold lock when picking pages to free

2018-02-22 Thread Aaron Lu
On Thu, Feb 15, 2018 at 12:06:08PM +, Mel Gorman wrote: > On Thu, Jan 25, 2018 at 03:21:44PM +0800, Aaron Lu wrote: > > When freeing a batch of pages from Per-CPU-Pages(PCP) back to buddy, > > the zone->lock is held and then pages are chosen from PCP's migratetype > > list. While there is actua

Re: [PATCH 04/10] KVM: Introduce a new guest mapping API

2018-02-22 Thread kbuild test robot
Hi KarimAllah, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/auto-latest] [also build test ERROR on v4.16-rc2 next-20180222] [cannot apply to kvm/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [PATCH] mmc: dw_mmc: update kernel-doc comments for dw_mci

2018-02-22 Thread Shawn Lin
Hi Alexey, On 2018/2/23 3:45, Alexey Roslyakov wrote: cur_slot and num_slots has been removed from struct dw_mci in 42f989c002f2. Unfortunately, inline documentation was not updated so far. Fix @lock field documentation in Locking section. Move @mrq field of struct dw_mci_slot mention closer to

Re: [PATCH v2 1/2] free_pcppages_bulk: do not hold lock when picking pages to free

2018-02-22 Thread Aaron Lu
On Thu, Feb 15, 2018 at 04:46:44AM -0800, Matthew Wilcox wrote: > On Thu, Jan 25, 2018 at 03:21:44PM +0800, Aaron Lu wrote: > > When freeing a batch of pages from Per-CPU-Pages(PCP) back to buddy, > > the zone->lock is held and then pages are chosen from PCP's migratetype > > list. While there is a

Re: [PATCH] MAINTAINERS: Update ASPEED entry with details

2018-02-22 Thread Wang, Haiyue
On 2018-02-23 08:11, Andrew Jeffery wrote: Hi Haiyue, On Thu, 22 Feb 2018, at 19:20, Wang, Haiyue wrote: Dear Andrew & Joel, Since you are ASPEED BMC experts, any time and interest in eSPI code review ? I've sent it before, but no more response. Intel recommends eSPI bus than LPC as I know.

Re: [PATCH 1/8] dt-bindings: scsi: hisi_sas: add an property of signal attenuation

2018-02-22 Thread Martin K. Petersen
> From: Xiaofei Tan > > For some new boards with hip07 chipset we are required to > set PHY config registers differently. The hw property which > determines how to set these registers is in the PHY signal > attenuation readings. > > This patch add an devicetree property, signal-attenuation, which

Re: [PATCH] srcu: remove never used variable

2018-02-22 Thread Zhouyi Zhou
Thanks Paul's encouragement, I will keep studying SRCU code. On Fri, Feb 23, 2018 at 9:20 AM, Paul E. McKenney wrote: > On Fri, Feb 23, 2018 at 09:04:05AM +0800, Zhouyi Zhou wrote: >> Thanks Paul for reviewing > > And thank you for your interest in SRCU! I am pretty sure that other > bugs still

Re: [PATCH net v3 2/2] tuntap: correctly add the missing xdp flush

2018-02-22 Thread Jason Wang
On 2018年02月23日 01:46, Jesper Dangaard Brouer wrote: On Thu, 22 Feb 2018 17:36:46 +0800 Jason Wang wrote: Commit 762c330d670e ("tuntap: add missing xdp flush") tries to fix the devmap stall caused by missed xdp flush by counting the pending xdp redirected packets and flush when it exceeds NAP

Re: [PATCH 03/10] X86/nVMX: Update the PML table without mapping and unmapping the page

2018-02-22 Thread kbuild test robot
Hi KarimAllah, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/auto-latest] [also build test WARNING on v4.16-rc2 next-20180222] [cannot apply to kvm/linux-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the

Re: [PATCH v2 3/6] fs/dcache: Avoid the try_lock loop in d_delete()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 12:50:22AM +0100, John Ogness wrote: > The trylock loop can be avoided with functionality similar to > lock_parent(). The fast path tries the trylock first, which is likely > to succeed. In the contended case it attempts locking in the correct > order. This requires to drop

linux-next: manual merge of the kvms390 tree with the nds32 tree

2018-02-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: drivers/video/console/Kconfig between commit: 2312dbf7462b ("drivers/video/concole: add negative dependency for VGA_CONSOLE on nds32") from the nds32 tree and commit: 2f1ca75f69f3 ("s390/setup : enable display supp

[rcu:rcu/dev 27/27] kernel/rcu/tree_exp.h:461:16: error: implicit declaration of function 'ACCESS_ONCE'; did you mean '__READ_ONCE'?

2018-02-22 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev head: a57af56830b510f3dae7fa26313058c192f38f94 commit: a57af56830b510f3dae7fa26313058c192f38f94 [27/27] rcu: Parallelize expedited grace-period initialization config: i386-randconfig-x004-201807 (attached as .

Re: [PATCH 00/11] KASan for arm

2018-02-22 Thread Liuwenliang (Abbott Liu)
On 2018/2/14 2:41 AM, Florian Fainelli [f.faine...@gmail.com] wrote: >Hi Abbott, > >Are you planning on picking up these patches and sending a second >version? I would be more than happy to provide test results once you >have something, this is very useful, thank you! >-- >Florian I'm sorry to r

Re: [PATCH] cpufreq: mediatek: Convert pr_warn() to pr_debug()

2018-02-22 Thread Sean Wang
On Thu, 2018-02-22 at 11:26 +0530, Viresh Kumar wrote: > With multi-platform build images, this shows a message on non mediatek > platforms, which is unnecessary. Convert pr_warn() to pr_debug() here. > > Signed-off-by: Viresh Kumar > --- > drivers/cpufreq/mediatek-cpufreq.c | 2 +- > 1 file cha

Re: [PATCH v2 4/6] fs/dcache: Avoid the try_lock loops in dentry_kill()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 12:50:23AM +0100, John Ogness wrote: > static struct dentry *dentry_kill(struct dentry *dentry) > __releases(dentry->d_lock) > { > - struct inode *inode = dentry->d_inode; > - struct dentry *parent = NULL; > + int saved_count = dentry->d_lockref.count;

Re: [PATCH 0/7] drm/virtio: Checkpatch cleanup for virtio

2018-02-22 Thread Gurchetan Singh
Patches 1 to 7 are: Reviewed-by: Gurchetan Singh On Thu, Feb 22, 2018 at 3:59 PM, Rodrigo Siqueira wrote: > This patchset fixes warnings and errors found by checkpatch.pl in the > drm/virtio: > > * Removes return from void function; > * Adds */ in block comments to separate line; > * Adds blank

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

2018-02-22 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/fsl-mc/bus/Kconfig between commit: 02b7b2844c2f ("staging: fsl-mc: fix build testing on x86") from Linus' tree and commit: 6bd067c48efe ("staging: fsl-mc: Move core bus out of staging") from the st

Re: [PATCH 5/9] scsi: ufs: add reference counting for scsi block requests

2018-02-22 Thread Asutosh Das (asd)
On 2/21/2018 6:48 PM, Stanislav Nijnikov wrote: -Original Message- From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- ow...@vger.kernel.org] On Behalf Of Asutosh Das Sent: Wednesday, February 21, 2018 6:57 AM To: subha...@codeaurora.org; c...@codeaurora.org; vivek.gau...@codeau

Re: [PATCH v2 3/3] mm/sparse: Optimize memmap allocation during sparse_init()

2018-02-22 Thread Baoquan He
On 02/22/18 at 02:22pm, Dave Hansen wrote: > First of all, this is a much-improved changelog. Thanks for that! > > On 02/22/2018 01:11 AM, Baoquan He wrote: > > In sparse_init(), two temporary pointer arrays, usemap_map and map_map > > are allocated with the size of NR_MEM_SECTIONS. They are used

[PATCH] x86/intel_rdt: Fix incorrect returned value when creating rdgroup sub-directory in resctrl file system

2018-02-22 Thread Fenghua Yu
From: Wang Hui If no monitoring feature is detected because all monitoring features are disabled during boot time or there is no monitoring feature in hardware, creating rdtgroup sub-directory by "mkdir" command reports error: #mkdir /sys/fs/resctrl/p1 mkdir: cannot create directory ‘/sys/fs/res

Re: [PATCH] tee: correct max value for id allocation

2018-02-22 Thread Peng Fan
Hi Jens, Any comments on this patch? Thanks, Peng On Mon, Jan 15, 2018 at 05:27:35PM +0800, Peng Fan wrote: >The privileged dev id range is [TEE_NUM_DEVICES / 2, TEE_NUM_DEVICES). >The non-privileged dev id range is [0, TEE_NUM_DEVICES / 2). > >So when finding a slot for them, need to use differe

Re: [PATCH v12 10/11] sparc64: Add support for ADI (Application Data Integrity)

2018-02-22 Thread kbuild test robot
Hi Khalid, I love your patch! Yet something to improve: [auto build test ERROR on sparc-next/master] [also build test ERROR on v4.16-rc2] [cannot apply to next-20180222] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

[git pull] drm fixes for v4.16-rc3

2018-02-22 Thread Dave Airlie
Hi Linus, A bunch of fixes for rc3, Exynos fixes for using monotonic timestamps, register definitions and removal of unused file ipu-v3 - minor changes, make some register arrays const+static, fix some leaks meson: fix for vsync atomic: fix for memory leak EDID parser: add quirks for some more no

Re: [PATCH v2 4/6] fs/dcache: Avoid the try_lock loops in dentry_kill()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 02:22:43AM +, Al Viro wrote: > No. This is completely wrong. If somebody else has found the sucker > while we dropped the lock and even got around to playing with refcount, > they might have done more than that. > > In particular, they might have *dropped* their refe

Re: [PATCH] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version

2018-02-22 Thread Brian Norris
Hi Hans, Sorry if I'm a little slow to follow up here. This hasn't been my top priority... On Mon, Feb 19, 2018 at 11:17:24AM +0100, Hans de Goede wrote: > On 16-02-18 18:59, Brian Norris wrote: > > On Fri, Feb 16, 2018 at 01:10:20PM +0100, Hans de Goede wrote: > > > Ok, I've asked the reporter o

Re: [PATCH v2 4/6] fs/dcache: Avoid the try_lock loops in dentry_kill()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 03:12:14AM +, Al Viro wrote: > /* retain_dentry() needs ->count == 1 already checked) ... obviously not even compile-tested ;-)

Re: [PATCH v2 0/3] Directed kmem charging

2018-02-22 Thread Christopher Lameter
On Thu, 22 Feb 2018, Jan Kara wrote: > I don't see how task work can be used here. Firstly I don't know of a case > where task work would be used for something else than the current task - > and that is substantial because otherwise you have to deal with lots of > problems like races with task exi

Re: [PATCH v2 0/3] Directed kmem charging

2018-02-22 Thread Christopher Lameter
On Wed, 21 Feb 2018, Andrew Morton wrote: > What do others think? I think the changes to the hotpaths of the slab allocators increasing register pressure in some of the hotttest paths of the kernel are problematic. Its better to do the allocation properly in the task context to which it is final

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-22 Thread Frank Rowand
Hi Laurent, On 02/22/18 02:25, Laurent Pinchart wrote: > Hi Frank, > > On Thursday, 22 February 2018 08:07:14 EET Frank Rowand wrote: >> On 02/20/18 15:10, Laurent Pinchart wrote: >>> Hello, >>> >>> This patch series addresses a design mistake that dates back from the >>> initial DU support. Supp

Re: [GIT PULL] SCSI fixes for 4.16-rc2

2018-02-22 Thread James Bottomley
On Thu, 2018-02-22 at 16:37 -0800, Linus Torvalds wrote: > On Thu, Feb 22, 2018 at 11:28 AM, James Bottomley > wrote: > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi- > > fixes > > When I pull that, I get something completely different from what you > claim I should

Re: [PATCH v2] mmc: dw_mmc: Fix the DTO timeout overflow calculation for 32-bit systems

2018-02-22 Thread Jisheng Zhang
On Thu, 22 Feb 2018 16:34:18 +0300 Evgeniy Didin wrote: > In commit 9d9491a7da2a ("mmc: dw_mmc: Fix the DTO timeout calculation") have > been made > changes which cause multiply overflow for 32-bit systems. > The broken timeout calculations caused false interrupt latency warnings > and stacktrace

[PATCH v3] power: reset: Add Spreadtrum SC27xx PMIC power off support

2018-02-22 Thread Baolin Wang
On Spreadtrum platform, we need power off system through external SC27xx series PMICs including the SC2720, SC2721, SC2723, SC2730 and SC2731 chips. Thus this patch adds SC27xx series PMICs power-off support. Signed-off-by: Baolin Wang --- Changes since v2: - Change to build-in this driver. Cha

[PATCH v2] x86/apic: Move pending intr check code into it's own function

2018-02-22 Thread Dou Liyang
the pending interrupt check code is mixed with the local APIC setup code, that looks messy. Extract the related code, move it into a new function named apic_pending_intr_clear(). bonus cleanups from Andy Shevchenko's suggestions: - for() -> for_each_set_bit() - printk() -> pr_err() Signed-o

linux-next: Tree for Feb 23

2018-02-22 Thread Stephen Rothwell
Hi all, Changes since 20180222: New tree: nds32 The kvms390 tree gained a conflict against the nds32 tree. The staging tree gained a conflict against Linus' tree. The akpm-current tree lost its build failure. Non-merge commits (relative to Linus' tree): 3167 3757 files chang

Re: [PATCH v2 5/6] fs/dcache: Avoid a try_lock loop in shrink_dentry_list()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 12:50:24AM +0100, John Ogness wrote: > - while (dentry && !lockref_put_or_lock(&dentry->d_lockref)) { > - parent = lock_parent(dentry); > - if (dentry->d_lockref.count != 1) { > - dentry->d_lockr

Re: [PATCH v2 6/6] fs/dcache: Avoid remaining try_lock loop in shrink_dentry_list()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 12:50:25AM +0100, John Ogness wrote: > Avoid the trylock loop by using dentry_kill(). When killing dentries > from the dispose list, it is very similar to killing a dentry in > dput(). The difference is that dput() expects to be the last user of > the dentry (refcount=1) an

Re: [PATCH v2 6/6] fs/dcache: Avoid remaining try_lock loop in shrink_dentry_list()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 03:58:14AM +, Al Viro wrote: > On Fri, Feb 23, 2018 at 12:50:25AM +0100, John Ogness wrote: > > > Avoid the trylock loop by using dentry_kill(). When killing dentries > > from the dispose list, it is very similar to killing a dentry in > > dput(). The difference is that

[PATCH] cpufreq: s3c24xx: Fix broken s3c_cpufreq_init()

2018-02-22 Thread Viresh Kumar
commit a307a1e6bc0d ("cpufreq: s3c: use cpufreq_generic_init()") accidentally broke cpufreq on s3c2410 and s3c2412. These two platforms don't have a CPU frequency table and used to skip calling cpufreq_table_validate_and_show() for them. But with the above commit, we started calling it unconditiona

Re: [PATCH v11 04/10] clocksource: timer-ti-dm: Replace architecture

2018-02-22 Thread Keerthy
On Friday 23 February 2018 12:15 AM, Tony Lindgren wrote: > * Ladislav Michl [180222 10:58]: >> On Thu, Feb 15, 2018 at 11:31:45AM +0530, Keerthy wrote: >>> Replace architecture specific guard with clocksource guard. >>> >>> Signed-off-by: Keerthy >>> Replace architecture specific defines with

Re: [PATCH] integrity/security: fix digsig.c build error with header file

2018-02-22 Thread James Morris
On Mon, 12 Feb 2018, Randy Dunlap wrote: > From: Randy Dunlap > > security/integrity/digsig.c has build errors on some $ARCH due to a > missing header file, so add it. > > security/integrity/digsig.c:146:2: error: implicit declaration of function > 'vfree' [-Werror=implicit-function-declarat

Re: [PATCH 2/3] Kconfig: improve handling for all{rand,yes,no,}.config fragments

2018-02-22 Thread Masahiro Yamada
2018-02-22 1:57 GMT+09:00 Arnd Bergmann : > On Tue, Feb 20, 2018 at 6:04 PM, Masahiro Yamada > wrote: >> 2018-02-20 18:59 GMT+09:00 Arnd Bergmann : >>> On Tue, Feb 20, 2018 at 10:26 AM, Masahiro Yamada >>> wrote: 2018-02-17 6:41 GMT+09:00 Arnd Bergmann : >>> > @@ -621,14 +622,24 @@ int m

Re: [PATCH] cpufreq: scpi: drop redundant arm_big_little config dependency

2018-02-22 Thread Viresh Kumar
On 22-02-18, 18:00, Sudeep Holla wrote: Not sure if 'redundant' is the right term to be used here. I would rather say: "Fix incorrect config dependency" :) > Commit 343a8d17fa8d (cpufreq: scpi: remove arm_big_little dependency) > removed the SCPI cpufreq dependency on arm_big_little cpufreq drive

[PATCH net-next] net/ncsi: Add generic netlink family

2018-02-22 Thread Samuel Mendoza-Jonas
Add a generic netlink family for NCSI. This supports two commands; NCSI_CMD_PKG_INFO which returns information on packages and their associated channels, and NCSI_CMD_SET_INTERFACE which allows a specific package or package/channel combination to be set as the preferred choice. Signed-off-by: Samu

The white man -- Who he is

2018-02-22 Thread thetruthbeforeus
Truth about the white man: http://youtu.be/Foi_LbdMjXU I think all my fellow FLOSS programmers should take a moment to join the discussion, to take a good look at just WHO the white man is and how his essence negatively or positively affects the people of the world, and if any accord can be rea

Re: [PATCH v2 07/17] tracing: probeevent: Introduce new argument fetching code

2018-02-22 Thread Namhyung Kim
On Wed, Feb 21, 2018 at 11:57:36PM +0900, Masami Hiramatsu wrote: > Replace {k,u}probe event argument fetching framework > with switch-case based. Currently that is implemented > with structures, macros and chain of function-pointers, > which is more complicated than necessary and may get > a perfo

Re: [PATCH V2 1/7] thermal/drivers/cpu_cooling: Fixup the header and copyright

2018-02-22 Thread Viresh Kumar
On 21-02-18, 16:29, Daniel Lezcano wrote: > The copyright format does not conform to the format requested by > Linaro: https://wiki.linaro.org/Copyright > > Fix it. > > Signed-off-by: Daniel Lezcano > --- > drivers/thermal/cpu_cooling.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions

Re: The white man -- Who he is

2018-02-22 Thread thetruthbeforeus
Please listen to the arguments made and take them into consideration. Again, fellow FLOSS programmers, the discussion is at: http://youtu.be/Foi_LbdMjXU (Which is, ofcourse, CC-BY-SA licensed) On 2018-02-23 04:24, thetruthbefor...@firemail.cc wrote: Truth about the white man: http://youtu.be/F

[PATCH v4 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation

2018-02-22 Thread Baolin Wang
This patch adds the device tree bindings for the Spreadtrum GPIO controller. The gpios will be supported by the GPIO generic library. Signed-off-by: Baolin Wang Acked-by: Rob Herring --- Changes since v3: - Add acked tag from Rob. Changes since v2: - No updates. Changes since v1: - No updat

[PATCH v4 2/2] gpio: Add GPIO driver for Spreadtrum SC9860 platform

2018-02-22 Thread Baolin Wang
The Spreadtrum SC9860 platform GPIO controller contains 16 groups and each group contains 16 GPIOs. Each GPIO can set input/output and has the interrupt capability. Signed-off-by: Baolin Wang Reviewed-by: Andy Shevchenko --- Changes since v3: - Add OF_GPIO dependency. - Rename all 'group' to '

Re: [RFC tip/locking/lockdep v5 05/17] lockdep: Extend __bfs() to work with multiple kinds of dependencies

2018-02-22 Thread Boqun Feng
On Fri, Feb 23, 2018 at 12:31:20AM +0800, Boqun Feng wrote: > On Thu, Feb 22, 2018 at 04:51:43PM +0100, Peter Zijlstra wrote: > > On Thu, Feb 22, 2018 at 04:30:34PM +0100, Peter Zijlstra wrote: > > > On Thu, Feb 22, 2018 at 11:12:10PM +0800, Boqun Feng wrote: > > > > On Thu, Feb 22, 2018 at 03:26:1

[PATCH 2/2] kbuild: simplify ld-option implementation

2018-02-22 Thread Masahiro Yamada
Currently, linker options are tested by the coordination of $(CC) and $(LD) because LD needs some object to link. As commit 86a9df597cdd ("kbuild: fix linker feature test macros when cross compiling with Clang") addressed, we need to make sure $(CC) and $(LD) agree the underlying architecture of t

[PATCH 1/2] kbuild: test --build-id linker flag by ld-option instead of cc-ldoption

2018-02-22 Thread Masahiro Yamada
'--build-id' is passed to $(LD), so it should be tested by 'ld-option'. This seems a kind of misconversion when ld-option was renamed to cc-ldoption. Commit f86fd3066052 ("kbuild: rename ld-option to cc-ldoption") renamed all instances of 'ld-option' to 'cc-ldoption'. Then, commit 691ef3e7fdc1 (

Long standing kernel warning: perfevents: irq loop stuck!

2018-02-22 Thread Cong Wang
Hello, We keep seeing the following kernel warning from 3.10 kernel to 4.9 kernel, it exists for a rather long time. Google search shows there was a patch from Ingo: https://patchwork.kernel.org/patch/6308681/ but it doesn't look like ever merged into mainline... I don't know how it is triggere

Re: [PATCH 1/9] scsi: ufs: Allowing power mode change

2018-02-22 Thread Kyuho Choi
Hi Asutosh, I've simple question in below. On 2/21/18, Asutosh Das wrote: > From: Yaniv Gardi > > Due to M-PHY issues, moving from HS to any other mode or gear or > even Hibern8 causes some un-predicted behavior of the device. > This patch fixes this issues. > > Signed-off-by: Yaniv Gardi > Si

Re: [PATCH v9 4/7] PCI/DPC: Unify and plumb error handling into DPC

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery. Hi, What does DPC mean?

Re: [PATCH v9 7/7] PCI/DPC: Enumerate the devices after DPC trigger event

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Implement error_resume callback in DPC so, after DPC trigger event enumerates the devices beneath. Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c index fc

Re: [PATCH V2 4/7] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-02-22 Thread Viresh Kumar
On 21-02-18, 16:29, Daniel Lezcano wrote: > The next changes will add new way to cool down a CPU. In order to > sanitize and make the overall cpu cooling code consistent and robust > we must prevent the cpu cooling devices to co-exists with the same > purpose at the same time in the kernel. > > Ma

Re: [PATCH v10 1/7] PCI/AER: Rename error recovery to generic pci naming

2018-02-22 Thread poza
On 2018-02-23 00:04, Christoph Hellwig wrote: On Thu, Feb 22, 2018 at 09:32:06PM +0530, Oza Pawandeep wrote: This patch renames error recovery to generic name with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c in

Re: [PATCH V2 0/7] CPU cooling device new strategies

2018-02-22 Thread Viresh Kumar
On Wed, Feb 21, 2018 at 8:59 PM, Daniel Lezcano wrote: > Changelog: > V2: > - Dropped the cpu combo cooling device > - Added the acked-by tags > - Replaced task array by a percpu structure > - Fixed the copyright dates > - Fixed the extra lines > - Fixed the compila

Re: [PATCH v10 3/7] PCI/ERR: add mutex to synchronize recovery

2018-02-22 Thread poza
On 2018-02-23 00:06, Christoph Hellwig wrote: On Thu, Feb 22, 2018 at 09:32:08PM +0530, Oza Pawandeep wrote: This patch protects pci_do_recovery with mutex. Do we really want a global mutex for this and not one per root complex at very least? This protects pcie_do_recovery, which is called b

Re: [PATCH v10 4/7] PCI/DPC: Unify and plumb error handling into DPC

2018-02-22 Thread poza
On 2018-02-23 00:09, Christoph Hellwig wrote: On Thu, Feb 22, 2018 at 09:32:09PM +0530, Oza Pawandeep wrote: Current DPC driver does not do recovery, e.g. calling end-point's driver's callbacks, which sanitize the sw. DPC driver implements link_reset callback, and calls pci_do_recovery. Signe

Re: [PATCH V2 7/7] cpuidle/drivers/cpuidle-arm: Register the cooling device

2018-02-22 Thread Viresh Kumar
On Wed, Feb 21, 2018 at 8:59 PM, Daniel Lezcano wrote: > Register the ARM generic cpuidle driver as a cooling device. > > Signed-off-by: Daniel Lezcano > --- > drivers/cpuidle/cpuidle-arm.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/cpuidle/cpuidle-arm.c b/drivers/cpui

Re: [PATCH v2 4/6] fs/dcache: Avoid the try_lock loops in dentry_kill()

2018-02-22 Thread Al Viro
On Fri, Feb 23, 2018 at 03:12:14AM +, Al Viro wrote: > failed: > spin_unlock(&dentry->d_lock); > spin_lock(&inode->i_lock); > spin_lock(&dentry->d_lock); > parent = lock_parent(dentry); Hmm... Negative dentry case obviously is trickier - not to mention oopsen, it migh

[PATCH -V6 -mm] mm, swap: Fix race between swapoff and some swap operations

2018-02-22 Thread Huang, Ying
From: Huang Ying When the swapin is performed, after getting the swap entry information from the page table, system will swap in the swap entry, without any lock held to prevent the swap device from being swapoff. This may cause the race like below, CPU 1 CPU 2 -

Re: [PATCH 1/2] pci: endpoint: Free func_name after last usage

2018-02-22 Thread Kishon Vijay Abraham I
Hi Lorenzo, On Thursday 22 February 2018 11:49 PM, Lorenzo Pieralisi wrote: > On Wed, Feb 21, 2018 at 01:47:06PM +0100, Rolf Evers-Fischer wrote: >> From: Rolf Evers-Fischer >> >> This commit decreases the number of jump labels and ensures >> that the next commit doesn't increase the number of oc

Re: [PATCH] lightnvm: fix memory leak in pblk_luns_init

2018-02-22 Thread Matias Bjørling
On 02/23/2018 12:03 AM, Huaicheng Li wrote: Please ignore my previous email as I found the memory is free'ed at pblk_init()'s error handling logic. Sorry for the interruption. On Thu, Feb 22, 2018 at 3:01 PM, Huaicheng Li wrote: Signed-off-by: Huaicheng Li --- drivers/lightnvm/pblk-init.c |

[PATCH] drm/rockchip: vop: Init vskiplines in scl_vop_cal_scale()

2018-02-22 Thread Jeffy Chen
Currently we are calling scl_vop_cal_scale() to get vskiplines for yrgb and cbcr. So the cbcr's vskiplines might be an unexpected value if the second scl_vop_cal_scale() didn't update it. Init vskiplines in scl_vop_cal_scale() to avoid that. Signed-off-by: Jeffy Chen --- drivers/gpu/drm/rockch

Re: [PATCH] clk: tegra: fix pllu rate configuration

2018-02-22 Thread Marcel Ziswiler
On February 23, 2018 12:47:56 AM GMT+01:00, Stephen Warren wrote: >On 02/22/2018 04:04 PM, Marcel Ziswiler wrote: >> Turns out latest upstream U-Boot does not configure/enable pllu which >> leaves it at some default rate of 500 kHz: > >I assume this is only because U-Boot just happened not to a

Re: [PATCH v9 2/7] PCI/AER: factor out error reporting from AER

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Hi, Just minor stuff: diff --git a/drivers/pci/pcie/pcie-err.c b/drivers/pci/pcie/pcie-err.c new file mode 100644 index 000..a532fe0 --- /dev/null +++ b/drivers/pci/pcie/pcie-err.c @@ -0,0 +1,334 @@ +// S

Re: [RFCv4 13/21] media: videobuf2-v4l2: support for requests

2018-02-22 Thread Tomasz Figa
On Wed, Feb 21, 2018 at 1:18 AM, Hans Verkuil wrote: > On 02/20/2018 05:44 AM, Alexandre Courbot wrote: >> Add a new vb2_qbuf_request() (a request-aware version of vb2_qbuf()) >> that request-aware drivers can call to queue a buffer into a request >> instead of directly into the vb2 queue if relev

Re: [PATCH v9 2/7] PCI/AER: factor out error reporting from AER

2018-02-22 Thread poza
On 2018-02-23 00:53, Randy Dunlap wrote: On 02/21/2018 11:46 PM, Oza Pawandeep wrote: Hi, Just minor stuff: diff --git a/drivers/pci/pcie/pcie-err.c b/drivers/pci/pcie/pcie-err.c new file mode 100644 index 000..a532fe0 --- /dev/null +++ b/drivers/pci/pcie/pcie-err.c @@ -0,0 +1,334 @@ +// S

Re: [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver

2018-02-22 Thread Oleksandr Andrushchenko
On 02/23/2018 12:23 AM, Boris Ostrovsky wrote: On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: +static struct xenbus_driver xen_driver = { + .ids = xen_drv_ids, + .probe = xen_drv_probe, + .remove = xen_drv_remove, + .otherend_changed = backend_on_changed, What do

[PATCH] perf annotate: Support to display the LBR data in tui mode

2018-02-22 Thread Jin Yao
Unlike the perf report interactive annotate mode, the perf annotate doesn't display the LBR data. perf record -b ... perf annotate function It should show IPC/cycle, but it doesn't. This patch lets perf annotate support the displaying of LBR data. For example, perf annotate compute_flag Perce

<    4   5   6   7   8   9   10   >