Re: Staging status of speakup

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 08:08:57PM +0100, Okash Khawaja wrote: > On Fri, 15 Mar 2019 20:18:31 -0700 > Greg Kroah-Hartman wrote: > > > On Fri, Mar 15, 2019 at 01:01:27PM +, Okash Khawaja wrote: > > > Hi, > > > > > > We have made progress on the items in TODO file of speakup driver in > > > st

Re: [PATCH v3 15/27] net: use zeroing allocator rather than allocator followed by memset zero

2019-07-06 Thread Tariq Toukan
On 7/2/2019 10:58 AM, Fuqian Huang wrote: > Replace allocator followed by memset with 0 with zeroing allocator. > > Signed-off-by: Fuqian Huang > --- > Changes in v3: >- Resend > > drivers/net/eql.c | 3 +-- > drivers/net/ethernet/cavium/liquidio/cn

Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header

2019-07-06 Thread Masahiro Yamada
Konishi-san, On Sun, Jul 7, 2019 at 3:11 PM Ryusuke Konishi wrote: > > Yamada-san, > > I'm sorry for not being able to follow. > > Could you tell me how did you find the build error? > Still I cannot reproduce the error in my environment. "You can compile UAPI headers in kernel-space" does not

Re: [PATCH 1/2] input: keyboard: gpio-keys-polled: use input name from pdata if available

2019-07-06 Thread Dmitry Torokhov
Hi Enrico, On Thu, Jun 27, 2019 at 05:07:10PM +0200, Enrico Weigelt, metux IT consult wrote: > Instead of hardcoding the input name to the driver name > ('gpio-keys-polled'), allow the passing a name via platform data > ('name' field was already present), but default to old behaviour > in case of

Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header

2019-07-06 Thread Ryusuke Konishi
Yamada-san, I'm sorry for not being able to follow. Could you tell me how did you find the build error? Still I cannot reproduce the error in my environment. Or, if it's right that we should not use cpu_to_le{16,32,64}/le{16,32,64}_to_cpu() in UAPI header files, I will acknowledge the change an

Re: [tip:x86/urgent] bpf: Fix ORC unwinding in non-JIT BPF code

2019-07-06 Thread Josh Poimboeuf
On Sat, Jul 06, 2019 at 08:32:06PM -0500, Josh Poimboeuf wrote: > On Sat, Jul 06, 2019 at 10:29:42PM +0200, Ingo Molnar wrote: > > Hm, I get this new build warning on x86-64 defconfig-ish kernels plus > > these enabled: > > > > CONFIG_BPF=y > > CONFIG_BPF_JIT=y > > > > kernel/bpf/core.o: warni

Re: linux-next: manual merge of the akpm-current tree with the hmm tree

2019-07-06 Thread Andrew Morton
On Fri, 5 Jul 2019 12:08:15 + Jason Gunthorpe wrote: > On Thu, Jul 04, 2019 at 04:29:55PM -0700, Dan Williams wrote: > > Guys, Andrew has kicked the subsection patches out of -mm because of > > the merge conflicts. Can we hold off on the hmm cleanups for this > > cycle? > > I agree with you

mmotm 2019-07-06-22-00 uploaded

2019-07-06 Thread akpm
The mm-of-the-moment snapshot 2019-07-06-22-00 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

[PATCH] ipvs: Delete some unused space characters in Kconfig

2019-07-06 Thread xianfengting221
From: Hu Haowen The space characters at the end of lines are always unused and not easy to find. This patch deleted some of them I have found in Kconfig. Signed-off-by: Hu Haowen --- This is my first patch to the Linux kernel, so please forgive me if anything went wrong. net/netfilter/ipvs/K

Re: [PATCH] kbuild: use -E instead of -c for __cc-option

2019-07-06 Thread Masahiro Yamada
On Sat, Jul 6, 2019 at 11:37 PM Masahiro Yamada wrote: > > On Fri, Jun 28, 2019 at 2:13 PM Masahiro Yamada > wrote: > > > > Use -E instead of -c like scripts/Kconfig.include > > This makes the compiler flag evaluation slightly faster. > > > > Signed-off-by: Masahiro Yamada > > --- > > Applied to

Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header

2019-07-06 Thread Masahiro Yamada
Hi Andrew, On Sun, Jul 7, 2019 at 12:38 PM Andrew Morton wrote: > > Seems fairly serious. I'm thinking this needs a cc:stable? Ah, yes. Cc: linux-stable # 4.9 Fixes: e63e88bc53ba ("nilfs2: move ioctl interface and disk layout to uapi separately") Thanks. -- Best Regards Masahiro Yamada

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Eiichi Tsukata
On 2019/07/07 7:27, Steven Rostedt wrote: > > We also have to deal with reading vmalloc'd data as that can fault too. > The perf ring buffer IIUC is vmalloc, so if perf records in one of > these locations, then the reading of the vmalloc area has a potential > to fault corrupting the CR2 regis

Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header

