[GIT PULL] rpmsg updates for v4.14

2017-09-08 Thread Bjorn Andersson
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://github.com/andersson/remoteproc tags/rpmsg-v4.14 for you to fetch changes up to ed43d098f9020d6669a00bd26fac807d5c19e202:

Re: [PATCH v2 0/2] enable hires timer to timeout datagram socket

2017-09-08 Thread David Miller
From: Eduardo Valentin Date: Fri, 8 Sep 2017 11:55:21 -0700 > I agree. I would prefer to understand here what is the technical > reason not to accept these patches other than "use other system > calls". I explained this, let me reiterate: And most importantly, letting the k

Re: [PATCH v3 06/13] xen/pvcalls: implement bind command

2017-09-08 Thread Stefano Stabellini
On Sat, 12 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send PVCALLS_BIND to the backend. Introduce a new structure, part of > > struct sock_mapping, to store information specific to passive sockets. > > > > Introduce a status field to keep track of the

Re: [PATCH] tpm: constify transmit data pointers

2017-09-08 Thread Jarkko Sakkinen
On Fri, Sep 08, 2017 at 10:58:55PM +0200, Arnd Bergmann wrote: > On Thu, Sep 7, 2017 at 6:24 PM, Jarkko Sakkinen > wrote: > > On Thu, Sep 07, 2017 at 03:30:45PM +0200, Arnd Bergmann wrote: > >> > > > > Thank you Arnd. Do you mind if squash this to Colin's commit and your > > signed-off-by to that

[PATCH v9] usb: serial: add vid:pid for Cypress WICED dev board

2017-09-08 Thread Jeffrey Chu
From: Jeffrey Chu Add CYPRESS_VID vid and CYPRESS_WICED_BT_USB and CYPRESS_WICED_WL_USB device IDs to ftdi_sio driver Signed-off-by: Jeffrey Chu --- drivers/usb/serial/ftdi_sio.c | 2 ++ drivers/usb/serial/ftdi_sio_ids.h | 7 +++ 2 files changed, 9 insertions(+) diff --git a/drivers/u

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
On Fri, Sep 8, 2017 at 10:16 AM, Markus Trippelsdorf wrote: > On 2017.09.08 at 09:12 -0700, Andy Lutomirski wrote: >> On Fri, Sep 8, 2017 at 4:30 AM, Markus Trippelsdorf >> wrote: >> > On 2017.09.08 at 12:39 +0200, Markus Trippelsdorf wrote: >> >> On 2017.09.08 at 12:35 +0200, Ingo Molnar wrote:

Re: [PATCH RFC] Update documentation for KSZ DSA drivers so that new drivers can be added

2017-09-08 Thread Pavel Machek
On Fri 2017-09-08 21:01:22, Andrew Lunn wrote: > > > So i would suggest one driver supporting all the different devices. > > > > There will be 5 drivers to support these devices: > > > > ksz9477.c - KSZ9893/KSZ9897/KSZ9567/KSZ9566/KSZ9477 > > ksz8795.c - KSZ8795/KSZ8795/KSZ8765 > > ksz8895.c - KS

Re: [PATCH] media: default for RC_CORE should be n

2017-09-08 Thread Mauro Carvalho Chehab
Em Fri, 8 Sep 2017 12:06:48 -0700 Stephen Hemminger escreveu: > On Fri, 8 Sep 2017 19:52:47 +0100 > Sean Young wrote: > > > On Fri, Sep 08, 2017 at 09:39:29AM -0700, Stephen Hemminger wrote: > > > The Linus policy on Kconfig is that the default should be no > > > for all new devices. I.e the

Re: [PATCH RFC] Update documentation for KSZ DSA drivers so that new drivers can be added

2017-09-08 Thread Pavel Machek
Hi! > There will be 5 drivers to support these devices: > > ksz9477.c - KSZ9893/KSZ9897/KSZ9567/KSZ9566/KSZ9477 > ksz8795.c - KSZ8795/KSZ8795/KSZ8765 > ksz8895.c - KSZ8895/KSZ8864 Could we see the 8895 driver, please? > Out of topic I have a question to ask the community regarding the DSA > por

[PATCH v3] Staging: ccree: Merge assignment with return

2017-09-08 Thread Srishti Sharma
Merge the assignment and return statements to return the value directly. Done using coccinelle. @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Srishti Sharma --- Changes in v3: -Edit commit message so that it respects 80 character limit. -Remove

[PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-08 Thread K. Y. Srinivasan
Allocate the hypervisor callback IDT entry early in the boot sequence. Signed-off-by: K. Y. Srinivasan --- arch/x86/kernel/cpu/mshyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshyperv.c index 3b3f713e15e5..23

Re: [PATCH RFC 5/5] Add KSZ8795 SPI driver

2017-09-08 Thread Pavel Machek
Hi! > > Please format according to CodingStyle. (Not only this.) > > > > And this will be common for more drivers. Can it go to a header file > > and be included...? > > > > Sorry about the formatting. It seems my e-mail system needs to be checked > to make sure it does not auto-format the con

[PATCH 0/2] x86: Fix performance regression in get_user_pages_fast()

2017-09-08 Thread Kirill A. Shutemov
Fix performance regression found by 0-day. Kirill A. Shutemov (2): mm: Add infrastructure for get_user_pages_fast() benchmarking mm, x86: Fix performance regression in get_user_pages_fast() mm/Kconfig | 9 +++ mm/Makefile| 1

Re: [PATCH 1/2] staging: typec: tcpm: Validate source and sink caps

2017-09-08 Thread Dan Carpenter
On Fri, Sep 08, 2017 at 10:27:27AM -0700, Badhri Jagan Sridharan wrote: > >> + > >> + for (i = 1; i < nr_pdo; i++) { > >> + if (pdo_type(pdo[i]) < pdo_type(pdo[i - 1])) { > >> + tcpm_log_force(port, > >> +" err:PDOs should be i

[PATCH 2/2] mm, x86: Fix performance regression in get_user_pages_fast()

2017-09-08 Thread Kirill A. Shutemov
0-day found[1] performance regression that was tracked down to switching x86 to generic get_user_pages_fast(). The regression was caused by the fact that we now use local_irq_save() + local_irq_restore() in get_user_pages_fast() to disable interrupts. In x86 implementation local_irq_disable() + lo

[PATCH 1/2] mm: Add infrastructure for get_user_pages_fast() benchmarking

2017-09-08 Thread Kirill A. Shutemov
Performance of get_user_pages_fast() is critical for some workloads, but it's tricky to test it directly. This patch provides /sys/kernel/debug/gup_benchmark that helps with testing performance of it. See tools/testing/selftests/vm/gup_benchmark.c for userspace counterpart. Signed-off-by: Kirill

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Borislav Petkov
On Fri, Sep 08, 2017 at 02:47:00PM -0700, Andy Lutomirski wrote: > Any chance you could test with CONFIG_DEBUG_VM=y? There are lots of > potentially useful assertions in that code. > > Can you also post your /proc/cpuinfo? And can you re-confirm that a > problematic guest kernel is causing probl

Re: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-08 Thread Pavel Machek
Hi! > > > + default: > > > + processed = false; > > > + break; > > > + } > > > + if (processed) > > > + *val = data; > > > +} > > > > Similar code will be needed by other drivers, right? > > Although KSZ8795 and KSZ8895 may use the same code, the other > chips will have d

Re: [PATCH v3 08/13] xen/pvcalls: implement accept command

2017-09-08 Thread Stefano Stabellini
On Mon, 14 Aug 2017, Boris Ostrovsky wrote: > > > + > > > +ret = bedata->rsp[req_id].ret; > > > > You can just return bedata->rsp[req_id].ret; > > Or maybe not. The slot may get reused by the time you get to the end. Right! > > > > -boris > > > > > +/* read ret, then set this rsp slot

Re: [PATCH] mmc: tegra: Mark 64 bit dma broken on Tegra186

2017-09-08 Thread Thierry Reding
On Fri, Sep 08, 2017 at 12:48:33PM -0700, Krishna Reddy wrote: > SDHCI controllers on Tegra186 support 40 bit addressing. > IOVA addresses are 48-bit wide on Tegra186. > SDHCI host common code sets dma mask as either 32-bit or 64-bit. > To avoid access issues when SMMU is enabled, disable 64-bit dm

[PATCH] mtd: oxnas_nand: Fix error handling in oxnas_nand_probe()

2017-09-08 Thread Alexey Khoroshilov
oxnas_nand_probe() does not disable clock on error paths. The patch adds disabling using devm interface. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/mtd/nand/oxnas_nand.c | 22 +++--- 1 file changed, 15 insertions(

Re: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421

2017-09-08 Thread H. Nikolaus Schaller
> Am 08.09.2017 um 22:57 schrieb Liam Breck : > > Howdy, > > On Fri, Sep 8, 2017 at 1:28 PM, H. Nikolaus Schaller > wrote: >> Hi Liam, >> >>> Am 08.09.2017 um 22:19 schrieb Liam Breck : >>> >>> Hi Nikolaus, >>> >>> On Fri, Sep 8, 2017 at 10:38 AM, H. Nikolaus Schaller >>> wrote: Hi L

Re: [PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill

2017-09-08 Thread James Morris
On Fri, 8 Sep 2017, Paul Moore wrote: > Looks fine to me from a SELinux perspective. If Casey and John are > happy with this I can volunteer to pull it into the selinux/next tree > (once the merge window closes), otherwise if someone else wants to > merge this my ack is below. > As this impacts

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread Cong Wang
On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan wrote: > Different namespace application might require different maximal number > of TCP sockets independently of the host. So after your patch we could have N * net->ipv4.sysctl_tcp_max_orphans in a whole system, right? This just makes OOM easier to

[RFC] mm/memblock.c: using uninitialized value idx in memblock_add_range()

2017-09-08 Thread gurugio
From: Gioh Kim In memblock_add_range(), idx variable is a local value but I cannot find initialization of idx value. I checked idx value on my Qemu emulator. It was zero. Is there any hidden initialization code? Signed-off-by: Gioh Kim --- mm/memblock.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH v3 08/13] xen/pvcalls: implement accept command

2017-09-08 Thread Stefano Stabellini
On Mon, 14 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Introduce a waitqueue to allow only one outstanding accept command at > > any given time and to implement polling on the passive socket. Introduce > > a flags field to keep track of in-flight accept

RE: [PATCH 00/14] Fix wrong %pF and %pS printk format specifier usages

2017-09-08 Thread Yu, Fenghua
> From: Sergey Senozhatsky [mailto:sergey.senozhatsky.w...@gmail.com] > On (09/07/17 16:05), Luck, Tony wrote: > +static inline bool __mod_text_address(struct module *mod, > + unsigned long addr) { > + /* Make sure it's within the text section. */ > +

Re: [GIT PULL] First batch of KVM changes for v4.14

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 7:30 AM, Radim Krčmář wrote: > > Topic branch merges in s390 and powerpc > are already in mainline -- would you prefer to see the expected result > after merge instead of what `git request-pull` produces? So generally, if you do the test-merge anyway (which I appreciate),

Re: [PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill

2017-09-08 Thread Casey Schaufler
On 9/8/2017 9:40 AM, Stephen Smalley wrote: > commit d178bc3a708f39cbfefc3fab37032d3f2511b4ec ("user namespace: usb: > make usb urbs user namespace aware (v2)") changed kill_pid_info_as_uid > to kill_pid_info_as_cred, saving and passing a cred structure instead of > uids. Since the secid can be o

Re: [GIT PULL] Security subsystem updates for 4.14

2017-09-08 Thread Theodore Ts'o
On Fri, Sep 08, 2017 at 02:48:51PM +1000, James Morris wrote: > > Mimi and Christoph worked together on this over several iterations -- I'll > let them respond. Mimi --- we should chat next week in LA. I've been working on a design internally at work which proposes a generic VFS-layer library (

[PATCH] android: binder: Drop lru lock in isolate callback

2017-09-08 Thread Sherry Yang
Drop the global lru lock in isolate callback before calling zap_page_range which calls cond_resched, and re-acquire the global lru lock before returning. Also change return code to LRU_REMOVED_RETRY. Use mmput_async when fail to acquire mmap sem in an atomic context. Fix "BUG: sleeping function c

[PATCH] gpio: dwapb: Add wakeup source support

2017-09-08 Thread Hoan Tran
This patch supports irq_set_wake for dwapb gpio. It allows GPIOs to be configured as wakeup sources and wake the system from suspend. Signed-off-by: Hoan Tran --- drivers/gpio/gpio-dwapb.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gp

Re: [PATCH] selftests/bpf: Make bpf_util work on uniprocessor systems

2017-09-08 Thread Alexei Starovoitov
On Fri, Sep 08, 2017 at 01:19:23PM +0200, Thomas Meyer wrote: > The current implementation fails to work on uniprocessor systems. > Fix the parser to also handle the uniprocessor case. > > Signed-off-by: Thomas Meyer Thanks for the fix. lgtm Acked-by: Alexei Starovoitov This time it's ok to go

Re: [PATCH v3 11/13] xen/pvcalls: implement poll command

2017-09-08 Thread Stefano Stabellini
On Tue, 15 Aug 2017, Boris Ostrovsky wrote: > > @@ -736,6 +755,104 @@ int pvcalls_front_accept(struct socket *sock, struct > > socket *newsock, int flags) > > return ret; > > } > > > > +static unsigned int pvcalls_front_poll_passive(struct file *file, > > +

Re: [PATCH] selftests/bpf: Make bpf_util work on uniprocessor systems

2017-09-08 Thread Daniel Borkmann
On 09/09/2017 01:01 AM, Alexei Starovoitov wrote: On Fri, Sep 08, 2017 at 01:19:23PM +0200, Thomas Meyer wrote: The current implementation fails to work on uniprocessor systems. Fix the parser to also handle the uniprocessor case. Signed-off-by: Thomas Meyer Thanks for the fix. lgtm Acked-by

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
[Linus, I added you to get your opinion on whether the last bit here is a problem.] On Fri, Sep 8, 2017 at 2:56 PM, Borislav Petkov wrote: > On Fri, Sep 08, 2017 at 02:47:00PM -0700, Andy Lutomirski wrote: >> Any chance you could test with CONFIG_DEBUG_VM=y? There are lots of >> potentially usef

Re: [PATCH v3 12/13] xen/pvcalls: implement release command

2017-09-08 Thread Stefano Stabellini
On Tue, 15 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send PVCALLS_RELEASE to the backend and wait for a reply. Take both > > in_mutex and out_mutex to avoid concurrent accesses. Then, free the > > socket. > > > > For passive sockets, check whether we h

Re: [PATCH v3 10/13] xen/pvcalls: implement recvmsg

2017-09-08 Thread Stefano Stabellini
On Mon, 14 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Implement recvmsg by copying data from the "in" ring. If not enough data > > is available and the recvmsg call is blocking, then wait on the > > inflight_conn_req waitqueue. Take the active socket in

[GIT PULL] power-supply changes for 4.14

2017-09-08 Thread Sebastian Reichel
Hi Linus, The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v4.14 for you to fetch changes up to

[PATCH 1/1] x86/hyper-V: Allocate the IDT entry early in boot

2017-09-08 Thread kys
From: "K. Y. Srinivasan" Allocate the hypervisor callback IDT entry early in the boot sequence. Signed-off-by: K. Y. Srinivasan --- arch/x86/kernel/cpu/mshyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/cpu/mshyperv.c b/arch/x86/kernel/cpu/mshype

Re: [PATCH v3 04/13] xen/pvcalls: implement socket command and handle events

2017-09-08 Thread Stefano Stabellini
On Sat, 12 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send a PVCALLS_SOCKET command to the backend, use the masked > > req_prod_pvt as req_id. This way, req_id is guaranteed to be between 0 > > and PVCALLS_NR_REQ_PER_RING. We already have a slot in the

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 4:07 PM, Andy Lutomirski wrote: > > I *think* this is impossible because CPU A's mm_cpumask manipulations > are atomic and should therefore force out the streaming write buffers, > but maybe there's some other scenario where this matters. I don't think atomic memops do that

Re: XFS mounted with 'discard' option - deleting fio test files slow

2017-09-08 Thread Hao Chen
This is expected. To get a better performance of XFS on NVMe drive, it is advised not use use the realtime discard option. https://www.intel.com/content/dam/support/us/en/documents/ssdc/data-center-ssds/Intel_Linux_NVMe_Guide_330602-002.pdf Hao Lu, Qian [2017-09-08 17:17:07 +] >

Re: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses

2017-09-08 Thread Nishanth Menon
On 20:27-20170906, Helge Deller wrote: > Use the %pS printk format for printing symbols from direct addresses. > This is important for the ia64, ppc64 and parisc64 architectures, while on > other architectures there is no difference between %pS and %pF. > Fix it for consistency across the kernel. >

[PATCH] docs: clean up and add rest of CRC functions to kernel-api.rst

2017-09-08 Thread Randy Dunlap
From: Randy Dunlap Add the rest of the CRC library functions to kernel-api. - try to clarify crc32() by adding '@' to a function parameter - reorder kernel-api CRC functions to be less random - add more CRC functions to kernel-api - correct the function parameter names in several places Signed-

Re: [PATCH 07/14] power/avs: Use %pS printk format for direct addresses

2017-09-08 Thread Nishanth Menon
On 20:27-20170906, Helge Deller wrote: > Use the %pS instead of the %pF printk format specifier for printing symbols > from direct addresses. This is needed for the ia64, ppc64 and parisc64 > architectures. > > Signed-off-by: Helge Deller > Cc: Kevin Hilman > Cc: Nishanth Menon > Cc: linux...@v

Re: [PATCH v8 2/3] ARM: dts: Add LVDS info for rk3288

2017-09-08 Thread Heiko Stuebner
Am Samstag, 2. September 2017, 19:28:52 CEST schrieb Sandy Huang: > add LVDS info in rk3288.dtsi for LVDS driver > This based on the patches from Mark yao and Heiko Stuebner. > > Signed-off-by: Mark yao > Signed-off-by: Heiko Stuebner > Signed-off-by: Sandy Huang applied for 4.15 after moving

Re: [PATCH v3 09/13] xen/pvcalls: implement sendmsg

2017-09-08 Thread Stefano Stabellini
On Mon, 14 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Send data to an active socket by copying data to the "out" ring. Take > > the active socket out_mutex so that only one function can access the > > ring at any given time. > > > > If not enough room

mmotm 2017-09-08-16-48 uploaded

2017-09-08 Thread akpm
The mm-of-the-moment snapshot 2017-09-08-16-48 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

HID: Add quirk for Lenovo Yoga 910 with ITE Chipset

2017-09-08 Thread Javier Marcet
Hi, I've been using a Lenovo Yoga 910 with convertible for the last few months. Its sensors need a quirk to work, which may be should be generalized to all Yogas, the new 920 probably needs one too. Anyhow, I have been using this myself for the last few months and I would appreciate being able to

Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs

2017-09-08 Thread महेश बंडेवार
On Fri, Sep 8, 2017 at 7:30 AM, Nikolay Aleksandrov wrote: > On 08/09/17 17:17, Kosuke Tatsukawa wrote: >> Hi, >> >>> On 08/09/17 13:10, Nikolay Aleksandrov wrote: On 08/09/17 05:06, Kosuke Tatsukawa wrote: > Hi, > >> On 7.09.2017 01:47, Kosuke Tatsukawa wrote: >>> Commit cbf

Re: HID: Add quirk for Lenovo Yoga 910 with ITE Chipset

2017-09-08 Thread Javier Marcet
Hi, I just saw in master it has been superseded by a general fix which removed all quirks. So no need for it, it seems. On Sat, Sep 9, 2017 at 1:52 AM, Javier Marcet wrote: > Hi, > > I've been using a Lenovo Yoga 910 with convertible for the last few > months. Its sensors need a quirk to work,

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
On Fri, Sep 8, 2017 at 4:23 PM, Linus Torvalds wrote: > On Fri, Sep 8, 2017 at 4:07 PM, Andy Lutomirski wrote: >> >> I *think* this is impossible because CPU A's mm_cpumask manipulations >> are atomic and should therefore force out the streaming write buffers, >> but maybe there's some other scen

Re: [PATCH v3 02/13] xen/pvcalls: implement frontend disconnect

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Introduce a data structure named pvcalls_bedata. It contains pointers to > > the command ring, the event channel, a list of active sockets and a list > > of passive sockets. Lists accesses are protec

Re: [PATCH v3 03/13] xen/pvcalls: connect to the backend

2017-09-08 Thread Stefano Stabellini
On Fri, 11 Aug 2017, Boris Ostrovsky wrote: > On 07/31/2017 06:57 PM, Stefano Stabellini wrote: > > Implement the probe function for the pvcalls frontend. Read the > > supported versions, max-page-order and function-calls nodes from > > xenstore. > > > > Only one frontend<->backend connection is su

Re: [PATCH 04/14] ti_sci: Use %pS printk format for direct addresses

2017-09-08 Thread Santosh Shilimkar
On 9/8/2017 4:30 PM, Nishanth Menon wrote: On 20:27-20170906, Helge Deller wrote: Use the %pS printk format for printing symbols from direct addresses. This is important for the ia64, ppc64 and parisc64 architectures, while on other architectures there is no difference between %pS and %pF. Fix i

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Chris Mason
On 09/08/2017 03:33 PM, Chris Mason wrote: Hi Linus, Nick Terrell's patch series to add zstd support to the kernel has been floating around for a while. After talking with Dave Sterba, Herbert and Phillip, we decided to send the whole thing in as one pull request. I have it in my zstd branch

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Linus Torvalds
On Fri, Sep 8, 2017 at 5:00 PM, Andy Lutomirski wrote: > > I'm not convinced. The SDM says (Vol 3, 11.3, under WC): > > If the WC buffer is partially filled, the writes may be delayed until > the next occurrence of a serializing event; such as, an SFENCE or > MFENCE instruction, CPUID execution,

RE: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers.

2017-09-08 Thread Tristram.Ha
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 08, 2017 1:54 AM > To: Tristram Ha - C24268 > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com; > vivien.dide...@savoirfairelinux.com; f.faine...@gmail.com; > net...@vger.kernel.org

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread 严海双
> On 2017年9月9日, at 上午6:13, Cong Wang wrote: > > On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan > wrote: >> Different namespace application might require different maximal number >> of TCP sockets independently of the host. > > So after your patch we could have N * net->ipv4.sysctl_tcp_max_orph

Re: [PATCH 2/3] watchdog: jz4780: Allow selection of jz4740-wdt driver

2017-09-08 Thread Guenter Roeck
On 09/08/2017 11:35 AM, Mathieu Malaterre wrote: This driver works for jz4740 & jz4780 Suggested-by: Maarten ter Huurne Signed-off-by: Mathieu Malaterre Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Herbert Xu
On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > crypto/Kconfig |9 + > > crypto/Makefile|1 +

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Andy Lutomirski
> On Sep 8, 2017, at 6:05 PM, Linus Torvalds > wrote: > >> On Fri, Sep 8, 2017 at 5:00 PM, Andy Lutomirski wrote: >> >> I'm not convinced. The SDM says (Vol 3, 11.3, under WC): >> >> If the WC buffer is partially filled, the writes may be delayed until >> the next occurrence of a serializi

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-08 Thread Tristram.Ha
> -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 08, 2017 2:58 PM > To: Tristram Ha - C24268 > Cc: and...@lunn.ch; muva...@gmail.com; nathan.leigh.con...@gmail.com; > vivien.dide...@savoirfairelinux.com; f.faine...@gmail.com; > net...@vger.kernel.org

[PATCH v5 2/3] arm: dts: add Nuvoton NPCM750 device tree

2017-09-08 Thread Brendan Higgins
Add a common device tree for all Nuvoton NPCM750 BMCs and a board specific device tree for the NPCM750 (Poleg) evaluation board. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman Reviewed-by: Joel Stanley Tested-by: Tomer Maimon Tested-by: Avi Fishman --- ...

[PATCH v5 3/3] MAINTAINERS: Add entry for the Nuvoton NPCM architecture

2017-09-08 Thread Brendan Higgins
Add maintainers and reviewers for the Nuvoton NPCM architecture. Signed-off-by: Brendan Higgins Reviewed-by: Tomer Maimon Reviewed-by: Avi Fishman --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 44cb004c765d..ec0d35384a16 10064

[PATCH v5 1/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Adds basic support for the Nuvoton NPCM750 BMC. Signed-off-by: Brendan Higgins --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-npcm/Kconfig | 48 arch/arm/mach-npcm/Makefile | 3 ++ arch/arm/mach-npcm/headsmp.S | 17 +++

[PATCH v5 0/3] arm: npcm: add basic support for Nuvoton BMCs

2017-09-08 Thread Brendan Higgins
Addressed comments from: - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605356.html - kbuild robot: https://www.spinics.net/lists/arm-kernel/msg605325.html Changes since previous update: - Addressed some minor issues caught by build bot, no structural changes. - Changes status

Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode

2017-09-08 Thread Alexei Starovoitov
On 9/6/17 11:08 PM, Haishuang Yan wrote: ttl and tos variables are declared and assigned, but are not used in iptunnel_xmit() function. Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") Cc: Alexei Starovoitov Signed-off-by: Haishuang Yan --- net/ipv4/ip_tunnel.c | 4 ++--

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Chris Mason
On Sat, Sep 09, 2017 at 09:35:59AM +0800, Herbert Xu wrote: On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: crypto/Kconfig |9 + crypto/Makefile|1 + crypto/testmgr.c | 10 + crypto/testmgr.h | 71 + crypto/zstd.c

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Nick Terrell
On 9/8/17, 6:36 PM, "Herbert Xu" wrote: > On Fri, Sep 08, 2017 at 03:33:05PM -0400, Chris Mason wrote: > > > > crypto/Kconfig |9 + > > crypto/Makefile|1 + > > crypto/testmgr.c | 10 + > > crypto/testmgr.h | 71 + > > crypto/zstd.c

Re: [PATCH 2/2] watchdog: Add Spreadtrum watchdog driver

2017-09-08 Thread Guenter Roeck
On 09/05/2017 10:38 PM, Eric Long wrote: This patch adds the watchdog driver for Spreadtrum SC9860 platform. Signed-off-by: Eric Long --- drivers/watchdog/Kconfig| 8 + drivers/watchdog/Makefile | 1 + drivers/watchdog/sprd_wdt.c | 366

Re: [PATCH net-next 3/3] net: phy: realtek: add RTL8201F phy-id and functions

2017-09-08 Thread Jassi Brar
On 9 September 2017 at 00:21, Florian Fainelli wrote: > On 09/08/2017 06:02 AM, Kunihiko Hayashi wrote: >> From: Jassi Brar >> >> Add RTL8201F phy-id and the related functions to the driver. >> >> The original patch is as follows: >> https://patchwork.kernel.org/patch/2538341/ >> >> Signed-off-by

Re: [PATCH 2/2] ip6_tunnel: fix setting hop_limit value for ipv6 tunnel

2017-09-08 Thread David Miller
From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:35 +0800 > Similar to vxlan/geneve tunnel, if hop_limit is zero, it should fall > back to ip6_dst_hoplimt(). > > Signed-off-by: Haishuang Yan Applied.

Re: [PATCH 1/2] ip_tunnel: fix setting ttl and tos value in collect_md mode

2017-09-08 Thread David Miller
From: Haishuang Yan Date: Thu, 7 Sep 2017 14:08:34 +0800 > ttl and tos variables are declared and assigned, but are not used in > iptunnel_xmit() function. > > Fixes: cfc7381b3002 ("ip_tunnel: add collect_md mode to IPIP tunnel") > Cc: Alexei Starovoitov > Signed-off-by: Haishuang Yan Applie

Re: [PATCH] drivers: net: Display proper debug level up to 6

2017-09-08 Thread David Miller
From: Mathieu Malaterre Date: Thu, 7 Sep 2017 13:24:20 +0200 > This will make it explicit some messages are of the form: > dm9000_dbg(db, 5, ... > > Signed-off-by: Mathieu Malaterre Applied.

Re: [PATCH] net: tulip: Constify tulip_tbl

2017-09-08 Thread David Miller
From: Kees Cook Date: Thu, 7 Sep 2017 12:35:14 -0700 > It looks like all users of tulip_tbl are reads, so mark this table > as read-only. > > $ git grep tulip_tbl # edited to avoid line-wraps... > interrupt.c: iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ... > interrupt.c: iowrite32(tulip_tbl[

Re: [PATCH] net: ethernet: ti: netcp_core: no need in netif_napi_del

2017-09-08 Thread David Miller
From: Ivan Khoronzhuk Date: Thu, 7 Sep 2017 18:32:30 +0300 > Don't remove rx_napi specifically just before free_netdev(), > it's supposed to be done in it and is confusing w/o tx_napi deletion. > > Signed-off-by: Ivan Khoronzhuk Applied.

Re: [PATCH net] phy: mvebu-cp110: checking for NULL instead of IS_ERR()

2017-09-08 Thread David Miller
From: Dan Carpenter Date: Fri, 8 Sep 2017 13:31:37 +0300 > devm_ioremap_resource() never returns NULL, it only returns error > pointers so this test needs to be changed. > > Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver") > Signed-off-by: Dan Carpenter > --- > This driver apparen

Re: [GIT PULL] zstd support (lib, btrfs, squashfs)

2017-09-08 Thread Herbert Xu
On Sat, Sep 09, 2017 at 02:48:55AM +, Nick Terrell wrote: > > There is a patch [1] floating around adding zstd support to compressed RAM > that uses the crypto API. > > [1] > https://lkml.kernel.org/r/20170824014936.4738-1-sergey.senozhatsky%40gmail.com Yes but I think it would make more sen

Re: [PATCH v2] Add driver to force WMI Thunderbolt controller power status

2017-09-08 Thread Darren Hart
On Fri, Sep 08, 2017 at 03:15:10PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Friday, September 8, 2017 3:07 AM > > To: Limonciello, Mario > > Cc: dvh...@infradead.org; LKML ; > > platform-dr

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread Cong Wang
On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote: > > >> On 2017年9月9日, at 上午6:13, Cong Wang wrote: >> >> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan >> wrote: >>> Different namespace application might require different maximal number >>> of TCP sockets independently of the host. >> >> So after your p

[GIT] Networking

2017-09-08 Thread David Miller
The iwlwifi firmware compat fix is in here as well as some other stuff: 1) Fix request socket leak introduced by BPF deadlock fix, from Eric Dumazet. 2) Fix VLAN handling with TXQs in mac80211, from Johannes Berg. 3) Missing __qdisc_drop conversions in prio and qfq schedulers, from Gao Fe

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread 严海双
> On 2017年9月9日, at 下午12:35, Cong Wang wrote: > > On Fri, Sep 8, 2017 at 6:25 PM, 严海双 wrote: >> >> >>> On 2017年9月9日, at 上午6:13, Cong Wang wrote: >>> >>> On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan >>> wrote: Different namespace application might require different maximal number

Re: [PATCH] ipv4: Namespaceify tcp_max_orphans knob

2017-09-08 Thread David Miller
From: 严海双 Date: Sat, 9 Sep 2017 13:09:57 +0800 > > >> On 2017年9月9日, at 下午12:35, Cong Wang wrote: >> >> On Fri, Sep 8, 2017 at 6:25 PM, 严海双 >> wrote: >>> >>> On 2017年9月9日, at 上午6:13, Cong Wang wrote: On Wed, Sep 6, 2017 at 8:10 PM, Haishuang Yan wrote: > Differen

Oakley Sunglass Warehouse

2017-09-08 Thread Oakley Sunglass Warehouse
From: Oakley Sunglass Warehouse Email: linux-kernel@vger.kernel.org -- Hi It's our birthday and we are celebrating 2 years of our outlet. We'd like to offer you only 19.95 USD for all styles of Oakley and Ray Ban Sunglasses. Please visit

Re: [PATCH] usb,signal,security: only pass the cred, not the secid, to kill_pid_info_as_cred and security_task_kill

2017-09-08 Thread Greg KH
On Fri, Sep 08, 2017 at 12:40:01PM -0400, Stephen Smalley wrote: > commit d178bc3a708f39cbfefc3fab37032d3f2511b4ec ("user namespace: usb: > make usb urbs user namespace aware (v2)") changed kill_pid_info_as_uid > to kill_pid_info_as_cred, saving and passing a cred structure instead of > uids. Sin

Re: [PATCH 4.13 00/47] 4.13.1-stable review

2017-09-08 Thread Greg Kroah-Hartman
On Fri, Sep 08, 2017 at 10:58:48AM -0600, Shuah Khan wrote: > On 09/08/2017 07:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.13.1 release. > > There are 47 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Your response is highly appreciated

2017-09-08 Thread Mr.Adams Salem
Hello , I am specifically contacting you in respect of a business proposal that I have for you as you appear very relevant in the proposal. Please kindly reply back to me for further details. Waiting to hear from you. Regards, Mr.Adams Salem

[PATCH v1 3/3] net: skb_queue_purge(): lock/unlock the queue only once

2017-09-08 Thread Michael Witten
Thanks for your input, Eric Dumazet and Stephen Hemminger; based on your observations, this version of the patch implements a very lightweight purging of the queue. To apply this patch, save this email to: /path/to/email and then run: git am --scissors /path/to/email You may also fetch thi

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-08 Thread Markus Trippelsdorf
On 2017.09.08 at 23:56 +0200, Borislav Petkov wrote: > On Fri, Sep 08, 2017 at 02:47:00PM -0700, Andy Lutomirski wrote: > > Any chance you could test with CONFIG_DEBUG_VM=y? There are lots of > > potentially useful assertions in that code. > > > > Can you also post your /proc/cpuinfo? And can yo

Re: [RFC PATCH 0/3] kbuild: generate intermediate C files instead of copying _shipped files

2017-09-08 Thread Sam Ravnborg
On Fri, Sep 08, 2017 at 02:38:23PM -0700, Linus Torvalds wrote: > On Fri, Sep 8, 2017 at 11:39 AM, Linus Torvalds > wrote: > > > > Strange. Does anybody see what the pattern to the failure is? > > Found it. Stupid special case for 'typeof()' that used > is_reserved_word() in ways I hadn't realize

[PATCH] tracing: Remove obsolete sched_switch tracer selftest

2017-09-08 Thread Joel Fernandes
Since commit 87d80de2800d087ea833cb79bc13f85ff34ed49f ("tracing: Remove obsolete sched_switch tracer"), the sched_switch tracer selftest is no longer used. This patch removes the same. Cc: kernel-t...@android.com Cc: Steven Rostedt Signed-off-by: Joel Fernandes --- kernel/trace/trace.h

Re: [Outreachy kernel] [PATCH v3] Staging: ccree: Merge assignment with return

2017-09-08 Thread Julia Lawall
On Sat, 9 Sep 2017, Srishti Sharma wrote: > Merge the assignment and return statements to return the value > directly. Done using coccinelle. > > @@ > local idexpression ret; > expression e; > @@ > > -ret = > +return > e; > -return ret; > > Signed-off-by: Srishti Sharma > --- > Changes in

Re: [Outreachy kernel] [PATCH v2] Staging: ccree: Merge assignment with return

2017-09-08 Thread Julia Lawall
On Sat, 9 Sep 2017, Srishti Sharma wrote: > On Sat, Sep 9, 2017 at 2:28 AM, Julia Lawall wrote: > > > > > > On Sat, 9 Sep 2017, Srishti Sharma wrote: > > > >> Merge the assignment and return statements to return the value > >> directly. Done using coccinelle. > >> > >> @@ > >> local idexpressio

<    3   4   5   6   7   8