Re: (was Fair Trade O.S.) 0yZ Varanger Sys

2019-10-12 Thread Ywe Cærlyn
Now also added 0yZ to its title, meaning 0 triune god, and 0 jesus on a cross. - I think that is what everybody here wants! Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Wednesday 9. October 2019 kl. 09:52, Ywe Cærlyn wrote: > Ok, I think I have a fully and complete

Re: [PATCH bpf] libbpf: fix passing uninitialized bytes to setsockopt

2019-10-12 Thread Alexei Starovoitov
On Sat, Oct 12, 2019 at 9:52 PM Ilya Maximets wrote: > > 'struct xdp_umem_reg' has 4 bytes of padding at the end that makes > valgrind complain about passing uninitialized stack memory to the > syscall: > > Syscall param socketcall.setsockopt() points to uninitialised byte(s) > at

[PATCH] writeback: Fix a warning while "make xmldocs"

2019-10-12 Thread Masanari Iida
This patch fix following warning. ./fs/fs-writeback.c:918: warning: Excess function parameter 'nr_pages' description in 'cgroup_writeback_by_id' Signed-off-by: Masanari Iida --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fs-writeback.c

Re: [PATCH] mt76: mt76x2: disable pcie_aspm by default

2019-10-12 Thread kbuild test robot
Hi Lorenzo, I love your patch! Yet something to improve: [auto build test ERROR on wireless-drivers-next/master] [cannot apply to v5.4-rc2 next-20191011] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

[PATCH] ACPI Documentation: Minor Spelling Fix

2019-10-12 Thread James Pack
Very minor spelling fix in ACPI documentation Signed-off-by: James Pack --- Documentation/firmware-guide/acpi/namespace.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/firmware-guide/acpi/namespace.rst b/Documentation/firmware-guide/acpi/namespace.rst

Re: [PATCH net-next v3] genetlink: do not parse attributes for families with zero maxattr

2019-10-12 Thread Jakub Kicinski
On Fri, 11 Oct 2019 09:40:09 +0200, Michal Kubecek wrote: > Commit c10e6cf85e7d ("net: genetlink: push attrbuf allocation and parsing > to a separate function") moved attribute buffer allocation and attribute > parsing from genl_family_rcv_msg_doit() into a separate function >

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-12 Thread Daniel Colascione
On Sat, Oct 12, 2019 at 6:14 PM Andy Lutomirski wrote: > .. > > > But maybe we can go further: let's separate authentication and > > authorization, as we do in other LSM hooks. Let's split my > > inode_init_security_anon into two hooks, inode_init_security_anon and > > inode_create_anon. We'd

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-12 Thread Andy Lutomirski
[adding more people because this is going to be an ABI break, sigh] On Sat, Oct 12, 2019 at 5:52 PM Daniel Colascione wrote: > > On Sat, Oct 12, 2019 at 4:10 PM Andy Lutomirski wrote: > > > > On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione > > wrote: > > > > > > The new secure flag makes

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-12 Thread Nicolas Dufresne
Le lundi 07 octobre 2019 à 16:59 +0200, Maxime Jourdan a écrit : > Hello, > > This patch series aims to bring H.264 support as well as compliance update > to the amlogic stateful video decoder driver. > > There is 1 issue that remains currently: > > - The following codepath had to be commented

Re: [PATCH 1/2] net: fec_main: Use platform_get_irq_byname_optional() to avoid error message

2019-10-12 Thread Jakub Kicinski
On Fri, 11 Oct 2019 12:55:20 +0300, Vladimir Oltean wrote: > > > Unfortunately the networking subsystem sees around a 100 patches > > > submitted each day, it'd be very hard to keep track of patches which have > > > external dependencies and when to merge them. That's why we need the > > >

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-12 Thread Daniel Colascione
On Sat, Oct 12, 2019 at 4:10 PM Andy Lutomirski wrote: > > On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione wrote: > > > > The new secure flag makes userfaultfd use a new "secure" anonymous > > file object instead of the default one, letting security modules > > supervise userfaultfd use. > >

Re: [PATCH 4/7] Teach SELinux about a new userfaultfd class

2019-10-12 Thread Andy Lutomirski
On Sat, Oct 12, 2019 at 5:12 PM Daniel Colascione wrote: > > On Sat, Oct 12, 2019 at 4:09 PM Andy Lutomirski wrote: > > > > On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione > > wrote: > > > > > > Use the secure anonymous inode LSM hook we just added to let SELinux > > > policy place

Re: [PATCH 1/7 v2] tracefs: Revert ccbd54ff54e8 ("tracefs: Restrict tracefs when the kernel is locked down")

