Re: [PULL REQUEST] i2c for 4.19

2018-10-13 Thread Greg KH
On Sat, Oct 13, 2018 at 06:21:05PM +0200, Wolfram Sang wrote: > Greg, > > I2C has one documentation bugfix for something we changed during the > v4.19 cycle. > > Please pull. > > Thanks, > >Wolfram > > > The following changes since commit 0238df646e6224016a45505d2c111a24669ebe21: > > L

Re: [PATCH v3 2/4] power: supply: core: Introduce properties to present the battery OCV capacity table

2018-10-13 Thread Baolin Wang
Hi Rob, On 12 October 2018 at 22:35, Rob Herring wrote: > On Thu, Sep 27, 2018 at 03:26:55PM +0800, Baolin Wang wrote: >> Some battery driver will use the open circuit voltage (OCV) value to look >> up the corresponding battery capacity percent in one certain degree Celsius. >> Thus this patch pr

RE: [RFC/RFT/[PATCH] cpuidle: New timer events oriented governor for tickless systems

2018-10-13 Thread Doug Smythies
Hi Rafael, I tried your TEO idle governor. On 2018.10.11 14:02 Rafael J. Wysocki wrote: ...[cut]... > It has been tested on a few different systems with a number of > different workloads and compared with the menu governor. In the > majority of cases the workloads performed similarly regardles

Re: What is the expected date of release for 4.19

2018-10-13 Thread Willy Tarreau
On Sun, Oct 14, 2018 at 09:21:23AM +0530, salil GK wrote: > Hello > >I would like to know the expected date of release of 4.19 kernel. What makes you think it should be different from any other version ? If an -rc8 is needed before it you'll have an -rc8 first, if an -rc9 is needed, you'll al

Re: [RESEND PATCH v4 3/8] gpio: 104-dio-48e: Utilize for_each_set_clump macro

2018-10-13 Thread William Breathitt Gray
On Tue, Oct 02, 2018 at 09:00:45AM +0200, Rasmus Villemoes wrote: > On 2018-10-02 03:14, William Breathitt Gray wrote: > > /* clear bits array to a clean slate */ > > bitmap_zero(bits, chip->ngpio); > > > > - /* get bits are evaluated a gpio port register at a time */ > > - for (i = 0

Re: [PATCH] watchdog: ts4800: release syscon device node in ts4800_wdt_probe()

2018-10-13 Thread Guenter Roeck
On 10/13/2018 01:51 PM, Alexey Khoroshilov wrote: Put syscon device node when it is not needed anymore. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Reviewed-by: Guenter Roeck --- drivers/watchdog/ts4800_wdt.c | 1 + 1 file changed, 1

What is the expected date of release for 4.19

2018-10-13 Thread salil GK
Hello I would like to know the expected date of release of 4.19 kernel. Thanks ~S

Urgent,

2018-10-13 Thread Miss Juliet Muhammad
Hello i need your help to invest in your region, please can you assist me?

Urgent,

2018-10-13 Thread Miss Juliet Muhammad
Hello i need your help to invest in your region, please can you assist me?

Urgent,

2018-10-13 Thread Miss Juliet Muhammad
Hello i need your help to invest in your region, please can you assist me?

Urgent,

2018-10-13 Thread Miss Juliet Muhammad
Hello i need your help to invest in your region, please can you assist me?

Urgent,

2018-10-13 Thread Miss Juliet Muhammad
Hello i need your help to invest in your region, please can you assist me?

Urgent,

2018-10-13 Thread Miss Juliet Muhammad
Hello i need your help to invest in your region, please can you assist me?

Re: [PATCH] selftests/vm: Add a test for MAP_FIXED_NOREPLACE

2018-10-13 Thread Kees Cook
On Sat, Oct 13, 2018 at 6:39 AM, Michael Ellerman wrote: > Add a test for MAP_FIXED_NOREPLACE, based on some code originally by > Jann Horn. This would have caught the overlap bug reported by Daniel Micay. > > I originally suggested to Michal that we create MAP_FIXED_NOREPLACE, but > instead of wr

Kannst du mir helfen?

2018-10-13 Thread Mrs. Michelle Richard
Lieber geliebter, Bitte lesen Sie dies langsam und sorgfältig, da es eine der wichtigsten E-Mails sein kann, die Sie jemals bekommen.Ich bin Frau Michelle Richard, ich war mit dem verstorbenen Robert Richard verheiratet.Er arbeitete früher mit Shell Petroleum Development Company London und war auc

Re: WARNING in cgroup_apply_control_enable

2018-10-13 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:1ae80cf31938 bpf: wait for running BPF programs when updat.. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=12b8273540 kernel config: https://syzkaller.appspot.com/x/.config?x=7e7e22

Re: [PATCH v8 3/5] Cleanup ISA string setting

2018-10-13 Thread Guenter Roeck
Hi, On Tue, Oct 09, 2018 at 10:18:32AM +0800, Alan Kao wrote: > This patch cleanup the MARCH string passing to both compiler and > assembler. Note that the CFLAGS should not contain "fd" before we > have mechnisms like kernel_fpu_begin/end in other architectures. > > Signed-off-by: Alan Kao > C

Re: [rcu:dev.2018.10.03a 44/73] kernel/rcu/tree.c:2704:5: warning: 'max_cpu' may be used uninitialized in this function

2018-10-13 Thread Paul E. McKenney
On Mon, Oct 08, 2018 at 07:25:58PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2018.10.03a > head: ef44a26c8418f97e5d7b3f8e4f8c0decd248 > commit: 813f47a94e3b61439bba90340b532f3a6319d4f5 [44/73] rcu: Print per-CPU > c

Re: [PATCH 31/34] vfs: syscall: Add fspick() to select a superblock for reconfiguration [ver #12]

2018-10-13 Thread Andy Lutomirski
On Sat, Oct 13, 2018 at 2:45 AM Alan Jenkins wrote: > > On 13/10/2018 07:11, Al Viro wrote: > > On Fri, Oct 12, 2018 at 03:49:50PM +0100, Alan Jenkins wrote: > >>> +SYSCALL_DEFINE3(fspick, int, dfd, const char __user *, path, unsigned > >>> int, flags) > >>> +{ > >>> + struct fs_context *fc; >

Re: [PATCH 4/6] mm: introduce page->dma_pinned_flags, _count

2018-10-13 Thread Dave Chinner
On Sat, Oct 13, 2018 at 12:34:12AM -0700, John Hubbard wrote: > On 10/12/18 8:55 PM, Dave Chinner wrote: > > On Thu, Oct 11, 2018 at 11:00:12PM -0700, john.hubb...@gmail.com wrote: > >> From: John Hubbard > [...] > >> diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h > >> index 5ed8

UNITED NATIONS INTERNATIONAL CHARITY FUND

2018-10-13 Thread UNITED NATIONS INTERNATIONAL CHARITY FUND
UNITED NATIONS INTERNATIONAL CHARITY FUND PAYMENT, THE DESK OF CHARITY WELFARE ORGANIZATION UNITED KINGDOM. OUR REF: UNICF27832/2018 Attention! Lucille We are the Board of Directors, Members and Committee of the United Nation International Charity Funds are saying Congratulations to you for b

Re: [PATCH 4/6] mm: introduce page->dma_pinned_flags, _count

2018-10-13 Thread John Hubbard
On 10/13/18 9:47 AM, Christoph Hellwig wrote: > On Sat, Oct 13, 2018 at 12:34:12AM -0700, John Hubbard wrote: >> In patch 6/6, pin_page_for_dma(), which is called at the end of >> get_user_pages(), >> unceremoniously rips the pages out of the LRU, as a prerequisite to using >> either of the page->

mfd: syscon: syscon_node_to_regmap() and device_node refcounting

2018-10-13 Thread Alexey Khoroshilov
Hello, Could you please clarify why it is safe to store device_node pointer in of_syscon_register()? Who is responsible to make sure that it is not disappear? static struct syscon *of_syscon_register(struct device_node *np) { ... syscon->np = np; } -- Thank you, Alexey Khoroshilov Linu

Re: [PATCH] clocksource/timer-vt8500: remove duplicate function name

2018-10-13 Thread Daniel Lezcano
On 13/10/2018 12:22, Dan Carpenter wrote: > We print the function name twice in a row in the error message so I've > removed one. > > Signed-off-by: Dan Carpenter > Applied, thanks. -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro:

[PATCH] watchdog: ts4800: release syscon device node in ts4800_wdt_probe()

2018-10-13 Thread Alexey Khoroshilov
Put syscon device node when it is not needed anymore. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/watchdog/ts4800_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/ts4800_wdt.c b/drivers/watchdog/ts4800_wd

Re: [PATCH V12 0/8] C-SKY(csky) Linux Kernel Driver

2018-10-13 Thread Daniel Lezcano
On 12/10/2018 14:02, Guo Ren wrote: > This is about 12th patchset for C-SKY linux drivers and it should pair > with 8th kernel patchset. Guo, I'm willing to take your timer related patches but you have to put a proper description. -- Daniel > Changelog: > - Remove the set_irq_createmapping

Re: [PATCH] thermal: qoriq: add multiple sensors support

2018-10-13 Thread Daniel Lezcano
Hi Yuantian, On 27/09/2018 04:42, andy.t...@nxp.com wrote: > From: Yuantian Tang > > There is only one sensor supported in current driver. > Multiple sensors are existing on Layscape socs. To support them, > covert this driver to support multiple sensors. s/covert/convert/ What about the fo

systemtap 4.0 release

2018-10-13 Thread Frank Ch. Eigler
The SystemTap team announces release 4.0! prometheus exporter network service; ebpf support extensions including strings and implementation of traditional log(), sprintf() functions; rebuilt rich tapset coverage for 4.17+ syscalls and for tracepoint-based syscalls; script language tweaks for suppo

Re: [RFC v2 2/7] dt-binding: interrupt-controller: Document RTL8186 SoC DT bindings

2018-10-13 Thread Yasha Cherikovsky
On Fri, 2018-10-12 at 15:13 -0500, Rob Herring wrote: > On Mon, Oct 01, 2018 at 01:29:47PM +0300, Yasha Cherikovsky wrote: > > This patch adds device tree binding doc for the > > Realtek RTL8186 SoC interrupt controller. > > > > Signed-off-by: Yasha Cherikovsky > > Cc: Rob Herring > > Cc: Mark R

[PATCH for 4.19] tracepoint: Fix: tracepoint array element size mismatch

2018-10-13 Thread Mathieu Desnoyers
commit 46e0c9be206f ("kernel: tracepoints: add support for relative references") changes the layout of the __tracepoint_ptrs section on architectures supporting relative references. However, it does so without turning struct tracepoint * const into const int elsewhere in the tracepoint code, which

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread Mathieu Desnoyers
- On Oct 13, 2018, at 2:34 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Oct 13, 2018, at 11:24 AM, Ard Biesheuvel ard.biesheu...@linaro.org > wrote: > >> On 12 October 2018 at 23:07, Ard Biesheuvel >> wrote: >>> Hi Mathieu, >>> >>> On 12 October 2018 at 22:05, Mat

Re: [PATCH v3 2/9] dt-bindings: ti-lmu: Remove LM3697

2018-10-13 Thread Jacek Anaszewski
On 10/12/2018 08:03 PM, Pavel Machek wrote: > Hi! > >> Signed-off-by: Dan Murphy > > NAK. Thanks for the NAK. This NAK was NAK'd by other maintainer in the V2 RFC patchset https://lore.kernel.org/patchwork/patch/993171/ >>> >>> I confirm. LM3697 is a stan

Re: [mm PATCH v2 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-13 Thread Alexander Duyck
For the test system I had I was initializing 384GB of RAM per node, the average time per node dropped from 1.8s to 1.1s after this patch. In the case of the persistent memory on the system the initialization time for 3TB per node dropped from 24.8s to 23.8s on average. I saw similar results on my d

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread Mathieu Desnoyers
- On Oct 13, 2018, at 11:24 AM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: > On 12 October 2018 at 23:07, Ard Biesheuvel wrote: >> Hi Mathieu, >> >> On 12 October 2018 at 22:05, Mathieu Desnoyers >> wrote: >>> commit 46e0c9be206f ("kernel: tracepoints: add support for relative >>> refe

Re: [PATCH] kernel/signal: Signal-based pre-coredump notification

2018-10-13 Thread Jann Horn
On Sat, Oct 13, 2018 at 2:33 AM Enke Chen wrote: > For simplicity and consistency, this patch provides an implementation > for signal-based fault notification prior to the coredump of a child > process. A new prctl command, PR_SET_PREDUMP_SIG, is defined that can > be used by an application to exp

test_kmod: BUG on module removal

2018-10-13 Thread Randy Dunlap
4.19-rc7, on x86_64: modprobe test_kmod; rmmod test_kmod [ 199.033143] calling test_kmod_init+0x0/0x1000 [test_kmod] @ 1704 [ 199.034636] misc test_kmod0: interface ready [ 199.035468] initcall test_kmod_init+0x0/0x1000 [test_kmod] returned 0 after 1210 usecs [ 206.597737] misc test_kmod0:

Re: [mm PATCH v2 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-13 Thread Pavel Tatashin
Still, lets get some real data, please provide Intel data before vs after. I could test on an ARM processor. Pavel On Sat, Oct 13, 2018 at 1:18 PM Alexander Duyck wrote: > > Well in the case of x86 the call to memset is expensive as well. In > most cases it is 16 cycles plus 1 cycle per 16 bytes

Re: [mm PATCH v2 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-13 Thread Alexander Duyck
Well in the case of x86 the call to memset is expensive as well. In most cases it is 16 cycles plus 1 cycle per 16 bytes if I recall correctly. So for example in the case of skbuff which was a little over 192 bytes I know Jesper Brouer and myself were going back and forth with the idea of if we sho

[PATCH] input: touchscreen: fix wm97xx-ts exit path

2018-10-13 Thread Randy Dunlap
From: Randy Dunlap Loading then unloading wm97xx-ts.ko when CONFIG_AC97_BUS=m causes a WARNING: from drivers/base/driver.c: Unexpected driver unregister! WARNING: CPU: 0 PID: 1709 at ../drivers/base/driver.c:193 driver_unregister+0x30/0x40 Fix this by only calling driver_unregister() with the

Re: [PATCH] mm/sparse: remove a check that compare if unsigned variable is negative

2018-10-13 Thread Pavel Tatashin
This is incorrect: next_present_section_nr() returns "int" and -1 no next section, this change would lead to infinite loop. On Sat, Oct 13, 2018 at 12:16 PM Peng Hao wrote: > > > From: Peng Hao > > In all use locations for for_each_present_section_nr, variable > section_nr is unsigned. It is unne

Re: [mm PATCH v2 1/6] mm: Use mm_zero_struct_page from SPARC on all 64b architectures

2018-10-13 Thread Pavel Tatashin
I am worried about this change. I added SPARC optimized mm_zero_struct_page() specifically to SPARC because it has a poor performance with small memset()s, since it uses STBI instructions. However, other architectures might not suffer with small memset()s, and have hardware optimized memset variant

Re: [PATCH 4/6] mm: introduce page->dma_pinned_flags, _count

2018-10-13 Thread Christoph Hellwig
On Sat, Oct 13, 2018 at 12:34:12AM -0700, John Hubbard wrote: > In patch 6/6, pin_page_for_dma(), which is called at the end of > get_user_pages(), > unceremoniously rips the pages out of the LRU, as a prerequisite to using > either of the page->dma_pinned_* fields. > > The idea is that LRU is n

Re: Bug introduced in the of_get_named_gpiod_flags function.

2018-10-13 Thread Linus Walleij
On Sat, Oct 13, 2018 at 5:53 PM wzabo...@elektron.elka.pw.edu.pl wrote: > The question is, if there may be any other in-tree GPIO controller > driver that does not initialize those flags? So as I said, I looked over them and they all initialize their flags. > Anyway the current situation is som

Re: [PATCH] ubifs: Fix WARN_ON logic in exit path

2018-10-13 Thread Randy Dunlap
On 10/13/18 1:18 AM, Richard Weinberger wrote: > ubifs_assert() is not WARN_ON(), so we have to invert > the checks. > Randy faced this warning with UBIFS being a module, since > most users use UBIFS as builtin because UBIFS is the rootfs > nobody noticed so far. :-( > Including me. > > Reported-b

[PULL REQUEST] i2c for 4.19

2018-10-13 Thread Wolfram Sang
Greg, I2C has one documentation bugfix for something we changed during the v4.19 cycle. Please pull. Thanks, Wolfram The following changes since commit 0238df646e6224016a45505d2c111a24669ebe21: Linux 4.19-rc7 (2018-10-07 17:26:02 +0200) are available in the Git repository at: git://

[PATCH] mm/sparse: remove a check that compare if unsigned variable is negative

2018-10-13 Thread Peng Hao
From: Peng Hao In all use locations for for_each_present_section_nr, variable section_nr is unsigned. It is unnecessary to test if it is negative. Signed-off-by: Peng Hao --- mm/sparse.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/sparse.c b/mm/sparse.c index 10b

Re: [PATCH] clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL

2018-10-13 Thread Michael Turquette
Quoting Christian Hewitt (2018-10-13 12:04:46) > On the Khadas VIM2 (GXM) and LePotato (GXL) board there are problems > with reboot; e.g. a ~60 second delay between issuing reboot and the > board power cycling (and in some OS configurations reboot will fail > and require manual power cycling). > >

Re: Bug introduced in the of_get_named_gpiod_flags function.

2018-10-13 Thread wzabo...@elektron.elka.pw.edu.pl
On 10/12/18 10:54 AM, Michal Simek wrote: > Hi, > > On 11.10.2018 10:27, Linus Walleij wrote: >> Hi Wojciech, >> >> (Thanks also Randy for forwarding this!) >> >> On Wed, Oct 10, 2018 at 6:32 PM wzab wrote: >> >>> The function of_get_named_gpiod_flags in older versions of the kernel >>> (up to 4.7

[PATCH] ASoC: wm8904: fix spelling mistake "Inveting" -> "Inverting"

2018-10-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in sound control text Signed-off-by: Colin Ian King --- sound/soc/codecs/wm8904.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 2a3e5fbd04e4..ef83dae6e5ae

Re: [PATCH 17/29] staging: bcm2835-audio: Add 10ms period constraint [Resend in plain text...]

2018-10-13 Thread Takashi Iwai
On Sat, 13 Oct 2018 17:00:32 +0200, Mike Brady wrote: > > Hi Takashi. My apologies — t turns out I was wrong. My measurements were > systematically wrong due to integer truncation going from 64 bit to 32 bit > representation. That relieved me ;) I thought of starting checking in the next week,

[PATCH] kvm: selftests: fix spelling mistake "Insufficent" -> "Insufficient"

2018-10-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in TEST_ASSERT message text Signed-off-by: Colin Ian King --- tools/testing/selftests/kvm/lib/kvm_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftest

Re: [PATCH] power: supply: fix spelling mistake "Gauage" -> "Guage"

2018-10-13 Thread Colin Ian King
On 13/10/2018 16:27, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in MODULE_DESCRIPTION text > > Signed-off-by: Colin Ian King > --- > drivers/power/supply/ds2780_battery.c | 2 +- > drivers/power/supply/ds2781_battery.c | 2 +- > drivers/power/supply/ds2782_bat

[PATCH] power: supply: fix spelling mistake "Gauage" -> "Guage"

2018-10-13 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in MODULE_DESCRIPTION text Signed-off-by: Colin Ian King --- drivers/power/supply/ds2780_battery.c | 2 +- drivers/power/supply/ds2781_battery.c | 2 +- drivers/power/supply/ds2782_battery.c | 2 +- 3 files changed, 3 insertions(+), 3 deleti

Re: [PATCH for 4.19] tracepoint: Fix: out-of-bound tracepoint array iteration

2018-10-13 Thread Ard Biesheuvel
On 12 October 2018 at 23:07, Ard Biesheuvel wrote: > Hi Mathieu, > > On 12 October 2018 at 22:05, Mathieu Desnoyers > wrote: >> commit 46e0c9be206f ("kernel: tracepoints: add support for relative >> references") changes the layout of the __tracepoint_ptrs section on >> architectures supporting re

Re: [PATCH] iio: dpot-dac: mark expected switch fall-through

2018-10-13 Thread Peter Rosin
On 2018-10-13 14:38, Jonathan Cameron wrote: > On Mon, 8 Oct 2018 20:42:41 + > Peter Rosin wrote: > >> On 2018-10-08 19:35, Gustavo A. R. Silva wrote: >>> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >>> where we are expecting to fall through. >> >> The way I see it,

Re: [PATCH] x86/entry/32: Fix setup of CS high bits

2018-10-13 Thread Andy Lutomirski
On Sat, Oct 13, 2018 at 3:02 AM Jan Kiszka wrote: > > From: Jan Kiszka > > Even if we are not on an entry stack, we have to initialize the CS high > bits because we are unconditionally evaluating them > PARANOID_EXIT_TO_KERNEL_MODE. Failing to do so broke the boot on Galileo > Gen2 and IOT2000 bo

Re: [PATCH 17/29] staging: bcm2835-audio: Add 10ms period constraint [Resend in plain text...]

2018-10-13 Thread Mike Brady
Hi Takashi. My apologies — t turns out I was wrong. My measurements were systematically wrong due to integer truncation going from 64 bit to 32 bit representation. Apologies Mike > On 11 Oct 2018, at 13:53, Mike Brady wrote: > > Hi Takashi. Just testing out the updated bcm2835 audio driver —

Re: [PATCH v2] regulator/gpio: Allow nonexclusive GPIO access

2018-10-13 Thread Linus Walleij
On Fri, Oct 12, 2018 at 6:44 PM Mark Brown wrote: > On Fri, Oct 12, 2018 at 04:26:12PM +0200, jacopo mondi wrote: > > Do you think extending gpiod_lookup_flags with this newly introduced > > NONEXCLUSIVE one is an acceptable solution to avoid handling this in > > the sensor driver like we're doin

[PATCH V5 0/3] introduce coalesced pio support

2018-10-13 Thread Peng Hao
Coalesced pio is based on coalesced mmio and can be used for some port like rtc port, pci-host config port and so on. Specially in case of rtc as coalesced pio, some versions of windows guest access rtc frequently because of rtc as system tick. guest access rtc like this: write register index to 0

[PATCH V5 3/3] kvm/x86 : add document for coalesced pio

2018-10-13 Thread Peng Hao
Signed-off-by: Peng Hao --- Documentation/virtual/kvm/api.txt | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 9615b9e..d3a0497 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documenta

[PATCH V5 1/3] kvm/x86 : add coalesced pio support

2018-10-13 Thread Peng Hao
add coalesced pio support. Signed-off-by: Peng Hao --- include/uapi/linux/kvm.h | 11 +-- virt/kvm/coalesced_mmio.c | 12 +--- virt/kvm/kvm_main.c | 2 ++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h

[PATCH V5 2/3] kvm/x86 : add document for coalesced mmio

2018-10-13 Thread Peng Hao
Signed-off-by: Peng Hao --- Documentation/virtual/kvm/api.txt | 24 1 file changed, 24 insertions(+) diff --git a/Documentation/virtual/kvm/api.txt b/Documentation/virtual/kvm/api.txt index 647f941..9615b9e 100644 --- a/Documentation/virtual/kvm/api.txt +++ b/Documentat

[PATCH V4 13/15] x86/Hyper-v: Add trace in the hyperv_nested_flush_guest_mapping_range()

2018-10-13 Thread lantianyu1986
From: Lan Tianyu This patch is to trace log in the hyperv_nested_flush_ guest_mapping_range(). Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 1 + arch/x86/include/asm/trace/hyperv.h | 14 ++ 2 files changed, 15 insertions(+) diff --git a/arch/x86/hyperv/nest

[PATCH V4 12/15] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-10-13 Thread lantianyu1986
From: Lan Tianyu Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb with specified ranges. This patch is to add the hypercall support. Reviewed-by: Michael Kelley Signed-off-by: Lan Tianyu --- Change since v2: Fix some coding style issues - Move HV_MAX_FLUSH_P

[PATCH V4 15/15] KVM/VMX: Add hv tlb range flush support

2018-10-13 Thread lantianyu1986
From: Lan Tianyu This patch is to register tlb_remote_flush_with_range callback with hv tlb range flush interface. Signed-off-by: Lan Tianyu --- Change since v3: Merge Vitaly's don't pass EPT configuration info to vmx_hv_remote_flush_tlb() fix. Change since v1: Pass flush range w

[PATCH V4 14/15] KVM/VMX: Change hv flush logic when ept tables are mismatched.

2018-10-13 Thread lantianyu1986
From: Lan Tianyu If ept table pointers are mismatched, flushing tlb for each vcpus via hv flush interface still helps to reduce vmexits which are triggered by IPI and INEPT emulation. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 15 --- 1 file changed, 8 insertions(+), 7 dele

[PATCH V4 10/15] KVM: Add spte's point in the struct kvm_mmu_page

2018-10-13 Thread lantianyu1986
From: Lan Tianyu It's necessary to check whether mmu page is last or large page when add mmu page into flush list. "spte" is needed for such check and so add spte point in the struct kvm_mmu_page. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/mmu.c

[PATCH V4 7/15] KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()

2018-10-13 Thread lantianyu1986
From: Lan Tianyu Originally, flush tlb is done by slot_handle_level_range(). This patch is to flush tlb directly in the kvm_zap_gfn_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) d

[PATCH V4 8/15] KVM/MMU: Flush tlb directly in kvm_mmu_zap_collapsible_spte()

2018-10-13 Thread lantianyu1986
From: Lan Tianyu kvm_mmu_zap_collapsible_spte() returns flush request to the slot_handle_leaf() and the latter does flush on demand. When range flush is available, make kvm_mmu_zap_collapsible_spte() to flush tlb with range directly to avoid returning range back to slot_handle_leaf(). Signed-off

[PATCH V4 6/15] KVM/MMU: Flush tlb directly in the kvm_set_pte_rmapp()

2018-10-13 Thread lantianyu1986
From: Lan Tianyu This patch is to flush tlb directly in the kvm_set_pte_rmapp() and return 0. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 5d3a180c57e2..f3742ff4ec18 100644 --- a/arch/x86

[PATCH V4 9/15] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page

2018-10-13 Thread lantianyu1986
From: Lan Tianyu PV EPT tlb flush function will accept a list of flush ranges and use struct kvm_mmu_page as the list entry. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/

[PATCH V4 11/15] KVM/MMU: Replace tlb flush function with range list flush function

2018-10-13 Thread lantianyu1986
From: Lan Tianyu This patch is to use range list flush function in the mmu_sync_children(), kvm_mmu_commit_zap_page() and FNAME(sync_page)(). Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 26 +++--- arch/x86/kvm/paging_tmpl.h | 5 - 2 files changed, 27 ins

[PATCH V4 2/15] KVM/MMU: Add tlb flush with range helper function

2018-10-13 Thread lantianyu1986
From: Lan Tianyu This patch is to add wrapper functions for tlb_remote_flush_with_range callback. Signed-off-by: Lan Tianyu --- Change sicne V3: Remove code of updating "tlbs_dirty" Change since V2: Fix comment in the kvm_flush_remote_tlbs_with_range() --- arch/x86/kvm/mmu.c | 40

[PATCH V4 5/15] KVM/MMU: Move tlb flush in kvm_set_pte_rmapp() to kvm_mmu_notifier_change_pte()

2018-10-13 Thread lantianyu1986
From: Lan Tianyu This patch is to move tlb flush in kvm_set_pte_rmapp() to kvm_mmu_notifier_change_pte() in order to avoid redundant tlb flush. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 8 ++-- virt/kvm/kvm_main.c | 5 - 2 files changed, 6 insertions(+), 7 deletions(-) diff

Re: [PATCH] mm/kasan: make quarantine_lock a raw_spinlock_t

2018-10-13 Thread Peter Zijlstra
On Fri, Oct 12, 2018 at 04:56:55PM -0700, Andrew Morton wrote: > There are several reasons for using raw_*, so an explanatory comment at > each site is called for. > > However it would be smarter to stop "using raw_* for several reasons". > Instead, create a differently named variant for each suc

Re: [PATCH] rcu: Use cpus_read_lock() while looking at cpu_online_mask

2018-10-13 Thread Paul E. McKenney
On Fri, Oct 12, 2018 at 08:41:15PM +0200, Sebastian Andrzej Siewior wrote: > On 2018-09-19 15:11:40 [-0700], Paul E. McKenney wrote: > > On Wed, Sep 19, 2018 at 01:55:21PM -0700, Tejun Heo wrote: > > > Unbound workqueue is NUMA-affine by default, so using it by default > > > might not harm anything

Re: [PATCH 3/7] dt-bindings: pinctrl: ds90ux9xx: add description of TI DS90Ux9xx pinmux

2018-10-13 Thread Vladimir Zapolskiy
Hi Laurent, thank you for review, please find my comments below. On 10/12/2018 03:01 PM, Laurent Pinchart wrote: > Hi Vladimir, > > Thank you for the patch. > > On Tuesday, 9 October 2018 00:12:01 EEST Vladimir Zapolskiy wrote: >> From: Vladimir Zapolskiy >> >> TI DS90Ux9xx de-/serializers hav

Re: [GIT PULL] KVM fixes for 4.19-rc8

2018-10-13 Thread Greg KH
On Sat, Oct 13, 2018 at 11:43:02AM +0200, Paolo Bonzini wrote: > Greg, > > The following changes since commit cc906f07d7d569a30bb6f0baf8f80b2968353dc9: > > Merge tag 'kvm-ppc-fixes-4.19-3' of > git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master > (2018-10-05 09:39:53

[PATCH] selftests/vm: Add a test for MAP_FIXED_NOREPLACE

2018-10-13 Thread Michael Ellerman
Add a test for MAP_FIXED_NOREPLACE, based on some code originally by Jann Horn. This would have caught the overlap bug reported by Daniel Micay. I originally suggested to Michal that we create MAP_FIXED_NOREPLACE, but instead of writing a selftest I spent my time bike-shedding whether it should be

RE: [PATCH V6 0/4] clk: new APIs to handle all available clocks

2018-10-13 Thread A.s. Dong
Ping > -Original Message- > From: A.s. Dong > Sent: Monday, October 8, 2018 6:43 PM > To: thor.tha...@linux.intel.com; linux-...@vger.kernel.org; sb...@kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > mturque...@baylibre.com; shawn...@kernel.org; dl-li

Re: [PATCH] iio: dpot-dac: mark expected switch fall-through

2018-10-13 Thread Gustavo A. R. Silva
On 10/13/18 2:38 PM, Jonathan Cameron wrote: > On Mon, 8 Oct 2018 20:42:41 + > Peter Rosin wrote: > >> On 2018-10-08 19:35, Gustavo A. R. Silva wrote: >>> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >>> where we are expecting to fall through. >> >> The way I see

Re: [PATCH v1] KVM/x86/vPMU: Guest PMI Optimization

2018-10-13 Thread Peter Zijlstra
On Fri, Oct 12, 2018 at 08:20:17PM +0800, Wei Wang wrote: > Guest changing MSR_CORE_PERF_GLOBAL_CTRL causes KVM to reprogram pmc > counters, which re-allocates a host perf event. This process is Yea gawds, that's horrific. Why does it do that? We have PERF_EVENT_IOC_PERIOD which does that much bet

RE: [PATCH V4 0/9] clk: add imx7ulp clk support

2018-10-13 Thread A.s. Dong
Ping > -Original Message- > From: A.s. Dong > Sent: Tuesday, September 25, 2018 5:11 PM > To: sb...@kernel.org; shawn...@kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > mturque...@baylibre.com; Anson Huang ; Jacky Bai > ; dl-linux-imx ; > linux-...@vg

Re: [PATCH v3] staging: iio: adt7316: fix parenthesis alignment

2018-10-13 Thread Jonathan Cameron
On Mon, 8 Oct 2018 19:12:05 -0300 Renato Lui Geh wrote: > This patch fixes most "Alignment should match open parenthesis" check > warnings found by checkpatch.pl in the addac/adt7316 driver. > > Signed-off-by: Renato Lui Geh > --- Please in future put a description here (below the ---) of the c

Re: [PATCH] iio: adc: ina2xx: fix missing break statement

2018-10-13 Thread Jonathan Cameron
On Wed, 10 Oct 2018 12:42:39 +0200 Stefan Brüns wrote: > On Montag, 8. Oktober 2018 23:09:04 CEST Colin King wrote: > > From: Colin Ian King > > > > The IIO_CHAN_INFO_SCALE case is missing a break statement and in > > the unlikely event that chan->address is not matched in the nested > > switch

Re: [PATCH] iio: dpot-dac: mark expected switch fall-through

2018-10-13 Thread Jonathan Cameron
On Mon, 8 Oct 2018 20:42:41 + Peter Rosin wrote: > On 2018-10-08 19:35, Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > > where we are expecting to fall through. > > The way I see it, it is pretty well marked up as is. So, this paragrap

여보세요

2018-10-13 Thread Peter Wong
여보세요 연락주시기바랍피터웡이메일: peter.w...@p-wong.com에대한자세한정보는송금을기반으로성을재정인전체이름입니다.

[PATCH] ARM64: dts: meson-gxl-s905x-khadas-vim enable Bluetooth

2018-10-13 Thread Christian Hewitt
This enables Bluetooth support for the following models: - Khadas VIM basic (AP6212) using firmware BCM43438A1.hcd - Khadas VIM pro (AP6255) using firmware BCM4345C0.hcd The AP6212 module used on the VIM basic has an ID clash with another device. To get Bluetooth working you either need to apply

[PATCH] skbuff: Mark expected switch fall-throughs

2018-10-13 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- include/linux/skbuff.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 119d092..92ec

[PATCH] compat: Mark expected switch fall-throughs

2018-10-13 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- include/linux/compat.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/compat.h b/include/linux/compat.h index d30e4db..06e7747

[PATCH] signal: Mark expected switch fall-throughs

2018-10-13 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva --- include/linux/signal.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/signal.h b/include/linux/signal.h index 200ed96..f428

Re: [RFC PATCH] memcg, oom: throttle dump_header for memcg ooms without eligible tasks

2018-10-13 Thread Tetsuo Handa
On 2018/10/13 20:22, Johannes Weiner wrote: > On Sat, Oct 13, 2018 at 08:09:30PM +0900, Tetsuo Handa wrote: >> -- Michal's patch -- >> >> 73133 lines (5.79MB) of kernel messages per one run >> >> [root@ccsecurity ~]# time ./a.out >> >> real3m44.389s >> user0m0.000s >> sys

Re: [RFC PATCH] memcg, oom: throttle dump_header for memcg ooms without eligible tasks

2018-10-13 Thread Johannes Weiner
On Sat, Oct 13, 2018 at 08:09:30PM +0900, Tetsuo Handa wrote: > -- Michal's patch -- > > 73133 lines (5.79MB) of kernel messages per one run > > [root@ccsecurity ~]# time ./a.out > > real3m44.389s > user0m0.000s > sys 3m42.334s > > [root@ccsecurity ~]# time ./a.out >

Re: [RFC PATCH] memcg, oom: throttle dump_header for memcg ooms without eligible tasks

2018-10-13 Thread Tetsuo Handa
On 2018/10/12 21:58, Tetsuo Handa wrote: > On 2018/10/12 21:41, Johannes Weiner wrote: >> On Fri, Oct 12, 2018 at 09:10:40PM +0900, Tetsuo Handa wrote: >>> On 2018/10/12 21:08, Michal Hocko wrote: > So not more than 10 dumps in each 5s interval. That looks reasonable > to me. By the time it

Re: [PATCH] kernel/signal: Signal-based pre-coredump notification

2018-10-13 Thread Christian Brauner
On Fri, Oct 12, 2018 at 05:33:35PM -0700, Enke Chen wrote: > For simplicity and consistency, this patch provides an implementation > for signal-based fault notification prior to the coredump of a child > process. A new prctl command, PR_SET_PREDUMP_SIG, is defined that can > be used by an applicati

[PATCH] irqchip/irq-mvebu-sei: Fix a NULL vs IS_ERR() bug in probe

2018-10-13 Thread Dan Carpenter
The devm_ioremap_resource() function never returns NULL, it returns error pointers. Fixes: 61ce8d8d8a81 ("irqchip/irq-mvebu-sei: Add new driver for Marvell SEI") Signed-off-by: Dan Carpenter --- drivers/irqchip/irq-mvebu-sei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] clocksource/timer-vt8500: remove duplicate function name

2018-10-13 Thread Dan Carpenter
We print the function name twice in a row in the error message so I've removed one. Signed-off-by: Dan Carpenter diff --git a/drivers/clocksource/timer-vt8500.c b/drivers/clocksource/timer-vt8500.c index e0f7489cfc8e..c3aff1a8f7d5 100644 --- a/drivers/clocksource/timer-vt8500.c +++ b/drivers/cl

[PATCH] perf stat: Potential NULL dereference in print_aggr()

2018-10-13 Thread Dan Carpenter
Smatch complains that: ./tools/perf/util/stat-display.c:616 print_aggr() error: we previously assumed 'config->aggr_map' could be null (see line 607) Not only that, but it looks like aggr_update_shadow() can Oops if "config->aggr_get_id" is NULL. The intent seems to have been to return i

Re: [PATCH v4 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-10-13 Thread Jonathan Cameron
On Fri, 12 Oct 2018 15:35:36 +0800 Song Qiang wrote: > PNI RM3100 is a high resolution, large signal immunity magnetometer, > composed of 3 single sensors and a processing chip with a MagI2C > interface. > > Following functions are available: > - Single-shot measurement from >/sys/bus/iio/d

[PATCH] clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL

2018-10-13 Thread Christian Hewitt
On the Khadas VIM2 (GXM) and LePotato (GXL) board there are problems with reboot; e.g. a ~60 second delay between issuing reboot and the board power cycling (and in some OS configurations reboot will fail and require manual power cycling). Similar to 'commit c987ac6f1f088663b6dad39281071aeb31d450a

  1   2   >