Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-14 Thread Greg Kroah-Hartman
On Wed, Aug 15, 2018 at 02:36:00AM +0200, Sebastian Gottschall wrote: > if SWAP is disabled in kernel config, the following compile error will raise > up with this release > > arch/x86/built-in.o: in function `max_swapfile_size': (.text+0x3bba1): > undefined reference to

Re: [PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-14 Thread Borislav Petkov
On Tue, Aug 14, 2018 at 08:14:47PM -0400, Michael Jin wrote: > Therefore, I would like you to confirm that model 10h uses 0x15e8 (device > F0) and 0x15ee (device F6) as I can not find any documentation or test > whether ECC works. He just asked you to make the change for models 0x10-0x2f. How

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-14 Thread Greg Kroah-Hartman
On Tue, Aug 14, 2018 at 11:58:18AM -0700, Nathan Chancellor wrote: > On Tue, Aug 14, 2018 at 07:16:23PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.120 release. > > There are 107 patches in this series, all will be posted as a response > > to this

Re: [PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-14 Thread Jian Hu
On 2018/8/15 4:48, Rob Herring wrote: On Fri, Aug 10, 2018 at 05:54:27PM +0800, Jian Hu wrote: Add new clock controller compatible and dt-bingdings headers for the Always-On domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 +

[PATCH 3/5] arm64: dts: mt7622: fix ram size for rfb1

2018-08-14 Thread Ryder Lee
Fix ram size and sort nodes in alphabetical order. Signed-off-by: Ryder Lee --- arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 196 +-- 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts

[PATCH 1/5] arm64: dts: mt7622: add some misc device nodes

2018-08-14 Thread Ryder Lee
Add timer and CCI-400 device nodes for MT7622. Signed-off-by: Ryder Lee --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index

[PATCH 4/5] arm64: dts: mt7622: add bananapi BPI-R64 board

2018-08-14 Thread Ryder Lee
Add support for the bananapi R64 (BPI-R64) development board from BIPAI KEJI. Detailed hardware information for BPI-R64 which could be found on http://wiki.banana-pi.org/Banana_Pi_BPI-R64 Signed-off-by: Ryder Lee --- arch/arm64/boot/dts/mediatek/Makefile | 1 +

[PATCH 2/5] arm64: dts: mt7622: add a bluetooth 5 device node

2018-08-14 Thread Ryder Lee
Add a built-in bluetooth 5 support for MT7622. Signed-off-by: Ryder Lee --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index b235df7..f8c3495 100644 ---

[PATCH 5/5] dt-bindings: arm: mediatek: add support for bananapi BPI-R64 board

2018-08-14 Thread Ryder Lee
Update binding document for bananapi BPI-R64 board being supported. Signed-off-by: Ryder Lee --- Documentation/devicetree/bindings/arm/mediatek.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt

Re: [PATCH] x86, kdump: Fix efi=noruntime NULL pointer dereference

2018-08-14 Thread Mike Galbraith
On Wed, 2018-08-15 at 11:59 +0800, Dave Young wrote: > > Does this improve things, and plug the no boot hole? > > Would you mind to tune my patch with some acpi_rsdp checking and add > some error message in case kexec load failure? Eg. suggest people to use > append acpi_rsdp for noefi booting

Re: linux-next: manual merge of the kvm tree with the tip tree

2018-08-14 Thread Stephen Rothwell
Hi all, On Wed, 8 Aug 2018 13:54:45 +1000 Stephen Rothwell wrote: > > Paolo pointed out a semantic conflict between the kvm tree and the tip > tree in > > arch/x86/kernel/kvm.c > > between commit: > > 368a540e0232 ("x86/kvmclock: Remove memblock dependency") > > from the tip tree and

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

2018-08-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/include/asm/kvm_host.h between commit: 5b76a3cff011 ("KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry") from Linus' tree and commit: 4180bf1b655a ("KVM: X86: Implement "send IPI" hypercall")

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

2018-08-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/kvm/vmx.c between commit: a399477e52c1 ("x86/KVM/VMX: Add module argument for L1TF mitigation") from Linus' tree and commit: 877ad952be3d ("KVM: vmx: Add tlb_remote_flush callback support") from the kvm tree.

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

2018-08-14 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in: kernel/events/uprobes.c between commit: 788faab70d5a ("perf, tools: Use correct articles in comments") from Linus' tree and commit: 38e967ae1e60 ("Uprobes: Simplify uprobe_register() body") from the ftrace tree.

Re: [PATCH] x86, kdump: Fix efi=noruntime NULL pointer dereference

2018-08-14 Thread Dave Young
Apologize for late reply, I'm occupied with something else. On 08/10/18 at 07:39pm, Mike Galbraith wrote: > On Fri, 2018-08-10 at 18:28 +0800, Dave Young wrote: > > > > > @@ -250,8 +253,10 @@ setup_boot_parameters(struct kimage *image, struct > > > boot_params *params, > > > > > > #ifdef

Re: [PATCH] modpost: check strdup() return value

2018-08-14 Thread Masahiro Yamada
uexing Wang > Cc: Masahiro Yamada > --- > scripts/mod/modpost.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20180814.orig/scripts/mod/modpost.c > +++ linux-next-20180814/scripts/mod/modpost.c > @@ -672,7

Greetings in the name of God, Business proposal in God we trust

2018-08-14 Thread Mrs, Suran Yoda
Greetings in the name of God Dear Friend Greetings in the name of God,please let this not sound strange to you for my only surviving lawyer who would have done this died early this year.I prayed and got your email id from your country guestbook. I am Mrs Suran Yoda from London,I am 72 years

Re: [RFC][PATCH 00/24] tools lib traceevent: Rename pevent to tep for preparation for library

2018-08-14 Thread Steven Rostedt
On Fri, 10 Aug 2018 13:57:06 -0300 Arnaldo Carvalho de Melo wrote: > > Arnaldo takes care of that, but I guess pulling from branch is the prefered > > way > > I'll try pulling and building it automatically patch by patch, Hi Arnaldo, Were you able to take this? We have another patch series

Re: [PATCH V2] i2c: ismt: fix wrong device address when unmap the data buffer

2018-08-14 Thread Dmitry Safonov
+Cc: stable Hi Greg, JFI: This one has hit a couple of times on autotests on v4.9 stable. The fix for BUG() is trivial, so probably worth to ship it to v4.9/v4.4/v3.18. 2017-06-13 5:59 GMT+01:00 Song liwei : > From: Liwei Song > > Fix the following kernel bug: > > kernel BUG at

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Baolin Wang
Hi Rob, On 15 August 2018 at 04:27, Rob Herring wrote: > On Thu, Aug 09, 2018 at 11:03:11AM +0800, Baolin Wang wrote: >> Hi Trent, >> >> On 9 August 2018 at 02:57, Trent Piepho wrote: >> > On Wed, 2018-08-08 at 11:54 +0100, Mark Brown wrote: >> >> On Wed, Aug 08, 2018 at 06:35:28PM +0800,

Re: [PATCH] Bugfix for handling of shadow doorbell buffer.

2018-08-14 Thread Linus Torvalds
On Tue, Aug 14, 2018 at 6:35 PM Michal Wnukowski wrote: > > I got confused after comaring disassembly of this code with and > without volatile keyword. Thanks for the correction. Note that _usually_, the "volatile" has absolutely no impact. When there is one read in the source code, it's almost

Re: linux-next: manual merge of the tip tree with the rdma tree

2018-08-14 Thread Stephen Rothwell
Hi all, On Mon, 6 Aug 2018 14:53:31 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got a conflict in: > > drivers/infiniband/core/rdma_core.c > > between commit: > > 9867f5c6695f ("IB/uverbs: Convert 'bool exclusive' into an enum") > > from the rdma tree and

Re: [PATCH v23 3/4] arm64: dts: mt8173: Add GCE node

2018-08-14 Thread houlong wei
On Wed, 2018-07-25 at 09:26 +0800, Houlong Wei wrote: > This patch adds the device node of the GCE hardware for CMDQ module. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ > 1 file changed, 10 insertions(+) > > diff

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-08-14 Thread houlong wei
On Wed, 2018-07-25 at 09:26 +0800, Houlong Wei wrote: > Add Mediatek CMDQ helper to create CMDQ packet and assemble GCE op code. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > drivers/soc/mediatek/Kconfig | 12 ++ > drivers/soc/mediatek/Makefile |1 + >

Re: linux-next: manual merge of the block tree with the rdma tree

2018-08-14 Thread Stephen Rothwell
Hi all, On Thu, 26 Jul 2018 13:58:04 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the block tree got a conflict in: > > drivers/nvme/target/rdma.c > > between commit: > > 23f96d1f15a7 ("nvmet-rdma: Simplify ib_post_(send|recv|srq_recv)() calls") > 202093848cac

Re: [PATCH 1/2] dt-bindings: spi: Add Spreadtrum SPI controller documentation

2018-08-14 Thread Baolin Wang
Hi Rob, On 15 August 2018 at 04:21, Rob Herring wrote: > On Tue, Aug 07, 2018 at 06:43:37PM +0800, Baolin Wang wrote: >> From: Lanqing Liu >> >> This patch adds the binding documentation for Spreadtrum SPI >> controller device. >> >> Signed-off-by: Lanqing Liu >> Signed-off-by: Baolin Wang >>

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

2018-08-14 Thread Stephen Rothwell
Hi all, On Thu, 26 Jul 2018 14:56:24 +1000 Stephen Rothwell wrote: > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/nvme/target/rdma.c: In function 'nvmet_rdma_find_get_device': > drivers/nvme/target/rdma.c:894:26: error: 'struct

Re: [PATCH] Bugfix for handling of shadow doorbell buffer.

2018-08-14 Thread Michal Wnukowski
On 08/14/2018 04:16 PM, Linus Torvalds wrote: > On Tue, Aug 14, 2018 at 03:17:35PM -0700, Michal Wnukowski wrote: >> >> With memory barrier in place, the volatile keyword around *dbbuf_ei is >> redundant. > > No. The memory barrier enforces _ordering_, but it doesn't enforce > that the

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-14 Thread David Collins
On 08/14/2018 04:56 PM, Doug Anderson wrote: > On Tue, Aug 14, 2018 at 2:59 PM, David Collins > wrote: >> On 08/14/2018 01:03 PM, Doug Anderson wrote: >>> On Tue, Aug 14, 2018 at 11:30 AM, David Collins >>> wrote:>>> --- a/drivers/regulator/core.c > +++ b/drivers/regulator/core.c > @@

[PATCH v5 1/5] iommu/arm-smmu-v3: fix the implementation of flush_iotlb_all hook

2018-08-14 Thread Zhen Lei
.flush_iotlb_all can not just wait for previous tlbi operations to be completed, but should also invalid all TLBs of the related domain. Signed-off-by: Zhen Lei Reviewed-by: Robin Murphy --- drivers/iommu/arm-smmu-v3.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

Re: How delete node or property in overlayd dts?

2018-08-14 Thread Frank Rowand
On 08/14/18 07:46, 张波 wrote: > /delete-node/ /delete-prop/ could be used in dtsi files without device > tree overlay. > > but with device tree overlay, /delete-node/ and /delete-prop/ are not work. > How to delete property and node in overlay dts? > > for example, > in basel.dts have following

Re: [RFC PATCH 1/2] mm: rework memcg kernel stack accounting

2018-08-14 Thread Shakeel Butt
On Tue, Aug 14, 2018 at 5:37 PM Roman Gushchin wrote: > > If CONFIG_VMAP_STACK is set, kernel stacks are allocated > using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel > stack pages are charged against corresponding memory cgroups > on allocation and uncharged on releasing them. > > The

Re: [BUG] kernel: rcu: a possible sleep-in-atomic-context bug in srcu_read_delay()

2018-08-14 Thread Jia-Ju Bai
On 2018/8/13 20:42, Paul E. McKenney wrote: On Mon, Aug 13, 2018 at 05:26:49PM +0800, Jia-Ju Bai wrote: On 2018/8/13 12:18, Paul E. McKenney wrote: On Mon, Aug 13, 2018 at 11:04:10AM +0800, Jia-Ju Bai wrote: The kernel may sleep with holding a spinlock. The function call paths (from

Re: Build failures with gcc 4.5 and older

2018-08-14 Thread Guenter Roeck
On 08/14/2018 04:20 PM, Linus Torvalds wrote: On Tue, Aug 14, 2018 at 4:02 PM Andrew Morton wrote: The m68k build still fails because 0cc3cd21657 ("cpu/hotplug: Boot HT siblings at least once") was evidently never tested on CONFIG_SMP=n. How could that come about - the patch is six weeks

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-14 Thread Guenter Roeck
On 08/14/2018 05:36 PM, Sebastian Gottschall wrote: if SWAP is disabled in kernel config, the following compile error will raise up with this release arch/x86/built-in.o: in function `max_swapfile_size': (.text+0x3bba1): undefined reference to `generic_max_swapfile_size' of course this is

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-14 Thread Nathan Chancellor
On Wed, Aug 15, 2018 at 02:36:00AM +0200, Sebastian Gottschall wrote: > if SWAP is disabled in kernel config, the following compile error will raise > up with this release > > arch/x86/built-in.o: in function `max_swapfile_size': (.text+0x3bba1): > undefined reference to

Re: [PATCH 4.9 000/107] 4.9.120-stable review

2018-08-14 Thread Sebastian Gottschall
if SWAP is disabled in kernel config, the following compile error will raise up with this release arch/x86/built-in.o: in function `max_swapfile_size': (.text+0x3bba1): undefined reference to `generic_max_swapfile_size' of course this is simple to fix. the function max_swapfile_size must be

