Re: [PATCH 2/3] mm: oom: show unreclaimable slab info when kernel panic

2017-09-30 Thread Christopher Lameter
On Thu, 28 Sep 2017, Yang Shi wrote: > > CONFIG_SLABINFO and /proc/slabinfo have nothing to do with the > > unreclaimable slab info. > > The current design uses "struct slabinfo" and get_slabinfo() to retrieve some > info, i.e. active objs, etc. They are protected by CONFIG_SLABINFO. Ok I guess t

Re: [GIT PULL] Introduce housekeeping subsystem v4

2017-09-30 Thread Christopher Lameter
On Fri, 29 Sep 2017, Frederic Weisbecker wrote: > Indeed I feel that housekeeping is probably not the best concept to express > all these things. I'm all for something clearer. Hmmm some ideas: OS maintenance tasks Delayed maintenance Supervisor OS Management

Re: [PATCH 2/2] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory

2017-09-30 Thread Christopher Lameter
On Thu, 28 Sep 2017, Yang Shi wrote: > diff --git a/mm/slab.h b/mm/slab.h > index 0733628..b0496d1 100644 > --- a/mm/slab.h > +++ b/mm/slab.h > @@ -505,6 +505,14 @@ static inline struct kmem_cache_node *get_node(struct > kmem_cache *s, int node) > void memcg_slab_stop(struct seq_file *m, void *p

Re: [PATCH v5 2/2] add w1_ds28e17 driver for the DS28E17 Onewire to I2C master bridge

2017-09-30 Thread Evgeniy Polyakov
Hi Jan, Greg Have you resolved issues with the patch (touch bit export and driver itself)? This driver lives outside the kernel quite for a while, do you need any help to resolve this? 21.09.2017, 00:52, "Jan Kandziora" : > This subpatch adds a driver for the DS28E17 Onewire to I2C master bridge

Re: [PATCH 10/10] [RFC] w1_netlink.h: add support for nested structs

2017-09-30 Thread Evgeniy Polyakov
Hi 26.09.2017, 20:59, "Mauro Carvalho Chehab" : > Describe nested struct/union fields > > NOTE: This is a pure test patch, meant to validate if the > parsing logic for nested structs is working properly. > > I've no idea if the random text I added there is correct! It looks correct, although I wo

Re: [PATCH] w1: keep balance of mutex locks and refcnts

2017-09-30 Thread Evgeniy Polyakov
Hi Alex 29.09.2017, 23:23, "Alexey Khoroshilov" : > w1_therm_eeprom() and w1_DS18B20_precision() decrement THERM_REFCNT > on error paths, while they did not increment it yet. > > read_therm() unlocks bus mutex on some error paths, > while it is not acquired. > > The patch makes sure all the functi

Re: [PATCH for-next 3/4] RDMA/hns: Update the IRRL table chunk size in hip08

2017-09-30 Thread Leon Romanovsky
On Sat, Sep 30, 2017 at 05:29:00PM +0800, Wei Hu (Xavier) wrote: > As the increase of the IRRL specification in hip08, the IRRL table > chunk size needs to be updated. > This patch updates the IRRL table chunk size to 256k for hip08. > > Signed-off-by: Wei Hu (Xavier) > Signed-off-by: Shaobo Xu >

ERROR: "__cmpxchg_u64" [drivers/net/ethernet/intel/i40e/i40e.ko] undefined!

2017-09-30 Thread kbuild test robot
Hi Jacob, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a8c964eacb21288b2dbfa9d80cee5968a3b8fb21 commit: 841c950d67c6facde32a8644ced20c04aebb7dd8 i40e/i40evf: use cmpxchg64 when updating private flags in ethtool d

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

2017-09-30 Thread Michael S. Tsirkin
On Thu, Sep 28, 2017 at 12:09:05PM -0400, Willem de Bruijn wrote: > Programming from the guest is > indeed different. I don't fully understand that use case. Generally programming host BPF from guest is a clear win - think DOS protection. Guest runs logic to detect dos attacks, then passes the pro

Re: [PATCH v16 5/5] virtio-balloon: VIRTIO_BALLOON_F_CTRL_VQ

2017-09-30 Thread Michael S. Tsirkin
On Sat, Sep 30, 2017 at 12:05:54PM +0800, Wei Wang wrote: > Add a new vq, ctrl_vq, to handle commands between the host and guest. > With this feature, we will be able to have the control plane and data > plane separated. In other words, the control related commands of each > feature will be sent vi

Re: [PATCH net-next v2 0/7] net: dsa: change dsa_ptr for a dsa_port

2017-09-30 Thread David Miller
From: Vivien Didelot Date: Fri, 29 Sep 2017 17:19:14 -0400 > With DSA, a master net_device is physically wired to a dedicated CPU > switch port. For interaction with the DSA layer, the struct net_device > contains a dsa_ptr, which currently points to a dsa_switch_tree object. > > This is only va

Re: [PATCH] net: hns3: fix null pointer dereference before null check

2017-09-30 Thread David Miller
From: Colin King Date: Fri, 29 Sep 2017 20:51:23 +0100 > From: Colin Ian King > > pointer ndev is being dereferenced with the call to netif_running > before it is being null checked. Re-order the code to only dereference > ndev after it has been null checked. > > Detected by CoverityScan, CID

Re: [PATCH][net-next] net_sched: remove redundant assignment to ret

2017-09-30 Thread David Miller
From: Colin King Date: Fri, 29 Sep 2017 15:01:16 +0100 > From: Colin Ian King > > The assignment of -EINVAL to variable ret is redundant as it > is being overwritten on the following error exit paths or > to the return value from the following call to basic_set_parms. > Fix this up by removing

Re: [PATCH][net-next] net: ipmr: make function ipmr_notifier_init static

2017-09-30 Thread David Miller
From: Colin King Date: Fri, 29 Sep 2017 14:34:22 +0100 > From: Colin Ian King > > The function ipmr_notifier_init is local to the source and does > not need to be in global scope, so make it static. > > Cleans up sparse warning: > warning: symbol 'ipmr_notifier_init' was not declared. Should i

Re: [PATCH net-next] Revert "net: dsa: bcm_sf2: Defer port enabling to calling port_enable"

2017-09-30 Thread David Miller
From: Florian Fainelli Date: Thu, 28 Sep 2017 11:19:06 -0700 > This reverts commit e85ec74ace29 ("net: dsa: bcm_sf2: Defer port > enabling to calling port_enable") because this now makes an unbind > followed by a bind to fail connecting to the ingrated PHY. > > What this patch missed is that we

Re: [RESEND RFC PATCH 0/7] sun8i H3 HDMI glue driver for DW HDMI

2017-09-30 Thread Alexey Kardashevskiy
On 01/10/17 04:56, Jernej Škrabec wrote: > Hi, > > Dne sobota, 30. september 2017 ob 13:58:03 CEST je Alexey Kardashevskiy > napisal(a): >> On 21/09/17 06:01, Jernej Skrabec wrote: >>> [added media mailing list due to CEC question] >>> >>> This patch series adds a HDMI glue driver for Allwinner H

Re: [RFC PATCH 3/3] fs: detect that the i_rwsem has already been taken exclusively

2017-09-30 Thread Eric W. Biederman
Linus Torvalds writes: > On Thu, Sep 28, 2017 at 6:53 PM, Mimi Zohar wrote: >> >> The locking issue isn't with validating the file hash, but with the >> setxattr, chmod, chown syscalls. Each of these syscalls takes the >> i_rwsem exclusively before IMA (or EVM) is called. > > Read my email agai

[PATCH v2] kvm/x86: Handle async PF in RCU read-side critical sections

2017-09-30 Thread Boqun Feng
Sasha Levin reported a WARNING: | WARNING: CPU: 0 PID: 6974 at kernel/rcu/tree_plugin.h:329 | rcu_preempt_note_context_switch kernel/rcu/tree_plugin.h:329 [inline] | WARNING: CPU: 0 PID: 6974 at kernel/rcu/tree_plugin.h:329 | rcu_note_context_switch+0x16c/0x2210 kernel/rcu/tree.c:458 ... | CPU: 0

Loan

2017-09-30 Thread CAPITAL FINANCE
UNSECURED BUSINESS/PERSONAL LOAN BY LOAN CAPITAL FINANCE - NO COLLATERAL - MINIMUM DOCUMENTATION - BUSINESS LOAN UP TO FIVE(5) MILLION US DOLLARS CONTACT US TODAY VIA EMAIL: financecapital...@mail.com

[PATCH] mn10300: Use is_vmalloc_addr

2017-09-30 Thread Min-Hua Chen
To is_vmalloc_addr() to check if an address is a vmalloc address instead of checking VMALLOC_START and VMALLOC_END manually. Signed-off-by: Min-Hua Chen --- arch/mn10300/kernel/gdb-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mn10300/kernel/gdb-stub.c b/arch/mn

Re: [PATCH] kvm/x86: Handle async PF in RCU read-side critical sections

2017-09-30 Thread Boqun Feng
On Sat, Sep 30, 2017 at 05:15:15PM +, Paul E. McKenney wrote: > On Sat, Sep 30, 2017 at 07:41:56AM +0800, Boqun Feng wrote: > > On Fri, Sep 29, 2017 at 04:43:39PM +, Paul E. McKenney wrote: > > > On Fri, Sep 29, 2017 at 04:53:57PM +0200, Paolo Bonzini wrote: > > > > On 29/09/2017 13:01, Boq

[PATCH] perf: tools: Install strace group definitions without executable bit

2017-09-30 Thread Ben Hutchings
The install command sets executable permission by default, but these definitions aren't executables. Signed-off-by: Ben Hutchings --- tools/perf/Makefile.perf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 91ef44bfaf3

Re: [PATCHv2] mm: Account pud page tables

2017-09-30 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc2] [cannot apply to next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/mm-Accoun

Re: [PATCH] kbuild: clang: remove crufty HOSTCFLAGS

2017-09-30 Thread Segher Boessenkool
On Sat, Sep 30, 2017 at 04:14:50PM -0700, Nick Desaulniers wrote: > On Thu, Sep 28, 2017 at 07:52:35PM +0900, Masahiro Yamada wrote: > > 2017-09-26 11:28 GMT+09:00 Nick Desaulniers : > > > HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \ > > > + $(call hostcc-opti

Re: [PATCHv2] mm: Account pud page tables

2017-09-30 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc2] [cannot apply to next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/mm-Accoun

Re: [PATCH 3/3] ignore_this_patch: Fixing compilation error on Peter's tree

2017-09-30 Thread kbuild test robot
Hi Rohit, [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.14-rc2 next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rohit-Jain/sched-fair-Introduce-scaled-capac

Re: [RESEND PATCH] fs: add RWF_APPEND

2017-09-30 Thread Goldwyn Rodrigues
On 09/29/2017 07:07 AM, Jürg Billeter wrote: > This is the per-I/O equivalent of O_APPEND to support atomic append > operations on any open file. > > If a file is opened with O_APPEND, pwrite() ignores the offset and > always appends data to the end of the file. RWF_APPEND enables atomic > appen

Re: [kernel-hardening] [RFC V2 0/6] add more kernel pointer filter options

2017-09-30 Thread Tobin C. Harding
On Sun, Oct 01, 2017 at 11:06:44AM +1100, Tobin C. Harding wrote: > Version 2 of Greg's patch series with changes made as suggested by comments > to V1. Patch set tested by setting /proc/sys/kernel/kptr_restrict and inserting the following module #include #include #define DRIVER_AUTHOR "Tobi

[kernel-hardening] [RFC V2 4/6] lib: vsprintf: default kptr_restrict to the maximum value

2017-09-30 Thread Tobin C. Harding
Set the initial value of kptr_restrict to the maximum setting rather than the minimum setting, to ensure that early boot logging is not leaking information. Signed-off-by: Tobin C. Harding --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vsprintf.c b/lib

[kernel-hardening] [RFC V2 2/6] lib: vsprintf: whitelist stack traces

2017-09-30 Thread Tobin C. Harding
Use the %pP functionality to explicitly allow kernel pointers to be logged for stack traces. Signed-off-by: Tobin C. Harding --- arch/arm64/kernel/traps.c | 4 ++-- kernel/printk/printk.c| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/kernel/traps.c b/arch/a

[kernel-hardening] [RFC V2 6/6] drivers: uio: un-restrict sysfs pointers for UIO

2017-09-30 Thread Tobin C. Harding
The address and size on the UIO devices are required by userspace to function properly. Let's un-restrict these by adding the 'P' modifier to %pa. Signed-off-by: Tobin C. Harding --- drivers/uio/uio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uio/uio.c b/dr

[kernel-hardening] [RFC V2 3/6] lib: vsprintf: physical address kernel pointer filtering options

2017-09-30 Thread Tobin C. Harding
Add the kptr_restrict setting of 4 which results in %pa and %p[rR] values being cleansed. Address types printed with %pa are replaced by zeros. Resources printed with %p[rR] have the starting address replaced by zeros, resource size is still shown. Signed-off-by: Tobin C. Harding --- Documentat

[kernel-hardening] [RFC V2 5/6] lib: vsprintf: add "%paP", "%papP", and "%padP" specifiers

2017-09-30 Thread Tobin C. Harding
Add %papP and %padP for address types that need to always be shown regardless of kptr restrictions. Add %paP is a synonym for %papP, this is inline with current implementation (%pa is a synonym for %pap). Signed-off-by: Tobin C. Harding --- Documentation/printk-formats.txt | 19 +++--

[kernel-hardening] [RFC V2 1/6] lib: vsprintf: additional kernel pointer filtering options

2017-09-30 Thread Tobin C. Harding
Add the kptr_restrict setting of 3 which results in both %p and %pK values being replaced by zeros. Add an additional %pP value inspired by the Grsecurity option which explicitly whitelists pointers for output. Amend scripts/checkpatch.pl to handle %pP. This patch is based on work by William Rob

[kernel-hardening] [RFC V2 0/6] add more kernel pointer filter options

2017-09-30 Thread Tobin C. Harding
Version 2 of Greg's patch series with changes made as suggested by comments to V1. Applies on top of Linus' current development tree a8c964eacb21288b2dbfa9d80cee5968a3b8fb21 V1 cover letter: Here's a short patch series from Chris Fries and Dave Weinstein that implements some new restrictions w

Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge()

2017-09-30 Thread Linus Walleij
On Mon, Sep 25, 2017 at 12:30 PM, Dan Carpenter wrote: > The callers expect "panel" to be initialized, but that isn't true if we > return -ENODEV. It causes bugs like: > > drivers/gpu/drm/tve200/tve200_drv.c:83 tve200_modeset_init() > error: uninitialized symbol 'panel'. > > Signed-off-b

Re: [PATCH V7 2/2] scsi: Align block queue to dma_get_cache_alignment()

2017-09-30 Thread kbuild test robot
Hi Huacai, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc2 next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Huacai-Chen/dma-mapping-Rework-dma_get_cache_

Re: [PATCH] KVM: VMX: check match table

2017-09-30 Thread Nick Desaulniers
On Wed, Sep 27, 2017 at 02:36:03PM +0200, Paolo Bonzini wrote: > On 26/09/2017 19:12, Josh Triplett wrote: > > Does this make any other checks redundant and removable? > > It would make sense to place it in cpu_has_kvm_support instead cpu_has_kvm_support() or cpu_has_vmx()? >, and the same in sv

Re: [PATCH] kbuild: clang: remove crufty HOSTCFLAGS

2017-09-30 Thread Nick Desaulniers
On Thu, Sep 28, 2017 at 07:52:35PM +0900, Masahiro Yamada wrote: > 2017-09-26 11:28 GMT+09:00 Nick Desaulniers : > > HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \ > > + $(call hostcc-option,-fno-delete-null-pointer-checks) \ > > -fomit-frame-poi

Re: [PATCH 0/6] Cache coherent device memory (CDM) with HMM v5

2017-09-30 Thread Jerome Glisse
On Sat, Sep 30, 2017 at 10:57:38AM +0800, Bob Liu wrote: > On 2017/9/27 0:16, Jerome Glisse wrote: > > On Tue, Sep 26, 2017 at 05:56:26PM +0800, Bob Liu wrote: > >> On Tue, Sep 12, 2017 at 7:36 AM, Jerome Glisse wrote: > >>> On Sun, Sep 10, 2017 at 07:22:58AM +0800, Bob Liu wrote: > On Wed, S

Re: [PATCH v3] Staging: rtl8723bs: Remove unnecessary comments.

2017-09-30 Thread Tobin C. Harding
On Sat, Sep 30, 2017 at 07:41:11PM +0530, Shreeya Patel wrote: > Remove unnecessary comments which are there > to explain why call to memset is in comments. Both of the > comments are not needed as they are not very useful. > > > Signed-off-by: Shreeya Patel > --- > Changes in v2: > -Remove so

Re: [PATCH] x86/CPU/AMD, mm: Extend with mem_encrypt=sme option

2017-09-30 Thread Borislav Petkov
On Sat, Sep 30, 2017 at 04:17:39PM -0500, Brijesh Singh wrote: > I will take a closure look at this patch on Monday but at a glance I am > not sure if patch is addressing our main issue. We were trying to limit > the SEV feature exposure from the host OS. The current logic is: > > 1. Check whether

Re: [PATCH] x86/CPU/AMD, mm: Extend with mem_encrypt=sme option

2017-09-30 Thread Brijesh Singh
On 9/30/17 6:56 AM, Borislav Petkov wrote: ... > Ok, I went and simplified this whole code path a bit because it was > needlessly a bit too complex. Below is the result, only compile-tested. > > Brijesh, Tom, guys, please check my logic, I might've missed a case. I will take a closure look at th

Re: [PATCH v3 2/8] platform/x86: dell-smbios: Introduce a WMI-ACPI interface

2017-09-30 Thread Pali Rohár
On Saturday 30 September 2017 22:01:04 mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Pali Rohár [mailto:pali.ro...@gmail.com] > > Sent: Friday, September 29, 2017 2:36 AM > > To: Limonciello, Mario > > Cc: dvh...@infradead.org; andy.shevche...@gmail.com; linux- > > ker

Re: [v1] iov_iter: fix page_copy_sane for compound pages

2017-09-30 Thread Eric Dumazet
On Sat, Sep 30, 2017 at 12:24 PM, Thiago Macieira wrote: > On Tuesday, 29 August 2017 11:20:32 PDT Petar Penkov wrote: >> Issue is that if the data crosses a page boundary inside a compound >> page, this check will incorrectly trigger a WARN_ON. >> >> To fix this, compute the order using the head

Re: [PATCH] staging: iio: trigger: Move header file content to source file

2017-09-30 Thread Jonathan Cameron
On Tue, 26 Sep 2017 23:56:15 +0530 Harsha Sharma wrote: > The contents of the header file are used only by this single source file. > Moved content into iio-trig-bfin-timer.c and removed iio-trig-bfin-timer.h > > Signed-off-by: Harsha Sharma Hmm. This one again. Sometimes you need to not just

Re: [PATCH 0/8] pinctrl: meson: clean pin offsets

2017-09-30 Thread Kevin Hilman
Jerome Brunet writes: > The initial goal of this series was move to TEST_N pin from the EE > controller to AO controller, where it belongs. This meant modify the > EE_OFF value. > > This offset is a quirk we brought from the vendor driver when it was > initially merged. There no reason to keep th

Re: [PATCH 0/8] pinctrl: meson: clean pin offsets

2017-09-30 Thread Kevin Hilman
Jerome Brunet writes: > The initial goal of this series was move to TEST_N pin from the EE > controller to AO controller, where it belongs. This meant modify the > EE_OFF value. > > This offset is a quirk we brought from the vendor driver when it was > initially merged. There no reason to keep th

Re: [PATCH v3 4/4] iio: light: vl6180: Correct ALS scale for non-default gain/integration time

2017-09-30 Thread Jonathan Cameron
On Sun, 24 Sep 2017 23:59:20 +0200 Stefan Brüns wrote: > The reported scale was only correct for the default settings of 100 ms > integration time and gain 1. > > This aligns the reported scale with the behaviour of any other IIO driver > and the documented ABI, but may require userspace changes

Re: [PATCH v3 3/4] iio: light: vl6180: Cleanup als_gain lookup, avoid register readback

2017-09-30 Thread Jonathan Cameron
On Sun, 24 Sep 2017 23:59:19 +0200 Stefan Brüns wrote: > Instead of manually iterating the array of allowed gain values, use > find_closest. Storing the current gain setting avoids accessing the > hardware on each query. > > Signed-off-by: Stefan Brüns > Applied to the togreg branch of iio.gi

Re: [PATCH v3 2/4] iio: light: vl6180: Avoid readback of integration time register

2017-09-30 Thread Jonathan Cameron
On Sun, 24 Sep 2017 23:59:18 +0200 Stefan Brüns wrote: > Instead of reading the value from the register on each query, store the > set value. > > Signed-off-by: Stefan Brüns Applied to the togreg branch of iio.git and pushed out as testing. Jonathan > > --- > > Changes in v3: > - Use IIO_VA

Re: [PATCH v3 1/4] iio: light: vl6180: Move range check to integration time setter, cleanup

2017-09-30 Thread Jonathan Cameron
On Sun, 24 Sep 2017 23:59:17 +0200 Stefan Brüns wrote: > This improves code uniformity (range checks for als_gain are also done > in the setter). Also unmangle rounding and calculation of register value. > > The calculated integration time it_ms is required in the next patch of > the series. >

Re: [lkp-robot] [blk] 47e0fb461f: BUG:unable_to_handle_kernel

2017-09-30 Thread Linus Torvalds
On Thu, Sep 21, 2017 at 12:02 AM, NeilBrown wrote: > > I think it is crashing in > static inline bool ata_is_host_link(const struct ata_link *link) > { > return link == &link->ap->link || link == link->ap->slave_link; > } Yes. The code is 1a: 8b 3amov(%edx),%edi 1

Re: [v1] iov_iter: fix page_copy_sane for compound pages

2017-09-30 Thread Thiago Macieira
On Tuesday, 29 August 2017 11:20:32 PDT Petar Penkov wrote: > Issue is that if the data crosses a page boundary inside a compound > page, this check will incorrectly trigger a WARN_ON. > > To fix this, compute the order using the head of the compound page and > adjust the offset to be relative to

Re: [PATCH] staging: iio: ade7759: fix signed extension bug on shift of a u8

2017-09-30 Thread Jonathan Cameron
On Wed, 13 Sep 2017 18:02:02 +0100 Colin King wrote: > From: Colin Ian King > > The current shift of st->rx[2] left shifts a u8 24 bits left, > promotes the integer to a an int and then to a unsigned u64. If > the top bit of st->rx[2] is set then we end up with all the upper > bits being set to

Re: [PATCH] mm: kill kmemcheck again

2017-09-30 Thread Levin, Alexander (Sasha Levin)
On Sat, Sep 30, 2017 at 03:57:27PM +0200, Vegard Nossum wrote: >On 30 September 2017 at 11:48, Steven Rostedt wrote: >> On Wed, 27 Sep 2017 17:02:07 +0200 >> Michal Hocko wrote: >> >>> > Now that 2 years have passed, and all distros provide gcc that supports >>> > KASAN, kill kmemcheck again for

Re: WARNING: kernel stack frame pointer at ffff880156a5fea0 in bash:2103 has bad value 00007ffec7d87e50

2017-09-30 Thread Richard Weinberger
Josh, Am Mittwoch, 27. September 2017, 16:14:30 CEST schrieb Josh Poimboeuf: > On Wed, Sep 27, 2017 at 08:51:22AM +0200, Richard Weinberger wrote: > > Am Mittwoch, 27. September 2017, 00:42:46 CEST schrieb Josh Poimboeuf: > > > > Here is another variant of the warning, it matches the attached .co

Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-09-30 Thread Pali Rohár
On Saturday 30 September 2017 21:48:39 mario.limoncie...@dell.com wrote: > > > +/* > > > > > + * Descriptor buffer is 128 byte long and contains: > > ... > > > > > + if (obj->buffer.length != 128) { > > > + dev_err(&wdev->dev, > > > + "Dell descriptor buffer has invalid le

RE: [PATCH v3 2/8] platform/x86: dell-smbios: Introduce a WMI-ACPI interface

2017-09-30 Thread Mario.Limonciello
> -Original Message- > From: Pali Rohár [mailto:pali.ro...@gmail.com] > Sent: Friday, September 29, 2017 2:36 AM > To: Limonciello, Mario > Cc: dvh...@infradead.org; andy.shevche...@gmail.com; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; l...@kernel.org; > quasi...

RE: [PATCH v3 2/8] platform/x86: dell-smbios: Introduce a WMI-ACPI interface

2017-09-30 Thread Mario.Limonciello
> -Original Message- > From: Pali Rohár [mailto:pali.ro...@gmail.com] > Sent: Saturday, September 30, 2017 2:16 AM > To: Darren Hart > Cc: Limonciello, Mario ; Andy Shevchenko > ; LKML ; > platform-driver-...@vger.kernel.org; Andy Lutomirski ; > quasi...@google.com > Subject: Re: [PATCH v3

RE: [PATCH v3 0/8] Introduce support for Dell SMBIOS over WMI

2017-09-30 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, September 29, 2017 9:17 PM > To: Limonciello, Mario > Cc: Andy Shevchenko ; LKML ker...@vger.kernel.org>; platform-driver-...@vger.kernel.org; Andy Lutomirski > ; quasi...@google.com; pali.ro...@gmail.c

Re: [PATCH v3] crypto: s5p-sss: Add HASH support for Exynos

2017-09-30 Thread Krzysztof Kozlowski
On Wed, Sep 27, 2017 at 02:25:50PM +0200, Kamil Konieczny wrote: > Add support for MD5, SHA1, SHA256 hash algorithms for Exynos HW. > It uses the crypto framework asynchronous hash api. > It is based on omap-sham.c driver. > S5P has some HW differencies and is not implemented. > > Modifications in

RE: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-09-30 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, September 29, 2017 8:29 PM > To: Limonciello, Mario > Cc: Andy Shevchenko ; LKML ker...@vger.kernel.org>; platform-driver-...@vger.kernel.org; Andy Lutomirski > ; quasi...@google.com; pali.ro...@gmail.c

Re: [PATCH RFC V4 5/6] perf top: switch to backward overwrite mode

2017-09-30 Thread Jiri Olsa
On Fri, Sep 29, 2017 at 07:47:56AM -0700, kan.li...@intel.com wrote: > From: Kan Liang > > perf_top__mmap_read has severe performance issue in > Knights Landing/Mill, when monitoring in heavy load system. It costs > several minutes to finish, which is unacceptable. > > perf top was overwrite mod

RE: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-09-30 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, September 29, 2017 9:06 PM > To: Limonciello, Mario > Cc: Andy Shevchenko ; LKML ker...@vger.kernel.org>; platform-driver-...@vger.kernel.org; Andy Lutomirski > ; quasi...@google.com; pali.ro...@gmail.c

RE: [PATCH v3 4/8] platform/x86: wmi: create character devices when requested by drivers

2017-09-30 Thread Mario.Limonciello
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Saturday, September 30, 2017 3:12 AM > To: Darren Hart > Cc: Limonciello, Mario ; Andy Shevchenko > ; LKML ; > platform-driver-...@vger.kernel.org; Andy Lutomirski ; > quasi...@google.com; pali.ro..

Re: Hung Task Linux 4.13-rc7 Reiserfs

2017-09-30 Thread Shankara Pailoor
Hi, I have a reproducer program. It takes about 3-5 minutes to trigger the hang. The only calls are mmap, open, write, and readahead and the writes are fairly small (512 bytes). Reproducer Program: https://pastebin.com/cx1cgABc Report: https://pastebin.com/uGTAw45E Logs: https://pastebin.com/EaiE

Dear Good Friend

2017-09-30 Thread Ray Mendiola
I have a business proposal of mutual benefit for you and it is 100% safe.contact me pls via: sgtamyrh...@naver.com >From Sgt. Amy Rhodes

Re: Change of set_fs() in uaccess.h breaks this header being self contained for x86 (4.14-rc1)

2017-09-30 Thread Al Viro
On Mon, Sep 18, 2017 at 08:32:19PM +0200, Stefan Mätje wrote: > Hi, > > there is a change in Linus' mainline kernel > (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/x86/include/asm/uaccess.h?id=6c51e67b64d169419fb13318035bb442f9176612) > that changes the set_fs() m

Re: [PATCH v3 2/3] iio: accel: mma8452: Rename time step look up struct to generic name as the values are same for all the events.

2017-09-30 Thread harinath Nampally
> Obviously drop any patches that have already been taken. > In this case it will be a v4 series containing patches 1 and 2 only. Sure will do. Thanks, Harinath On Sat, Sep 30, 2017 at 2:05 PM, Jonathan Cameron wrote: > On Wed, 27 Sep 2017 08:51:26 +0200 > Martin Kepplinger wrote: > >> Am 25.09

Re: [PATCH v3 2/3] iio: accel: mma8452: Rename time step look up struct to generic name as the values are same for all the events.

2017-09-30 Thread Jonathan Cameron
On Wed, 27 Sep 2017 08:51:26 +0200 Martin Kepplinger wrote: > Am 25.09.2017 12:40 schrieb Harinath Nampally: > > Improves code readability, no impact on functionality. > > > > Signed-off-by: Harinath Nampally > > Please make the headline shorter and put some of it in the git commit > messag

Re: [PATCH v3 3/3] iio: accel: mma8452: Rename read/write event value callbacks to generic function name.

2017-09-30 Thread Jonathan Cameron
On Wed, 27 Sep 2017 08:46:27 +0200 Martin Kepplinger wrote: > Am 25.09.2017 12:40 schrieb Harinath Nampally: > > 'mma8452_read_thresh' and 'mma8452_write_thresh' functions > > does more than just read/write threshold values. > > They also handle IIO_EV_INFO_HIGH_PASS_FILTER_3DB and > > IIO_EV_IN

Re: [PATCH v3 1/3] iio: accel: mma8452: Rename structs holding event configuration registers to more appropriate names.

2017-09-30 Thread Jonathan Cameron
On Wed, 27 Sep 2017 08:52:54 +0200 Martin Kepplinger wrote: > Am 25.09.2017 12:40 schrieb Harinath Nampally: > > Improves code readability, no impact on functionality. > > > > Signed-off-by: Harinath Nampally > > --- > > I'd prefer a shorter subject line here too, see patch 2/3 Agreed. I'm

Re: [PATCH] iio: accel: mma8452: Rename structs holding event configuration registers to more appropriate names.

2017-09-30 Thread Jonathan Cameron
On Sun, 24 Sep 2017 13:49:36 -0400 Harinath Nampally wrote: > Improves code readability, no impact on functionality. > > Signed-off-by: Harinath Nampally I'm unconvinced by this one. At some point we have to map from the devices own description to that of IIO. The naming currently does this w

Re: [RESEND RFC PATCH 0/7] sun8i H3 HDMI glue driver for DW HDMI

2017-09-30 Thread Jernej Škrabec
Hi, Dne sobota, 30. september 2017 ob 13:58:03 CEST je Alexey Kardashevskiy napisal(a): > On 21/09/17 06:01, Jernej Skrabec wrote: > > [added media mailing list due to CEC question] > > > > This patch series adds a HDMI glue driver for Allwinner H3 SoC. For now, > > only video and CEC functional

[GIT PULL] mtd: Fixes for 4.14-rc3

2017-09-30 Thread Boris Brezillon
Hello Linus, I'm a bit late, but here is a fixes PR for 4.14-rc3. Regards, Boris The following changes since commit 73600b619bf8b9803a0610624a0e11f5ed8f761e: mtd: nand: remove unused blockmask variable (2017-09-18 14:51:02 +0200) are available in the git repository at: git://git.infradea

Re: [PATCH 1/2] iio: adc: sun4i-gpadc-iio: register in the thermal after registering in pm

2017-09-30 Thread Jonathan Cameron
On Tue, 26 Sep 2017 14:52:18 +0200 Quentin Schulz wrote: > This driver has a get_temp function used by the thermal framework that > uses pm functions. > > However, the driver isn't registered in pm before it is registered in > thermal framework, resulting in the pm_resume not being called and th

Re: [PATCH v5 for 4.14 1/3] membarrier: Provide register expedited private command

2017-09-30 Thread Paul E. McKenney
On Fri, Sep 29, 2017 at 01:47:18PM -0400, Mathieu Desnoyers wrote: > Provide a new command allowing processes to register their intent to use > the private expedited command. > > This allows PowerPC to skip the full memory barrier in switch_mm(), and > only issue the barrier when scheduling into a

Re: [PATCH v7 1/2] iio: dac: ds4422/ds4424 dac driver

2017-09-30 Thread Jonathan Cameron
On Mon, 25 Sep 2017 12:14:11 -0700 "Ismail H. Kose" wrote: > This patch provides an iio device driver for DS4422/DS4424 chips that support > two/four channel 7-bit Sink/Source Current DAC. > > Signed-off-by: Ismail H. Kose > Signed-off-by: Ismail H. Kose The double sign of is a bit unusual. W

Re: [PATCH v6 2/2] iio:dac: Add DT binding documentation for ds4424

2017-09-30 Thread Jonathan Cameron
On Fri, 22 Sep 2017 13:12:09 -0700 "Ismail H. Kose" wrote: > Signed-off-by: Ismail H. Kose > Signed-off-by: Ismail H. Kose Direct at Rob Herring... Rob, this is now a very standard binding so I'm going to take it into my testing tree. If you have a chance to take a last look at it though tha

Re: [PATCHv2 2/7] usb: dwc2: add support for STM32F7 USB OTG HS

2017-09-30 Thread John Youn
On 09/29/2017 07:22 AM, Amelie DELAUNAY wrote: > Hi, > > Gentle ping for driver review submitted on August 28th. > > Thanks, > Amelie > > On 08/28/2017 04:20 PM, Amelie Delaunay wrote: >> This patch adds the dwc2_set_params function for STM32F7 USB OTG HS. >> >> Signed-off-by: Amelie Delaunay >> -

Re: [PATCH] kvm/x86: Handle async PF in RCU read-side critical sections

2017-09-30 Thread Paul E. McKenney
On Sat, Sep 30, 2017 at 07:41:56AM +0800, Boqun Feng wrote: > On Fri, Sep 29, 2017 at 04:43:39PM +, Paul E. McKenney wrote: > > On Fri, Sep 29, 2017 at 04:53:57PM +0200, Paolo Bonzini wrote: > > > On 29/09/2017 13:01, Boqun Feng wrote: > > > > Sasha Levin reported a WARNING: > > > > > > > > |

Re: [RESEND x2][PATCH 0/3] dwc2 fixes for edge cases on hikey

2017-09-30 Thread John Youn
On 09/20/2017 12:57 PM, John Stultz wrote: > So here are a few dwc2 fixes that I've been using with HiKey. > I'm not totally sure these are all ideal, but they avoid edge case > issues that we have been running into with switching between > gadget mode and host mode. > > I'd guess the first two are

Re: f34c8585ed ("rcutorture: Invoke call_rcu() from timer handler"): WARNING: kernel stack regs at bdf19a20 in trinity-c0:12909 has bad 'bp' value bdf17850

2017-09-30 Thread Paul E. McKenney
On Sat, Sep 30, 2017 at 10:15:30AM +0800, kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit f34c8585ed70f0f9b5ff9cf59c0dd533cddb975f > Author

[PATCH] scsi: esas2r: make bin_attr_default_nvram const

2017-09-30 Thread Bhumika Goyal
Make this const as it is only passed to the const arguments of the functions sysfs_remove_bin_file and sysfs_create_bin_file. Make the declaration const too. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- drivers/scsi/esas2r/esas2r.h | 2 +- dri

[PATCH] libata: make ata_port_type const

2017-09-30 Thread Bhumika Goyal
Make this const as it is only stored in the const field of a device structure. Make the declaration in header const too. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- drivers/ata/libata-core.c | 2 +- drivers/ata/libata.h | 2 +- 2 files change

Re: [PATCH v2] ARM: multi_v7_defconfig: Enable USB3503 driver

2017-09-30 Thread Krzysztof Kozlowski
On Thu, Sep 28, 2017 at 10:27:03PM +0200, Linus Lüssing wrote: > The Odroid U3 (Exynos 4412 based) for instance needs this driver, > otherwise its USB hub will not come up. > > Also selecting it as built-in to allow booting from USB without > an initrd/initramfs. exynos_defconfig does the same alr

[PATCH] thunderbolt: make tb_domain_type const

2017-09-30 Thread Bhumika Goyal
Make this const as it is only stored in the const field of a device structure. Make the declaration in header const too. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- drivers/thunderbolt/domain.c | 2 +- drivers/thunderbolt/tb.h | 2 +- 2 files

Re: Linux 4.13.4

2017-09-30 Thread Ed Tomlinson
Hi, It works with 14-rc2, so I rebuilt 13.4 with the commit included again and its behaving too :-/ Something strange must have happened in the original 13.4 build or my hw was in a strange state (for two boots...) Sorry for the noise. Thanks Ed Tomlinson On Saturday, September 30, 2017 1

[PATCH] FS-Cache: make fscache_fsdef_netfs_def const

2017-09-30 Thread Bhumika Goyal
Make fscache_fsdef_netfs_def const as it is only stored in a const field of a fscache_cookie structure. Make the declaration const too. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- fs/fscache/fsdef.c| 2 +- fs/fscache/internal.h | 2 +- 2 files

Re: Reply Urgent

2017-09-30 Thread Info
Hello, How are you doing? We have an inheritance of a deceased client with your surname. Contact Mr Andrew Bailey by this email address: ands...@europe.com with your full names for further information's. Thanks for your understanding. Melissa. -- Correo Cor

[PATCH] staging: rtl8192u: make r8192_wx_handlers_def structure const

2017-09-30 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a pci_dev structure. Make the declaration in the header const too. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- drivers/staging/rtl8192u/r8192U_wx.c | 2 +- drivers/staging/rtl8192u/r8192U_wx

[no subject]

2017-09-30 Thread E G
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your respo

[PATCH] vfio-mdev: make mdev_fops const and static

2017-09-30 Thread Bhumika Goyal
Make this const as it is only passed to a const argument of the function mdev_register_device. Make it static as it is not referenced in any other file. Structure found using Coccinelle and changes done by hand. Signed-off-by: Bhumika Goyal --- samples/vfio-mdev/mtty.c | 2 +- 1 file changed, 1

Re: [Part2 PATCH v4 05/29] crypto: ccp: Add Platform Security Processor (PSP) device support

2017-09-30 Thread Borislav Petkov
On Sat, Sep 30, 2017 at 10:55:25AM -0500, Brijesh Singh wrote: > CRYPTO_DEV_CCP_DD is supported on aarch64 and x86. Whereas the PSP > interface I am adding is available on x86 only hence its safe to add add > depend on CPU_SUP_AMD for CRYPTO_DEV_SP_PSP. I think just from having CRYPTO_DEV_CCP_DD d

Re: [PATCH for-next 2/4] RDMA/hns: Add IOMMU enable support in hip08

2017-09-30 Thread Leon Romanovsky
On Sat, Sep 30, 2017 at 05:28:59PM +0800, Wei Hu (Xavier) wrote: > If the IOMMU is enabled, the length of sg obtained from > __iommu_map_sg_attrs is not 4kB. When the IOVA is set with the sg > dma address, the IOVA will not be page continuous. and the VA > returned from dma_alloc_coherent is a vmal

Re: random insta-reboots on AMD Phenom II

2017-09-30 Thread Andy Lutomirski
On Sat, Sep 30, 2017 at 8:50 AM, Borislav Petkov wrote: > On Sat, Sep 30, 2017 at 02:47:11PM +0200, Markus Trippelsdorf wrote: >> Changing the TLB code so late might not be a good idea... > > The new lazy code is too risky to keep as we don't know what else will > break. The conservative and thus

[PATCH] usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options

2017-09-30 Thread Andrew Gabbasov
KASAN enabled configuration reports an error BUG: KASAN: use-after-free in usb_composite_overwrite_options+... [libcomposite] at addr ... Read of size 1 by task ... when some driver is un-bound and then bound again. For example, this happens with FunctionFS driver when "ff

[PATCH] usb: gadget: configfs: Fix memory leak of interface directory data

2017-09-30 Thread Andrew Gabbasov
Kmemleak checking configuration reports a memory leak in usb_os_desc_prepare_interf_dir function when rndis function instance is freed and then allocated again. For example, this happens with FunctionFS driver with RNDIS function enabled when "ffs-test" test application is run several times in a ro

Re: [Part2 PATCH v4 05/29] crypto: ccp: Add Platform Security Processor (PSP) device support

2017-09-30 Thread Brijesh Singh
On 9/29/17 10:16 AM, Borislav Petkov wrote: ... > + >> +config CRYPTO_DEV_SP_PSP >> +bool "Platform Security Processor (PSP) device" >> +default y >> +depends on CRYPTO_DEV_CCP_DD > So this last symbol CRYPTO_DEV_CCP_DD is default m and it doesn't depend > on anything. And I'm pretty

  1   2   3   >