Re: [PATCH 1/2] x86/boot/KASLR: Add two functions for 1GB huge pages handling

2018-06-24 Thread Ingo Molnar
* Baoquan He wrote: > On 06/21/18 at 05:01pm, Ingo Molnar wrote: > > > > * Baoquan He wrote: > > > > > +/* Store the number of 1GB huge pages which user specified.*/ > > > +static unsigned long max_gb_huge_pages; > > > + > > > +static int parse_gb_huge_pages(char *param, char* val) > > > +{

Re: [PATCH v12 09/11] x86/tsc: prepare for early sched_clock

2018-06-24 Thread Thomas Gleixner
On Sat, 23 Jun 2018, Pavel Tatashin wrote: > > > As soon as sched_clock() starts output non-zero values, we start > > > output time without correcting the output as it is done in > > > sched_clock_local() where unstable TSC and backward motion are > > > detected. But, since early in boot interrupts

Wohltätigkeitsspende in Höhe von € 2.000.000,00 EUR

2018-06-24 Thread jcsilva
Lieber Freund, Ich bin Herr Richard Wahl der Mega-Gewinner von $ 533M In Mega Millions Jackpot spende ich an 5 zufällige Personen, wenn Sie diese E-Mail erhalten, dann wurde Ihre E-Mail nach einem Spinball ausgewählt. Ich habe den größten Teil meines Vermögens auf eine Reihe von Wohltätigkeits

Re: UBSAN: Undefined behaviour in sound/core/timer.c

2018-06-24 Thread Takashi Iwai
On Sun, 24 Jun 2018 09:11:42 +0200, air icy wrote: > > Hi Takashi, > > You are a responsible man. > I repro this bug in > *https://github.com/lcytxw/bug_repro/tree/master/bug_200213 > * > This patch is ok since I can't repro this bug an

Re: [PATCH 16/26] dmaengine: Convert to new IDA API

2018-06-24 Thread Lars-Peter Clausen
On 06/21/2018 11:28 PM, Matthew Wilcox wrote: > Simpler and shorter code. > > Signed-off-by: Matthew Wilcox > --- [...]> { > - int rc; > - > - do { > - if (!ida_pre_get(&dma_ida, GFP_KERNEL)) > - return -ENOMEM; > - mutex_lock(&dma_list_mutex);

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-06-24 Thread Paolo Bonzini
On 22/06/2018 17:02, Michal Hocko wrote: > @@ -7215,6 +7216,8 @@ void kvm_arch_mmu_notifier_invalidate_range(struct kvm > *kvm, > apic_address = gfn_to_hva(kvm, APIC_DEFAULT_PHYS_BASE >> PAGE_SHIFT); > if (start <= apic_address && apic_address < end) > kvm_make_all_cpus_r

[PATCH v2 1/2] genirq: Update code comments wrt recycled thread_mask

2018-06-24 Thread Lukas Wunner
Previously a race existed between __free_irq() and __setup_irq() wherein the thread_mask of a just removed action could be handed out to a newly added action and the freed irq thread would then tread on the oneshot mask bit of the newly added irq thread in irq_finalize_oneshot(): time | __free_i

[PATCH v2 2/2] genirq: Synchronize only with single thread on free_irq()

2018-06-24 Thread Lukas Wunner
When pciehp is converted to threaded IRQ handling, removal of unplugged devices below a PCIe hotplug port happens synchronously in the IRQ thread. Removal of devices typically entails a call to free_irq() by their drivers. If those devices share their IRQ with the hotplug port, __free_irq() deadl

Re: [PATCH v2 1/3] kbuild: use 'include' directive to load auto.conf from top Makefile

2018-06-24 Thread Masahiro Yamada
Hi. 2018-06-24 3:59 GMT+09:00 kbuild test robot : > Hi Masahiro, > > I love your patch! Yet something to improve: > > [auto build test ERROR on kbuild/for-next] > [also build test ERROR on v4.18-rc1 next-20180622] > [cannot apply to mmarek/for-next mmarek/rc-fixes] > [if your patch is applied to t

Re: moving affs + RDB partition support to staging? (was: Re: Moving unmaintained filesystems to staging)

2018-06-24 Thread Martin Steigerwald
Hi. Michael Schmitz - 27.04.18, 04:11: > test results at https://bugzilla.kernel.org/show_bug.cgi?id=43511 > indicate the RDB parser bug is fixed by the patch given there, so if > Martin now submits the patch, all should be well? Ok, better be honest than having anyone waiting for it: I do not c

Re: [PATCH V7 35/41] x86/intel_rdt: Create debugfs files for pseudo-locking testing

2018-06-24 Thread Reinette Chatre
On 6/23/2018 6:07 AM, kbuild test robot wrote: > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on v4.18-rc1] > [cannot apply to tip/x86/core tip/auto-latest next-20180622] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve th

Re: [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-24 Thread Baolin Wang
Hi Jonathan, On 22 June 2018 at 22:13, Jonathan Cameron wrote: > On Thu, 21 Jun 2018 11:14:05 +0800 > Baolin Wang wrote: > >> From: Freeman Liu >> >> The Spreadtrum SC27XX PMICs ADC controller contains 32 channels, >> which is used to sample voltages with 12 bits conversion. >> >> [Baolin Wang

Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-06-24 Thread Reinette Chatre
Hi Thomas, On 6/23/2018 5:16 AM, Thomas Gleixner wrote: > On Fri, 22 Jun 2018, Reinette Chatre wrote: >> The Cache Pseudo-Locking enabling series that was recently merged to the >> x86/cache branch of tip was found to conflict with the new kernfs support >> for mounting with fs_context. >> >> In p

[PATCH] staging: pi433: replace simple switch statements

2018-06-24 Thread Valentin Vidic
Use const array to map switch cases to resulting values. Signed-off-by: Valentin Vidic --- drivers/staging/pi433/rf69.c | 233 ++- 1 file changed, 93 insertions(+), 140 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 90

Re: [PATCH V7 00/41] Intel(R) Resource Director Technology Cache Pseudo-Locking enabling

2018-06-24 Thread Thomas Gleixner
On Sun, 24 Jun 2018, Reinette Chatre wrote: > Will do. While tracking down the bisect issue related to > copy_from_user() I managed to lose connectivity to my test system. I > will continue the testing when I am back in the office on Monday. No worry. Enjoy your weekend! Thanks, tglx

Re: [PATCH v2 1/2] genirq: Update code comments wrt recycled thread_mask

2018-06-24 Thread Thomas Gleixner
Lukas, On Sun, 24 Jun 2018, Lukas Wunner wrote: > Previously a race existed between __free_irq() and __setup_irq() wherein > the thread_mask of a just removed action could be handed out to a newly > added action and the freed irq thread would then tread on the oneshot > mask bit of the newly adde

Re: [PATCH v2 2/2] genirq: Synchronize only with single thread on free_irq()

2018-06-24 Thread Thomas Gleixner
On Sun, 24 Jun 2018, Lukas Wunner wrote: > When pciehp is converted to threaded IRQ handling, removal of unplugged > devices below a PCIe hotplug port happens synchronously in the IRQ > thread. Removal of devices typically entails a call to free_irq() by > their drivers. Is this an actual mainli

V2 Coding style changes. Plus one change to use memset()

2018-06-24 Thread John Whitmore
Simple coding style changes to single file drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c Given feedback on some of the comments, I truncated to the 80 character limit, in code, (as opposed to function block comments). I have left a number of the contentious comments as they are. Another pie

[PATCH v2 6/8] staging: rtl8192u: Remove braces from single statement blocks - Style

2018-06-24 Thread John Whitmore
Removed the unrequired braces from single statement blocks - Coding Style. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/

[PATCH v2 5/8] staging: rtl8192u: Use %s and __func__ instead of hardcoded string - Style

2018-06-24 Thread John Whitmore
Changed a number of hard coded function names to use %s and __func__ Mailing list response suggest that there is a better method for debugging using netdev_dbg(). I can't argue with that, but for the moment this change will clear the checkpatch.pl Warning. Signed-off-by: John Whitmore --- drive

[PATCH v2 8/8] staging: rtl8192u: Correction of spelling mistake in comment.

2018-06-24 Thread John Whitmore
Simple spelling correction. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c index 26

[PATCH v2 7/8] staging: rtl8192u: Correct if statement - Coding Style

2018-06-24 Thread John Whitmore
Corrected the coding style of if statement. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_H

[PATCH v2 2/8] staging: rtl8192u: Correct indentation of switch statement - Coding Style

2018-06-24 Thread John Whitmore
Removed an extra indentation from the code of the various case options in a switch statement. Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_HTProc.c | 30 +-- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee8021

[PATCH v2 1/8] staging: rtl8192u: change block comments to prefered style - Coding Style

2018-06-24 Thread John Whitmore
Some of the comment blocks are commening out code so have been left for the moment. Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_HTProc.c | 366 ++ 1 file changed, 195 insertions(+), 171 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819

[PATCH v2 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-24 Thread John Whitmore
Replaced memory initialising loop with memset, as suggested by Andy Shevchenko Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drive

[PATCH v2 4/8] staging: rtl8192u: Truncate block comments to 80 character length - Style

2018-06-24 Thread John Whitmore
Where possible truncation of block comments to the 80 character length preferred by the coding style. In a previous version of this commit some of the comments were contentious so those have not been touched in this version. Signed-off-by: John Whitmore --- .../rtl8192u/ieee80211/rtl819x_HTProc

[GIT pull] irq updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus A set of fixes mostly for the ARM/GIC world: - Fix the MSI affinity handling in the ls-scfg irq chip driver so it updates and uses the effec

Re: [kbuild-all] [PATCH v2 1/3] kbuild: use 'include' directive to load auto.conf from top Makefile

2018-06-24 Thread Philip Li
On Sun, Jun 24, 2018 at 05:56:24PM +0900, Masahiro Yamada wrote: > Hi. > > 2018-06-24 3:59 GMT+09:00 kbuild test robot : > > Hi Masahiro, > > > > I love your patch! Yet something to improve: > > > > [auto build test ERROR on kbuild/for-next] > > [also build test ERROR on v4.18-rc1 next-20180622] >

[GIT pull] timer updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus A small set of fixes for time(r) related issues: - Fix a long standing conversion issue in jiffies_to_msecs() for odd HZ values like 1

[PATCH] rtc: test: make array pdev static

2018-06-24 Thread Colin King
From: Colin Ian King The array pdev is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'pdev' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/rtc/rtc-test.c | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH v13 0/6] Introduce the STACKLEAK feature and a test for it

2018-06-24 Thread Jordan Glover
On June 24, 2018 9:18 AM, Ingo Molnar wrote: > - Alexander Popov alex.po...@linux.com wrote: > > > On 22.06.2018 06:16, Ingo Molnar wrote: > > > > > - Kees Cook keesc...@chromium.org wrote: > > > > > > > On Thu, Jun 21, 2018 at 7:07 PM, Kees Cook keesc...@chromium.org wrote: > > > > > > >

Re: V2 Coding style changes. Plus one change to use memset()

2018-06-24 Thread Greg KH
On Sun, Jun 24, 2018 at 10:57:24AM +0100, John Whitmore wrote: > Simple coding style changes to single file > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c Nit, please include the driver and subsystem in your 00/XX emails, otherwise they get lost in my filters and I see an odd semi-completed

[GIT pull] ras updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest ras-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-urgent-for-linus A set of fixes for RAS/MCE: - Improve the error message when the kernel cannot recover from a MCE so the maximum amount of information gets

Re: V2 Coding style changes. Plus one change to use memset()

2018-06-24 Thread John Whitmore
On Sun, Jun 24, 2018 at 06:53:24PM +0800, Greg KH wrote: > On Sun, Jun 24, 2018 at 10:57:24AM +0100, John Whitmore wrote: > > Simple coding style changes to single file > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c > > Nit, please include the driver and subsystem in your 00/XX emails, >

[GIT pull] locking updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest locking-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-for-linus A set of fixes and updates for the locking code: - Prevent lockdep from updating irq state within its own code and thereby confusing

[PATCH] lib: make struct pointer foo static

2018-06-24 Thread Colin King
From: Colin Ian King The pointer foo is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'foo' was not declared. Should it be static? Signed-off-by: Colin Ian King --- lib/test_debug_virtual.c | 2 +- 1 file changed, 1 insertion(

[GIT pull] x86 pti updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest x86-pti-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus Two small updates for the speculative distractions: - Make it more clear to the compiler that array_index_mask_nospec() is not subject for optimiza

Re: [PATCH v2 2/2] genirq: Synchronize only with single thread on free_irq()

2018-06-24 Thread Lukas Wunner
On Sun, Jun 24, 2018 at 11:49:10AM +0200, Thomas Gleixner wrote: > On Sun, 24 Jun 2018, Lukas Wunner wrote: > > When pciehp is converted to threaded IRQ handling, removal of unplugged > > devices below a PCIe hotplug port happens synchronously in the IRQ > > thread. Removal of devices typically en

Re: moving affs + RDB partition support to staging?

2018-06-24 Thread jdow
maps. Go up to 4096 or 8192. The latter is 35 TB. {^_^} On 20180624 02:06, Martin Steigerwald wrote: Hi. Michael Schmitz - 27.04.18, 04:11: test results at https://bugzilla.kernel.org/show_bug.cgi?id=43511 indicate the RDB parser bug is fixed by the patch given there, so if Martin now submits

[GIT pull] x86 updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A set of fixes for x86: - Make Xen PV guest deal with speculative store bypass correctly - Address more fallout from the 5-Level pagetable han

[GIT pull] core updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus Two tiny fixes: - Add the missing machine_real_restart() to objtools noreturn list so it stops complaining - Fix a trivial comment typo T

[GIT pull] efi updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest efi-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus Two fixlets for the EFI maze: - Properly zero variables to prevent an early boot hang on EFI mixed mode systems - Fix the fallout of merg

[GIT pull] scheduler updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus A pile of rseq related fixups: - Prevent infinite recursion when delivering SIGSEGV - Remove the abort of rseq critical section on fork() a

[GIT pull] perf updates for 4.18

2018-06-24 Thread Thomas Gleixner
Linus, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus A pile of perf updates: - Kernel related: - Remove an incorrect warning in uprobe_init_insn() when insn_get_length() fails. The err

Re: [PATCH v2 2/2] genirq: Synchronize only with single thread on free_irq()

2018-06-24 Thread Thomas Gleixner
On Sun, 24 Jun 2018, Lukas Wunner wrote: > On Sun, Jun 24, 2018 at 11:49:10AM +0200, Thomas Gleixner wrote: > > On Sun, 24 Jun 2018, Lukas Wunner wrote: > > > When pciehp is converted to threaded IRQ handling, removal of unplugged > > > devices below a PCIe hotplug port happens synchronously in th

[tip:irq/core] genirq: Update code comments wrt recycled thread_mask

2018-06-24 Thread tip-bot for Lukas Wunner
Commit-ID: 836557bd58e5e65c05c73af9f6ebed885dbfccfc Gitweb: https://git.kernel.org/tip/836557bd58e5e65c05c73af9f6ebed885dbfccfc Author: Lukas Wunner AuthorDate: Sun, 24 Jun 2018 10:35:18 +0200 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 14:17:26 +0200 genirq: Update code co

[tip:irq/core] genirq: Synchronize only with single thread on free_irq()

2018-06-24 Thread tip-bot for Lukas Wunner
Commit-ID: 519cc8652b3a1d3d0a02257afbe9573ad644da26 Gitweb: https://git.kernel.org/tip/519cc8652b3a1d3d0a02257afbe9573ad644da26 Author: Lukas Wunner AuthorDate: Sun, 24 Jun 2018 10:35:30 +0200 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 14:17:27 +0200 genirq: Synchronize on

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

2018-06-24 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:77072ca59fdd Merge tag 'for-linus-20180623' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12abe04040 kernel config: https://syzkaller.appspot.com/x/.config?x=befbcd

[tip:timers/core] time: Enable get/put_compat_itimerspec64 always

2018-06-24 Thread tip-bot for Deepa Dinamani
Commit-ID: afef05cf238cfcecdc5ea9b06f31027b13ce6214 Gitweb: https://git.kernel.org/tip/afef05cf238cfcecdc5ea9b06f31027b13ce6214 Author: Deepa Dinamani AuthorDate: Sat, 16 Jun 2018 22:11:43 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 14:39:47 +0200 time: Enable get/put

[tip:timers/core] time: Introduce struct __kernel_itimerspec

2018-06-24 Thread tip-bot for Deepa Dinamani
Commit-ID: d0dd63a8aee1ef89f2e48e554b796b9f9e4fcadb Gitweb: https://git.kernel.org/tip/d0dd63a8aee1ef89f2e48e554b796b9f9e4fcadb Author: Deepa Dinamani AuthorDate: Sat, 16 Jun 2018 22:11:42 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 14:39:46 +0200 time: Introduce stru

[tip:timers/core] time: Change types to new y2038 safe __kernel_itimerspec

2018-06-24 Thread tip-bot for Deepa Dinamani
Commit-ID: 6ff84735070276d72af716e21c3214ee20d60e70 Gitweb: https://git.kernel.org/tip/6ff84735070276d72af716e21c3214ee20d60e70 Author: Deepa Dinamani AuthorDate: Sat, 16 Jun 2018 22:11:44 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 14:39:47 +0200 time: Change types t

Re: [PATCH 03/14] ubi: fastmap: Add support for flags

2018-06-24 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:33 +0200 Richard Weinberger wrote: > With version 2 of fastmap, flags are supported. > We fall back to scanning mode if unsupported flags are found. > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/fastmap.c | 24 > drivers/mtd/

Re: [PATCH 04/14] ubi: fastmap: Add UBI_FM_SB_PRESEEDED_FLG flag

2018-06-24 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:34 +0200 Richard Weinberger wrote: > This flag indicates that the fastmap was preseeded, which means > it was created offline by a tool such as ubinize which cannot know > the whole MTD state such as real size and bad blocks. > As consequence UBI has to take special care

Re: [PATCH 09/14] ubi: fastmap: Relax size check

2018-06-24 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:39 +0200 Richard Weinberger wrote: > While attaching via fastmap we verify whether the found fastmap > is as large as we have computed. > With preseeded Fastmaps this assumtion can fail since ubinize cannot > know the total size of the MTD and uses the number if used PEB

Re: [PATCH 10/14] ubi: fastmap: Change a WARN_ON() to ubi_err()

2018-06-24 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:40 +0200 Richard Weinberger wrote: > This WARN_ON() was used while development of fastmap, now > it can be a regular ubi_err(). > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/fastmap.c | 14 -- > 1 file changed, 8 insertions(+), 6 deletions(

Re: [PATCH 1/4] dt-bindings: power: Add Actions Semi S900 SPS

2018-06-24 Thread Andreas Färber
Hi Mani, Am 11.04.2018 um 18:40 schrieb Manivannan Sadhasivam: > Define power domains for Actions Semi S900 SoC Smart Power System (SPS). > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/power/actions,owl-sps.txt | 2 ++ > include/dt-bindings/power/owl-s900-powergate.h

Re: [PATCH 2/4] arm64: dts: actions: Add S900 SPS node

2018-06-24 Thread Andreas Färber
Am 11.04.2018 um 18:40 schrieb Manivannan Sadhasivam: > Add Actions Semi S900 Smart Power System (SPS) node > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/actions/s900.dtsi | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Andreas Färber (Depends on preceding bi

[tip:x86/hyperv] x86/hyper-v: Use cheaper HVCALL_FLUSH_VIRTUAL_ADDRESS_{LIST,SPACE} hypercalls when possible

2018-06-24 Thread tip-bot for Vitaly Kuznetsov
Commit-ID: 0e4c88f37693d4857fc0be66e548e2eb8b3d8a15 Gitweb: https://git.kernel.org/tip/0e4c88f37693d4857fc0be66e548e2eb8b3d8a15 Author: Vitaly Kuznetsov AuthorDate: Thu, 21 Jun 2018 15:32:38 +0200 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 15:01:14 +0200 x86/hyper-v: Use c

Re: [PATCH 3/4] soc: actions: sps: Add S900 power domains

2018-06-24 Thread Andreas Färber
Am 11.04.2018 um 18:40 schrieb Manivannan Sadhasivam: > Add power domains for Actions Semi S900 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/soc/actions/owl-sps.c | 58 > +++ > 1 file changed, 58 insertions(+) Reviewed-by: Andreas Färber

Re: [PATCH 11/14] ubi: Add module parameter to force a full scan

2018-06-24 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:41 +0200 Richard Weinberger wrote: > Using this parameter one can force UBI do to a full scan > instead of using a fastmap. > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/ubi/attach.c | 13 + > drivers/mtd/ubi/build.c | 5 - > 2 files chan

Re: UBSAN: Undefined behaviour in kernel/time/posix-timers.c:705

2018-06-24 Thread Thomas Gleixner
On Fri, 22 Jun 2018, air icy wrote: > > UBSAN: Undefined behaviour in kernel/time/posix-timers.c:705:20 > signed integer overflow: > -1863446814 + -1863446813 cannot be represented in type 'int' Yuck. Both numbers are

Re: [PATCH 1/3] iio: hx711: add data-ready-delay-ns property in DT

2018-06-24 Thread Jonathan Cameron
On Sat, 23 Jun 2018 20:54:21 +0200 Andreas Klinger wrote: > add data-ready-delay-ns property for hx711 ADC > this is the delay after rising PD_SCK until DOUT is read and assumed to be > ready > > Signed-off-by: Andreas Klinger One unconnected change. I'm not sure it's wrong as such but it sho

Re: [PATCH 2/3] iio: hx711: add delay until DOUT is ready

2018-06-24 Thread Jonathan Cameron
On Sat, 23 Jun 2018 20:54:47 +0200 Andreas Klinger wrote: > On a system with parasitic capacities it turned out that DOUT is not ready > after 100 ns after PD_SCK has raised. A measurement showed almost 1000 ns > until DOUT has reached its correct value. > > With this patch its now possible to w

Re: [PATCH 12/14] ubi: uapi: Add mode selector to attach request

2018-06-24 Thread Boris Brezillon
On Wed, 13 Jun 2018 23:23:42 +0200 Richard Weinberger wrote: > This allows userspace, ubiattach, to force a full scan. > > Signed-off-by: Richard Weinberger > --- > include/uapi/mtd/ubi-user.h | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/include/uapi

Re: Finish the GENERIC_IRQ_MULTI_HANDLER conversion

2018-06-24 Thread Thomas Gleixner
On Thu, 21 Jun 2018, Palmer Dabbelt wrote: > A while ago I sent a patch set that adds a GENERIC_IRQ_MULTI_HANDLER, > which is an exact copy of the existing IRQ_MULTI_HANDLER support in the > arm port, which is being used unconditionally by arm64 and openrisc. > GENERIC_IRQ_MULTI_HANDLER is currentl

Re: [PATCH v4] iio: adc: Remove depends on HAS_DMA in case of platform dependency

2018-06-24 Thread Jonathan Cameron
On Fri, 22 Jun 2018 13:05:01 +0200 Geert Uytterhoeven wrote: > Remove dependencies on HAS_DMA where a Kconfig symbol depends on another > symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". > In most cases this other symbol is an architecture or platform specific > symbol, or PCI.

Re: [PATCH v3 0/3] fix free pmd/pte page handlings on x86

2018-06-24 Thread Thomas Gleixner
On Wed, 16 May 2018, Toshi Kani wrote: > This series fixes two issues in the x86 ioremap free page handlings > for pud/pmd mappings. > > Patch 01 fixes BUG_ON on x86-PAE reported by Joerg. It disables > the free page handling on x86-PAE. > > Patch 02-03 fixes a possible issue with speculation w

Re: [PATCH v3 1/2] dt-bindings: iio: Add Spreadtrum SC27XX PMICs ADC controller documentation

2018-06-24 Thread Jonathan Cameron
On Thu, 21 Jun 2018 11:14:04 +0800 Baolin Wang wrote: > This patch adds the binding documentation for Spreadtrum SC27XX series > PMICs ADC controller device. > > Signed-off-by: Baolin Wang > Reviewed-by: Rob Herring Applied to the togreg branch of iio.git and pushed out as testing for the auto

Re: [PATCH 4/4] soc: actions: Fix help text in Kconfig for OWL_PM_DOMAINS

2018-06-24 Thread Andreas Färber
Hi Mani, Am 11.04.2018 um 18:40 schrieb Manivannan Sadhasivam: > OWL_PM_DOMAINS is being used by 3 SoCs of OWL family. This fixes > the wording to use family name OWL instead of SoC name S500. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/soc/actions/Kconfig | 2 +- > 1 file changed,

Re: [PATCH 1/3] iio: hx711: add data-ready-delay-ns property in DT

2018-06-24 Thread Andreas Klinger
Hi Jonathan, Jonathan Cameron schrieb am Sun, 24. Jun 14:10: > On Sat, 23 Jun 2018 20:54:21 +0200 > Andreas Klinger wrote: > > > add data-ready-delay-ns property for hx711 ADC > > this is the delay after rising PD_SCK until DOUT is read and assumed to be > > ready > > > > Signed-off-by: Andrea

Re: [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-24 Thread Jonathan Cameron
On Sun, 24 Jun 2018 17:13:00 +0800 Baolin Wang wrote: > Hi Jonathan, > > On 22 June 2018 at 22:13, Jonathan Cameron > wrote: > > On Thu, 21 Jun 2018 11:14:05 +0800 > > Baolin Wang wrote: > > > >> From: Freeman Liu > >> > >> The Spreadtrum SC27XX PMICs ADC controller contains 32 channels, >

Re: [PATCH v3] staging:iio:accel:adis16240: sign extend function replace hard code duplication

2018-06-24 Thread Jonathan Cameron
On Mon, 18 Jun 2018 19:44:50 +0200 Karim Eshapa wrote: > Use sign_extend32 kernel function instead of code duplication, > Safe also for 16 bit. and remove declaration of bits variable not needed. > > Signed-off-by: Karim Eshapa Applied, thanks. Jonathan > --- > drivers/staging/iio/accel/adi

Linux 4.18-rc2

2018-06-24 Thread Linus Torvalds
Another week, another -rc. I'm still traveling - now in China - but at least I'm doing this rc Sunday _evening_ local time rather than _morning_. And next rc I'll be back home and over rmy jetlag (knock wood) so everything should be back to the traditional schedule. Anyway, it's early in the

[tip:x86/cache] x86/intel_rdt: Create character device exposing pseudo-locked region

2018-06-24 Thread tip-bot for Reinette Chatre
Commit-ID: 746e08590b864cf730d7bd23394e2d3fbb0f22b6 Gitweb: https://git.kernel.org/tip/746e08590b864cf730d7bd23394e2d3fbb0f22b6 Author: Reinette Chatre AuthorDate: Fri, 22 Jun 2018 15:42:27 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 15:35:48 +0200 x86/intel_rdt: Crea

[tip:x86/cache] x86/intel_rdt: More precise L2 hit/miss measurements

2018-06-24 Thread tip-bot for Reinette Chatre
Commit-ID: 8a2fc0e1bc0cd85610192714d7c370b62188 Gitweb: https://git.kernel.org/tip/8a2fc0e1bc0cd85610192714d7c370b62188 Author: Reinette Chatre AuthorDate: Fri, 22 Jun 2018 15:42:28 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 15:35:48 +0200 x86/intel_rdt: More

[tip:x86/cache] x86/intel_rdt: Support L3 cache performance event of Broadwell

2018-06-24 Thread tip-bot for Reinette Chatre
Commit-ID: f3be1e7b2cf8bc096386a3588fc640b0db6b28d7 Gitweb: https://git.kernel.org/tip/f3be1e7b2cf8bc096386a3588fc640b0db6b28d7 Author: Reinette Chatre AuthorDate: Fri, 22 Jun 2018 15:42:29 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 15:35:48 +0200 x86/intel_rdt: Supp

[tip:x86/cache] x86/intel_rdt: Limit C-states dynamically when pseudo-locking active

2018-06-24 Thread tip-bot for Reinette Chatre
Commit-ID: 6fc0de37f663278af160e8e1f0c38b27e6c06206 Gitweb: https://git.kernel.org/tip/6fc0de37f663278af160e8e1f0c38b27e6c06206 Author: Reinette Chatre AuthorDate: Fri, 22 Jun 2018 15:42:30 -0700 Committer: Thomas Gleixner CommitDate: Sun, 24 Jun 2018 15:35:48 +0200 x86/intel_rdt: Limi

Re: [PATCH] iio: use timespec64 based interfaces for iio_get_time_ns()

2018-06-24 Thread Jonathan Cameron
On Mon, 18 Jun 2018 17:31:36 +0200 Arnd Bergmann wrote: > We have replacements for all the deprecated timespec based interfaces now, > so this can finally convert iio_get_time_ns() to consistently use the > nanosecond or timespec64 based interfaces instead, avoiding the y2038 > overflow. > > Sig

Re: [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-24 Thread Jonathan Cameron
On Sun, 24 Jun 2018 14:30:09 +0100 Jonathan Cameron wrote: > On Sun, 24 Jun 2018 17:13:00 +0800 > Baolin Wang wrote: > > > Hi Jonathan, > > > > On 22 June 2018 at 22:13, Jonathan Cameron > > wrote: > > > On Thu, 21 Jun 2018 11:14:05 +0800 > > > Baolin Wang wrote: > > > > > >> From: Fr

Re: [PATCH 1/3] iio: hx711: add data-ready-delay-ns property in DT

2018-06-24 Thread Jonathan Cameron
On Sun, 24 Jun 2018 15:28:59 +0200 Andreas Klinger wrote: > Hi Jonathan, > > Jonathan Cameron schrieb am Sun, 24. Jun 14:10: > > On Sat, 23 Jun 2018 20:54:21 +0200 > > Andreas Klinger wrote: > > > > > add data-ready-delay-ns property for hx711 ADC > > > this is the delay after rising PD_SCK

Re: [PATCH 1/2] dt-bindings: nand: meson: add Amlogic NAND controller driver

2018-06-24 Thread Boris Brezillon
Hi Yixun, On Wed, 13 Jun 2018 16:13:13 + Yixun Lan wrote: > From: Liang Yang > > Add Amlogic NAND controller dt-bindings for Meson SoC, > Current this driver support GXBB/GXL/AXG platform. > > Signed-off-by: Liang Yang > Signed-off-by: Yixun Lan > --- > .../bindings/mtd/amlogic,meson-n

Re: [PATCH v2] iio: adc: at91-sama5d2_adc: add support for oversampling resolution

2018-06-24 Thread Jonathan Cameron
On Thu, 21 Jun 2018 10:56:21 +0300 Eugen Hristev wrote: > This implements oversampling support for the SAMA5d2 ADC device. > Enabling oversampling : OSR can improve resolution from 12 bits to > 13 or 14 bits. > Changing the channel specification to have 14 bits, and we shift the value > 1 bit to

[PATCH] soc: actions: Update SPS help text for S700

2018-06-24 Thread Andreas Färber
Commit 3ad85b08f7789d51e6aad0f535296d1c31e319b9 (soc: actions: sps: Add S700) added S700 support to the SPS driver but forget to update Kconfig help. Add missing S700 mention, in preparation for further SoCs. Fixes: 3ad85b08f778 ("soc: actions: sps: Add S700") Reported-by: Manivannan Sadhasivam

Re: [PATCH v2 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-24 Thread Joe Perches
On Sun, 2018-06-24 at 10:57 +0100, John Whitmore wrote: > Replaced memory initialising loop with memset, as suggested by Andy Shevchenko [] > diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c > b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c [] > @@ -742,8 +742,6 @@ void HTCon

Re: [PATCH v2 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-24 Thread John Whitmore
On Sun, Jun 24, 2018 at 07:26:41AM -0700, Joe Perches wrote: > On Sun, 2018-06-24 at 10:57 +0100, John Whitmore wrote: > > Replaced memory initialising loop with memset, as suggested by Andy > > Shevchenko > [] > > diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c > > b/drivers/sta

Re: [PATCH v2 3/8] staging: rtl8192u: User memset to initialize memory, instead of loop.

2018-06-24 Thread John Whitmore
On Sun, Jun 24, 2018 at 07:26:41AM -0700, Joe Perches wrote: > On Sun, 2018-06-24 at 10:57 +0100, John Whitmore wrote: > > Replaced memory initialising loop with memset, as suggested by Andy > > Shevchenko > [] > > diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c > > b/drivers/sta

[PATCH 4.14 01/52] bonding: re-evaluate force_primary when the primary slave name changes

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xiangning Yu [ Upstream commit eb55bbf865d9979098c6a7a17cbdb41237ece951 ] There is a timing issue under active-standy mode, when bond_enslave() is called, bond->params.primary might not be ini

[PATCH 4.14 03/52] ipv6: allow PMTU exceptions to local routes

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 0975764684487bf3f7a47eef009e750ea41bd514 ] IPVS setups with local client and remote tunnel server need to create exception for the local virtual IP. What we

[PATCH 4.14 04/52] net: dsa: add error handling for pskb_trim_rcsum

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Zhouyang Jia [ Upstream commit 349b71d6f427ff8211adf50839dbbff3f27c1805 ] When pskb_trim_rcsum fails, the lack of error-handling code may cause unexpected results. This patch adds error-handl

[PATCH 4.14 00/52] 4.14.52-stable review

2018-06-24 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.52 release. There are 52 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Jun 26 14:27:24 UTC 2018. Anything receiv

[PATCH 4.14 15/52] ext4: do not allow external inodes for inline data

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 117166efb1ee8f13c38f9e96b258f16d4923f888 upstream. The inline data feature was implemented before we added support for external inodes for xattrs. It makes no sense to su

[PATCH 4.14 06/52] tcp: verify the checksum of the first data segment in a new connection

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Frank van der Linden [ Upstream commit 4fd44a98ffe0d048246efef67ed640fdf2098a62 ] commit 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table") introduced an optimization for th

[PATCH 4.14 17/52] ext4: correctly handle a zero-length xattr with a non-zero e_value_offs

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 8a2b307c21d4b290e3cbe33f768f194286d07c23 upstream. Ext4 will always create ext4 extended attributes which do not have a value (where e_value_size is zero) with e_value_off

[PATCH 4.14 16/52] ext4: bubble errors from ext4_find_inline_data_nolock() up to ext4_iget()

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit eb9b5f01c33adebc31cbc236c02695f605b0e417 upstream. If ext4_find_inline_data_nolock() returns an error it needs to get reflected up to ext4_iget(). In order to fix this, e

[PATCH 4.14 18/52] ext4: fix fencepost error in check for inode count overflow during resize

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 4f2f76f751433908364ccff82f437a57d0e6e9b7 upstream. ext4_resize_fs() has an off-by-one bug when checking whether growing of a filesystem will not overflow inode count. As a resu

[PATCH 4.14 19/52] driver core: Dont ignore class_dir_create_and_add() failure.

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 84d0c27d6233a9ba0578b20f5a09701eb66cee42 upstream. syzbot is hitting WARN() at kernfs_add_one() [1]. This is because kernfs_create_link() is confused by previous device_add

[PATCH 4.14 24/52] ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 986376b68dcc95bb7df60ad30c2353c1f7578fa5 upstream. We have several Lenovo AIOs like M810z, M820z and M920z, they have the same design for mic-mute hotkey and led and they use t

[PATCH 4.14 20/52] Btrfs: fix clone vs chattr NODATASUM race

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit b5c40d598f5408bd0ca22dfffa82f03cd9433f23 upstream. In btrfs_clone_files(), we must check the NODATASUM flag while the inodes are locked. Otherwise, it's possible that btrf

[PATCH 4.14 07/52] socket: close race condition between sock_close() and sockfs_setattr()

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 6d8c50dcb029872b298eea68cc6209c866fd3e14 ] fchownat() doesn't even hold refcnt of fd until it figures out fd is really needed (otherwise is ignored) and releases it

[PATCH 4.14 21/52] Btrfs: fix memory and mount leak in btrfs_ioctl_rm_dev_v2()

2018-06-24 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit fd4e994bd1f9dc9628e168a7f619bf69f6984635 upstream. If we have invalid flags set, when we error out we must drop our writer counter and free the buffer we allocated for the

  1   2   3   4   5   >