2019-10-12 Thread Steven Rostedt
On Sat, 12 Oct 2019 20:35:02 -0400 Steven Rostedt wrote: > On Sat, 12 Oct 2019 15:56:15 -0700 > Linus Torvalds wrote: > > > On Fri, Oct 11, 2019 at 5:59 PM Steven Rostedt wrote: > > > > > > > > > > > I bisected this down to the addition of the proxy_ops into tracefs for > > > lockdown. It

[PATCH] xhci: Don't use soft retry if slot id > 0

2019-10-12 Thread Bernhard Gebetsberger
According to the xhci specification(chapter 4.6.8.1) soft retry shouldn't be used if the slot id is higher than 0. Currently some usb devices break on some systems because soft retry is being used when there is a transaction error, without checking the slot id. Fixes: f8f80be501aa ("xhci: Use

Re: [PATCH 1/7 v2] tracefs: Revert ccbd54ff54e8 ("tracefs: Restrict tracefs when the kernel is locked down")

2019-10-12 Thread Steven Rostedt
On Sat, 12 Oct 2019 15:56:15 -0700 Linus Torvalds wrote: > On Fri, Oct 11, 2019 at 5:59 PM Steven Rostedt wrote: > > > > > > I bisected this down to the addition of the proxy_ops into tracefs for > > lockdown. It appears that the allocation of the proxy_ops and then freeing > > it in the

[PATCH v6 9/9] hugetlb_cgroup: Add hugetlb_cgroup reservation docs

2019-10-12 Thread Mina Almasry
Add docs for how to use hugetlb_cgroup reservations, and their behavior. Signed-off-by: Mina Almasry Acked-by: Hillf Danton --- Changes in v6: - Updated docs to reflect the new design based on a new counter that tracks both reservations and faults. --- .../admin-guide/cgroup-v1/hugetlb.rst

[PATCH] net: core: skbuff: skb_checksum_setup() drop err

2019-10-12 Thread Vito Caputo
Return directly from all switch cases, no point in storing in err. Signed-off-by: Vito Caputo --- net/core/skbuff.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index f5f904f46893..c59b68a413b5 100644 ---

[PATCH v6 8/9] hugetlb_cgroup: Add hugetlb_cgroup reservation tests

2019-10-12 Thread Mina Almasry
The tests use both shared and private mapped hugetlb memory, and monitors the hugetlb usage counter as well as the hugetlb reservation counter. They test different configurations such as hugetlb memory usage via hugetlbfs, or MAP_HUGETLB, or shmget/shmat, and with and without MAP_POPULATE.

[PATCH v6 6/9] hugetlb_cgroup: add accounting for shared mappings

2019-10-12 Thread Mina Almasry
For shared mappings, the pointer to the hugetlb_cgroup to uncharge lives in the resv_map entries, in file_region->reservation_counter. After a call to region_chg, we charge the approprate hugetlb_cgroup, and if successful, we pass on the hugetlb_cgroup info to a follow up region_add call. When a

[PATCH v6 7/9] hugetlb_cgroup: support noreserve mappings

2019-10-12 Thread Mina Almasry
Support MAP_NORESERVE accounting as part of the new counter. For each hugepage allocation, at allocation time we check if there is a reservation for this allocation or not. If there is a reservation for this allocation, then this allocation was charged at reservation time, and we don't re-account

[PATCH v6 4/9] hugetlb_cgroup: add reservation accounting for private mappings

2019-10-12 Thread Mina Almasry
Normally the pointer to the cgroup to uncharge hangs off the struct page, and gets queried when it's time to free the page. With hugetlb_cgroup reservations, this is not possible. Because it's possible for a page to be reserved by one task and actually faulted in by another task. The best place

[PATCH net-next v2] hv_sock: use HV_HYP_PAGE_SIZE for Hyper-V communication

2019-10-12 Thread Michael Kelley
From: Himadri Pandya Current code assumes PAGE_SIZE (the guest page size) is equal to the page size used to communicate with Hyper-V (which is always 4K). While this assumption is true on x86, it may not be true for Hyper-V on other architectures. For example, Linux on ARM64 may have PAGE_SIZE

[PATCH v6 2/9] hugetlb_cgroup: add interface for charge/uncharge hugetlb reservations

2019-10-12 Thread Mina Almasry
Augments hugetlb_cgroup_charge_cgroup to be able to charge hugetlb usage or hugetlb reservation counter. Adds a new interface to uncharge a hugetlb_cgroup counter via hugetlb_cgroup_uncharge_counter. Integrates the counter with hugetlb_cgroup, via hugetlb_cgroup_init, hugetlb_cgroup_have_usage,