2019-07-06 Thread Andrew Morton
On Wed, 5 Jun 2019 14:30:06 +0900 Masahiro Yamada wrote: > cpu_to_le32/le32_to_cpu is defined in include/linux/byteorder/generic.h, > which is not exported to user-space. > > UAPI headers must use the ones prefixed with double-underscore. > > Detected by compile-testing exported headers: > >

Re: [PATCH] security/commoncap: Use xattr security prefix len

2019-07-06 Thread James Morris
On Sat, 6 Jul 2019, Carmeli Tamir wrote: > Using the existing defined XATTR_SECURITY_PREFIX_LEN instead of > sizeof(XATTR_SECURITY_PREFIX) - 1. Pretty simple cleanup. > > Signed-off-by: Carmeli Tamir Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-lsm

Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header

2019-07-06 Thread Masahiro Yamada
Hi Andrew, Could you pick up this? The maintainer of nilfs2 is silent, but this is obviously build error. Masahiro Yamada On Wed, Jun 5, 2019 at 2:32 PM Masahiro Yamada wrote: > > cpu_to_le32/le32_to_cpu is defined in include/linux/byteorder/generic.h, > which is not exported to user-space. >

[PATCH] gpio: remove less important #ifdef around declarations

2019-07-06 Thread Masahiro Yamada
The whole struct/function declarations in this header are surrounded by #ifdef. As far as I understood, the motivation of doing so is probably to break the build earlier if a driver misses to select or depend on correct CONFIG options in Kconfig. Since commit 94bed2a9c4ae ("Add -Werror-implicit-f

Re: [tip:x86/urgent] bpf: Fix ORC unwinding in non-JIT BPF code

2019-07-06 Thread Josh Poimboeuf
On Sat, Jul 06, 2019 at 10:29:42PM +0200, Ingo Molnar wrote: > > * tip-bot for Josh Poimboeuf wrote: > > > Commit-ID: b22cf36c189f31883ad0238a69ccf82aa1f3b16b > > Gitweb: > > https://git.kernel.org/tip/b22cf36c189f31883ad0238a69ccf82aa1f3b16b > > Author: Josh Poimboeuf > > AuthorDate:

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-06 Thread Paul E. McKenney
On Sat, Jul 06, 2019 at 11:03:11AM -0700, Paul E. McKenney wrote: > On Sat, Jul 06, 2019 at 11:02:26AM -0400, Theodore Ts'o wrote: > > On Fri, Jul 05, 2019 at 11:16:31PM -0700, Paul E. McKenney wrote: > > > I suppose RCU could take the dueling-banjos approach and use increasingly > > > aggressive s

Re: [PATCH v5 00/12] S.A.R.A. a new stacked LSM

2019-07-06 Thread James Morris
On Sat, 6 Jul 2019, Salvatore Mesoraca wrote: > S.A.R.A. (S.A.R.A. is Another Recursive Acronym) is a stacked Linux Please make this just SARA. Nobody wants to read or type S.A.R.A. -- James Morris

Re: [PATCH] mfd: asic3: One function call less in asic3_irq_probe()

2019-07-06 Thread Al Viro
On Fri, Jul 05, 2019 at 08:30:08PM +0200, Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 5 Jul 2019 20:22:26 +0200 > > Avoid an extra function call by using a ternary operator instead of > a conditional statement. Which is a good thing, because...? > This issue was detected by using

[PATCH v2] time: compat settimeofday: Validate the values of tv from user

2019-07-06 Thread zhengbin
Similar to commit 6ada1fc0e1c4 ("time: settimeofday: Validate the values of tv from user"), for a wide range of negative tv_usec values the multiplication overflow turns them in positive numbers. So the 'validated later' is not catching the invalid input. Signed-off-by: zhengbin --- kernel/time/

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Andy Lutomirski
> On Jul 6, 2019, at 6:08 PM, Linus Torvalds > wrote: > > On Sat, Jul 6, 2019 at 3:41 PM Linus Torvalds > wrote: >> >>> On Sat, Jul 6, 2019 at 3:27 PM Steven Rostedt wrote: >>> >>> We also have to deal with reading vmalloc'd data as that can fault too. >> >> Ahh, that may be a better rea

Re: [PATCH] tpm: fixes uninitialized allocated banks for IBM vtpm driver

2019-07-06 Thread Nayna
On 07/05/2019 01:50 PM, Jarkko Sakkinen wrote: On Fri, 2019-07-05 at 11:32 -0400, Nayna wrote: I am not sure of the purpose of tpm_stop_chip(), so I have left it as it is. Jarkko, what do you think about the change ? Stefan right. Your does not work, or will randomly work or not work dependi

[PATCH v2] tpm: tpm_ibm_vtpm: Fix unallocated banks

2019-07-06 Thread Nayna Jain
The nr_allocated_banks and allocated banks are initialized as part of tpm_chip_register. Currently, this is done as part of auto startup function. However, some drivers, like the ibm vtpm driver, do not run auto startup during initialization. This results in uninitialized memory issue and causes a

[PATCH V8 2/8] misc: xilinx_sdfec: Add ability to configure turbo

