Re: [BUG] Nuvoton NCPT650 TPM 2.0 mode not working

2018-11-18 Thread Jarkko Sakkinen
On Fri, Nov 16, 2018 at 10:06:28PM +0100, Michael Niewöhner wrote: > On Wed, 2018-11-14 at 21:46 +0100, Michael Niewöhner wrote: > > Hi all, > > > > I tried that patch mentioned by Mimi but it does not change anything for me. > > > > Then I did some more tests with different kernel configs and fi

Re: [PATCH v17 13/23] x86/msr: Add SGX Launch Control MSR definitions

2018-11-18 Thread Jarkko Sakkinen
On Fri, Nov 16, 2018 at 09:29:08AM -0800, Sean Christopherson wrote: > On Fri, Nov 16, 2018 at 03:01:20AM +0200, Jarkko Sakkinen wrote: > > From: Sean Christopherson > > > > Add a new IA32_FEATURE_CONTROL bit, SGX_LE_WR. > > Introducing SGX_LE_WR needs to land before patch 06/23, which reference

Re: [PATCH v17 01/23] x86/sgx: Update MAINTAINERS

2018-11-18 Thread Jarkko Sakkinen
On Fri, Nov 16, 2018 at 09:24:03PM +0100, Borislav Petkov wrote: > On Fri, Nov 16, 2018 at 05:07:14PM +0200, Jarkko Sakkinen wrote: > > Yes, I think it could be renamed as sgx.c. Should the driver part be > > also called as sgx.ko? > > I guess that's your call guys. The reason why I asked is becau

[PATCH] debugobjects: add a new Kconfig for POOL_SIZE

2018-11-18 Thread Qian Cai
The current value of ODEBUG_POOL_SIZE is not big enough for large memory systems with timer or/and workqueue objects because during the early boot, timer objects needs at least the size equals to No. CPUs x 2 (worker pool) start_kernel workqueue_init_early init_worker_pool init_timer_

Re: [PATCH v17 03/23] x86/cpufeatures: Add SGX sub-features (as Linux-defined bits)

2018-11-18 Thread Jarkko Sakkinen
On Fri, Nov 16, 2018 at 03:31:28PM -0800, Dave Hansen wrote: > On 11/15/18 5:01 PM, Jarkko Sakkinen wrote: > > +#define X86_FEATURE_SGX1 ( 8*32+ 0) /* SGX1 leaf functions */ > > +#define X86_FEATURE_SGX2 ( 8*32+ 1) /* SGX2 leaf functions */ > > Is there a reason these are not (

Re: [PATCH v17 06/23] x86/cpu/intel: Detect SGX support and update caps appropriately