[PATCH v6 1/9] hugetlb_cgroup: Add hugetlb_cgroup reservation counter

2019-10-12 Thread Mina Almasry
These counters will track hugetlb reservations rather than hugetlb memory faulted in. This patch only adds the counter, following patches add the charging and uncharging of the counter. Problem: Currently tasks attempting to allocate more hugetlb memory than is available get a failure at

[PATCH v6 3/9] hugetlb_cgroup: add cgroup-v2 support

2019-10-12 Thread Mina Almasry
--- mm/hugetlb_cgroup.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mm/hugetlb_cgroup.c b/mm/hugetlb_cgroup.c index 854117513979b..ac1500205faf7 100644 --- a/mm/hugetlb_cgroup.c +++ b/mm/hugetlb_cgroup.c @@ -503,8 +503,13 @@ static void __init

[PATCH v6 5/9] hugetlb: disable region_add file_region coalescing

2019-10-12 Thread Mina Almasry
A follow up patch in this series adds hugetlb cgroup uncharge info the file_region entries in resv->regions. The cgroup uncharge info may differ for different regions, so they can no longer be coalesced at region_add time. So, disable region coalescing in region_add in this patch. Behavior

Re: [PATCH 4/7] Teach SELinux about a new userfaultfd class

2019-10-12 Thread Daniel Colascione
On Sat, Oct 12, 2019 at 4:09 PM Andy Lutomirski wrote: > > On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione wrote: > > > > Use the secure anonymous inode LSM hook we just added to let SELinux > > policy place restrictions on userfaultfd use. The create operation > > applies to processes

Re: [PATCH bpf v2] libbpf: fix passing uninitialized bytes to setsockopt

2019-10-12 Thread Alexei Starovoitov
On Wed, Oct 09, 2019 at 06:49:29PM +0200, Ilya Maximets wrote: > 'struct xdp_umem_reg' has 4 bytes of padding at the end that makes > valgrind complain about passing uninitialized stack memory to the > syscall: > > Syscall param socketcall.setsockopt() points to uninitialised byte(s) > at

Re: [PATCH 3/3] rtc: ds1685: add indirect access method and remove plat_read/plat_write

2019-10-12 Thread Joshua Kinard
On 10/11/2019 11:05, Thomas Bogendoerfer wrote: > Use of provided plat_read/plat_write introduces the problem of possible > different lifetime of rtc driver and plat_XXX function provider. As > this was only intended for SGI Octane (IP30) this patchset implements > a register indirect access

Re: [PATCH v5 bpf-next 00/15] samples: bpf: improve/fix cross-compilation

2019-10-12 Thread Alexei Starovoitov
On Fri, Oct 11, 2019 at 5:07 AM Ilias Apalodimas wrote: > > On Fri, Oct 11, 2019 at 03:27:53AM +0300, Ivan Khoronzhuk wrote: > > This series contains mainly fixes/improvements for cross-compilation > > but not only, tested for arm, arm64, and intended for any arch. > > Also verified on native

Re: [PATCH 6/7] Allow users to require UFFD_SECURE

2019-10-12 Thread Andy Lutomirski
On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione wrote: > > This change adds 2 as an allowable value for > unprivileged_userfaultfd. (Previously, this sysctl could be either 0 > or 1.) When unprivileged_userfaultfd is 2, users with CAP_SYS_PTRACE > may create userfaultfd with or without

Re: [PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-12 Thread Andy Lutomirski
On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione wrote: > > The new secure flag makes userfaultfd use a new "secure" anonymous > file object instead of the default one, letting security modules > supervise userfaultfd use. > > Requiring that users pass a new flag lets us avoid changing the >

Re: [PATCH 4/7] Teach SELinux about a new userfaultfd class

2019-10-12 Thread Andy Lutomirski
On Sat, Oct 12, 2019 at 12:16 PM Daniel Colascione wrote: > > Use the secure anonymous inode LSM hook we just added to let SELinux > policy place restrictions on userfaultfd use. The create operation > applies to processes creating new instances of these file objects; > transfer between processes

Re: [PATCH 1/7 v2] tracefs: Revert ccbd54ff54e8 ("tracefs: Restrict tracefs when the kernel is locked down")

2019-10-12 Thread Linus Torvalds
On Fri, Oct 11, 2019 at 5:59 PM Steven Rostedt wrote: > > > I bisected this down to the addition of the proxy_ops into tracefs for > lockdown. It appears that the allocation of the proxy_ops and then freeing > it in the destroy_inode callback, is causing havoc with the memory system. > Reading

Re: [GIT PULL] Staging/IIO driver fixes for 5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 18:16:38 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.4-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9cbc63485fd5e25cef5d64c28ca3318364073773 Thank you! --

Re: [GIT PULL] Char/Misc driver fixes for 5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 18:16:59 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.4-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/da94001239cceb93c132a31928d6ddc4214862d5 Thank you! --

Re: [GIT PULL] USB fixes for 5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 18:15:53 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.4-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6c90bbd0a4e133665128a941ffcb4f7ac5dcb3cf Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] TTY/Serial fixes for 5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 18:16:14 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.4-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/82c87e7d4068d0fc368c3e7356a94e7b87c29544 Thank you! -- Deet-doot-dot, I am a