Re: [RFC PATCH 2/2] mm: drain memcg stocks on css offlining

2018-08-14 Thread Shakeel Butt
On Tue, Aug 14, 2018 at 5:36 PM Roman Gushchin wrote: > > Memcg charge is batched using per-cpu stocks, so an offline memcg > can be pinned by a cached charge up to a moment, when a process > belonging to some other cgroup will charge some memory on the same > cpu. In other words, cached charges

[PATCH] kconfig: add build-only configurator targets

2018-08-14 Thread Randy Dunlap
o be built and checked by sparse. Signed-off-by: Randy Dunlap --- scripts/kconfig/Makefile |8 1 file changed, 8 insertions(+) --- linux-next-20180814.orig/scripts/kconfig/Makefile +++ linux-next-20180814/scripts/kconfig/Makefile @@ -33,6 +33,14 @@ config: $(obj)/conf nconfig: $(

[RFC PATCH 1/2] mm: rework memcg kernel stack accounting

2018-08-14 Thread Roman Gushchin
If CONFIG_VMAP_STACK is set, kernel stacks are allocated using __vmalloc_node_range() with __GFP_ACCOUNT. So kernel stack pages are charged against corresponding memory cgroups on allocation and uncharged on releasing them. The problem is that we do cache kernel stacks in small per-cpu caches and

[RFC PATCH 2/2] mm: drain memcg stocks on css offlining

2018-08-14 Thread Roman Gushchin
Memcg charge is batched using per-cpu stocks, so an offline memcg can be pinned by a cached charge up to a moment, when a process belonging to some other cgroup will charge some memory on the same cpu. In other words, cached charges can prevent a memory cgroup from being reclaimed for some time,

Re: [PATCH] EDAC, amd64: Add Family 17h Model 11h support.

2018-08-14 Thread Michael Jin
On Tue, Aug 14, 2018 at 4:26 PM, Ghannam, Yazen wrote: > > > -Original Message- > > From: Michael Jin > > Sent: Friday, August 10, 2018 2:36 PM > > To: Borislav Petkov ; Ghannam, Yazen > > ; Mauro Carvalho Chehab > > > > Cc: linux-e...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-14 Thread Mike Kravetz
On 08/14/2018 01:48 AM, Kirill A. Shutemov wrote: > On Mon, Aug 13, 2018 at 11:21:41PM +, Mike Kravetz wrote: >> On 08/13/2018 03:58 AM, Kirill A. Shutemov wrote: >>> On Sun, Aug 12, 2018 at 08:41:08PM -0700, Mike Kravetz wrote: I am not %100 sure on the required flushing, so suggestions

Re: general protection fault in send_sigurg_to_task

2018-08-14 Thread Stephen Rothwell
> >> HEAD commit:5ed5da74de9e Add linux-next specific files for 20180813 > >> git tree: linux-next > > > > I fetched linux-next but don't have 5ed5da74de9e. > > +Stephen for the disappeared linux-next commit. That is just the HEAD commit on linux-nex

[PATCH] cpufreq: governor: Protect cpufreq governor_data

2018-08-14 Thread Henry Willard
If cppc_cpufreq.ko is deleted at the same time that tuned-adm is changing profiles, there is a small chance that a race can occur between cpufreq_dbs_governor_exit() and cpufreq_dbs_governor_limits() resulting in a system failure when the latter tries to use policy->governor_data that has been

Re: [PATCH 1/2] fpga: Document when fpga_blah_free functions should be used

2018-08-14 Thread Alan Tull
On Thu, Jul 26, 2018 at 2:26 AM, Federico Vaga wrote: > Hi Alan, > > have you considered the possibility of having something like devm_fpga_[mgr| > bridge|region]_[create|free]() ? Like this, it will be obvious that 'struct > fpga_mgr' will be released automatically without reading any comment

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-14 Thread Doug Anderson
Hi, On Tue, Aug 14, 2018 at 2:59 PM, David Collins wrote: > Hi, > > On 08/14/2018 01:03 PM, Doug Anderson wrote: >> On Tue, Aug 14, 2018 at 11:30 AM, David Collins >> wrote:>>> --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -732,6 +732,7 @@ static int

Re: [PATCH] Bugfix for handling of shadow doorbell buffer.

2018-08-14 Thread Keith Busch
On Tue, Aug 14, 2018 at 04:16:41PM -0700, Linus Torvalds wrote: > On Tue, Aug 14, 2018 at 3:56 PM Keith Busch > wrote: > > > > You just want to ensure the '*dbbuf_db = value' isn't reordered, right? > > The order dependency might be more obvious if done as: > > > > WRITE_ONCE(*dbbuf_db,

Re: [PATCH] zram: fix bug storing backing_dev

2018-08-14 Thread Andrew Morton
On Mon, 13 Aug 2018 16:38:25 +0900 Sergey Senozhatsky wrote: > On (08/13/18 15:16), Minchan Kim wrote: > > > The call to strlcpy in backing_dev_store is incorrect. It should take > > > the size of the destination buffer instead of the size of the source > > > buffer. Additionally, ignore the

[PATCH] gpio: brcmstb: allow 0 width GPIO banks

2018-08-14 Thread justinpopo6
From: Justin Chen Sometimes we have empty banks within the GPIO block. This commit allows proper handling of 0 width GPIO banks. We handle 0 width GPIO banks by incrementing the bank and number of GPIOs, but not initializing them. This will mean a call into the non-existent GPIOs will return an

Re: [PATCH 09/13] coresight: etmx: Claim devices before use

2018-08-14 Thread Mathieu Poirier
On Mon, Aug 06, 2018 at 02:41:51PM +0100, Suzuki K Poulose wrote: > Use the CLAIM tags to grab the device for self-hosted usage. > > Cc: Mathieu Poirier > Signed-off-by: Suzuki K Poulose > --- > drivers/hwtracing/coresight/coresight-etm3x.c | 18 +++--- >

Re: linux-next: manual merge of the mips tree with the kbuild tree

2018-08-14 Thread Stephen Rothwell
Hi all, On Fri, 3 Aug 2018 09:21:00 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the mips tree got a conflict in: > > arch/mips/Kconfig > > between commit: > > 1572497cb0e6 ("kconfig: include common Kconfig files from top-level > Kconfig") > > from the kbuild tree and

Re: [PATCH v9 08/22] s390: vfio-ap: base implementation of VFIO AP device driver

2018-08-14 Thread Tony Krowiak
On 08/14/2018 06:42 AM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:05 -0400 Tony Krowiak wrote: diff --git a/drivers/s390/crypto/vfio_ap_drv.c b/drivers/s390/crypto/vfio_ap_drv.c new file mode 100644 index 000..5069580 --- /dev/null +++ b/drivers/s390/crypto/vfio_ap_drv.c @@ -0,0

Re: linux-next: manual merge of the dma-mapping tree with the kbuild tree

2018-08-14 Thread Stephen Rothwell
Hi all, On Fri, 3 Aug 2018 08:08:56 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the dma-mapping tree got a conflict in: > > arch/nios2/Kconfig > > between commit: > > 17c46a6aff5c ("kconfig: remove duplicate SWAP symbol defintions") > > from the kbuild tree and commit:

Re: linux-next: manual merge of the tip tree with the kbuild tree

2018-08-14 Thread Stephen Rothwell
Hi all, On Mon, 6 Aug 2018 14:47:36 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the tip tree got conflicts in: > > arch/arm64/Kconfig > arch/openrisc/Kconfig > > between commit: > > 1572497cb0e6 ("kconfig: include common Kconfig files from top-level > Kconfig") > >

Donation

2018-08-14 Thread Ramon Diaz
Redeem your donation of $3.5M

Re: [PATCH 08/13] coresight: Add support for CLAIM tag protocol

2018-08-14 Thread Mathieu Poirier
On Mon, Aug 06, 2018 at 02:41:50PM +0100, Suzuki K Poulose wrote: > Add support for the CLAIM tag protocol for negotiating the > device ownership with other agents trying to use the coresight > component (internal vs. external). The Coresight architecture > specifies CLAIM tags (managed via

Re: Build failures with gcc 4.5 and older

2018-08-14 Thread Linus Torvalds
On Tue, Aug 14, 2018 at 4:02 PM Andrew Morton wrote: > > The m68k build still fails because 0cc3cd21657 ("cpu/hotplug: Boot HT > siblings at least once") was evidently never tested on CONFIG_SMP=n. > How could that come about - the patch is six weeks old?? Ehh, meet the joys of embargoes. The

Re: [PATCH] Bugfix for handling of shadow doorbell buffer.

2018-08-14 Thread Linus Torvalds
Guys, you're both wrong. On Tue, Aug 14, 2018 at 03:17:35PM -0700, Michal Wnukowski wrote: > > With memory barrier in place, the volatile keyword around *dbbuf_ei is > redundant. No. The memory barrier enforces _ordering_, but it doesn't enforce that the accesses are only done once. So when you

Re: [PATCH] bitfield: avoid gcc-8 -Wint-in-bool-context warning

2018-08-14 Thread Andrew Morton
On Tue, 14 Aug 2018 16:11:06 -0700 Andrew Morton wrote: > > include/linux/bitfield.h:103:3: note: in expansion of macro > > '__BF_FIELD_CHECK' > >__BF_FIELD_CHECK(_mask, _reg, 0U, "FIELD_GET: "); \ > >^~~~ > > drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c:1025:21: note: in

Re: [PATCH 1/2] perf tools: Make check-headers.sh check based on kernel dir

2018-08-14 Thread Jiri Olsa
On Tue, Aug 14, 2018 at 03:06:44PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 14, 2018 at 09:27:26AM +0200, Jiri Olsa escreveu: > > On Tue, Aug 14, 2018 at 11:47:39AM +1000, Michael Ellerman wrote: > > > Jiri Olsa writes: > > > > diff --git a/tools/perf/check-headers.sh

Re: [PATCH] bitfield: avoid gcc-8 -Wint-in-bool-context warning

2018-08-14 Thread Andrew Morton
On Tue, 14 Aug 2018 00:09:34 +0200 Arnd Bergmann wrote: > Passing an enum into FIELD_GET() produces a long but harmless warning on > newer compilers: > > from include/linux/linkage.h:7, > from include/linux/kernel.h:7, > from

Re: Build failures with gcc 4.5 and older

2018-08-14 Thread Andrew Morton
On Tue, 14 Aug 2018 15:15:59 -0700 Guenter Roeck wrote: > > Confused. Why does it think that the mm_struct is "otherwise empty"? > > > > The problem isn't really that the structure is otherwise empty. > Some digging reveals that the error message is wrong; gcc should > instead complain about

Re: linux-next: manual merge of the arc-current tree with Linus' tree

2018-08-14 Thread Vineet Gupta
On 08/14/2018 03:11 PM, Stephen Rothwell wrote: > Hi Vineet, > > Today's linux-next merge of the arc-current tree got a conflict in: > > arch/arc/include/asm/atomic.h > > between commit: > > ab0b910490fe ("atomics/arc: Define atomic64_fetch_add_unless()") > > from Linus' tree and commit: > >

Re: [PATCH] Bugfix for handling of shadow doorbell buffer.

2018-08-14 Thread Keith Busch
On Tue, Aug 14, 2018 at 03:17:35PM -0700, Michal Wnukowski wrote: > /* Update dbbuf and return true if an MMIO is required */ > static bool nvme_dbbuf_update_and_check_event(u16 value, u32 *dbbuf_db, > - volatile u32 *dbbuf_ei) > +

Re: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller

2018-08-14 Thread Rob Herring
On Tue, Aug 14, 2018 at 02:18:41AM -0400, Hanjie Lin wrote: > From: Yue Wang > > The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare > PCI core. This patch adds documentation for the DT bindings in Meson PCIe > controller. > > Signed-off-by: Yue Wang > Signed-off-by:

Re: [PATCH 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe Phy controller

2018-08-14 Thread Rob Herring
On Tue, Aug 14, 2018 at 02:12:13AM -0400, Hanjie Lin wrote: > From: Yue Wang Subject should be "dt-bindings: phy: ..." > The Meson-PCIE-PHY controller supports the 5-Gbps data rate > of the PCI Express Gen 2 specification and is backwardcompatible space

[PATCH] rdma: move the ib_wr_opcode enum to include/uapi

2018-08-14 Thread Seth Howell
By making this enum accessible to the userspace API, we can avoid conflicts between the kernel-space ib_wr_opcode and the user-space ibv_wr_opcode enums. When using the rxe software driver interface between kernel and user space, the enum value IBV_WR_SEND_WITH_INV was being improperly translated

[PATCH] Bugfix for handling of shadow doorbell buffer.

2018-08-14 Thread Michal Wnukowski
This patch adds full memory barrier into nvme_dbbuf_update_and_check_event function to ensure that the shadow doorbell is written before reading EventIdx from memory. This is a critical bugfix for initial patch that added support for shadow doorbell into NVMe driver

Re: Build failures with gcc 4.5 and older

2018-08-14 Thread Guenter Roeck
On Tue, Aug 14, 2018 at 02:36:55PM -0700, Andrew Morton wrote: > On Tue, 14 Aug 2018 10:09:04 -0700 Guenter Roeck wrote: > > > Since commit c1a2f7f0c0645 ("mm: Allocate the mm_cpumask > > (mm->cpu_bitmap[]) dynamically based on nr_cpu_ids"), building > > the Linux kernel with gcc version 4.5 and

[PATCH 1/2] coresight: etb10: Refactor etb_drvdata::mode handling

2018-08-14 Thread Mathieu Poirier
This patch moves the etb_drvdata::mode from a locat_t to a simple u32, as it is for the ETF and ETR drivers. This streamlines the code and adds commonality with the other drivers when dealing with similar operations. Signed-off-by: Mathieu Poirier ---

[PATCH 2/2] coresight: etb10: Splitting function etb_enable()

2018-08-14 Thread Mathieu Poirier
Up until now the relative simplicity of enabling the ETB made it possible to accommodate processing for both sysFS and perf methods. But work on claimtags and CPU-wide trace scenarios is adding some complexity, making the current code messy and hard to maintain. As such follow what has been done

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

2018-08-14 Thread Stephen Rothwell
Hi Vineet, Today's linux-next merge of the arc-current tree got a conflict in: arch/arc/include/asm/atomic.h between commit: ab0b910490fe ("atomics/arc: Define atomic64_fetch_add_unless()") from Linus' tree and commit: 39456148db74 ("ARC: atomic64: fix atomic64_add_unless function")

Re: [PATCH] perf auxtrace: Fix queue resize

2018-08-14 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 14, 2018 at 11:46:08AM +0300, Adrian Hunter escreveu: > When the number of queues grows beyond 32, the array of queues is resized > but not all members were being copied. Fix by also copying 'tid', 'cpu' and > 'set'. Thanks, applied. > Fixes: e502789302a6e ("perf auxtrace: Add

Re: [PATCH] x86/smp: fix non-SMP broken build due to redefinition of apic_id_is_primary_thread

2018-08-14 Thread Linus Torvalds
On Tue, Aug 14, 2018 at 2:39 PM Vlastimil Babka wrote: > > The function has an inline "return false;" definition with CONFIG_SMP=n but > the > "real" definition is also visible leading to "redefinition of > ‘apic_id_is_primary_thread’" compiler error. Guard it with #ifdef CONFIG_SMP Applied.

Re: [PATCH 1/4] regulator: core: If consumers don't call regulator_set_load() assume max

2018-08-14 Thread David Collins
Hi, On 08/14/2018 01:03 PM, Doug Anderson wrote: > On Tue, Aug 14, 2018 at 11:30 AM, David Collins > wrote:>>> --- a/drivers/regulator/core.c >>> +++ b/drivers/regulator/core.c >>> @@ -732,6 +732,7 @@ static int drms_uA_update(struct regulator_dev *rdev) >>> struct regulator *sibling; >>>

[PATCH] x86/l1tf: Fix build error seen if CONFIG_KVM_INTEL is disabled

2018-08-14 Thread Guenter Roeck
allmodconfig+CONFIG_INTEL_KVM=n results in the following build error. ERROR: "l1tf_vmx_mitigation" [arch/x86/kvm/kvm.ko] undefined! Fixes: 5b76a3cff011 ("KVM: VMX: Tell the nested hypervisor to skip L1D flush on vmentry") Reported-by: Meelis Roos Cc: Meelis Roos Cc: Paolo Bonzini Cc: Thomas

[PATCH v3 3/3] fuse: export pipe_max_size for max_pages

2018-08-14 Thread Constantine Shulyupin
Signed-off-by: Constantine Shulyupin --- fs/pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/pipe.c b/fs/pipe.c index bb0840e234f3..4990d92b0849 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -34,6 +34,7 @@ * be set by root in /proc/sys/fs/pipe-max-size */ unsigned int pipe_max_size

[PATCH v3 1/3] fuse: add max_pages option

2018-08-14 Thread Constantine Shulyupin
Replace FUSE_MAX_PAGES_PER_REQ with the configurable mount parameter max_pages to improve performance. Old RFC with detailed description of the problem and many fixes by Mitsuo Hayasaka (mitsuo.hayasaka...@hitachi.com): - https://lkml.org/lkml/2012/7/5/136 Changes in v3: - used clamp_val -

Re: [PATCH] cpu/hotplug: Non-SMP machines do not make use of booted_once

2018-08-14 Thread Linus Torvalds
On Tue, Aug 14, 2018 at 2:26 PM Abel Vesa wrote: > > Following commit breaks the non-SMP builds. Thanks, we obviously don't do a lot of coverage of UP any more. I'm not sure if we should just move the bool's to be bitfields and make them all available unconditionally, because the #ifdef in code

UAE based Flexible low interest rate of 2.5% ROI per annually.

2018-08-14 Thread Baghdadi Mahmud
Attention; I consult with a UAE based investment company, I seek for beneficial projects for the organizations, seeking means of expanding and relocating our business interest abroad in the following sectors: oil/Gas, banking, real estate, stock speculation and mining, transportation, health

Re: [PATCH 2/2] rtc: s5m: Add SPDX license identifier

2018-08-14 Thread Alexandre Belloni
On 07/08/2018 18:19:19+0200, Krzysztof Kozlowski wrote: > Replace GPL v2.0+ license statement with SPDX license > identifier. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/rtc/rtc-s5m.c | 22 ++ > 1 file changed, 6 insertions(+), 16 deletions(-) > Applied, thanks.

Re: [PATCH 1/2] rtc: maxim: Add SPDX license identifiers

2018-08-14 Thread Alexandre Belloni
On 07/08/2018 18:19:18+0200, Krzysztof Kozlowski wrote: > Replace GPL v2.0+ license statements with SPDX license > identifiers. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/rtc/rtc-max77686.c | 20 +++- > drivers/rtc/rtc-max8997.c | 20 +++- >

[PATCH] x86/smp: fix non-SMP broken build due to redefinition of apic_id_is_primary_thread

2018-08-14 Thread Vlastimil Babka
The function has an inline "return false;" definition with CONFIG_SMP=n but the "real" definition is also visible leading to "redefinition of ‘apic_id_is_primary_thread’" compiler error. Guard it with #ifdef CONFIG_SMP Signed-off-by: Vlastimil Babka Fixes: 6a4d2657e048 ("x86/smp: Provide

Re: Build failures with gcc 4.5 and older

2018-08-14 Thread Andrew Morton
On Tue, 14 Aug 2018 10:09:04 -0700 Guenter Roeck wrote: > Since commit c1a2f7f0c0645 ("mm: Allocate the mm_cpumask > (mm->cpu_bitmap[]) dynamically based on nr_cpu_ids"), building > the Linux kernel with gcc version 4.5 and older fails as follows. > > In file included from

Re: [PATCH v5 0/5] rtc: isl1208: fixes, documentation and isl1219 support

2018-08-14 Thread Alexandre Belloni
Hi, On 24/07/2018 11:31:21+, Denis OSTERLAND wrote: > changes since v4: > - fix 'souces' typo and change interrupt documentation > - change "isil,ev-evienb" type to int and do not touch bit if not present > - pass ISL1219_REG_EV_EVEN directly instead of assigning it to rc > - fix module

[PATCH] cpu/hotplug: Non-SMP machines do not make use of booted_once

2018-08-14 Thread Abel Vesa
Following commit breaks the non-SMP builds. [0cc3cd21657be04cb0] cpu/hotplug: Boot HT siblings at least once Signed-off-by: Abel Vesa --- kernel/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c index 099fb20cd7be..f06c513c5c42 100644 --- a/kernel/cpu.c

Re: [PATCH] Handle clock_gettime(CLOCK_TAI) in VDSO

2018-08-14 Thread Andy Lutomirski
On Tue, Aug 14, 2018 at 9:30 AM, David Woodhouse wrote: > On Tue, 2018-08-14 at 07:20 -0700, Andy Lutomirski wrote: >> > + /* Doubled switch statement to work around kernel Makefile error */ >> > + /* See: >> > https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg567499.html */ >> >>

Re: [PATCH v2 1/5] ARM: trusted_foundations: Implement L2 cache initialization callback

2018-08-14 Thread Dmitry Osipenko
On Tuesday, 19 June 2018 14:00:23 MSK Dmitry Osipenko wrote: > Implement L2 cache initialization firmware callback that should be invoked > early in boot to enable cache HW. > > Signed-off-by: Dmitry Osipenko > --- > arch/arm/firmware/trusted_foundations.c | 27 + > 1

Re: [PATCH 2/3] dt-bindings: iio: dac: add bindings for ltc166x

2018-08-14 Thread Rob Herring
On Sat, 11 Aug 2018 22:02:25 +0200, Marcus Folkesson wrote: > LTC1665/LTC1660 is a 8/10-bit Digital-to-Analog Converter (DAC) > with eight individual channels. > > Signed-off-by: Marcus Folkesson > --- > .../devicetree/bindings/iio/dac/ltc166x.txt | 21 > + > 1 file

Re: [PATCH RFC] Make call_srcu() available during very early boot

2018-08-14 Thread Paul E. McKenney
On Tue, Aug 14, 2018 at 10:06:18AM -0700, Paul E. McKenney wrote: > On Tue, Aug 14, 2018 at 12:49:45PM -0400, Steven Rostedt wrote: > > On Tue, 14 Aug 2018 09:24:48 -0700 > > "Paul E. McKenney" wrote: > > > > > Event tracing is moving to SRCU in order to take advantage of the fact > > > that

Re: [PATCH] firmware: qcom: scm: Add sdm660 soc compatible

2018-08-14 Thread Rob Herring
On Sat, 11 Aug 2018 17:24:50 +0100, Craig Tatlor wrote: > Add the compatible for SDM660. > This does not need clocks to do scm calls > > Signed-off-by: Craig Tatlor > --- > Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + > drivers/firmware/qcom_scm.c |

Re: [PATCH] soc: qcom: smd-rpm: Add sdm660 compatible

2018-08-14 Thread Rob Herring
On Sat, 11 Aug 2018 17:24:17 +0100, Craig Tatlor wrote: > Add the compatible for the RPM in SDM660, so that rpm resources can be > made available. > > Signed-off-by: Craig Tatlor > --- > Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + > drivers/soc/qcom/smd-rpm.c

Re: WARNING in __snd_rawmidi_transmit_ack (2)

2018-08-14 Thread Takashi Iwai
On Tue, 14 Aug 2018 16:20:02 +0200, syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:4e8b38549b50 Add linux-next specific files for 20180814 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x

Re: [PATCH 3/4] dt-bindings: arm: hisilicon: Add binding for HiKey970 board

2018-08-14 Thread Rob Herring
On Fri, 10 Aug 2018 23:23:38 +0530, Manivannan Sadhasivam wrote: > Add devicetree binding for HiKey970 board. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH 1/4] dt-bindings: arm: hisilicon: Add binding for Hi3670 SoC

2018-08-14 Thread Rob Herring
On Fri, 10 Aug 2018 23:23:36 +0530, Manivannan Sadhasivam wrote: > Add devicetree binding for Hi3670 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(+) > Reviewed-by: Rob Herring

Re: general protection fault in send_sigurg_to_task

2018-08-14 Thread Dmitry Vyukov
On Tue, Aug 14, 2018 at 12:11 PM, J. Bruce Fields wrote: > On Mon, Aug 13, 2018 at 06:33:02AM -0700, syzbot wrote: >> syzbot has found a reproducer for the following crash on: >> >> HEAD commit:5ed5da74de9e Add linux-next specific files for 20180813 >> git tree: linux-next > > I fetched

[PATCH] modpost: check strdup() return value

2018-08-14 Thread Randy Dunlap
, 1 insertion(+), 1 deletion(-) --- linux-next-20180814.orig/scripts/mod/modpost.c +++ linux-next-20180814/scripts/mod/modpost.c @@ -672,7 +672,7 @@ static void handle_modversions(struct mo if (ELF_ST_TYPE(sym->st_info) == STT_SPARC_REGIS

[PATCH] ARM: dts: imx6: Add stdout-path to Wandboard

2018-08-14 Thread Tuomas Tynkkynen
Setting a stdout-path in the .dtb is convenient because then the user gets a serial console on the RS-232 connector without any extra effort of figuring out the relevant 'console=' boot parameter. Signed-off-by: Tuomas Tynkkynen --- Tested on a Wandboard Quad with mainline U-Boot 2018.05. ---

Re: [PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-14 Thread Rob Herring
On Fri, Aug 10, 2018 at 05:54:27PM +0800, Jian Hu wrote: > Add new clock controller compatible and dt-bingdings headers > for the Always-On domain of the g12a SoC > > Signed-off-by: Jian Hu > --- > .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + >

  1   2   3   4   5   6   7   8   9   >