2018-11-18 Thread Jarkko Sakkinen
On Fri, Nov 16, 2018 at 03:32:36PM -0800, Dave Hansen wrote: > On 11/15/18 5:01 PM, Jarkko Sakkinen wrote: > > +static void detect_sgx(struct cpuinfo_x86 *c) > > +{ > > + unsigned long long fc; > > + > > + rdmsrl(MSR_IA32_FEATURE_CONTROL, fc); > > + if (!(fc & FEATURE_CONTROL_LOCKED)) { > > +

Re: [PATCH v17 07/23] x86/mm: x86/sgx: Add new 'PF_SGX' page fault error code bit

2018-11-18 Thread Jarkko Sakkinen
On Fri, Nov 16, 2018 at 03:33:35PM -0800, Dave Hansen wrote: > On 11/15/18 5:01 PM, Jarkko Sakkinen wrote: > > The SGX bit is set in the #PF error code if and only if the fault is > > detected by the Enclave Page Cache Map (EPCM), a hardware-managed > > table that enforces the paging permissions de

Re: [PATCH v2 0/3] Add Amlogic Meson GX SoC Clock Measure Driver

2018-11-18 Thread Neil Armstrong
Le 14/11/2018 14:17, Neil Armstrong a écrit : > On 14/11/2018 14:16, Neil Armstrong wrote: >> The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal >> clocks frequencyies. >> The precision is determined by stepping into the divider until the counter >> overflows. >> The debug

Re: mtd: rawnand: qcom: Namespace prefix some commands

2018-11-18 Thread Boris Brezillon
On Sat, 2018-11-17 at 03:43:27 UTC, Olof Johansson wrote: > PAGE_READ is used by RISC-V arch code included through mm headers, > and it makes sense to bring in a prefix on these in the driver. > > drivers/mtd/nand/raw/qcom_nandc.c:153: warning: "PAGE_READ" redefined > #define PAGE_READ 0x2 > In

Re: [PATCH v2 5/9] mtd: nand: atmel: fix OF child-node lookup

2018-11-18 Thread Boris Brezillon
On Thu, 15 Nov 2018 15:26:48 +0100 Johan Hovold wrote: > On Tue, Oct 23, 2018 at 08:51:17PM +0200, Boris Brezillon wrote: > > On Tue, 23 Oct 2018 13:28:09 -0500 > > Rob Herring wrote: > > > > > On Mon, Aug 27, 2018 at 4:44 AM Johan Hovold wrote: > > > > > > > > On Mon, Aug 27, 2018 at 10:4

Re: [PATCH v3] i2c: mux: remove duplicated i2c_algorithm

2018-11-18 Thread Luca Ceresoli
Hi Peter, On 10/10/18 17:48, Luca Ceresoli wrote: > Hi Peter, > > On 08/10/2018 23:43, Peter Rosin wrote: >> On 2018-10-03 17:19, Luca Ceresoli wrote: >>> From: Luca Ceresoli >>> >>> i2c-mux instantiates one i2c_algorithm for each downstream adapter. >>> However these algorithms are all identica

[PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Christian Brauner
With this patch an open() call on /proc/ will give userspace a handle to struct pid of the process associated with /proc/. This allows to maintain a stable handle on a process. I have been discussing various approaches extensively during technical conferences this year culminating in a long argumen

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-18 Thread Uwe Kleine-König
Hello Lothar, On Fri, Nov 16, 2018 at 12:56:33PM +0100, Lothar Waßmann wrote: > Uwe Kleine-König wrote: > > On Fri, Nov 16, 2018 at 10:51:24AM +0100, Thierry Reding wrote: > > > On Thu, Nov 15, 2018 at 09:37:33PM +0100, Uwe Kleine-König wrote: > > > > On Thu, Nov 15, 2018 at 04:25:45PM +0100, T

[PATCH] mm/filemap.c: minor optimization in write_iter file operation

2018-11-18 Thread Yafang Shao
This little adjustment on bitwise operation could make the code a little faster. As write_iter is used in lots of critical path, so this code change is useful for performance. Signed-off-by: Yafang Shao --- mm/filemap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/fil

Re: [PATCH] mm/filemap.c: minor optimization in write_iter file operation

2018-11-18 Thread Matthew Wilcox
On Sun, Nov 18, 2018 at 08:02:18PM +0800, Yafang Shao wrote: > This little adjustment on bitwise operation could make the code a little > faster. > As write_iter is used in lots of critical path, so this code change is > useful for performance. Did you check the before/after code generation with t

[PATCH v1 1/1] spi: npcm: fix uninitialized 'val' warning in receive function

2018-11-18 Thread Tomer Maimon
Fix uninitialized 'val' warning receive function, send function has been modify to be aligned with the receive function. Signed-off-by: Tomer Maimon --- drivers/spi/spi-npcm-pspi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/spi/spi-npcm-pspi.c b/driv

[PATCH v1 0/1] npcm: fix uninitialized 'val' warning in receive function

2018-11-18 Thread Tomer Maimon
Addressed comments from:. - kbuild test robot : drivers/spi/spi-npcm-pspi.c:226:17: warning: 'val' may be used uninitialized in this function. Fix uninitialized 'val' warning receive function. Send function has been modify to be aligned with the receive function. The NPCM PSPI driver tested

[PATCH v9 06/17] tpm: access command header through struct in tpm_try_transmit()

2018-11-18 Thread Jarkko Sakkinen
Instead of accessing fields of the command header through offsets to the raw buffer, it is a better idea to use the header struct pointer that is already used elsewhere in the function. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 4 ++-- 1 fi

[PATCH v9 07/17] tpm: encapsulate tpm_dev_transmit()

2018-11-18 Thread Jarkko Sakkinen
Encapsulate tpm_transmit() call pattern to tpm_dev_transmit() because it is identically used from two places. Use unlocked version of tpm_transmit() so that we are able to move the calls to tpm2_prepare_space() and tpm2_commit_space() later on to this new function. Signed-off-by: Jarkko Sakkinen

[PATCH v9 04/17] tpm: print tpm2_commit_space() error inside tpm2_commit_space()

2018-11-18 Thread Jarkko Sakkinen
The error logging for tpm2_commit_space() is in a wrong place. This commit moves it inside that function. Cc: James Bottomley Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 2 -- drivers/char/tpm/tpm2-space.c| 9 ++--- 2 files changed,

[PATCH v9 03/17] tpm: return 0 from pcrs_show() when tpm1_pcr_read() fails

2018-11-18 Thread Jarkko Sakkinen
Do not print partial list of PCRs when tpm1_pcr_read() fails but instead return 0 from pcrs_show(). This is consistent behavior with other sysfs functions. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-sysfs.c | 13 ++--- 1 file changed, 6 insertions

[PATCH v9 02/17] tpm: fix invalid return value in pubek_show()

2018-11-18 Thread Jarkko Sakkinen
Return zero when tpm_buf_init() fails as we do for other functions in tpm-sysfs.c. Fixes: da379f3c1db0c ("tpm: migrate pubek_show to struct tpm_buf") Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-sysfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletion

[PATCH v9 00/17] Removed nested TPM operations

2018-11-18 Thread Jarkko Sakkinen
[was Detach TPM space code out of the tpm_transmit() flow but the scope expanded a bit.] Make the changes necessary to detach TPM space code and TPM activation code out of the tpm_transmit() flow because of both of these can cause nested tpm_transmit() calls. The nesteds calls make the whole flow

[PATCH v9 01/17] tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter

2018-11-18 Thread Jarkko Sakkinen
Since we pass an initialized struct tpm_buf instance in every call site now, it is cleaner to pass that directly to the tpm_transmit_cmd() as the TPM command/response buffer. Fine-tune a little bit tpm_transmit() and tpm_transmit_cmd() comments while doing this. Signed-off-by: Jarkko Sakkinen Re

Re: [PATCH v2 2/4] clk: meson-gxbb: Fix HDMI PLL for GXL SoCs

2018-11-18 Thread Martin Blumenstingl
Hi Neil, On Tue, Nov 6, 2018 at 3:59 PM Neil Armstrong wrote: > > In an attempt to better describe the HDMI PLL, a single DCO clock was > left for GXBB and GXL, but the GXL DCO does not have a pre-multiplier. > > This patch adds back a GXL specific HDMI PLL DCO with xtal as parent. according to t

[PATCH v9 05/17] tpm: declare struct tpm_header

2018-11-18 Thread Jarkko Sakkinen
Decleare struct tpm_header that replaces struct tpm_input_header and struct tpm_output_header. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 9 - drivers/char/tpm/tpm.h| 27 --- drivers/char/tpm/tpm

[PATCH v9 11/17] tpm: move TPM space code out of tpm_transmit()

2018-11-18 Thread Jarkko Sakkinen
Prepare and commit TPM space before and after calling tpm_transmit() instead of doing that inside tpm_transmit(). After this change we can remove TPM_TRANSMIT_NESTED flag from tpm2_prepare_space() and tpm2_commit_space() and replace it with TPM_TRANSMIT_UNLOCKED. Cc: James Bottomley Signed-off-by

[PATCH v9 12/17] tpm: remove @space from tpm_transmit()

2018-11-18 Thread Jarkko Sakkinen
Remove @space from tpm_transmit() API` in order to completely remove the bound between low-level transmission functionality and TPM spaces. The only real dependency existing is the amount of data saved before trying to send a command to the TPM. It doesn't really matter if we save always a bit mor

[PATCH v9 08/17] tpm: call tpm2_flush_space() on error in tpm_try_transmit()

2018-11-18 Thread Jarkko Sakkinen
Always call tpm2_flush_space() on failure in tpm_try_transmit() so that the volatile memory of the TPM gets cleared. If /dev/tpm0 does not have sufficient permissions (usually it has), this could lead to the leakage of TPM objects. Through /dev/tpmrm0 this issue does not raise any new security conc

[PATCH v9 10/17] tpm: move tpm_validate_commmand() to tpm2-space.c

2018-11-18 Thread Jarkko Sakkinen
Move tpm_validate_command() to tpm2-space.c and make it part of the tpm2_prepare_space() flow. Make cc resolution as part of the TPM space functionality in order to detach it from rest of the tpm_transmit() flow. Cc: James Bottomley Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger ---

[PATCH v9 14/17] tpm: remove TPM_TRANSMIT_UNLOCKED flag

2018-11-18 Thread Jarkko Sakkinen
Added locking as part of tpm_try_get_ops() and tpm_put_ops() as they are anyway used in most of the call sites except in tpmrm_release() where we take the locks manually. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-chip.c | 2 ++ drivers/char/tpm/tp

[PATCH v9 13/17] tpm: use tpm_try_get_ops() in tpm-sysfs.c.

2018-11-18 Thread Jarkko Sakkinen
Use tpm_try_get_ops() in tpm-sysfs.c so that we can consider moving other decorations (locking, localities, power management for example) inside it. This direction can be of course taken only after other call sites for tpm_transmit() have been treated in the same way. Signed-off-by: Jarkko Sakkine

[PATCH v9 09/17] tpm: clean up tpm_try_transmit() error handling flow

2018-11-18 Thread Jarkko Sakkinen
Move locking, locality handling and power management to tpm_transmit() in order to simplify the flow. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-interface.c | 71 1 file changed, 35 insertions(+), 36 deletions(-) diff --g

[PATCH v9 15/17] tpm: introduce tpm_chip_start() and tpm_chip_stop()

2018-11-18 Thread Jarkko Sakkinen
Encapsulate power gating and locality functionality to tpm_chip_start() and tpm_chip_stop() in order to clean up the branching mess in tpm_transmit(). Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-chip.c | 110 +++ drivers/ch

[PATCH v9 16/17] tpm: take TPM chip power gating out of tpm_transmit()

2018-11-18 Thread Jarkko Sakkinen
Call tpm_chip_start() and tpm_chip_stop() in * tpm_try_get_ops() and tpm_put_ops() * tpm_chip_register() * tpm2_del_space() And remove these calls from tpm_transmit(). The core reason for this change is that in tpm_vtpm_proxy a locality change requires a virtual TPM command (a command made up jus

[PATCH v9 17/17] tpm: remove @flags from tpm_transmit()

2018-11-18 Thread Jarkko Sakkinen
Remove @flags from tpm_transmit() API. It is no longer used for anything. Signed-off-by: Jarkko Sakkinen Reviewed-by: Stefan Berger --- drivers/char/tpm/tpm-chip.c | 32 ++--- drivers/char/tpm/tpm-dev-common.c | 2 +- drivers/char/tpm/tpm-interface.c | 18 d

Re: RFC: userspace exception fixups

2018-11-18 Thread Jarkko Sakkinen
On Sun, Nov 18, 2018 at 09:15:48AM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 01, 2018 at 10:53:40AM -0700, Andy Lutomirski wrote: > > Hi all- > > > > The people working on SGX enablement are grappling with a somewhat > > annoying issue: the x86 EENTER instruction is used from user code and > > c

[PATCH v3 2/3] soc: amlogic: Add Meson Clock Measure driver

2018-11-18 Thread Neil Armstrong
The Amlogic Meson SoCs embeds a clock measurer IP to measure the internal clock paths frequencies. The precision is determined by stepping into the duration until the counter overflows. The debugfs slows a pretty summary and each clock can be measured individually aswell. Cc: Martin Blumenstingl

[PATCH v3 3/3] ARM64: dts: meson-gx: Add Internal Clock Measurer node

2018-11-18 Thread Neil Armstrong
The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal clock paths frequencies. This patch adds the node in the top-level meson-gx dtsi. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch

[PATCH v3 0/3] Add Amlogic Meson GX SoC Clock Measure Driver

2018-11-18 Thread Neil Armstrong
The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal clocks frequencies. The precision is determined by stepping into the duration until the counter overflows. The debugfs shows a pretty summary and each clock can be measured individually aswell. This patchset includes the

[PATCH v3 1/3] dt-bindings: amlogic: Add Internal Clock Measurer bindings

2018-11-18 Thread Neil Armstrong
The Amlogic Meson SoCs embeds a clock measurer IP to measure the internal clock paths frequencies. Acked-by: Martin Blumenstingl Signed-off-by: Neil Armstrong --- Rob, I didn't take your v2 Reviewed-by since I changed the compatible list, tell me if i can still keep the tag. Thanks, Neil ..

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
I had been led to believe that the proposal would be a comprehensive process API, not an ioctl basically equivalent to my previous patch. If you had a more comprehensive proposal, please just share it on LKML instead of limiting the discussion to those able to attend these various conferences. If t

Re: [PATCH v3 3/3] ARM64: dts: meson-gx: Add Internal Clock Measurer node

2018-11-18 Thread Martin Blumenstingl
On Sun, Nov 18, 2018 at 2:51 PM Neil Armstrong wrote: > > The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal > clock paths frequencies. > This patch adds the node in the top-level meson-gx dtsi. > > Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl

Re: [PATCH v3 2/3] soc: amlogic: Add Meson Clock Measure driver

2018-11-18 Thread Martin Blumenstingl
On Sun, Nov 18, 2018 at 2:50 PM Neil Armstrong wrote: > > The Amlogic Meson SoCs embeds a clock measurer IP to measure the internal > clock paths frequencies. > The precision is determined by stepping into the duration until the counter > overflows. > The debugfs slows a pretty summary and each cl

Re: [PATCH v3 0/3] Add Amlogic Meson GX SoC Clock Measure Driver

2018-11-18 Thread Martin Blumenstingl
On Sun, Nov 18, 2018 at 2:51 PM Neil Armstrong wrote: > > The Amlogic Meson GX SoCs embeds a clock measurer IP to measure the internal > clocks frequencies. > The precision is determined by stepping into the duration until the counter > overflows. > The debugfs shows a pretty summary and each cloc

Re: [PATCH v3 1/2] x86/fpu: track AVX-512 usage of tasks

2018-11-18 Thread Samuel Neves
On 11/17/18 12:36 AM, Li, Aubrey wrote: > On 2018/11/17 7:10, Dave Hansen wrote: >> Just to be clear: there are 3 AVX-512 XSAVE states: >> >> XFEATURE_OPMASK, >> XFEATURE_ZMM_Hi256, >> XFEATURE_Hi16_ZMM, >> >> I honestly don't know what XFEATURE_OPMASK does. It does not

Re: [BUG] Nuvoton NCPT650 TPM 2.0 mode not working

2018-11-18 Thread Michael Niewöhner
On Sun, 2018-11-18 at 10:18 +0200, Jarkko Sakkinen wrote: > On Fri, Nov 16, 2018 at 10:06:28PM +0100, Michael Niewöhner wrote: > > On Wed, 2018-11-14 at 21:46 +0100, Michael Niewöhner wrote: > > > Hi all, > > > > > > I tried that patch mentioned by Mimi but it does not change anything for > > > me

Re: [PATCH v4] ARM: SAMSUNG: limit SAMSUNG_PM_DEBUG config option to non-Exynos platforms

2018-11-18 Thread Krzysztof Kozlowski
On Wed, Nov 14, 2018 at 04:30:58PM +0100, Bartlomiej Zolnierkiewicz wrote: > "Samsung PM Suspend debug" feature (controlled by SAMSUNG_PM_DEBUG > config option) is not working properly (debug messages are not > displayed after resume) on Exynos platforms because GPIOs restore > code is not implemen

Re: [PATCH 1/9] ARM: EXYNOS: remove secondary startup initialization from smp_prepare_cpus

2018-11-18 Thread Krzysztof Kozlowski
On Thu, Nov 15, 2018 at 04:11:30PM +0100, Bartlomiej Zolnierkiewicz wrote: > From: Pankaj Dubey > > We are taking care of setting secondary cpu boot address in > exynos_boot_secondary just before sending ipi to secondary CPUs, > so we can safely remove this setting from smp_prepare_cpus. > > Sig

Re: [PATCH 1/6] ARM: dts: exynos: Add all CPUs in cooling maps

2018-11-18 Thread Krzysztof Kozlowski
On Fri, Nov 16, 2018 at 03:31:10PM +0530, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of eac

Re: [PATCH 02/10] ARM64: dts: exynos: Add all CPUs in cooling maps

2018-11-18 Thread Krzysztof Kozlowski
On Fri, Nov 16, 2018 at 03:34:25PM +0530, Viresh Kumar wrote: > Each CPU can (and does) participate in cooling down the system but the > DT only captures a handful of them, normally CPU0, in the cooling maps. > Things work by chance currently as under normal circumstances its the > first CPU of eac

Re: [PATCH] mm/filemap.c: minor optimization in write_iter file operation

2018-11-18 Thread Yafang Shao
On Sun, Nov 18, 2018 at 8:13 PM Matthew Wilcox wrote: > > On Sun, Nov 18, 2018 at 08:02:18PM +0800, Yafang Shao wrote: > > This little adjustment on bitwise operation could make the code a little > > faster. > > As write_iter is used in lots of critical path, so this code change is > > useful for

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 5:59 AM Daniel Colascione wrote: > > I had been led to believe that the proposal would be a comprehensive > process API, not an ioctl basically equivalent to my previous patch. > If you had a more comprehensive proposal, please just share it on LKML > instead of limiting th

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrote: > I fully agree that a more comprehensive, less expensive API for > managing processes would be nice. But I also think that this patch > (using the directory fd and ioctl) is better from a security > perspective than using a new file in /pro

Re: [PATCH 00/16] staging: vchiq: dead code removal & misc fixes

2018-11-18 Thread Stefan Wahren
Hi Nicolas, > Nicolas Saenz Julienne hat am 14. November 2018 um > 13:59 geschrieben: > > > Hi All, > > This series was written in parallel with reading and understanding the > vchiq code. So excuse me for the lack of logic in the sequence of > patches. > > The main focus was to delete as mu

Attention: E-mail Address Owner,

2018-11-18 Thread WESTERN UNION OFFICE
Website: www.westernunion.com Address: Plot 1261, Adela Hopewell Street CO/B/REP, Republic Of Benin. Email: westernunibe...@seznam.cz Attention: E-mail Address Owner, Sequel to the meeting held with Federal Bureau of Investigation, The International Monetary Fund (IMF) is compensating all the

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 3:17 AM, Christian Brauner wrote: > +static int proc_tgid_open(struct inode *inode, struct file *file) > +{ > + /* grab reference to struct pid */ > + file->private_data = get_pid(proc_pid(inode)); Why grab another reference to the struct pid when the inode alr

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione wrote: > > On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrote: > > I fully agree that a more comprehensive, less expensive API for > > managing processes would be nice. But I also think that this patch > > (using the directory fd and ioctl) i

[PATCH] iio: hid-sensor-hub: clean up indentation, remove extraneous tab

2018-11-18 Thread Colin King
From: Colin Ian King The statement is indented too much by one level, fix this by removing the extraneous tab. Signed-off-by: Colin Ian King --- drivers/iio/common/hid-sensors/hid-sensor-attributes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/common/hid-sen

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 8:17 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione wrote: >> >> On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrote: >> > I fully agree that a more comprehensive, less expensive API for >> > managing processes would be nice. But I also

2% Loan Offer

2018-11-18 Thread NORTON FINANCE
Loans for all kind of purpose We offer from a minimum amount of 10,000.00 dollars to 20 million dollars And at a low interest rate of 2% Loan Term: 25 years maximum depending on the loan amount you need. Customers should be above the age of 18 This loan transaction is 100% guarantee for serious cus

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Randy Dunlap
On 11/18/18 8:17 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione wrote: >> >> On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrote: >>> I fully agree that a more comprehensive, less expensive API for >>> managing processes would be nice. But I also think that thi

Re: [PATCH v1] i2c: i2c-stm32f7: add PM Runtime support

2018-11-18 Thread kbuild test robot
/linux/commits/Pierre-Yves-MORDRET/i2c-i2c-stm32f7-add-PM-Runtime-support/20181118-230534 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 8.1.0 reproduce: wget https

[PATCH] mtd: nftl: clean up indentation, remove extraneous tabs

2018-11-18 Thread Colin King
From: Colin Ian King The hunk of code is indented too much by one level, fix this by removing the extraneous tabs. Also terminate block comment using the recommended coding style to clean up checkpatch warning. Signed-off-by: Colin Ian King --- drivers/mtd/nftlmount.c | 39

linux-next: removal of old trees

2018-11-18 Thread Stephen Rothwell
Hi all, [This message is Bcc'd to the contacts of affected trees] The following trees have not been updated for more than a year, so I am removing them from linux-next. If you want any of them reinstated, please just send me an email. TreeURL --- aio git:

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 8:33 AM, Randy Dunlap wrote: > On 11/18/18 8:17 AM, Andy Lutomirski wrote: >> On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione wrote: >>> >>> On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrote: I fully agree that a more comprehensive, less expensive API for

Re: [PATCH 2/3] soc: imx: gpcv2: Make regmap access table variant specific.

2018-11-18 Thread kbuild test robot
/linux/commits/Andrey-Smirnov/soc-imx-gpcv2-Remove-static-qualifier-from-domain_data/20181118-213909 base: https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git for-next config: arm-multi_v7_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 8:49 AM Daniel Colascione wrote: > > On Sun, Nov 18, 2018 at 8:33 AM, Randy Dunlap wrote: > > On 11/18/18 8:17 AM, Andy Lutomirski wrote: > >> On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione > >> wrote: > >>> > >>> On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrot

Re: [RFC PATCH 13/13] m68k: mvme16x: Convert to clocksource APIy

2018-11-18 Thread Thomas Gleixner
Finn, On Wed, 14 Nov 2018, Finn Thain wrote: > On Tue, 13 Nov 2018, Thomas Gleixner wrote: > > Urgh. Then you have more serious trouble. If the interrupting handler > > calls any of the time accessor functions then you can actually live lock > > when the interrupt happens in the middle of the wr

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 8:29 AM Daniel Colascione wrote: > > On Sun, Nov 18, 2018 at 8:17 AM, Andy Lutomirski wrote: > > On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione wrote: > >> > >> On Sun, Nov 18, 2018 at 7:38 AM, Andy Lutomirski wrote: > >> > I fully agree that a more comprehensive, les

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 9:13 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 8:29 AM Daniel Colascione wrote: >> >> On Sun, Nov 18, 2018 at 8:17 AM, Andy Lutomirski wrote: >> > On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione >> > wrote: >> >> >> >> On Sun, Nov 18, 2018 at 7:38 AM, Andy

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 9:09 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 8:49 AM Daniel Colascione wrote: >> >> On Sun, Nov 18, 2018 at 8:33 AM, Randy Dunlap wrote: >> > On 11/18/18 8:17 AM, Andy Lutomirski wrote: >> >> On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione >> >> wrote: >>

Re: [PATCH v1] i2c: i2c-stm32f7: add PM Runtime support

2018-11-18 Thread kbuild test robot
/linux/commits/Pierre-Yves-MORDRET/i2c-i2c-stm32f7-add-PM-Runtime-support/20181118-230534 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next config: nds32-allmodconfig (attached as .config) compiler: nds32le-linux-gcc (GCC) 6.4.0 reproduce: wget https

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Christian Brauner
On Sun, Nov 18, 2018 at 07:38:09AM -0800, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 5:59 AM Daniel Colascione wrote: > > > > I had been led to believe that the proposal would be a comprehensive > > process API, not an ioctl basically equivalent to my previous patch. > > If you had a more co

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 9:24 AM Daniel Colascione wrote: > Assuming we don't broaden exit status readability (which would make a > lot of things simpler), the exit notification mechanism must work like > this: if you can see a process in /proc, you should be able to wait on > it. If you learn that

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Eric W. Biederman
Daniel Colascione writes: > On Sun, Nov 18, 2018 at 9:13 AM, Andy Lutomirski wrote: >> On Sun, Nov 18, 2018 at 8:29 AM Daniel Colascione wrote: >>> >>> On Sun, Nov 18, 2018 at 8:17 AM, Andy Lutomirski wrote: >>> > On Sun, Nov 18, 2018 at 7:53 AM Daniel Colascione >>> > wrote: >>> >> >>> >> O

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 9:42 AM Christian Brauner wrote: > > On Sun, Nov 18, 2018 at 07:38:09AM -0800, Andy Lutomirski wrote: > > On Sun, Nov 18, 2018 at 5:59 AM Daniel Colascione wrote: > > > > > > I had been led to believe that the proposal would be a comprehensive > > > process API, not an ioc

Re: [Ksummit-discuss] [RFC PATCH 2/3] MAINTAINERS, Handbook: Subsystem Profile

2018-11-18 Thread Mauro Carvalho Chehab
Em Sun, 18 Nov 2018 09:34:01 -0800 Dan Williams escreveu: > On Sun, Nov 18, 2018 at 9:31 AM Dan Williams wrote: > > On Sun, Nov 18, 2018 at 9:31 AM Dan Williams > > wrote: > [..] > > > True, will remove. What's the point of stating daily active hours when we > > > already have "Resubmit Cad

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 9:43 AM Eric W. Biederman wrote: > > Daniel Colascione writes: > > > On Sun, Nov 18, 2018 at 9:13 AM, Andy Lutomirski wrote: > >> On Sun, Nov 18, 2018 at 8:29 AM Daniel Colascione > >> wrote: > >>> > >>> On Sun, Nov 18, 2018 at 8:17 AM, Andy Lutomirski wrote: > >>> > O

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 9:42 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 9:24 AM Daniel Colascione wrote: >> Assuming we don't broaden exit status readability (which would make a >> lot of things simpler), the exit notification mechanism must work like >> this: if you can see a process i

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 9:43 AM, Eric W. Biederman wrote: > Daniel Colascione writes: > >> On Sun, Nov 18, 2018 at 9:13 AM, Andy Lutomirski wrote: >>> On Sun, Nov 18, 2018 at 8:29 AM Daniel Colascione wrote: On Sun, Nov 18, 2018 at 8:17 AM, Andy Lutomirski wrote: > On Sun, Nov 1

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 9:41 AM, Christian Brauner wrote: > On Sun, Nov 18, 2018 at 07:38:09AM -0800, Andy Lutomirski wrote: >> On Sun, Nov 18, 2018 at 5:59 AM Daniel Colascione wrote: >> > >> > I had been led to believe that the proposal would be a comprehensive >> > process API, not an ioctl ba

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 10:07 AM Daniel Colascione wrote: > Next, I want to merge my exithand proposal, or something like it. It's > likewise a simple change that, in a minimal way, addresses a > longstanding API deficiency. I'm very strongly against the > POLLERR-on-directory variant of the idea.

Re: [PATCH] debugobjects: add a new Kconfig for POOL_SIZE

2018-11-18 Thread Thomas Gleixner
Qian, On Sun, 18 Nov 2018, Qian Cai wrote: > The current value of ODEBUG_POOL_SIZE is not big enough for large memory > systems with timer or/and workqueue objects because during the early > boot, timer objects needs at least the size equals to > > No. CPUs x 2 (worker pool) > > start_kernel >

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Andy Lutomirski
On Sun, Nov 18, 2018 at 9:51 AM Daniel Colascione wrote: > > > I'm not entirely sure that ship has sailed. In the kernel, we already > > have a bit of a distinction between a pid (and tid, etc -- I'm > > referring to struct pid) and a task. If we make a new > > process-management API, we could p

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 10:15 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 10:07 AM Daniel Colascione wrote: >> Next, I want to merge my exithand proposal, or something like it. It's >> likewise a simple change that, in a minimal way, addresses a >> longstanding API deficiency. I'm very s

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 10:28 AM, Andy Lutomirski wrote: > On Sun, Nov 18, 2018 at 9:51 AM Daniel Colascione wrote: >> >> > I'm not entirely sure that ship has sailed. In the kernel, we already >> > have a bit of a distinction between a pid (and tid, etc -- I'm >> > referring to struct pid) and

WARNING in enqueue_task_dl

2018-11-18 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:1ce80e0fe98e Merge tag 'fsnotify_for_v4.20-rc3' of git://g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14ddbb0b40 kernel config: https://syzkaller.appspot.com/x/.config?x=d86f24333880b605 da

Re: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-11-18 Thread Miquel Raynal
Hi Naga, Naga Sureshkumar Relli wrote on Thu, 15 Nov 2018 09:34:16 +: > Hi Boris & Miquel, > > I am updating the driver by addressing your comments, and I have one concern, > especially in anfc_read_page_hwecc(), > there I am checking for erased pages bit flips. > Since Arasan NAND contr

Re: [PATCH] debugobjects: add a new Kconfig for POOL_SIZE

2018-11-18 Thread Qian Cai
> On Nov 18, 2018, at 1:21 PM, Thomas Gleixner wrote: > > Qian, > > On Sun, 18 Nov 2018, Qian Cai wrote: > >> The current value of ODEBUG_POOL_SIZE is not big enough for large memory >> systems with timer or/and workqueue objects because during the early >> boot, timer objects needs at least

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Aleksa Sarai
On 2018-11-18, Daniel Colascione wrote: > > Here's my point: if we're really going to make a new API to manipulate > > processes by their fd, I think we should have at least a decent idea > > of how that API will get extended in the future. Right now, we have > > an extremely awkward situation wh

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Christian Brauner
On Sun, Nov 18, 2018 at 10:07:31AM -0800, Daniel Colascione wrote: > On Sun, Nov 18, 2018 at 9:41 AM, Christian Brauner > wrote: > > On Sun, Nov 18, 2018 at 07:38:09AM -0800, Andy Lutomirski wrote: > >> On Sun, Nov 18, 2018 at 5:59 AM Daniel Colascione > >> wrote: > >> > > >> > I had been led t

[PATCH] staging: greybus: Parenthesis alignment

2018-11-18 Thread Cristian Sicilia
Some parameters are aligned with parentheses. Some parentheses are opened at end of line. Signed-off-by: Cristian Sicilia --- drivers/staging/greybus/arche-platform.c | 6 +- drivers/staging/greybus/audio_codec.c | 8 +- drivers/staging/greybus/audio_manager_module.c | 55 +++

Re: [PATCH] staging: greybus: Parenthesis alignment

2018-11-18 Thread Joe Perches
On Sun, 2018-11-18 at 20:28 +0100, Cristian Sicilia wrote: > Some parameters are aligned with parentheses. > Some parentheses are opened at end of line. Given the very long identifier lengths, I wouldn't consider many of these appropriate. 80 column line lengths and long identifiers don't play we

Re: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-11-18 Thread Boris Brezillon
On Thu, 15 Nov 2018 09:34:16 + Naga Sureshkumar Relli wrote: > Hi Boris & Miquel, > > I am updating the driver by addressing your comments, and I have one concern, > especially in anfc_read_page_hwecc(), > there I am checking for erased pages bit flips. > Since Arasan NAND controller does

Re: [PATCH] proc: allow killing processes via file descriptors

2018-11-18 Thread Daniel Colascione
On Sun, Nov 18, 2018 at 11:05 AM, Aleksa Sarai wrote: > On 2018-11-18, Daniel Colascione wrote: >> > Here's my point: if we're really going to make a new API to manipulate >> > processes by their fd, I think we should have at least a decent idea >> > of how that API will get extended in the futur

Re: [PATCH v9 14/17] tpm: remove TPM_TRANSMIT_UNLOCKED flag

2018-11-18 Thread Jason Gunthorpe
On Sun, Nov 18, 2018 at 02:47:47PM +0200, Jarkko Sakkinen wrote: > Added locking as part of tpm_try_get_ops() and tpm_put_ops() as they are > anyway used in most of the call sites except in tpmrm_release() where we > take the locks manually. > > Signed-off-by: Jarkko Sakkinen > Reviewed-by: Stefa

[PATCH 0/3] arm64: dts: qcom: QCS404 BLSP nodes

2018-11-18 Thread Bjorn Andersson
This finalizes the definition of the BLSP UART, I2C and SPI devices found in the QCS404 SoC. Bjorn Andersson (3): arm64: dts: qcom: qcs404: Specify pinctrl state for UART arm64: dts: qcom: qcs404: Define remaining UARTs arm64: dts: qcom: qcs404: Add QUP I2C and SPI nodes arch/arm64/boot/dt

[PATCH 3/3] arm64: dts: qcom: qcs404: Add QUP I2C and SPI nodes

2018-11-18 Thread Bjorn Andersson
Define all six QUP controllers, both as SPI and I2C, allowing boards to enable these as needed. Associated pinmux states are also defined, to require only pinconf states to be specified by the boards, as they are enabled. Note that SPI has not been tested. Signed-off-by: Bjorn Andersson --- arc

[PATCH 2/3] arm64: dts: qcom: qcs404: Define remaining UARTs

2018-11-18 Thread Bjorn Andersson
Add the BLSP2 BAM and add the remaining four UARTs found on the QCS404 platform. Note that these has not been tested. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 84 1 file changed, 84 insertions(+) diff --git a/arch/arm64/boot/dts/qco

  1   2   3   >