2019-07-06 Thread Dragan Cvetic
Add the capability to configure and retrieve turbo mode via the ioctls XSDFEC_SET_TURBO and XSDFEC_GET_TURBO. Add char device interface per DT node present and support file operations: - open(), - close(), - unlocked_ioctl(), - compat_ioctl(). Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan

[PATCH V8 4/8] misc: xilinx_sdfec: Add ability to get/set config

2019-07-06 Thread Dragan Cvetic
- Add capability to get SD-FEC config data using ioctl XSDFEC_GET_CONFIG. - Add capability to set SD-FEC data order using ioctl SDFEC_SET_ORDER. - Add capability to set SD-FEC bypass option using ioctl XSDFEC_SET_BYPASS. - Add capability to set SD-FEC active state using ioctl XSDFEC_IS_ACTIVE.

[PATCH V8 5/8] misc: xilinx_sdfec: Support poll file operation

2019-07-06 Thread Dragan Cvetic
Support monitoring and detecting the SD-FEC error events through IRQ and poll file operation. The SD-FEC device can detect one-error or multi-error events. An error triggers an interrupt which creates and run the ONE_SHOT IRQ thread. The ONE_SHOT IRQ thread detects type of error and pass that info

[PATCH V8 3/8] misc: xilinx_sdfec: Add ability to configure LDPC

2019-07-06 Thread Dragan Cvetic
Add the capability to configure LDPC mode via the ioctl XSDFEC_ADD_LDPC_CODE_PARAMS. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 324 +++ include/uapi/misc/xilinx_sdfec.h | 98 +++

[PATCH V8 1/8] misc: xilinx_sdfec: Store driver config and state

2019-07-06 Thread Dragan Cvetic
Stores configuration based on parameters from the DT node and values from the SD-FEC core plus reads the default state from the SD-FEC core. To obtain values from the core register read, write capabilities have been added plus related register map details. Tested-by: Dragan Cvetic Signed-off-by:

[PATCH V8 6/8] misc: xilinx_sdfec: Add stats & status ioctls

2019-07-06 Thread Dragan Cvetic
SD-FEC statistic data are: - count of data interface errors (isr_err_count) - count of Correctable ECC errors (cecc_count) - count of Uncorrectable ECC errors (uecc_count) Add support: 1. clear stats ioctl callback which clears collected statistic data, 2. get stats ioctl callback which reads a co

[PATCH V8 7/8] Docs: misc: xilinx_sdfec: Add documentation

2019-07-06 Thread Dragan Cvetic
Add SD-FEC driver documentation. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- Documentation/misc-devices/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/misc-devices/index.rst b/Documentation/misc-devices/index.rst index a57f92d..f11c5da 100644 ---

[PATCH V8 0/8] misc: xilinx sd-fec drive

2019-07-06 Thread Dragan Cvetic
This patchset is adding the full Soft Decision Forward Error Correction (SD-FEC) driver implementation, driver DT binding and driver documentation. Forward Error Correction (FEC) codes such as Low Density Parity Check (LDPC) and turbo codes provide a means to control errors in data transmissions o

[PATCH V8 8/8] MAINTAINERS: add maintainer for SD-FEC

2019-07-06 Thread Dragan Cvetic
support Add maintainer entry for Xilinx SD-FEC driver support. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1fc7baf..6a9db56 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Linus Torvalds
On Sat, Jul 6, 2019 at 3:41 PM Linus Torvalds wrote: > > On Sat, Jul 6, 2019 at 3:27 PM Steven Rostedt wrote: > > > > We also have to deal with reading vmalloc'd data as that can fault too. > > Ahh, that may be a better reason for PeterZ's patches and reading cr2 > very early from asm code than t

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Andy Lutomirski
On Sat, Jul 6, 2019 at 3:27 PM Steven Rostedt wrote: > > On Sat, 6 Jul 2019 14:41:22 -0700 > Linus Torvalds wrote: > > > On Fri, Jul 5, 2019 at 6:50 AM Peter Zijlstra wrote: > > > > > > Also; all previous attempts at fixing this have been about pushing the > > > read_cr2() earlier; notably: > >

Re: [PATCH] cpu/hotplug: Cache number of online CPUs

2019-07-06 Thread Mathieu Desnoyers
- On Jul 5, 2019, at 5:00 PM, Thomas Gleixner t...@linutronix.de wrote: > On Fri, 5 Jul 2019, Thomas Gleixner wrote: >> On Fri, 5 Jul 2019, Mathieu Desnoyers wrote: >> > - On Jul 5, 2019, at 4:49 AM, Ingo Molnar mi...@kernel.org wrote: >> > > * Mathieu Desnoyers wrote: >> > >> The semanti

[Linux-kernel-mentees] [PATCH] Documentation: filesystems: Convert jfs.txt to reStructedText format.

2019-07-06 Thread Shobhit Kukreti
This converts the plain text documentation of jfs.txt to reStructuredText format. Added to documentation build process and verified with make htmldocs Signed-off-by: Shobhit Kukreti --- Documentation/filesystems/index.rst | 1 + Documentation/filesystems/jfs.rst | 74