Re: [PATCH 2/3] rtc: ds1685: use devm_platform_ioremap_resource helper

2019-10-12 Thread Joshua Kinard
On 10/11/2019 11:05, Thomas Bogendoerfer wrote: > Simplify ioremapping of registers by using devm_platform_ioremap_resource. > > Signed-off-by: Thomas Bogendoerfer > --- > drivers/rtc/rtc-ds1685.c | 23 +++ > include/linux/rtc/ds1685.h | 1 - > 2 files changed, 3

Re: [PATCH 1/3] rts: ds1685: remove not needed fields from private struct

2019-10-12 Thread Joshua Kinard
On 10/11/2019 11:05, Thomas Bogendoerfer wrote: > A few of the fields in struct ds1685_priv aren't needed at all, > so we can remove it. > > Signed-off-by: Thomas Bogendoerfer > --- > drivers/rtc/rtc-ds1685.c | 3 --- > include/linux/rtc/ds1685.h | 3 --- > 2 files changed, 6 deletions(-) >

Re: [PATCH net 0/2] vsock: don't allow half-closed socket in the host transports

2019-10-12 Thread Michael S. Tsirkin
On Fri, Oct 11, 2019 at 04:34:57PM +0200, Stefano Garzarella wrote: > On Fri, Oct 11, 2019 at 10:19:13AM -0400, Michael S. Tsirkin wrote: > > On Fri, Oct 11, 2019 at 03:07:56PM +0200, Stefano Garzarella wrote: > > > We are implementing a test suite for the VSOCK sockets and we discovered > > >

Re: [GIT PULL] perf fixes

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 15:31:34 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/465a7e291fd4f056d81baf5d5ed557bdb44c5457 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] EFI fixes

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 15:01:39 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9b4e40c8fe1e120fef93985de7ff6a97fe9e7dd3 Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] x86 fixes

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 15:19:16 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7a275fd7b9519b5cc63270a8964055aadb04de26 Thank you! -- Deet-doot-dot, I am

Re: [GIT PULL] x86 license updates

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 13:52:57 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > core-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e9ec3588a9372dfb9b04afcddb199ad9e2be0044 Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] scheduler fixes

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 16:58:36 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > sched-urgent-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/328fefadd9cfa15cd6ab746553d9ef13303c11a6 Thank you! -- Deet-doot-dot,

Re: [PATCH] netdevsim: Fix error handling in nsim_fib_init and nsim_fib_exit

2019-10-12 Thread Jakub Kicinski
On Fri, 11 Oct 2019 17:46:53 +0800, YueHaibing wrote: > In nsim_fib_init(), if register_fib_notifier failed, nsim_fib_net_ops > should be unregistered before return. > > In nsim_fib_exit(), unregister_fib_notifier should be called before > nsim_fib_net_ops be unregistered, otherwise may cause

Re: [Outreachy kernel] [PATCH v2 3/5] staging: octeon: remove typedef declaration for cvmx_fau_reg_32

2019-10-12 Thread Wambui Karuga
On Sat, Oct 12, 2019 at 08:37:18PM +0200, Julia Lawall wrote: > > > On Sat, 12 Oct 2019, Wambui Karuga wrote: > > > Remove typedef declaration for enum cvmx_fau_reg_32. > > Also replace its previous uses with new declaration format. > > Issue found by checkpatch.pl > > > > Signed-off-by: Wambui

[PATCH 0/2] Formatting and style cleanup in rtl8712

2019-10-12 Thread Wambui Karuga
This patch series addresses the use of unnecessary return variables and line-breaks in function headers, both in drivers/staging/rtl8712/rtl871x_mp_ioctl.c. Wambui Karuga (2): staging: rtl8712: remove unnecessary return variables staging: rtl8712: clean up function headers

[PATCH 1/2] staging: rtl8712: remove unnecessary return variables

