Re: [PATCH net-next RFC 5/5] vhost_net: basic tx virtqueue batched processing

2017-09-28 Thread Jason Wang
On 2017年09月28日 06:19, Michael S. Tsirkin wrote: On Wed, Sep 27, 2017 at 10:04:18AM +0800, Jason Wang wrote: On 2017年09月27日 03:25, Michael S. Tsirkin wrote: On Fri, Sep 22, 2017 at 04:02:35PM +0800, Jason Wang wrote: This patch implements basic batched processing of tx virtqueue by prefetchi

Re: [PATCH v3 3/3] kernel/uprobes: Fix check for active uprobe

2017-09-28 Thread Ingo Molnar
* Oleg Nesterov wrote: > On 09/22, Naveen N. Rao wrote: > > > > --- a/kernel/events/uprobes.c > > +++ b/kernel/events/uprobes.c > > @@ -1751,6 +1751,19 @@ static struct uprobe *find_active_uprobe(unsigned > > long bp_vaddr, int *is_swbp) > > uprobe = find_uprobe(inode, offse

Re: [PATCH v6 05/11] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-09-28 Thread Corentin Labbe
On Wed, Sep 27, 2017 at 09:53:15PM -0700, Florian Fainelli wrote: > > > On 09/27/2017 12:34 AM, Corentin Labbe wrote: > > This patch add documentation about the MDIO switch used on sun8i-h3-emac > > for integrated PHY. > > > > Signed-off-by: Corentin Labbe > > --- > > .../devicetree/bindings/n

Re: [PATCH net-next RFC 0/5] batched tx processing in vhost_net

2017-09-28 Thread Jason Wang
On 2017年09月28日 06:28, Michael S. Tsirkin wrote: On Wed, Sep 27, 2017 at 08:27:37AM +0800, Jason Wang wrote: On 2017年09月26日 21:45, Michael S. Tsirkin wrote: On Fri, Sep 22, 2017 at 04:02:30PM +0800, Jason Wang wrote: Hi: This series tries to implement basic tx batched processing. This is do

Re: [PATCH net-next RFC 2/5] vhost: introduce helper to prefetch desc index

2017-09-28 Thread Jason Wang
On 2017年09月28日 06:57, Michael S. Tsirkin wrote: On Wed, Sep 27, 2017 at 08:35:47AM +0800, Jason Wang wrote: On 2017年09月27日 03:19, Michael S. Tsirkin wrote: On Fri, Sep 22, 2017 at 04:02:32PM +0800, Jason Wang wrote: This patch introduces vhost_prefetch_desc_indices() which could batch descr

Re: [PATCH net-next RFC 3/5] vhost: introduce vhost_add_used_idx()

2017-09-28 Thread Jason Wang
On 2017年09月28日 06:58, Michael S. Tsirkin wrote: On Wed, Sep 27, 2017 at 08:38:24AM +0800, Jason Wang wrote: On 2017年09月27日 03:13, Michael S. Tsirkin wrote: On Fri, Sep 22, 2017 at 04:02:33PM +0800, Jason Wang wrote: This patch introduces a helper which just increase the used idx. This will b

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall\

2017-09-28 Thread Paolo Bonzini
On 28/09/2017 02:44, Marcelo Tosatti wrote: >> Again: if you have many interruptions, it's not a flaw in KVM or QEMU's >> design, it's just that someone is doing something stupid. It could be >> the guest (e.g. unnecessary devices or daemons as in the example above), >> QEMU (e.g. the RTC emulatio

Re: [PATCH -tip v3 7/7] kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT

2017-09-28 Thread Ingo Molnar
* Masami Hiramatsu wrote: > To enable jump optimized probe with CONFIG_PREEMPT, use > synchronize_rcu_tasks() to wait for all tasks preempted > on trampoline code back on track. This sentence does not parse. It's missing a verb, but I'm not sure. > Since the jump optimized kprobes can replace

Re: [PATCH v1 1/2] staging: Introduce NVIDIA Tegra20 video decoder driver

2017-09-28 Thread Dan Carpenter
On Thu, Sep 28, 2017 at 02:28:04AM +0300, Dmitry Osipenko wrote: > >> + if (is_baseline_profile) > >> + frame->aux_paddr = 0xF4DEAD00; > > > > The handling of is_baseline_profile is strange to me. It feels like we > > should always check it before we use ->aux_paddr but we don't ever do

Re: [PATCH net-next 0/3] support changing steering policies in tuntap

2017-09-28 Thread Jason Wang
On 2017年09月28日 07:25, Willem de Bruijn wrote: In the future, both simple and sophisticated policy like RSS or other guest driven steering policies could be done on top. IMHO there should be a more practical example before adding all this indirection. And it would be nice to understand why this

Re: [PATCH -tip v3 6/7] kprobes/x86: Remove disable_irq from ftrace-based/optimized kprobe

2017-09-28 Thread Ingo Molnar
* Masami Hiramatsu wrote: > Actually kprobes doesn't need to disable irq if it is > called from ftrace/jump trampoline code because > Documentation/kprobes.txt says > > - > Probe handlers are run with preemption disabled. Depending on the > architecture and optimization state, handlers may

Re: [PATCH 1/2 v2] fdmap(2)

2017-09-28 Thread Michael Kerrisk (man-pages)
On 27 September 2017 at 17:03, Andy Lutomirski wrote: > On Tue, Sep 26, 2017 at 12:00 PM, Alexey Dobriyan wrote: >> On Mon, Sep 25, 2017 at 09:42:58AM +0200, Michael Kerrisk (man-pages) wrote: >>> [Not sure why original author is not in CC; added] >>> >>> Hello Alexey, >>> >>> On 09/24/2017 10:06

Re: [PATCH V2] thermal/drivers/hisi: Switch to interrupt mode

2017-09-28 Thread Daniel Lezcano
On Thu, Sep 28, 2017 at 02:57:52PM +0800, Leo Yan wrote: > Hi Daniel, > > On Thu, Sep 28, 2017 at 07:13:44AM +0200, Daniel Lezcano wrote: > > At this moment, we have both the interrupt setup and the polling enabled. > > The > > interrupt does nothing more than forcing an update while the temperat

Re: [PATCH v6 05/11] dt-bindings: net: dwmac-sun8i: update documentation about integrated PHY

2017-09-28 Thread Corentin Labbe
On Wed, Sep 27, 2017 at 04:02:10PM +0200, Andrew Lunn wrote: > Hi Corentin > > > +Required properties for the mdio-mux node: > > + - compatible = "mdio-mux" > > This is too generic. Please add a more specific compatible for this > particular mux. You can keep "mdio-mux", since that is what the M

Re: [PATCH] x86/setup: Clarify a comment

2017-09-28 Thread Ingo Molnar
* Jean Delvare wrote: > It's not obvious to everybody that BP stands for boot processor. At > least it was not for me. > > Signed-off-by: Jean Delvare > Cc: Alok Kataria > --- > arch/x86/kernel/setup.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-4.14-rc1.orig/ar

Re: [PATCH] dmaengine: pl330: fix descriptor allocation fail

2017-09-28 Thread Vinod Koul
On Tue, Sep 26, 2017 at 09:03:50PM +0300, Alexander Kochetkov wrote: > Hello Vinod! Thanks for review! > > > 26 сент. 2017 г., в 20:37, Vinod Koul написал(а): > > > > Tested-by please... > > In order to test the patch the driver should be rebuild with NR_DEFAULT_DESC > defined to 1 > and with

Re: [PATCH net-next RFC 2/5] vhost: introduce helper to prefetch desc index

2017-09-28 Thread Jason Wang
On 2017年09月28日 08:47, Willem de Bruijn wrote: On Fri, Sep 22, 2017 at 4:02 AM, Jason Wang wrote: This patch introduces vhost_prefetch_desc_indices() which could batch descriptor indices fetching and used ring updating. This intends to reduce the cache misses of indices fetching and updating a

Re: [PATCH] mm: Make count list_lru_one::nr_items lockless

2017-09-28 Thread Kirill Tkhai
On 28.09.2017 00:15, Andrew Morton wrote: > On Tue, 19 Sep 2017 18:06:33 +0300 Kirill Tkhai wrote: > >> During the reclaiming slab of a memcg, shrink_slab iterates >> over all registered shrinkers in the system, and tries to count >> and consume objects related to the cgroup. In case of memory >>

[lkp-robot] [x86/asm] f5caf621ee: PANIC:double_fault

2017-09-28 Thread kernel test robot
FYI, we noticed the following commit: commit: f5caf621ee357279e759c0911daf6d55c7d36f03 ("x86/asm: Fix inline asm call constraints for Clang") https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master in testcase: trinity with following parameters: runtime: 300s test-descr

Re: [PATCH net-next RFC 5/5] vhost_net: basic tx virtqueue batched processing

2017-09-28 Thread Jason Wang
On 2017年09月28日 08:55, Willem de Bruijn wrote: @@ -461,6 +460,7 @@ static void handle_tx(struct vhost_net *net) struct socket *sock; struct vhost_net_ubuf_ref *uninitialized_var(ubufs); bool zcopy, zcopy_used; + int i, batched = VHOST_NET_BATCH; mutex_l

[PATCH 0/8] ARM: dts: aspeed: Device tree updates

2017-09-28 Thread Joel Stanley
This series adds support for the i2c buses and vuart in the ASPEED device trees, as well as making a few cleanups. I will merge these into my Aspeed devicetree tree once they have some acks. I have a second series ready to go as soon as our clk driver is merged. Cheers, Joel Andrew Jeffery (1)

[PATCH 3/8] ARM: dts: aspeed: Add I2C buses

2017-09-28 Thread Joel Stanley
Now with an upstream i2c bus driver, we can add the 14 i2c buses that exist in ASPEED G4 and G5 generation SoCs. It also adds aliases for the 14 built-in I2C busses to ensure userspace sees the numbering staring from zero and counting up. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspee

[PATCH 1/8] ARM: dts: aspeed: Move pinctrl subnodes to improve readability

2017-09-28 Thread Joel Stanley
From: Andrew Jeffery Moving the subnodes out of the pinctrl node declaration to a reference allows easier access to the remaining parts of the devicetree. Signed-off-by: Andrew Jeffery Reviewed-by: Xo Wang Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 1483 ++

[PATCH 2/8] ARM: dts: aspeed: Reorder ADC node

2017-09-28 Thread Joel Stanley
We try to keep the nodes in address order. The ADC node was out of place. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 16 arch/arm/boot/dts/aspeed-g5.dtsi | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot

Re: [PATCH net-next RFC 5/5] vhost_net: basic tx virtqueue batched processing

2017-09-28 Thread Jason Wang
On 2017年09月28日 06:19, Michael S. Tsirkin wrote: 2. add new APIs and move the loop into vhost core for more speedups I don't see any advantages, looks like just need some e.g callbacks in this case. Thanks IUC callbacks pretty much destroy the code cache locality advantages, IP is jump

[PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices

2017-09-28 Thread Joel Stanley
Enable the buses that are in use and the devices that are attached. Currently that is just the battery backed RTC. Some of these buses are for hotplugged cards, such as PCIe cards. Others do not yet have upstream drivers, so there are no devices attached. Signed-off-by: Joel Stanley --- arch/ar

[PATCH 7/8] ARM: dts: aspeed: Add aliases for UARTs

2017-09-28 Thread Joel Stanley
Existing userspace expects the console (UART5) to be at /dev/ttyS4. To ensure the UARTs show up where users expect them, we give them fixed aliases starting at 0. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 4 arch/arm/boot/dts/aspeed-g4.dtsi

[PATCH 5/8] ARM: dts: aspeed-palmetto: Add I2C devices

2017-09-28 Thread Joel Stanley
Enable the buses that are in use and the devices that are attached. Currently that includes the battery backed RTC, temperature measurement and EEPROM. Some of these buses are for hotplugged cards, such as PCIe cards. Others do not yet have upstream drivers, so there are no devices attached. Sign

[PATCH 8/8] ARM: dts: aspeed: Clean up UART nodes

2017-09-28 Thread Joel Stanley
- Shorten size of reg property so it covers only the implemented registers - Add VUART compatible - Move stray uart1 in g5 definition - Remove outdated current-speed property. Different bootloaders use different speeds, so this is no longer helpful Signed-off-by: Joel Stanley --- arch/a

[PATCH 6/8] ARM: dts: aspeed-ast2500: Add I2C devices

2017-09-28 Thread Joel Stanley
Enable the buses that are in use and the devices that are attached. Currently that includes temperature measurement and EEPROM. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-ast2500-evb.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/aspe

Re: [PATCH net-next 0/3] support changing steering policies in tuntap

2017-09-28 Thread Jason Wang
On 2017年09月28日 13:02, Tom Herbert wrote: On Wed, Sep 27, 2017 at 4:25 PM, Willem de Bruijn wrote: In the future, both simple and sophisticated policy like RSS or other guest driven steering policies could be done on top. IMHO there should be a more practical example before adding all this in

Re: [PATCH v2 RESEND 2/2] x86/mm/KASLR: Do not adapt the size of the direct mapping section for SGI UV system

2017-09-28 Thread Ingo Molnar
* Baoquan He wrote: > On SGI UV system, kernel often hangs when KASLR is enabled. Disabling > KASLR makes kernel work well. > > The back trace is: > > kernel BUG at arch/x86/mm/init_64.c:311! > invalid opcode: [#1] SMP > [...] > RIP: 0010:__init_extra_mapping+0x188/0x196 > [...] > Call Tr

Re: [PATCH 2/2] dt-bindings: i2c: Update documentation for "mv78230-a0-i2c"

2017-09-28 Thread Gregory CLEMENT
Hi Kalyan, On jeu., sept. 28 2017, Kalyan Kinthada wrote: > This commit modifies the documentation for > "marvell,mv78230-a0-i2c" compatible string. > > The "marvell,mv78230-a0-i2c" compatible string enables the workaround > for an i2c repeated start timing violation, but unlike > "marvell,mv

[lkp-robot] [EXP] a74063662f: INFO:task_blocked_for_more_than#seconds

2017-09-28 Thread kernel test robot
FYI, we noticed the following commit: commit: a74063662f3a456a402bd40fa23e104196c78993 ("EXP: Fine-grained timer diagnostics") https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git dev.2017.09.21b in testcase: trinity with following parameters: runtime: 300s test-descrip

Re: [lkp-robot] [x86/asm] f5caf621ee: PANIC:double_fault

2017-09-28 Thread Ingo Molnar
* kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: f5caf621ee357279e759c0911daf6d55c7d36f03 ("x86/asm: Fix inline asm > call constraints for Clang") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > in testcase: trinity > with followin

Re: [PATCH 17/25] hrtimer: Implementation of softirq hrtimer handling

2017-09-28 Thread Thomas Gleixner
On Wed, 27 Sep 2017, Peter Zijlstra wrote: > On Thu, Aug 31, 2017 at 12:23:42PM -, Anna-Maria Gleixner wrote: > static void __run_hrtimer(struct hrtimer_cpu_base *cpu_base, > struct hrtimer_clock_base *base, > struct hrtimer *timer, ktime_t *now,

Re: [PATCH] params: Fix an overflow in param_attr_show

2017-09-28 Thread Jean Delvare
On Wed, 27 Sep 2017 15:31:04 +0200, Ingo Molnar wrote: > * Jean Delvare wrote: > > > So the \n additions to the STANDARD_PARAM_DEF() lines > > > > > > > +STANDARD_PARAM_DEF(byte, unsigned char, "%hhu\n", kstrtou8); > > > > +STANDARD_PARAM_DEF(short, short, "%hi\n", kstrtos16); > > > > +STANDARD

Re: [PATCH] iio: dummy: evgen: use irq_sim

2017-09-28 Thread Lars-Peter Clausen
On 09/27/2017 09:23 PM, Bartosz Golaszewski wrote: >>> return ret; >>> - } >>> - iio_evgen->chip.name = iio_evgen_name; >>> - iio_evgen->chip.irq_mask = &iio_dummy_event_irqmask; >>> - iio_evgen->chip.irq_unmask = &iio_dummy_event_irqunmask; >>> - for (i = 0; i < I

Re: [PATCHv7 01/19] mm/sparsemem: Allocate mem_section at runtime for SPARSEMEM_EXTREME

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > Size of mem_section array depends on size of physical address space. > > In preparation for boot-time switching between paging modes on x86-64 > we need to make allocation of mem_section dynamic. > > The patch allocates the array on the first call to > sparse_memo

Re: [PATCH 08/25] hrtimer: Reduce conditional code (expires_next, next_timer)

2017-09-28 Thread Thomas Gleixner
On Tue, 26 Sep 2017, Peter Zijlstra wrote: > On Thu, Aug 31, 2017 at 12:23:37PM -, Anna-Maria Gleixner wrote: > > The hrtimer_cpu_base struct member expires_next and next_timer are > > conditional members (CONFIG_HIGH_RES_TIMERS). This makes the hrtimer code > > more complex and harder to unde

Re: [PATCHv7 02/19] mm/zsmalloc: Prepare to variable MAX_PHYSMEM_BITS

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > With boot-time switching between paging mode we will have variable > MAX_PHYSMEM_BITS. > > Let's use the maximum variable possible for CONFIG_X86_5LEVEL=y > configuration to define zsmalloc data structures. > > Signed-off-by: Kirill A. Shutemov > Cc: Minchan Kim

Re: [PATCH 10/25] hrtimer: Make handling of hrtimer reprogramming and enqueuing not conditional

2017-09-28 Thread Anna-Maria Gleixner
On Tue, 26 Sep 2017, Peter Zijlstra wrote: > On Thu, Aug 31, 2017 at 12:23:38PM -, Anna-Maria Gleixner wrote: > > The hrtimer_reprogramming, remote timer enqueuing and handling of the > > hrtimer_cpu_base struct member expires_next depend on the active high > > resolution timers. This makes th

Re: [PATCH v4 2/4] dmaengine: Add STM32 MDMA driver

2017-09-28 Thread Vinod Koul
On Fri, Aug 25, 2017 at 04:31:04PM +0200, Pierre-Yves MORDRET wrote: > +static int stm32_mdma_probe(struct platform_device *pdev) > +{ [snip] > + dmadev = devm_kzalloc(&pdev->dev, sizeof(*dmadev) + sizeof(u32) * count, > + GFP_KERNEL); > + if (!dmadev) > +

Re: [PATCH v6 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor

2017-09-28 Thread Sakari Ailus
Hi Leon, On Wed, Sep 27, 2017 at 11:48:21PM -0700, Leon Luo wrote: > Hi Sakari, > > Thanks for your comments. > > Regarding imx274_tp_regs[], the first value is the test pattern mode, which > will be updated according to the input value before writing the register. > So it can't be a const. In

Re: [PATCH] params: Fix an overflow in param_attr_show

2017-09-28 Thread Jean Delvare
On Thu, 28 Sep 2017 10:02:23 +0200, Jean Delvare wrote: > On Wed, 27 Sep 2017 15:31:04 +0200, Ingo Molnar wrote: > > At minimum I'd suggest aligning the definitions vertically, to make sure > > any missing \n stands out more, visually: > > > > STANDARD_PARAM_DEF(byte,unsigned char, "%

Re: [PATCH 4.4 50/53] ntb_transport: fix qp count bug

2017-09-28 Thread Greg Kroah-Hartman
On Wed, Sep 27, 2017 at 09:57:22AM -0600, Logan Gunthorpe wrote: > > > On 27/09/17 02:40 AM, Greg Kroah-Hartman wrote: > > On Tue, Sep 26, 2017 at 11:35:04AM -0600, Logan Gunthorpe wrote: > > > > > > > > > On 26/09/17 10:32 AM, Ben Hutchings wrote: > > > > In 4.4-stable, it doesn't, so this pat

Re: [REGRESSION] Warning in tcp_fastretrans_alert() of net/ipv4/tcp_input.c

2017-09-28 Thread Oleksandr Natalenko
Hi. Won't tell about panic in tcp_sacktag_walk() since I cannot trigger it intentionally, but setting net.ipv4.tcp_retrans_collapse to 0 *does not* fix warning in tcp_fastretrans_alert() for me. On středa 27. září 2017 2:18:32 CEST Yuchung Cheng wrote: > On Tue, Sep 26, 2017 at 5:12 PM, Yuchung

Re: [PATCHv7 03/19] x86/kasan: Use the same shadow offset for 4- and 5-level paging

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > We are going to support boot-time switching between 4- and 5-level > paging. For KASAN it means we cannot have different KASAN_SHADOW_OFFSET > for different paging modes: the constant is passed to gcc to generate > code and cannot be changed at runtime. > > This pa

Re: [PATCH 17/25] hrtimer: Implementation of softirq hrtimer handling

2017-09-28 Thread Peter Zijlstra
On Thu, Sep 28, 2017 at 09:59:50AM +0200, Thomas Gleixner wrote: > On Wed, 27 Sep 2017, Peter Zijlstra wrote: > > On Thu, Aug 31, 2017 at 12:23:42PM -, Anna-Maria Gleixner wrote: > > static void __run_hrtimer(struct hrtimer_cpu_base *cpu_base, > > struct hrtimer_clock_bas

Re: [PATCHv7 06/19] x86/boot/compressed/64: Detect and handle 5-level paging at boot-time

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > This patch prepare decompression code to boot-time switching between 4- > and 5-level paging. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/boot/compressed/head_64.S | 24 > 1 file changed, 24 insertions(+) > > diff --git a/arch

Re: [lkp-robot] [x86/asm] f5caf621ee: PANIC:double_fault

2017-09-28 Thread Peter Zijlstra
On Thu, Sep 28, 2017 at 09:59:07AM +0200, Ingo Molnar wrote: > > * kernel test robot wrote: > > > > > FYI, we noticed the following commit: > > > > commit: f5caf621ee357279e759c0911daf6d55c7d36f03 ("x86/asm: Fix inline asm > > call constraints for Clang") > > https://git.kernel.org/cgit/linux

Re: [PATCHv7 07/19] x86/mm: Make virtual memory layout movable for CONFIG_X86_5LEVEL

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > We need to be able to adjust virtual memory layout at runtime to be able > to switch between 4- and 5-level paging at boot-time. > > KASLR already has movable __VMALLOC_BASE, __VMEMMAP_BASE and __PAGE_OFFSET. > Let's re-use it. > > Signed-off-by: Kirill A. Shutemo

[PATCH v3 0/5] media: atmel-isc: Rework the format list and clock provider

2017-09-28 Thread Wenyou Yang
To improve the readability of code, rework the format list table, split the format array into two. Meanwhile, fix the issue of the clock provider operation. Changes in v3: - Fix the wrong used spinlock. - s/_/- on the subject. - Add a new flag for Raw Bayer format to remove MAX_RAW_FMT_INDEX de

Re: Donation

2017-09-28 Thread Mavis Wanczyk Foundation
Greetings To You, My Name is Mavis wanczyk , the winner of the Power ball jackpot of $ $758.7 million in the AUGUST 24, 2017, My jackpot was a gift from God to me hence my Entire family/foundation has AGREED to do this. My foundation is donating $500,000.00USD to you. please contac maviswanczy

[PATCH v3 1/5] media: atmel-isc: Add spin lock for clock enable ops

2017-09-28 Thread Wenyou Yang
Add the spin lock for the clock enable and disable operations. Signed-off-by: Wenyou Yang --- Changes in v3: - Fix the wrong used spinlock. - s/_/- on the subject. Changes in v2: None drivers/media/platform/atmel/atmel-isc.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion

Re: [PATCHv7 08/19] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > #define P4D_SHIFT39 > -#define PTRS_PER_P4D 512 > +#define __PTRS_PER_P4D 512 > +#define PTRS_PER_P4D ptrs_per_p4d > #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT) > #define P4D_MASK (~(P4D_SIZE - 1)) PTRS_PER_P4D_MAX would be a better name than ra

[PATCH v3 2/5] media: atmel-isc: Add prepare and unprepare ops

2017-09-28 Thread Wenyou Yang
A software write operation to the ISC_CLKEN or ISC_CLKDIS register requires double clock domain synchronization and is not permitted when the ISC_SR.SIP is asserted. So add the .prepare and .unprepare ops to make sure the ISC_CLKSR.SIP is unasserted before the write operation to the ISC_CLKEN or IS

Re: [PATCH] ARC: reset: remove the misleading v1 suffix all over

2017-09-28 Thread Philipp Zabel
Hi Vineet, On Wed, 2017-09-27 at 11:07 -0700, Vineet Gupta wrote: [...] > How/when do you plan to get his merged. Perhaps I can work with a non- > mutable branch from you to base my changes off of ? I have sent a pull request [1] for this stable tag: git://git.pengutronix.de/git/pza/linux.git ta

[PATCH v3 3/5] media: atmel-isc: Enable the clocks during probe

2017-09-28 Thread Wenyou Yang
To meet the relationship, enable the HCLOCK and ispck during the device probe, "isc_pck frequency is less than or equal to isc_ispck, and isc_ispck is greater than or equal to HCLOCK." Meanwhile, call the pm_runtime_enable() in the right place. Signed-off-by: Wenyou Yang --- Changes in v3: None

[PATCH v3 5/5] media: atmel-isc: Rework the format list

2017-09-28 Thread Wenyou Yang
To improve the readability of code, split the format array into two, one for the format description, other for the register configuration. Meanwhile, add the flag member to indicate the format can be achieved from the sensor or be produced by the controller, and rename members related to the regist

[PATCH v3 4/5] media: atmel-isc: Remove unnecessary member

2017-09-28 Thread Wenyou Yang
Remove the memeber *config from the isc_subdev_entity struct, the member is useless afterward. Signed-off-by: Wenyou Yang --- Changes in v3: None Changes in v2: None drivers/media/platform/atmel/atmel-isc.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/

Re: [PATCHv7 09/19] x86/mm: Make MAX_PHYSADDR_BITS and MAX_PHYSMEM_BITS dynamic

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > For boot-time switching between paging modes, we need to be able to > adjust size of physical address space at runtime. > > As part of making physical address space size variable, we have to make > X86_5LEVEL dependent on SPARSEMEM_VMEMMAP. !SPARSEMEM_VMEMMAP > con

Re: [PATCHv7 10/19] x86/mm: Make __PHYSICAL_MASK_SHIFT and __VIRTUAL_MASK_SHIFT dynamic

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > --- a/arch/x86/mm/dump_pagetables.c > +++ b/arch/x86/mm/dump_pagetables.c > @@ -82,8 +82,8 @@ static struct addr_marker address_markers[] = { > { 0/* VMALLOC_START */, "vmalloc() Area" }, > { 0/* VMEMMAP_START */, "Vmemmap" }, > #ifdef CONFIG_KASAN > -

Re: [PATCH 2/6] ath9k: add a quirk to set use_msi automatically

2017-09-28 Thread AceLan Kao
Hi Christoph, I'm okay with ether ways, but just worrying the regression if we switch to use MSI by default. Hi Daniel, I've tried your patch, but it doesn't work for me. Wifi can scan AP, but can't get connected. It keeps showing [ 48.362297] wlp2s0: authenticate with 3c:ce:73:48:0e:40 [ 48

Re: [PATCHv7 11/19] x86/mm: Make STACK_TOP_MAX dynamic

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > For boot-time switching between paging modes, we need to be able to > change STACK_TOP_MAX at runtime. > > The change is trivial and it doesn't affect kernel image size. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/include/asm/processor.h | 2 +- > 1 f

Re: Linux 3.18.72

2017-09-28 Thread Greg KH
diff --git a/Makefile b/Makefile index 33feb19e7241..9b82f279ef1d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 71 +SUBLEVEL = 72 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 83a046a7cd0

Linux 3.18.72

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

Re: [PATCH 2/2] percpu: fix iteration to prevent skipping over block

2017-09-28 Thread Luis Henriques
Tejun Heo writes: > On Wed, Sep 27, 2017 at 04:35:00PM -0500, Dennis Zhou wrote: >> The iterator functions pcpu_next_md_free_region and >> pcpu_next_fit_region use the block offset to determine if they have >> checked the area in the prior iteration. However, this causes an issue >> when the bloc

Linux 4.4.89

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

Re: Linux 4.4.89

2017-09-28 Thread Greg KH
diff --git a/Makefile b/Makefile index 788d90a0051b..7e4c46b375b3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 88 +SUBLEVEL = 89 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 2efb06253

Re: [PATCH v2 RESEND 2/2] x86/mm/KASLR: Do not adapt the size of the direct mapping section for SGI UV system

2017-09-28 Thread Baoquan He
Hi Ingo, On 09/28/17 at 09:56am, Ingo Molnar wrote: > > diff --git a/arch/x86/mm/kaslr.c b/arch/x86/mm/kaslr.c > > index af599167fe3c..4d68c08df82d 100644 > > --- a/arch/x86/mm/kaslr.c > > +++ b/arch/x86/mm/kaslr.c > > @@ -27,6 +27,7 @@ > > #include > > #include > > #include > > +#include >

Re: [PATCHv7 12/19] x86/mm: Adjust virtual address space layout in early boot.

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > We need to adjust virtual address space to support switching between > paging modes. > > The adjustment happens in __startup_64(). > +#ifdef CONFIG_X86_5LEVEL > + if (__read_cr4() & X86_CR4_LA57) { > + pgtable_l5_enabled = 1; > + pgdir_

Linux 4.9.52

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

Re: Linux 4.9.52

2017-09-28 Thread Greg KH
diff --git a/Makefile b/Makefile index b48aebbe187f..c53de1e38c6a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 51 +SUBLEVEL = 52 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 1eea99beecc

Re: [PATCHv7 13/19] x86/mm: Make early boot code support boot-time switching of paging modes

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > Early boot code, that setup page table should be able to initialize page > tables for both 4- and 5-level paging modes. This sentence does not parse. Thanks, Ingo

Re: [patch v9 0/4] JTAG driver introduction

2017-09-28 Thread Geert Uytterhoeven
Hi Oleksandr, [My attention was drawn by https://lwn.net/Articles/734440/] [CC linux-spi, which was never included, while linux-serial was] On Thu, Sep 21, 2017 at 11:25 AM, Oleksandr Shamray wrote: > When a need raise up to use JTAG interface for system's devices > programming or CPU debugging,

Re: [RFT PATCH v2] gpiolib: allow gpio irqchip to map irqs dynamically

2017-09-28 Thread Mika Westerberg
On Fri, Jul 21, 2017 at 11:49:00AM -0500, Grygorii Strashko wrote: > Now IRQ mappings are always created for all (allowed) GPIOs in gpiochip in > gpiochip_irqchip_add_key() which goes against the idea of SPARSE_IRQ and, > as result, leads to: > - increasing of memory consumption for IRQ descriptor

Re: [PATCH v2 15/22] fpga: intel: add fpga manager platform driver for FME

2017-09-28 Thread Wu Hao
On Wed, Sep 27, 2017 at 01:54:58PM -0500, Alan Tull wrote: > On Tue, Sep 26, 2017 at 8:18 PM, Wu Hao wrote: > > Hi Hao, > > > On Mon, Sep 25, 2017 at 02:24:57PM -0700, Moritz Fischer wrote: > >> Hi Hao, > > > > Hi Moritz > > > > Thanks for your review. :) > > > >> > >> On Mon, Jun 26, 2017 at 09

Linux 4.13.4

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

Re: [PATCH v1 3/5] dt-bindings: Add DT bindings for NVIDIA Tegra AHB DMA controller

2017-09-28 Thread Jon Hunter
On 28/09/17 00:32, Stephen Boyd wrote: > On 09/27, Jon Hunter wrote: >> >> >> Well, the REQ_SEL should definitely be in the binding. >> >> Laxman, Stephen, what are your thoughts on the TRIG_SEL field? Looks > > Wrong Stephen? Indeed! With all the folks in copy, I assumed we had the right one :

Re: [PATCHv7 15/19] x86/mm: Replace compile-time checks for 5-level with runtime-time

2017-09-28 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > This patch converts the of CONFIG_X86_5LEVEL check to runtime checks for > p4d folding. > > Signed-off-by: Kirill A. Shutemov > --- > arch/x86/mm/fault.c| 2 +- > arch/x86/mm/ident_map.c| 2 +- > arch/x86/mm/init_64.c | 30 +

Re: [PATCHv7 00/19] Boot-time switching between 4- and 5-level paging for 4.15

2017-09-28 Thread Ingo Molnar
A general patch flow request: please only send a maximum of 5-7 patches in the next round, to make it all easier to review and handle. Thanks, Ingo

Re: [RFC PATCH 1/2] arm64: mm: Use READ_ONCE/WRITE_ONCE when accessing page tables

2017-09-28 Thread Peter Zijlstra
On Wed, Sep 27, 2017 at 04:49:28PM +0100, Will Deacon wrote: > In many cases, page tables can be accessed concurrently by either another > CPU (due to things like fast gup) or by the hardware page table walker > itself, which may set access/dirty bits. In such cases, it is important > to use READ_O

Re: [PATCH v4 2/2] memory: ti-emif-sram: introduce relocatable suspend/resume handlers

2017-09-28 Thread Russell King - ARM Linux
On Tue, Sep 26, 2017 at 07:03:55PM -0500, Dave Gerlach wrote: > diff --git a/drivers/memory/emif-asm-offsets.c > b/drivers/memory/emif-asm-offsets.c > new file mode 100644 > index ..bdb153c9e948 > --- /dev/null > +++ b/drivers/memory/emif-asm-offsets.c > @@ -0,0 +1,22 @@ > +/* > + * TI

Re: [PATCH] params: Fix an overflow in param_attr_show

2017-09-28 Thread Ingo Molnar
* Jean Delvare wrote: > On Thu, 28 Sep 2017 10:02:23 +0200, Jean Delvare wrote: > > On Wed, 27 Sep 2017 15:31:04 +0200, Ingo Molnar wrote: > > > At minimum I'd suggest aligning the definitions vertically, to make sure > > > any missing \n stands out more, visually: > > > > > > STANDARD_PARAM_DE

Re: [PATCH] HID: usbhid: fix out-of-bounds bug

2017-09-28 Thread Jaejoong Kim
2017-09-27 23:29 GMT+09:00 Alan Stern : > On Wed, 27 Sep 2017, Michel Hermier wrote: > >> Le 27 sept. 2017 07:42, "Alan Stern" a écrit : > >> > - for (n = 0; n < hdesc->bNumDescriptors; n++) >> > + num_descriptors = min_t(int, hdesc->bNumDescriptors, >> > +

Re: [RFC PATCH 1/2] arm64: mm: Use READ_ONCE/WRITE_ONCE when accessing page tables

2017-09-28 Thread Will Deacon
On Thu, Sep 28, 2017 at 10:38:01AM +0200, Peter Zijlstra wrote: > On Wed, Sep 27, 2017 at 04:49:28PM +0100, Will Deacon wrote: > > In many cases, page tables can be accessed concurrently by either another > > CPU (due to things like fast gup) or by the hardware page table walker > > itself, which m

Re: [PATCH] params: Fix an overflow in param_attr_show

2017-09-28 Thread Ingo Molnar
* Jean Delvare wrote: > > STANDARD_PARAM_DEF(byte,unsigned char, "%hhu\n", > > kstrtou8); > > STANDARD_PARAM_DEF(short, short, "%hi\n", > > kstrtos16); > > STANDARD_PARAM_DEF(ushort, unsigned short, "%hu\n", > > kstrtou16); > > STAN

Re: [lkp-robot] [x86/asm] f5caf621ee: PANIC:double_fault

2017-09-28 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Sep 28, 2017 at 09:59:07AM +0200, Ingo Molnar wrote: > > > > * kernel test robot wrote: > > > > > > > > FYI, we noticed the following commit: > > > > > > commit: f5caf621ee357279e759c0911daf6d55c7d36f03 ("x86/asm: Fix inline > > > asm call constraints for

Re: [PATCH] params: Fix an overflow in param_attr_show

2017-09-28 Thread Jean Delvare
On Wed, 27 Sep 2017 10:10:31 +0200, Jean Delvare wrote: > Function param_attr_show could overflow the buffer it is operating > on. The buffer size is PAGE_SIZE, and the string returned by > attribute->param->ops->get is generated by scnprintf(buffer, > PAGE_SIZE, ...) so it could be PAGE_SIZE - 1 l

RE: [patch v9 0/4] JTAG driver introduction

2017-09-28 Thread Oleksandr Shamray
> -Original Message- > From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] > On Behalf Of Geert Uytterhoeven > Sent: Thursday, September 28, 2017 11:33 AM > To: Oleksandr Shamray > Cc: Greg KH ; Arnd Bergmann > ; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.

[PATCH] Staging: fsl-mc: remove unnecessary parenthesis

2017-09-28 Thread Keerthi Reddy
Remove unnecessary parenthesis Signed-off-by: Keerthi Reddy --- drivers/staging/fsl-mc/bus/fsl-mc-msi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-msi.c b/drivers/staging/fsl-mc/bus/fsl-mc-msi.c index 038da4d..f74a6f1 100644 --- a/drive

Re: [PATCH v2 RESEND 2/2] x86/mm/KASLR: Do not adapt the size of the direct mapping section for SGI UV system

2017-09-28 Thread Ingo Molnar
* Baoquan He wrote: > Hi Ingo, > > On 09/28/17 at 09:56am, Ingo Molnar wrote: > > > diff --git a/arch/x86/mm/kaslr.c b/arch/x86/mm/kaslr.c > > > index af599167fe3c..4d68c08df82d 100644 > > > --- a/arch/x86/mm/kaslr.c > > > +++ b/arch/x86/mm/kaslr.c > > > @@ -27,6 +27,7 @@ > > > #include > > >

Re: [PATCH for-next 8/9] RDMA/hns: Remove unused struct members in hns-abi.h

2017-09-28 Thread Leon Romanovsky
On Thu, Sep 28, 2017 at 12:57:33PM +0800, Wei Hu (Xavier) wrote: > From: Lijun Ou > > This patch mainly deletes some unused struct members for > hns_roce_ib_create_qp in order to match libhns, because > the num of struct members of hns_roce_ib_create_qp must > be the same with hns_roce_create_qp i

Re: [patch v9 0/4] JTAG driver introduction

2017-09-28 Thread Geert Uytterhoeven
Hi Oleksandr, On Thu, Sep 28, 2017 at 10:53 AM, Oleksandr Shamray wrote: >> [My attention was drawn by >> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flwn.net >> %2FArticles%2F734440%2F&data=02%7C01%7Coleksandrs%40mellanox.com%7 >> C97b8ba88686a42daaace08d5064b92eb%7Ca652971

Re: [RFC 2/3] module: Ignore delete_id parameter

2017-09-28 Thread Greg Kroah-Hartman
On Wed, Sep 27, 2017 at 04:40:21PM -0400, Jon Derrick wrote: > The PCI driver delete_id parameter is handled in each individual driver > registration callback. > > Signed-off-by: Jon Derrick > --- > kernel/module.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/kernel/module.c

Re: [Part1 PATCH v5 02/17] x86/mm: Add Secure Encrypted Virtualization (SEV) support

2017-09-28 Thread Borislav Petkov
On Wed, Sep 27, 2017 at 10:13:14AM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > Provide support for Secure Encrypted Virtualization (SEV). This initial > support defines a flag that is used by the kernel to determine if it is > running with SEV active. > > Cc: Thomas Gleixner > Cc: Ingo

Re: [PATCHv7 01/19] mm/sparsemem: Allocate mem_section at runtime for SPARSEMEM_EXTREME

2017-09-28 Thread Kirill A. Shutemov
On Thu, Sep 28, 2017 at 10:07:11AM +0200, Ingo Molnar wrote: > > * Kirill A. Shutemov wrote: > > > Size of mem_section array depends on size of physical address space. > > > > In preparation for boot-time switching between paging modes on x86-64 > > we need to make allocation of mem_section dyn

Re: [RFC 1/3] PCI: pci-driver: Introduce pci device delete list

2017-09-28 Thread Greg Kroah-Hartman
On Wed, Sep 27, 2017 at 04:40:20PM -0400, Jon Derrick wrote: > This patch introduces a new kernel command line parameter to mask pci > device ids from pci driver id tables. This prevents masked devices from > automatically binding to both built-in and module drivers. > > Devices can be later attac

Re: sysbench throughput degradation in 4.13+

2017-09-28 Thread Christian Borntraeger
On 09/27/2017 06:27 PM, Eric Farman wrote: > > > On 09/27/2017 05:35 AM, Peter Zijlstra wrote: >> On Fri, Sep 22, 2017 at 12:12:45PM -0400, Eric Farman wrote: >>> >>> MySQL. We've tried a few different configs with both test=oltp and >>> test=threads, but both show the same behavior. What I hav

  1   2   3   4   5   6   7   8   >