Re: [PATCH][next] 6lowpan: fix off-by-one comparison of index id with LOWPAN_IPHC_CTX_TABLE_SIZE

2019-07-06 Thread Colin Ian King
On 06/07/2019 11:51, Marcel Holtmann wrote: > Hi Colin, > >> The WARN_ON_ONCE check on id is off-by-one, it should be greater or equal >> to LOWPAN_IPHC_CTX_TABLE_SIZE and not greater than. Fix this. >> >> Signed-off-by: Colin Ian King >> --- >> net/6lowpan/debugfs.c | 2 +- >> 1 file changed, 1 i

Re: [PATCH] mm/slab: One function call less in verify_redzone_free()

2019-07-06 Thread David Rientjes
On Fri, 5 Jul 2019, Christopher Lameter wrote: > On Fri, 5 Jul 2019, Markus Elfring wrote: > > > Avoid an extra function call by using a ternary operator instead of > > a conditional statement for a string literal selection. > > Well. I thought the compiler does that on its own? And the tenary o

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Linus Torvalds
On Sat, Jul 6, 2019 at 3:27 PM Steven Rostedt wrote: > > We also have to deal with reading vmalloc'd data as that can fault too. Ahh, that may be a better reason for PeterZ's patches and reading cr2 very early from asm code than the stack trace case. It's why the page fault handler delayed enabli

Re: [PATCH] gpio: tegra: Fix build error without CONFIG_DEBUG_FS