2019-10-12 Thread Wambui Karuga
Remove variables that are only used to hold and return constants and have the functions directly return the constants. Issue found by coccinelle: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Wambui Karuga ---

[PATCH 2/2] staging: rtl8712: clean up function headers

2019-10-12 Thread Wambui Karuga
Remove unnecessary line-breaks in function headers to improve readability of function headers. Signed-off-by: Wambui Karuga --- drivers/staging/rtl8712/rtl871x_mp_ioctl.c | 57 -- 1 file changed, 19 insertions(+), 38 deletions(-) diff --git

[PATCH] drivers: firmware: psci: use kernel restart handler functionality

2019-10-12 Thread Stefan Agner
From: Stefan Agner Use the kernels restart handler to register the PSCI system reset capability. The restart handler use notifier chains along with priorities. This allows to use restart handlers with higher priority (in case available) while still supporting PSCI. Since the ARM handler had

Re: [GIT PULL] MIPS fixes

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 19:04:14 +: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git > tags/mips_fixes_5.4_2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/63f9bff56beb718ac0a2eb8398a98220b1e119dc Thank you! --

Re: [GIT PULL] xen: fixes for 5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 12:51:31 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > for-linus-5.4-rc3-tag has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/680b5b3c5d34b22695357e17b6bdd0abd83e6b1c Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] s390 updates for 5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 12:25:39 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-5.4-4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f154988a905e5cad9d1a20d4c4aeb176968fe3be Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] RISC-V updates for v5.4-rc3

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 13:10:52 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv/for-v5.4-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/48acba989ed5d8707500193048d6c4c5945d5f43 Thank you! --

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.4-3 tag

2019-10-12 Thread pr-tracker-bot
The pull request you sent on Sat, 12 Oct 2019 22:37:15 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.4-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/db60a5a035aa8692dc7cee293356bdcc078fa7b7 Thank you! --

Re: clk: rockchip: Checking a kmemdup() call in rockchip_clk_register_pll()

2019-10-12 Thread Heiko Stübner
Hi Markus, Am Samstag, 12. Oktober 2019, 15:55:44 CEST schrieb Markus Elfring: > I tried another script for the semantic patch language out. > This source code analysis approach points out that the implementation > of the function “rockchip_clk_register_pll” contains also a call > of the function

[PATCH] mm: memblock: do not enforce current limit for memblock_phys* family

2019-10-12 Thread Mike Rapoport
From: Mike Rapoport Until commit 92d12f9544b7 ("memblock: refactor internal allocation functions") the maximal address for memblock allocations was forced to memblock.current_limit only for the allocation functions returning virtual address. The changes introduced by that commit moved the limit

Re: [PATCH v5 bpf-next 09/15] samples/bpf: use own flags but not HOSTCFLAGS

2019-10-12 Thread Ivan Khoronzhuk
On Fri, Oct 11, 2019 at 02:16:05PM +0300, Sergei Shtylyov wrote: On 10/11/2019 12:57 PM, Ivan Khoronzhuk wrote: While compiling natively, the host's cflags and ldflags are equal to ones used from HOSTCFLAGS and HOSTLDFLAGS. When cross compiling it should have own, used for target arch. While

Re: [PATCH v3 2/2] iio: (bma400) add driver for the BMA400

2019-10-12 Thread Dan Robertson
> > No comment other than thank you for ignoring my previous comments. :( > Oh, no! Sorry, it looks like I missed you in the To and CC list in my reply :/ Cheers, - Dan signature.asc Description: Digital signature

Re: Linux 5.3.6

2019-10-12 Thread Gabriel C
Am Sa., 12. Okt. 2019 um 21:16 Uhr schrieb Chris Clayton : > > > > I'm announcing the release of the 5.3.6 kernel. > > > 5.3.6 build fails here with: > > arch/x86/entry/vdso/vdso64.so.dbg: undefined symbols found > CC arch/x86/kernel/cpu/mce/threshold.o > make[3]: ***

Re: [RFC PATCH net] net: phy: Fix "link partner" information disappear issue

2019-10-12 Thread Heiner Kallweit
On 11.10.2019 07:55, Yonglong Liu wrote: > > > On 2019/10/11 3:17, Heiner Kallweit wrote: >> On 10.10.2019 11:30, Yonglong Liu wrote: >>> Some drivers just call phy_ethtool_ksettings_set() to set the >>> links, for those phy drivers that use genphy_read_status(), if >>> autoneg is on, and the

Re: [PATCH RFC v1 0/2] vhost: ring format independence

2019-10-12 Thread Michael S. Tsirkin
On Sat, Oct 12, 2019 at 03:31:50PM +0800, Jason Wang wrote: > > On 2019/10/11 下午9:45, Michael S. Tsirkin wrote: > > So the idea is as follows: we convert descriptors to an > > independent format first, and process that converting to > > iov later. > > > > The point is that we have a tight loop

Re: [PATCH RFC v1 2/2] vhost: batching fetches

2019-10-12 Thread Michael S. Tsirkin
On Sat, Oct 12, 2019 at 03:30:52PM +0800, Jason Wang wrote: > > On 2019/10/11 下午9:46, Michael S. Tsirkin wrote: > > With this patch applied, new and old code perform identically. > > > > Lots of extra optimizations are now possible, e.g. > > we can fetch multiple heads with copy_from/to_user

Re: [PATCH v3 2/2] iio: (bma400) add driver for the BMA400

2019-10-12 Thread Randy Dunlap
On 10/12/19 12:25 PM, Dan Robertson wrote: > Add a IIO driver for the Bosch BMA400 3-axes ultra-low power accelerometer. > The driver supports reading from the acceleration and temperature > registers. The driver also supports reading and configuring the output data > rate, oversampling ratio, and

[GIT PULL] mtd: Fixes for v5.4-rc3

2019-10-12 Thread Richard Weinberger
Linus, The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c: Linux 5.4-rc1 (2019-09-30 10:35:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/fixes-for-5.4-rc3 for you to fetch changes up to

Re: [PATCH RFC v1 1/2] vhost: option to fetch descriptors through an independent struct

2019-10-12 Thread Michael S. Tsirkin
On Sat, Oct 12, 2019 at 03:28:49PM +0800, Jason Wang wrote: > > On 2019/10/11 下午9:45, Michael S. Tsirkin wrote: > > The idea is to support multiple ring formats by converting > > to a format-independent array of descriptors. > > > > This costs extra cycles, but we gain in ability > > to fetch a

[GIT PULL] RISC-V updates for v5.4-rc3

2019-10-12 Thread Paul Walmsley
Linus, The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce: Linux 5.4-rc2 (2019-10-06 14:27:30 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv/for-v5.4-rc3 for you to fetch changes up to

[PATCH] arm64: dts: sun50i: sopine-baseboard: Expose serial1, serial2 and serial3

2019-10-12 Thread Alistair Francis
Follow what the sun50i-a64-pine64.dts does and expose all 5 serial connections. Signed-off-by: Alistair Francis --- .../allwinner/sun50i-a64-sopine-baseboard.dts | 25 +++ 1 file changed, 25 insertions(+) diff --git

[PATCH v3 1/2] dt-bindings: iio: accel: bma400: add bindings

2019-10-12 Thread Dan Robertson
Add devicetree binding for the Bosch BMA400 3-axes ultra-low power accelerometer sensor. Signed-off-by: Dan Robertson --- .../devicetree/bindings/iio/accel/bma400.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644

[PATCH v3 2/2] iio: (bma400) add driver for the BMA400

2019-10-12 Thread Dan Robertson
Add a IIO driver for the Bosch BMA400 3-axes ultra-low power accelerometer. The driver supports reading from the acceleration and temperature registers. The driver also supports reading and configuring the output data rate, oversampling ratio, and scale. Signed-off-by: Dan Robertson ---

[PATCH v3 0/2] iio: add driver for Bosch BMA400 accelerometer

2019-10-12 Thread Dan Robertson
This patchset adds a IIO driver for the Bosch BMA400 3-axes ultra low-power accelerometer. The initial implementation of the driver adds read support for the acceleration and temperature data registers. The driver also has support for reading and writing to the output data rate, oversampling

Re: [PATCH net] net: sched: act_mirred: drop skb's dst_entry in ingress redirection

2019-10-12 Thread Sergei Shtylyov
Hello! On 10/12/2019 10:16 AM, Zhiyuan Hou wrote: > In act_mirred's ingress redirection, if the skb's dst_entry is valid > when call function netif_receive_skb, the fllowing l3 stack process Following or flowing? > (ip_rcv_finish_core) will check dst_entry and skip the routing > decision.

Re: [PATCH RFC v1 0/2] vhost: ring format independence

2019-10-12 Thread Michael S. Tsirkin
On Sat, Oct 12, 2019 at 04:15:42PM +0800, Jason Wang wrote: > > On 2019/10/11 下午9:45, Michael S. Tsirkin wrote: > > So the idea is as follows: we convert descriptors to an > > independent format first, and process that converting to > > iov later. > > > > The point is that we have a tight loop

GOOD DAY?

2019-10-12 Thread Mr. Henk Boelens
Western Associate Bank Bank Address:Tower Building 83 Hull Road Oxwich Brussels Belgium Dear Friend Please accept my apologies if this request does not meet your personal ethics as it is not intended to cause you any embarrassment in what ever form. I got your contact email address from the

[PATCH RFC v2 1/2] vhost: option to fetch descriptors through an independent struct

2019-10-12 Thread Michael S. Tsirkin
The idea is to support multiple ring formats by converting to a format-independent array of descriptors. This costs extra cycles, but we gain in ability to fetch a batch of descriptors in one go, which is good for code cache locality. To simplify benchmarking, I kept the old code around so one

[PATCH RFC v2 2/2] vhost: batching fetches

2019-10-12 Thread Michael S. Tsirkin
With this patch applied, new and old code perform identically. Lots of extra optimizations are now possible, e.g. we can fetch multiple heads with copy_from/to_user now. We can get rid of maintaining the log array. Etc etc. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/test.c | 2 +-

[PATCH RFC v2 0/2] vhost: ring format independence

2019-10-12 Thread Michael S. Tsirkin
This adds infrastructure required for supporting multiple ring formats. The idea is as follows: we convert descriptors to an independent format first, and process that converting to iov later. The point is that we have a tight loop that fetches descriptors, which is good for cache utilization.

[PATCH 7/7] Add a new sysctl for limiting userfaultfd to user mode faults

2019-10-12 Thread Daniel Colascione
Add a new sysctl knob unprivileged_userfaultfd_user_mode_only. This sysctl can be set to either zero or one. When zero (the default) the system lets all users call userfaultfd with or without UFFD_USER_MODE_ONLY, modulo other access controls. When unprivileged_userfaultfd_user_mode_only is set to

Re: [PATCH 1/2] drm/imx: Fix error handling for a kmemdup() call in imx_pd_bind()

2019-10-12 Thread Navid Emamdoost
On Sat, Oct 12, 2019 at 4:07 AM Markus Elfring wrote: > > From: Markus Elfring > Date: Sat, 12 Oct 2019 10:30:21 +0200 > > The return value from a call of the function “kmemdup” was not checked > in this function implementation. Thus add the corresponding error handling. > > Fixes:

Re: Linux 5.3.6

2019-10-12 Thread Chris Clayton
> I'm announcing the release of the 5.3.6 kernel. 5.3.6 build fails here with: arch/x86/entry/vdso/vdso64.so.dbg: undefined symbols found CC arch/x86/kernel/cpu/mce/threshold.o make[3]: *** [arch/x86/entry/vdso/Makefile:59: arch/x86/entry/vdso/vdso64.so.dbg] Error 1 make[3]: ***

[PATCH 6/7] Allow users to require UFFD_SECURE

2019-10-12 Thread Daniel Colascione
This change adds 2 as an allowable value for unprivileged_userfaultfd. (Previously, this sysctl could be either 0 or 1.) When unprivileged_userfaultfd is 2, users with CAP_SYS_PTRACE may create userfaultfd with or without UFFD_SECURE, but users without CAP_SYS_PTRACE must pass UFFD_SECURE to

[PATCH 4/7] Teach SELinux about a new userfaultfd class

2019-10-12 Thread Daniel Colascione
Use the secure anonymous inode LSM hook we just added to let SELinux policy place restrictions on userfaultfd use. The create operation applies to processes creating new instances of these file objects; transfer between processes is covered by restrictions on read, write, and ioctl access already

[PATCH 2/7] Add a concept of a "secure" anonymous file

2019-10-12 Thread Daniel Colascione
A secure anonymous file is one we hooked up to its own inode (as opposed to the shared inode we use for non-secure anonymous files). A new selinux hook gives security modules a chance to initialize, label, and veto the creation of these secure anonymous files. Security modules had limit ability to

[PATCH 1/7] Add a new flags-accepting interface for anonymous inodes

2019-10-12 Thread Daniel Colascione
Add functions forwarding from the old names to the new ones so we don't need to change any callers. Signed-off-by: Daniel Colascione --- fs/anon_inodes.c| 62 ++--- include/linux/anon_inodes.h | 27 +--- 2 files changed, 59 insertions(+),

[PATCH 3/7] Add a UFFD_SECURE flag to the userfaultfd API.

2019-10-12 Thread Daniel Colascione
The new secure flag makes userfaultfd use a new "secure" anonymous file object instead of the default one, letting security modules supervise userfaultfd use. Requiring that users pass a new flag lets us avoid changing the semantics for existing callers. Signed-off-by: Daniel Colascione ---

[PATCH 0/7] Harden userfaultfd

2019-10-12 Thread Daniel Colascione
Userfaultfd in unprivileged contexts could be potentially very useful. We'd like to harden userfaultfd to make such unprivileged use less risky. This patch series allows SELinux to manage userfaultfd file descriptors (via a new flag, for compatibility with existing code) and allows administrators

[PATCH 5/7] Let userfaultfd opt out of handling kernel-mode faults

2019-10-12 Thread Daniel Colascione
userfaultfd handles page faults from both user and kernel code. Add a new UFFD_USER_MODE_ONLY flag for userfaultfd(2) that makes the resulting userfaultfd object refuse to handle faults from kernel mode, treating these faults as if SIGBUS were always raised, causing the kernel code to fail with

[GIT PULL] MIPS fixes

2019-10-12 Thread Paul Burton
Hi Linus, Here are a few MIPS fixes for 5.4; please pull. Thanks, Paul The following changes since commit da0c9ea146cbe92b832f1b0f694840ea8eb33cce: Linux 5.4-rc2 (2019-10-06 14:27:30 -0700) are available in the Git repository at:

God bless you.

2019-10-12 Thread Anna Mustafa
Dear friend how are you today? I know you will be surprise to receive this message from me because; we have n ot met before but please listen to me very well. I am writing you this mail f rom a Hospital. My name is Mrs. Anna Mustafa. I am a widow and very sick now. I am suffering from

Re: [Outreachy kernel] [PATCH v2 3/5] staging: octeon: remove typedef declaration for cvmx_fau_reg_32

2019-10-12 Thread Julia Lawall
On Sat, 12 Oct 2019, Wambui Karuga wrote: > Remove typedef declaration for enum cvmx_fau_reg_32. > Also replace its previous uses with new declaration format. > Issue found by checkpatch.pl > > Signed-off-by: Wambui Karuga > --- > drivers/staging/octeon/octeon-stubs.h | 14 -- >

Re: [Outreachy kernel] [PATCH v2 0/5] Remove typedef declarations in staging: octeon

2019-10-12 Thread Julia Lawall
On Sat, 12 Oct 2019, Wambui Karuga wrote: > This patchset removes the addition of new typedefs data types in octeon, > along with replacing the previous uses with the new declaration format. > > v2 of the series removes the obsolete "_t" notation in the named types. > > Wambui Karuga (5): >

mac80211: Checking a kmemdup() call in ieee80211_send_assoc()

2019-10-12 Thread Markus Elfring
Hello, I tried another script for the semantic patch language out. This source code analysis approach points out that the implementation of the function “ieee80211_send_assoc” contains still an unchecked call of the function “kmemdup”.

drivers/net/ethernet/pensando/ionic/ionic_lif.c:333:2: error: implicit declaration of function 'dynamic_hex_dump'

2019-10-12 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a commit: 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 ionic: Add notifyq support date: 5 weeks ago config: x86_64-randconfig-a002-201941 (attached as .config) compiler:

Hello

2019-10-12 Thread İshak BURAKGAZI
Hi, Please it's very important we speak and discuss my proposal, regards the letter I sent to you before on this deposit here. ishak.

SUNRPC: Checking a kmemdup() call in xdr_netobj_dup()

2019-10-12 Thread Markus Elfring
Hello, I tried another script for the semantic patch language out. This source code analysis approach points out that the implementation of the function “xdr_netobj_dup” contains still an unchecked call of the function “kmemdup”.

Re: drivers/net/ethernet/pensando/ionic/ionic_lif.c:333:2: error: implicit declaration of function 'dynamic_hex_dump'; did you mean 'seq_hex_dump'?

2019-10-12 Thread Shannon Nelson
On 10/12/19 10:45 AM, kbuild test robot wrote: Hi Shannon, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c0cc5f1ae5ee5a6913704c0d75a6e99604ee30a commit: 77ceb68e29ccd25d923b6af59e74ecaf736cc4b7 ionic: Add

[PATCH v2 5/5] staging: octeon: remove typedef declaration for cvmx_fau_op_size

2019-10-12 Thread Wambui Karuga
Remove addition of new typedef for enum cvmx_fau_op_size. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga --- drivers/staging/octeon/octeon-stubs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/octeon/octeon-stubs.h

[PATCH v2 3/5] staging: octeon: remove typedef declaration for cvmx_fau_reg_32

2019-10-12 Thread Wambui Karuga
Remove typedef declaration for enum cvmx_fau_reg_32. Also replace its previous uses with new declaration format. Issue found by checkpatch.pl Signed-off-by: Wambui Karuga --- drivers/staging/octeon/octeon-stubs.h | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git

  1   2   3   >