2019-07-06 Thread Linus Walleij
On Fri, Jul 5, 2019 at 2:59 PM Bartosz Golaszewski wrote: > Wait, nevermind. I think that commit a4de43049a1d ("gpio: tegra: > Clean-up debugfs initialisation") is wrong and we missed that. Linus > what do you think about reverting it? OK I reverted it. Linus

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Steven Rostedt
On Sat, 6 Jul 2019 14:41:22 -0700 Linus Torvalds wrote: > On Fri, Jul 5, 2019 at 6:50 AM Peter Zijlstra wrote: > > > > Also; all previous attempts at fixing this have been about pushing the > > read_cr2() earlier; notably: > > > > 0ac09f9f8cd1 ("x86, trace: Fix CR2 corruption when tracing page

Re: pull-request: wireless-drivers-next 2019-07-06

2019-07-06 Thread David Miller
From: Kalle Valo Date: Sat, 06 Jul 2019 10:04:20 +0300 > here's a pull request to net-next tree for v5.3, more info below. I will > be offline from Sunday to Thursday, but Johannes should be able to help > during that time. Pulled, thanks Kalle.

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-06 Thread Linus Torvalds
On Fri, Jul 5, 2019 at 6:50 AM Peter Zijlstra wrote: > > Also; all previous attempts at fixing this have been about pushing the > read_cr2() earlier; notably: > > 0ac09f9f8cd1 ("x86, trace: Fix CR2 corruption when tracing page faults") > d4078e232267 ("x86, trace: Further robustify CR2 handlin

Re: [PATCH 4/7] staging: most: Use spinlock_t instead of struct spinlock

2019-07-06 Thread Sebastian Andrzej Siewior
On 2019-07-06 12:02:53 [+0200], Greg Kroah-Hartman wrote: > On Thu, Jul 04, 2019 at 05:38:00PM +0200, Sebastian Andrzej Siewior wrote: > > For spinlocks the type spinlock_t should be used instead of "struct > > spinlock". > > Why? > > > Use spinlock_t for spinlock's definition. > > Why? I agree

Re: [PATCH] ipc/sem: Three function calls less in do_semtimedop()

2019-07-06 Thread Al Viro
On Sat, Jul 06, 2019 at 09:13:46PM +0100, Colin Ian King wrote: > On 06/07/2019 13:28, Markus Elfring wrote: > > From: Markus Elfring > > Date: Sat, 6 Jul 2019 14:16:24 +0200 > > > > Avoid three function calls by using ternary operators instead of > > conditional statements. > > > > This issue w

cpufreq notifiers break suspend -- Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Pavel Machek
Hi! > Anyway, if 5.2-rc7 is OK, something in this branch causes the problem > to happen for you. > > I would try > > https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=f012a132824fc870b90980540f727c76fc72e244 > > to narrow down the scope somewhat. Bisec

Re: [tip:x86/urgent] bpf: Fix ORC unwinding in non-JIT BPF code

2019-07-06 Thread Ingo Molnar
* tip-bot for Josh Poimboeuf wrote: > Commit-ID: b22cf36c189f31883ad0238a69ccf82aa1f3b16b > Gitweb: > https://git.kernel.org/tip/b22cf36c189f31883ad0238a69ccf82aa1f3b16b > Author: Josh Poimboeuf > AuthorDate: Thu, 27 Jun 2019 20:50:47 -0500 > Committer: Thomas Gleixner > CommitDate

Re: [PATCH] ipc/sem: Three function calls less in do_semtimedop()

2019-07-06 Thread Colin Ian King
On 06/07/2019 13:28, Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 6 Jul 2019 14:16:24 +0200 > > Avoid three function calls by using ternary operators instead of > conditional statements. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

Re: Re: Re: [PATCH v2 3/7] rtc: mt6397: improvements of rtc driver

2019-07-06 Thread Alexandre Belloni
On 06/07/2019 18:15:20+0200, Frank Wunderlich wrote: > > Gesendet: Freitag, 05. Juli 2019 um 23:24 Uhr > > Von: "Alexandre Belloni" > > > Let's say the RTC has been used to start your platform, then the irq > > handler will be called as soon as the irq is requested, leading to a > > null pointer

Re: [PATCH v7 0/2] Bluetooth: btusb: Add protocol support for MediaTek USB devices

2019-07-06 Thread Marcel Holtmann
Hi Sean, > v7: > * rebase to latest code base. > > v6: > * fix drivers/bluetooth/btusb.c:2683:2-3: Unneeded semicolon based reported > by [1] > * update power-on sequence with adding neccesary tci sleep comand to set up > low-power environmnet and a delay to wait the device to be stable. > * so

Re: [PATCH v5 06/12] S.A.R.A.: WX protection

2019-07-06 Thread Al Viro
On Sat, Jul 06, 2019 at 12:54:47PM +0200, Salvatore Mesoraca wrote: > +#define sara_warn_or_return(err, msg) do { \ > + if ((sara_wxp_flags & SARA_WXP_VERBOSE))\ > + pr_wxp(msg);\ > + if (!(sara_wxp_flags & SARA_WXP_COMPLAIN))

Re: Staging status of speakup

2019-07-06 Thread Okash Khawaja
On Fri, 15 Mar 2019 20:18:31 -0700 Greg Kroah-Hartman wrote: > On Fri, Mar 15, 2019 at 01:01:27PM +, Okash Khawaja wrote: > > Hi, > > > > We have made progress on the items in TODO file of speakup driver in > > staging directory and wanted to get some clarity on the remaining > > items. Belo

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Pavel Machek
Hi! > > > > Suspend is broken in next-20190704 on Thinkpad X60. > > > > > > Broken in what way? Any details? > > > > > > > It very very probably worked ok in 20190701. > > > > > > Well, please try the linux-next branch from linux-pm.git > > > (git://git.kernel.org/pub/scm/linux/kernel/git/rafael/

ATENCIÓN

2019-07-06 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

Re: [PATCH v5 04/12] S.A.R.A.: generic DFA for string matching

2019-07-06 Thread Jann Horn
On Sat, Jul 6, 2019 at 12:55 PM Salvatore Mesoraca wrote: > Creation of a generic Discrete Finite Automata implementation > for string matching. The transition tables have to be produced > in user-space. > This allows us to possibly support advanced string matching > patterns like regular expressi

Re: [PATCH v5 11/12] S.A.R.A.: /proc/*/mem write limitation

2019-07-06 Thread Jann Horn
On Sat, Jul 6, 2019 at 12:55 PM Salvatore Mesoraca wrote: > Prevent a task from opening, in "write" mode, any /proc/*/mem > file that operates on the task's mm. > A process could use it to overwrite read-only memory, bypassing > S.A.R.A. restrictions. [...] > +static void sara_task_to_inode(struct

Re: [PATCH 7/7] gpiolib: Use spinlock_t instead of struct spinlock

2019-07-06 Thread Linus Walleij
On Thu, Jul 4, 2019 at 5:38 PM Sebastian Andrzej Siewior wrote: > For spinlocks the type spinlock_t should be used instead of "struct > spinlock". > > Use spinlock_t for spinlock's definition. > > Cc: Linus Walleij > Cc: Bartosz Golaszewski > Cc: linux-g...@vger.kernel.org > Signed-off-by: Seba

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-06 Thread Paul E. McKenney
On Sat, Jul 06, 2019 at 11:02:26AM -0400, Theodore Ts'o wrote: > On Fri, Jul 05, 2019 at 11:16:31PM -0700, Paul E. McKenney wrote: > > I suppose RCU could take the dueling-banjos approach and use increasingly > > aggressive scheduler policies itself, up to and including SCHED_DEADLINE, > > until it

[PATCH] proc: test /proc/sysvipc vs setns(CLONE_NEWIPC)

2019-07-06 Thread Alexey Dobriyan
I thought that /proc/sysvipc has the same bug as /proc/net commit 1fde6f21d90f8ba5da3cb9c54ca991ed72696c43 proc: fix /proc/net/* after setns(2) However, it doesn't! /proc/sysvipc files do get_ipc_ns(current->nsproxy->ipc_ns); in their open() hook and avoid the problem.

Re: [PATCH v2 6/6] device property: Remove struct property_set

2019-07-06 Thread Dmitry Torokhov
Hi Heikki, On Fri, Nov 9, 2018 at 6:22 AM Heikki Krogerus wrote: > > Replacing struct property_set with the software nodes that > were just introduced. > > The API and functionality for adding properties to devices > remains the same, however, the goal is to convert the > drivers to use the API f

[Linux-kernel-mentees] [PATCH] video: atmel_lcdc: Fix Shifting signed 32 bit value by 31 bits problem

2019-07-06 Thread Shobhit Kukreti
Fix ATMEL_LCDC_MEMOR and ATMEL_LCDC_MEMOR_LITTLE defines to use "U" cast to avoid shifting signed 32 bit values by 31 bit problem. This problem. This is not a problem for gcc built kernel. However, this may be a problem since the header is part of pbulic API which could be included for builds usin

Re: [git pull] fix bogus default y in Kconfig (VALIDATE_FS_PARSER)

2019-07-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jul 2019 04:03:39 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ceacbc0e145e3b27d8b12eecb881f9d87702765a Thank you! -- Deet-doot-dot, I am a bot. https://k

Re: [GIT PULL] MIPS fixes

2019-07-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jul 2019 16:23:57 +: > git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git > tags/mips_fixes_5.2_2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/bcc0e65f47def010d8d1c4cf09bdc698fe061b77 Thank you! -- Deet-doot-dot,

unusual high cswch/s spikes

2019-07-06 Thread Toralf Förster
At a server (hardened stable Gentoo) I do usually do see values around 15,000 for that measure. But 1 or 2 times per day that value gives a spike of 300,000 (or up to 1,500,000) over a 1 minute or so. I do wonder how I can drill down the root cause for those spikes? -- Toralf PGP C4EACDDE 0076E9

Re: [GIT PULL] SCSI fixes for 5.2-rc7

2019-07-06 Thread pr-tracker-bot
The pull request you sent on Fri, 05 Jul 2019 22:22:53 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4f8b49092c37cf0c87c43bb2698d43c71cf0e4e5 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Dmitry Torokhov
On Sat, Jul 6, 2019 at 10:19 AM Greg Kroah-Hartman wrote: > > On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > > Hi Greg, > > > > On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman > > wrote: > > > > > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > > > Hi

Re: [GIT PULL] dmaengine fixes for 5.2

2019-07-06 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Jul 2019 20:01:42 +0530: > git://git.infradead.org/users/vkoul/slave-dma.git tags/dmaengine-fix-5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2692982b0800c6f6446e9edd4743239666e69f2e Thank you! -- Deet-doot-dot, I am a bot. h

Re: [PATCH v5 01/12] S.A.R.A.: add documentation

2019-07-06 Thread Salvatore Mesoraca
Randy Dunlap wrote: > > Hi, > > Just a few typo fixes (inline). Hi Randy, thank you for your help! I'll address these and the other fixes in the next version of the patchset. Best, Salvatore

Re: [PATCH] sched/topology: One function call less in build_group_from_child_sched_domain()

2019-07-06 Thread Srikar Dronamraju
* Markus Elfring [2019-07-06 16:05:17]: > From: Markus Elfring > Date: Sat, 6 Jul 2019 16:00:13 +0200 > > Avoid an extra function call by using a ternary operator instead of > a conditional statement. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfr

Re: [PATCH] perf: assign proper ff->ph in perf_event__synthesize_features()

2019-07-06 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 19, 2019 at 06:04:53PM -0700, Song Liu escreveu: > bpf/btf write_* functions need ff->ph->env. > > With this missing, pipe-mode (perf record -o -) would crash like: > > Program terminated with signal SIGSEGV, Segmentation fault. > > This patch assign proper ph value to ff. Thanks,

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 10:04:39AM -0700, Dmitry Torokhov wrote: > Hi Greg, > > On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman > wrote: > > > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > > Hi Greg, > > > > > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > > > w

Re: [PATCH v5 01/12] S.A.R.A.: add documentation

2019-07-06 Thread Randy Dunlap
Hi, Just a few typo fixes (inline). On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > Adding documentation for S.A.R.A. LSM. > > Signed-off-by: Salvatore Mesoraca > --- > Documentation/admin-guide/LSM/SARA.rst | 177 > > Documentation/admin-guide/LSM/index.rst

Re: [PATCH 01/12 v2] Platform: add a dev_groups pointer to struct platform_driver

2019-07-06 Thread Dmitry Torokhov
Hi Greg, On Sat, Jul 6, 2019 at 1:32 AM Greg Kroah-Hartman wrote: > > On Thu, Jul 04, 2019 at 02:17:22PM -0700, Dmitry Torokhov wrote: > > Hi Greg, > > > > On Thu, Jul 4, 2019 at 5:15 AM Greg Kroah-Hartman > > wrote: > > > > > > Platform drivers like to add sysfs groups to their device, but righ

[PATCH 3/3] mfd: aat2870: no need to check return value of debugfs_create functions

2019-07-06 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Lee Jones Signed-off-by: Greg Kroah-Hartman --- drivers/mfd/aat2870-core.c | 13 ++--- include/linux

[PATCH 2/3] mfd: ab8500: no need to check return value of debugfs_create functions

2019-07-06 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Linus Walleij Cc: Lee Jones Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Greg Kroah-Hartman --- d

[PATCH 1/3] mfd: ab3100: no need to check return value of debugfs_create functions

2019-07-06 Thread Greg Kroah-Hartman
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Cc: Linus Walleij Cc: Lee Jones Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Greg Kroah-Hartman --- d

[GIT PULL] MIPS fixes

2019-07-06 Thread Paul Burton
Hi Linus, Apologies that these are arriving so late in the game, but here are a few MIPS fixes heading your way from a beachside cafe. It's all pretty small, nothing too scary or invasive. Please pull. Thanks, Paul The following changes since commit 9e0babf2c06c73cda2c0cd37a1653d823adb40ec:

Aw: Re: Re: [PATCH v2 3/7] rtc: mt6397: improvements of rtc driver

2019-07-06 Thread Frank Wunderlich
> Gesendet: Freitag, 05. Juli 2019 um 23:24 Uhr > Von: "Alexandre Belloni" > Let's say the RTC has been used to start your platform, then the irq > handler will be called as soon as the irq is requested, leading to a > null pointer dereference. i cannot test this with my platform, but i have cha

Hi, This is Clara

2019-07-06 Thread Clara Duran
Are you there ?. Can I have a word with you privately?

Re: [PATCH] debugfs: make error message a bit more verbose

2019-07-06 Thread Mark Brown
On Sat, Jul 06, 2019 at 05:42:56PM +0200, Greg Kroah-Hartman wrote: > When a file/directory is already present in debugfs, and it is attempted > to be created again, be more specific about what file/directory is being > created and where it is trying to be created to give a bit more help to > devel

Re: objtool warnings in prerelease clang-9

2019-07-06 Thread Josh Poimboeuf
On Tue, Jul 02, 2019 at 11:58:27PM +0200, Thomas Gleixner wrote: > platform-quirks.o: > > if (x86_platform.set_legacy_features) > 74: 4c 8b 1d 00 00 00 00mov0x0(%rip),%r11# 7b > > 7b: 4d 85 dbtest %r11,%r11 > 7e: 0f 85 00 00 00 00 jne

[PATCH] debugfs: make error message a bit more verbose

2019-07-06 Thread Greg Kroah-Hartman
When a file/directory is already present in debugfs, and it is attempted to be created again, be more specific about what file/directory is being created and where it is trying to be created to give a bit more help to developers to figure out the problem. Cc: Stephen Rothwell Cc: Rafael J. Wysock

Re: linux-next: Tree for Jul 4

2019-07-06 Thread Greg Kroah-Hartman
On Sat, Jul 06, 2019 at 08:17:29PM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Sat, 6 Jul 2019 11:46:47 +0200 Greg Kroah-Hartman > wrote: > > > > On Sat, Jul 06, 2019 at 07:44:12PM +1000, Stephen Rothwell wrote: > > > > > > On Sat, 6 Jul 2019 10:34:33 +0200 Greg Kroah-Hartman > > > wrote

Re: [PATCH v5 06/12] S.A.R.A.: WX protection

2019-07-06 Thread Randy Dunlap
On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > diff --git a/security/sara/Kconfig b/security/sara/Kconfig > index b98cf27..54a96e0 100644 > --- a/security/sara/Kconfig > +++ b/security/sara/Kconfig > @@ -60,3 +60,77 @@ config SECURITY_SARA_NO_RUNTIME_ENABLE > > If unsure, answer Y. > >

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Pavel Machek
Hi! > > commit 1e2a4c9019eb53f62790fadf86c14a54f4cf4888 (patch) > > treecb5339fcaae2166832f91f4ce9f40575cc6cb6e5 > > parent 3836c60c063581294c3a82f8cbccf3f702951358 (diff) > > parent 0a811974f3f79eea299af79c29595d8e1cb80a15 (diff) > > download > > linux-pm-1e2a4c9019eb53f62790fadf86c14a54f4

Re: [PATCH v5 08/12] S.A.R.A.: trampoline emulation

2019-07-06 Thread Randy Dunlap
On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > diff --git a/security/sara/Kconfig b/security/sara/Kconfig > index 54a96e0..458e0e8 100644 > --- a/security/sara/Kconfig > +++ b/security/sara/Kconfig > @@ -117,6 +117,24 @@ choice > Documentation/admin-guide/LSM/SARA.rst. > endchoice

Re: [PATCH v5 02/12] S.A.R.A.: create framework

2019-07-06 Thread Randy Dunlap
Hi, On 7/6/19 3:54 AM, Salvatore Mesoraca wrote: > diff --git a/security/sara/Kconfig b/security/sara/Kconfig > new file mode 100644 > index 000..0456220 > --- /dev/null > +++ b/security/sara/Kconfig > @@ -0,0 +1,40 @@ > +menuconfig SECURITY_SARA > + bool "S.A.R.A." > + depends on SECU

Re: [PATCH] Bluetooth: hci_ldisc: check for missing tty operations

2019-07-06 Thread Vladis Dronov
Hello, Marcel, I totally agree, the same came to my mind some time after sending the patch. Let me send a v2 in a while with drivers checking for needed tty operations presence. Best regards, Vladis Dronov | Red Hat, Inc. | The Core Kernel | Senior Software Engineer - Original Message -

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-06 Thread Pavel Machek
Hi! > > > > Suspend is broken in next-20190704 on Thinkpad X60. > > > > > > Broken in what way? Any details? > > > > > > > It very very probably worked ok in 20190701. > > > > > > Well, please try the linux-next branch from linux-pm.git > > > (git://git.kernel.org/pub/scm/linux/kernel/git/rafael/

Regression in mdadm breaks assembling of array

2019-07-06 Thread Stephan Diestelhorst
(Off list, please keep me in CC, thx!) Hi there, TL;DR: https://github.com/neilbrown/mdadm/commit611d95290dd41d73bd8f9cc06f7ec293a40b819e regresses mdadm and does not let me assemble my main drive due to kernel error md: invalid array_size 125035870 > default size 125035776 caused by changed res

[PATCH] security/commoncap: Use xattr security prefix len

2019-07-06 Thread Carmeli Tamir
Using the existing defined XATTR_SECURITY_PREFIX_LEN instead of sizeof(XATTR_SECURITY_PREFIX) - 1. Pretty simple cleanup. Signed-off-by: Carmeli Tamir --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c inde

Re: [PATCH v5 00/12] S.A.R.A. a new stacked LSM

2019-07-06 Thread Salvatore Mesoraca
You are right. I just forgot to remove that paragraph from the cover letter. My bad. Thank you for noticing that :) Il giorno sab 6 lug 2019 alle ore 16:33 Jordan Glover ha scritto: > > On Saturday, July 6, 2019 10:54 AM, Salvatore Mesoraca > wrote: > > > S.A.R.A. is meant to be stacked but it

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-06 Thread Theodore Ts'o
On Fri, Jul 05, 2019 at 11:16:31PM -0700, Paul E. McKenney wrote: > I suppose RCU could take the dueling-banjos approach and use increasingly > aggressive scheduler policies itself, up to and including SCHED_DEADLINE, > until it started getting decent forward progress. However, that > sounds like

Re: [PATCH 1/3] kbuild: rename arg-check to cmd-check

2019-07-06 Thread Masahiro Yamada
On Sun, Jun 23, 2019 at 1:07 AM Masahiro Yamada wrote: > > I prefer 'cmd-check' for consistency. > > We have 'echo-cmd', 'cmd', 'cmd_and_fixdep', etc. in this file. > > Signed-off-by: Masahiro Yamada > --- Series, applied to linux-kbuild. > scripts/Kbuild.include | 14 +++--- > 1 file

Re: linux-next: build failure after merge of the slave-dma tree

2019-07-06 Thread Vinod Koul
On 06-07-19, 13:43, Robin Gong wrote: > Hi Stephen, Please **do not** top post! > That's caused by 'of_irq_count' NOT export to global symbol, and I'm > curious why it has been > here for so long since Zhangfei found it in 2015. > https://patchwork.kernel.org/patch/7404681/ Yes this does

Re: [PATCH 1/2] kbuild: fix missed rebuild of modules.builtin

2019-07-06 Thread Masahiro Yamada
On Mon, Jun 24, 2019 at 1:13 AM Masahiro Yamada wrote: > > Unlike modules.order, modules.builtin is not rebuilt every time. > Once modules.builtin is created, it will not be updated until > auto.conf or tristate.conf is changed. > > So, it misses to notice a change in Makefile, for example, renami

Re: [PATCH v2] fixdep: check return value of printf() and putchar()

2019-07-06 Thread Masahiro Yamada
On Tue, Jun 25, 2019 at 3:54 PM Masahiro Yamada wrote: > > When there is not enough space on your storage device, the build will > fail with 'No space left on device' error message. > > The reason is obvious from the message, so you will free up some disk > space, then you will resume the build. >

Re: [PATCH] kbuild: use -E instead of -c for __cc-option

2019-07-06 Thread Masahiro Yamada
On Fri, Jun 28, 2019 at 2:13 PM Masahiro Yamada wrote: > > Use -E instead of -c like scripts/Kconfig.include > This makes the compiler flag evaluation slightly faster. > > Signed-off-by: Masahiro Yamada > --- Applied to linux-kbuild. > scripts/Kbuild.include | 2 +- > 1 file changed, 1 inser

[GIT PULL] dmaengine fixes for 5.2

2019-07-06 Thread Vinod Koul
Hi Linus, Couple for fixes came for dmaengine drivers. One fixes a patch in 5.2-rc1 and others and cced stable. Please pull to receive: The following changes since commit d1fdb6d8f6a4109a4263176c84b899076a5f8008: Linux 5.2-rc4 (2019-06-08 20:24:46 -0700) are available in the Git repository a

  1   2   >