[PATCH v2 0/2] spi: fix incorrect property items

2018-10-25 Thread Keiji Hayashibara
This series fixes incorrect property because it was different from the actual. The commit 71b8dfc691a3 ("spi: uniphier: re-add addressing properties") is the updated patch, therefore, it must be applied after the commit 7662d1dc17d4 ("spi: uniphier: fix incorrect property items"). Changes since

[PATCH v2 0/2] spi: fix incorrect property items

2018-10-25 Thread Keiji Hayashibara
This series fixes incorrect property because it was different from the actual. The commit 71b8dfc691a3 ("spi: uniphier: re-add addressing properties") is the updated patch, therefore, it must be applied after the commit 7662d1dc17d4 ("spi: uniphier: fix incorrect property items"). Changes since

[PATCH v2 1/2] spi: uniphier: fix incorrect property items

2018-10-25 Thread Keiji Hayashibara
This commit fixes incorrect property because it was different from the actual. The parameters of '#address-cells' and '#size-cells' were removed, and 'interrupts', 'pinctrl-names' and 'pinctrl-0' were added. Fixes: 4dcd5c2781f3 ("spi: add DT bindings for UniPhier SPI controller") Signed-off-by:

[PATCH v2 2/2] spi: uniphier: re-add addressing properties

2018-10-25 Thread Keiji Hayashibara
In commit 7662d1dc17d4 ("spi: uniphier: fix incorrect property items") addressing properties of #address-cells and #size-cells were removed. Since it is not necessary to remove them, they are back again. Signed-off-by: Keiji Hayashibara --- Documentation/devicetree/bindings/spi/spi-uniphier.txt

[PATCH v2 2/2] spi: uniphier: re-add addressing properties

2018-10-25 Thread Keiji Hayashibara
In commit 7662d1dc17d4 ("spi: uniphier: fix incorrect property items") addressing properties of #address-cells and #size-cells were removed. Since it is not necessary to remove them, they are back again. Signed-off-by: Keiji Hayashibara --- Documentation/devicetree/bindings/spi/spi-uniphier.txt

[PATCH v2 1/2] spi: uniphier: fix incorrect property items

2018-10-25 Thread Keiji Hayashibara
This commit fixes incorrect property because it was different from the actual. The parameters of '#address-cells' and '#size-cells' were removed, and 'interrupts', 'pinctrl-names' and 'pinctrl-0' were added. Fixes: 4dcd5c2781f3 ("spi: add DT bindings for UniPhier SPI controller") Signed-off-by:

Re: The linux devs can rescind their license grant.

2018-10-25 Thread Al Viro
On Thu, Oct 25, 2018 at 10:28:36PM -0400, Eric S. Raymond wrote: > Al Viro : > > * in case it needs to be spelled out: I am not at all interested > > in that kind of stunts. One of the reasons I thoroughly despise RMS > > and his bunch is the leverage game they tried to play with GPLv3; > >

Re: The linux devs can rescind their license grant.

2018-10-25 Thread Al Viro
On Thu, Oct 25, 2018 at 10:28:36PM -0400, Eric S. Raymond wrote: > Al Viro : > > * in case it needs to be spelled out: I am not at all interested > > in that kind of stunts. One of the reasons I thoroughly despise RMS > > and his bunch is the leverage game they tried to play with GPLv3; > >

Attention: Beneficiary,

2018-10-25 Thread Dr.Henry Nwosu.
Attention: Beneficiary, Due to the Federal Government new Policy to fight corruption. I want to bring to your Notice that the President of the Federal Republic of Nigeria, Muhammadu Buhari, has Mandated that all the Overdue Foreign Payment should be Paid to the Beneficiary not Later than 30th of

Attention: Beneficiary,

2018-10-25 Thread Dr.Henry Nwosu.
Attention: Beneficiary, Due to the Federal Government new Policy to fight corruption. I want to bring to your Notice that the President of the Federal Republic of Nigeria, Muhammadu Buhari, has Mandated that all the Overdue Foreign Payment should be Paid to the Beneficiary not Later than 30th of

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

Re: [v5] i2c: Add PCI and platform drivers for the AMD MP2 I2C controller

2018-10-25 Thread Kai Heng Feng
> On Oct 24, 2018, at 11:59 PM, Elie Morisse wrote: > > This contains two drivers: > * i2c-amd-plat-mp2: platform driver managing an i2c adapter (one of > the two busses of the MP2) and routing any i2c read/write command to > the PCI driver. > * i2c-amd-pci-mp2: PCI driver communicating

Re: [v5] i2c: Add PCI and platform drivers for the AMD MP2 I2C controller

2018-10-25 Thread Kai Heng Feng
> On Oct 24, 2018, at 11:59 PM, Elie Morisse wrote: > > This contains two drivers: > * i2c-amd-plat-mp2: platform driver managing an i2c adapter (one of > the two busses of the MP2) and routing any i2c read/write command to > the PCI driver. > * i2c-amd-pci-mp2: PCI driver communicating

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

Re: [PATCH] dt-bindings: arm: Fix cpu capacity mismatch in example

2018-10-25 Thread Viresh Kumar
On 25-10-18, 14:04, Daniel Lezcano wrote: > I think it is actually correct. The example is confusing on what the > numbers are. IIUC, it is: > > (after normalizing) > > dhrystone result on big CPU is 1024 at 1100MHz > dhrystone result on little CPU is 446 at 850MHz > > We have to scale the

Re: [PATCH] dt-bindings: arm: Fix cpu capacity mismatch in example

2018-10-25 Thread Viresh Kumar
On 25-10-18, 14:04, Daniel Lezcano wrote: > I think it is actually correct. The example is confusing on what the > numbers are. IIUC, it is: > > (after normalizing) > > dhrystone result on big CPU is 1024 at 1100MHz > dhrystone result on little CPU is 446 at 850MHz > > We have to scale the

[PATCH] pstore: Remove duplicate invoking of persistent_ram_zap()

2018-10-25 Thread Peng15 Wang 王鹏
From: Peng Wang When initialing przs with invalid data in buffer(no PERSISTENT_RAM_SIG), function call path is like this: ramoops_init_prz -> | |-> persistent_ram_new -> persistent_ram_post_init -> persistent_ram_zap | |--> persistent_ram_zap As we can see, persistent_ram_zap() is called

[PATCH] pstore: Remove duplicate invoking of persistent_ram_zap()

2018-10-25 Thread Peng15 Wang 王鹏
From: Peng Wang When initialing przs with invalid data in buffer(no PERSISTENT_RAM_SIG), function call path is like this: ramoops_init_prz -> | |-> persistent_ram_new -> persistent_ram_post_init -> persistent_ram_zap | |--> persistent_ram_zap As we can see, persistent_ram_zap() is called

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

[PATCH sparse] parse: shifting by full number of bits is undefined

2018-10-25 Thread Jason A. Donenfeld
The type checker wasn't identifying upper bounds for huge unsigned 64-bit numbers, because the right shift turned into a no-op: zx2c4@thinkpad /tmp $ cat sparse.c enum { sparse_does_not_like_this = 0x8003ULL }; zx2c4@thinkpad /tmp $ sparse sparse.c sparse.c:1:36: warning: cast

[PATCH sparse] parse: shifting by full number of bits is undefined

2018-10-25 Thread Jason A. Donenfeld
The type checker wasn't identifying upper bounds for huge unsigned 64-bit numbers, because the right shift turned into a no-op: zx2c4@thinkpad /tmp $ cat sparse.c enum { sparse_does_not_like_this = 0x8003ULL }; zx2c4@thinkpad /tmp $ sparse sparse.c sparse.c:1:36: warning: cast

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

linux-kernel@vger.kernel.org RE:For Your Urgent Perusal

2018-10-25 Thread Mr Steven Walter
Dear linux-kernel@vger.kernel.org , I am sorry for invading your privacy because we do not know each other but I am contacting you because of my late client who died without a will. This is to notify you that your are the beneficiary to the bequest of the sum of £10,500,000.00 GBP in the

Re: The linux devs can rescind their license grant.

2018-10-25 Thread Eric S. Raymond
Al Viro : > * in case it needs to be spelled out: I am not at all interested > in that kind of stunts. One of the reasons I thoroughly despise RMS > and his bunch is the leverage game they tried to play with GPLv3; > damned if I'm going to lower myself to their level. Sorry, I did not mean

Re: The linux devs can rescind their license grant.

2018-10-25 Thread Eric S. Raymond
Al Viro : > * in case it needs to be spelled out: I am not at all interested > in that kind of stunts. One of the reasons I thoroughly despise RMS > and his bunch is the leverage game they tried to play with GPLv3; > damned if I'm going to lower myself to their level. Sorry, I did not mean

RE: [PATCH] PCI/Layerscape: fix wrongly invoking of outbound window disable accessor

2018-10-25 Thread Z.q. Hou
Hi Bjorn, Thanks a lot for your comments! > -Original Message- > From: Bjorn Helgaas > Sent: 2018年10月25日 21:45 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; lorenzo.pieral...@arm.com; Roy Zang > ; M.h. Lian > Subject: Re: [PATCH]

RE: [PATCH] PCI/Layerscape: fix wrongly invoking of outbound window disable accessor

2018-10-25 Thread Z.q. Hou
Hi Bjorn, Thanks a lot for your comments! > -Original Message- > From: Bjorn Helgaas > Sent: 2018年10月25日 21:45 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; lorenzo.pieral...@arm.com; Roy Zang > ; M.h. Lian > Subject: Re: [PATCH]

[PATCH v2] libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9

2018-10-25 Thread Diego Viola
med_power_with_dipm causes my T450 to freeze with a SAMSUNG MZ7TD256HAFV-000L9 SSD (firmware DXT02L5Q). Switching the LPM to max_performance fixes this issue. Signed-off-by: Diego Viola --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c

[PATCH v2] libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9

2018-10-25 Thread Diego Viola
med_power_with_dipm causes my T450 to freeze with a SAMSUNG MZ7TD256HAFV-000L9 SSD (firmware DXT02L5Q). Switching the LPM to max_performance fixes this issue. Signed-off-by: Diego Viola --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c

Re: [PATCH v6 1/6] dt-bindings: power: Introduce one property to present the battery internal resistance

2018-10-25 Thread Baolin Wang
On 26 October 2018 at 04:13, Sebastian Reichel wrote: > Hi Baolin, > > On Thu, Oct 25, 2018 at 10:01:55AM +0800, Baolin Wang wrote: >> Hi Sebastian, >> >> On 22 October 2018 at 15:43, Baolin Wang wrote: >> > The internal resistance of a battery is not a constant in its life cycle, >> > this

Re: [PATCH v6 1/6] dt-bindings: power: Introduce one property to present the battery internal resistance

2018-10-25 Thread Baolin Wang
On 26 October 2018 at 04:13, Sebastian Reichel wrote: > Hi Baolin, > > On Thu, Oct 25, 2018 at 10:01:55AM +0800, Baolin Wang wrote: >> Hi Sebastian, >> >> On 22 October 2018 at 15:43, Baolin Wang wrote: >> > The internal resistance of a battery is not a constant in its life cycle, >> > this

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-25 Thread Anshuman Khandual
On 10/26/2018 12:15 AM, Zi Yan wrote: > On 25 Oct 2018, at 4:10, Anshuman Khandual wrote: > >> On 10/16/2018 08:01 PM, Zi Yan wrote: >>> On 15 Oct 2018, at 0:06, Anshuman Khandual wrote: >>> On 10/15/2018 06:23 AM, Zi Yan wrote: > On 12 Oct 2018, at 4:00, Anshuman Khandual wrote:

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-25 Thread Anshuman Khandual
On 10/26/2018 12:15 AM, Zi Yan wrote: > On 25 Oct 2018, at 4:10, Anshuman Khandual wrote: > >> On 10/16/2018 08:01 PM, Zi Yan wrote: >>> On 15 Oct 2018, at 0:06, Anshuman Khandual wrote: >>> On 10/15/2018 06:23 AM, Zi Yan wrote: > On 12 Oct 2018, at 4:00, Anshuman Khandual wrote:

Re: [GIT] Sparc

2018-10-25 Thread Linus Torvalds
On Thu, Oct 25, 2018 at 11:28 AM David Miller wrote: > > Please pull to get this build regression fix. Pulled, Linus

Re: [GIT] Sparc

2018-10-25 Thread Linus Torvalds
On Thu, Oct 25, 2018 at 11:28 AM David Miller wrote: > > Please pull to get this build regression fix. Pulled, Linus

[PATCH] libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9

2018-10-25 Thread Diego Viola
med_power_with_dipm causes my T450 to freeze with a SAMSUNG MZ7TD256HAFV-000L9 SSD (firmware DXT02L5Q). Switching the LPM to max_performance fixes this issue. Signed-off-by: Diego Viola --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c

[PATCH] libata: Apply NOLPM quirk for SAMSUNG MZ7TD256HAFV-000L9

2018-10-25 Thread Diego Viola
med_power_with_dipm causes my T450 to freeze with a SAMSUNG MZ7TD256HAFV-000L9 SSD (firmware DXT02L5Q). Switching the LPM to max_performance fixes this issue. Signed-off-by: Diego Viola --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c

Re: [GIT PULL] KVM updates for Linux 4.20-rc1

2018-10-25 Thread Linus Torvalds
On Wed, Oct 24, 2018 at 4:14 AM Radim Krčmář wrote: > > KVM updates for v4.20 Pulled, Linus

Re: [GIT PULL] KVM updates for Linux 4.20-rc1

2018-10-25 Thread Linus Torvalds
On Wed, Oct 24, 2018 at 4:14 AM Radim Krčmář wrote: > > KVM updates for v4.20 Pulled, Linus

Re: [v3 07/12] x86/fsgsbase/64: Introduce the new FIND_PERCPU_BASE macro

2018-10-25 Thread Nadav Amit
From: Andy Lutomirski Sent: October 26, 2018 at 12:25:17 AM GMT > To: Bae, Chang Seok , Nadav Amit > Cc: Ingo Molnar , Thomas Gleixner , > Andrew Lutomirski , H. Peter Anvin , Andi > Kleen , Dave Hansen , > Metzger, Markus T , Ravi V. Shankar > , LKML > Subject: Re: [v3 07/12]

Re: [v3 07/12] x86/fsgsbase/64: Introduce the new FIND_PERCPU_BASE macro

2018-10-25 Thread Nadav Amit
From: Andy Lutomirski Sent: October 26, 2018 at 12:25:17 AM GMT > To: Bae, Chang Seok , Nadav Amit > Cc: Ingo Molnar , Thomas Gleixner , > Andrew Lutomirski , H. Peter Anvin , Andi > Kleen , Dave Hansen , > Metzger, Markus T , Ravi V. Shankar > , LKML > Subject: Re: [v3 07/12]

Re: [PATCH v4 01/17] remoteproc: configure IOMMU only if device address requested

2018-10-25 Thread Suman Anna
Hi Loic, > >> -Original Message- >> From: Suman Anna >> Sent: mercredi 24 octobre 2018 05:47 >> To: Loic PALLARDY ; bjorn.anders...@linaro.org; >> o...@wizery.com >> Cc: linux-remotep...@vger.kernel.org; linux-kernel@vger.kernel.org; >> Arnaud POULIQUEN ; >> benjamin.gaign...@linaro.org

Re: [PATCH v4 01/17] remoteproc: configure IOMMU only if device address requested

2018-10-25 Thread Suman Anna
Hi Loic, > >> -Original Message- >> From: Suman Anna >> Sent: mercredi 24 octobre 2018 05:47 >> To: Loic PALLARDY ; bjorn.anders...@linaro.org; >> o...@wizery.com >> Cc: linux-remotep...@vger.kernel.org; linux-kernel@vger.kernel.org; >> Arnaud POULIQUEN ; >> benjamin.gaign...@linaro.org

[PATCH 5/6] staging:iio:ad2s90: Add IIO_CHAN_INFO_SCALE to channel spec and read_raw

2018-10-25 Thread Matheus Tavares
From: Victor Colombo This patch adds the IIO_CHAN_INFO_SCALE mask to ad2s90_chan and implements the relative read behavior at ad2s90_read_raw. Signed-off-by: Victor Colombo --- drivers/staging/iio/resolver/ad2s90.c | 32 ++- 1 file changed, 22 insertions(+), 10

[PATCH 6/6] staging:iio:ad2s90: Check channel type at read_raw

2018-10-25 Thread Matheus Tavares
This patch adds a channel type check at the beginning of the ad2s90_read_raw function. Since ad2s90 has only one channel, it just checks if the given channel is the expected one and if not, return -EINVAL. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 3 +++ 1 file

[PATCH 5/6] staging:iio:ad2s90: Add IIO_CHAN_INFO_SCALE to channel spec and read_raw

2018-10-25 Thread Matheus Tavares
From: Victor Colombo This patch adds the IIO_CHAN_INFO_SCALE mask to ad2s90_chan and implements the relative read behavior at ad2s90_read_raw. Signed-off-by: Victor Colombo --- drivers/staging/iio/resolver/ad2s90.c | 32 ++- 1 file changed, 22 insertions(+), 10

[PATCH 6/6] staging:iio:ad2s90: Check channel type at read_raw

2018-10-25 Thread Matheus Tavares
This patch adds a channel type check at the beginning of the ad2s90_read_raw function. Since ad2s90 has only one channel, it just checks if the given channel is the expected one and if not, return -EINVAL. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 3 +++ 1 file

[PATCH 0/6] staging:iio:ad2s90: Add scale info and improve error handling

2018-10-25 Thread Matheus Tavares
This patch set adds scale info to ad2s90's single channel, improve error handling in it's functions and fix a possible race condition issue. The goal with this patch set is to address the points discussed in the mailing list in an effort to move ad2s90.c out of staging. Matheus Tavares (5):

[PATCH 0/6] staging:iio:ad2s90: Add scale info and improve error handling

2018-10-25 Thread Matheus Tavares
This patch set adds scale info to ad2s90's single channel, improve error handling in it's functions and fix a possible race condition issue. The goal with this patch set is to address the points discussed in the mailing list in an effort to move ad2s90.c out of staging. Matheus Tavares (5):

[PATCH 4/6] staging:iio:ad2s90: Move device registration to the end of probe

2018-10-25 Thread Matheus Tavares
Previously, devm_iio_device_register was being called before the spi_setup call and the spi_device's max_speed_hz and mode assignments. This could lead to a race condition since the driver was still being set up after it was already made ready to use. To fix it, this patch moves the device

[PATCH 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-10-25 Thread Matheus Tavares
Previously, when spi_read returned an error code inside ad2s90_read_raw, the code was ignored and IIO_VAL_INT was returned. This patch makes the function return the error code returned by spi_read when it fails. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 9

[PATCH 3/6] staging:iio:ad2s90: Remove always overwritten assignment

2018-10-25 Thread Matheus Tavares
This patch removes an initial assignment to the variable ret at probe, that was always overwritten. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/resolver/ad2s90.c

[PATCH 4/6] staging:iio:ad2s90: Move device registration to the end of probe

2018-10-25 Thread Matheus Tavares
Previously, devm_iio_device_register was being called before the spi_setup call and the spi_device's max_speed_hz and mode assignments. This could lead to a race condition since the driver was still being set up after it was already made ready to use. To fix it, this patch moves the device

[PATCH 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-10-25 Thread Matheus Tavares
Previously, when spi_read returned an error code inside ad2s90_read_raw, the code was ignored and IIO_VAL_INT was returned. This patch makes the function return the error code returned by spi_read when it fails. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 9

[PATCH 3/6] staging:iio:ad2s90: Remove always overwritten assignment

2018-10-25 Thread Matheus Tavares
This patch removes an initial assignment to the variable ret at probe, that was always overwritten. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/resolver/ad2s90.c

[PATCH 2/6] staging:iio:ad2s90: Make probe handle spi_setup failure

2018-10-25 Thread Matheus Tavares
Previously, ad2s90_probe ignored the return code from spi_setup, not handling its possible failure. This patch makes ad2s90_probe check if the code is an error code and, if so, do the following: - Call dev_err with an appropriate error message. - Return the spi_setup's error code, aborting the

[PATCH 2/6] staging:iio:ad2s90: Make probe handle spi_setup failure

2018-10-25 Thread Matheus Tavares
Previously, ad2s90_probe ignored the return code from spi_setup, not handling its possible failure. This patch makes ad2s90_probe check if the code is an error code and, if so, do the following: - Call dev_err with an appropriate error message. - Return the spi_setup's error code, aborting the

Re: [PATCH RFC v2 1/1] hugetlbfs: use i_mmap_rwsem for pmd sharing and truncate/fault sync

2018-10-25 Thread Naoya Horiguchi
Hi Mike, On Tue, Oct 23, 2018 at 09:50:53PM -0700, Mike Kravetz wrote: > hugetlbfs does not correctly handle page faults racing with truncation. > In addition, shared pmds can cause additional issues. > > Without pmd sharing, issues can occur as follows: > A huegtlbfs file is mmap(MAP_SHARED)

Re: [PATCH RFC v2 1/1] hugetlbfs: use i_mmap_rwsem for pmd sharing and truncate/fault sync

2018-10-25 Thread Naoya Horiguchi
Hi Mike, On Tue, Oct 23, 2018 at 09:50:53PM -0700, Mike Kravetz wrote: > hugetlbfs does not correctly handle page faults racing with truncation. > In addition, shared pmds can cause additional issues. > > Without pmd sharing, issues can occur as follows: > A huegtlbfs file is mmap(MAP_SHARED)

Re: [v3 07/12] x86/fsgsbase/64: Introduce the new FIND_PERCPU_BASE macro

2018-10-25 Thread Andy Lutomirski
On Tue, Oct 23, 2018 at 11:43 AM Chang S. Bae wrote: > > GSBASE is used to find per-CPU data in the kernel. But when it is unknown, > the per-CPU base can be found from the per_cpu_offset table with a CPU NR. > The CPU NR is extracted from the limit field of the CPUNODE entry in GDT, > or by the

Re: [v3 07/12] x86/fsgsbase/64: Introduce the new FIND_PERCPU_BASE macro

2018-10-25 Thread Andy Lutomirski
On Tue, Oct 23, 2018 at 11:43 AM Chang S. Bae wrote: > > GSBASE is used to find per-CPU data in the kernel. But when it is unknown, > the per-CPU base can be found from the per_cpu_offset table with a CPU NR. > The CPU NR is extracted from the limit field of the CPUNODE entry in GDT, > or by the

Re: [GIT PULL] cgroup changes for v4.20-rc1

2018-10-25 Thread Linus Torvalds
On Thu, Oct 25, 2018 at 7:40 AM Tejun Heo wrote: > > All trivial changes - simplification, typo fix and adding > cond_resched() in a netclassid update loop. Thanks, pulled, Linus

Re: [GIT PULL] cgroup changes for v4.20-rc1

2018-10-25 Thread Linus Torvalds
On Thu, Oct 25, 2018 at 7:40 AM Tejun Heo wrote: > > All trivial changes - simplification, typo fix and adding > cond_resched() in a netclassid update loop. Thanks, pulled, Linus

Re: [GIT PULL] printk for 4.20

2018-10-25 Thread Linus Torvalds
On Wed, Oct 24, 2018 at 6:48 AM Petr Mladek wrote: > > please pull the latest printk changes [...] Pulled, Linus

Re: [GIT PULL] printk for 4.20

2018-10-25 Thread Linus Torvalds
On Wed, Oct 24, 2018 at 6:48 AM Petr Mladek wrote: > > please pull the latest printk changes [...] Pulled, Linus

RE: [PATCH] spi: uniphier: fix incorrect property items

2018-10-25 Thread Keiji Hayashibara
Hello Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Friday, October 26, 2018 4:59 AM > To: Hayashibara, Keiji/林原 啓二 > Cc: broo...@kernel.org; mark.rutl...@arm.com; Yamada, Masahiro/山田 真弘 > ; > linux-...@vger.kernel.org;

RE: [PATCH] spi: uniphier: fix incorrect property items

2018-10-25 Thread Keiji Hayashibara
Hello Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Friday, October 26, 2018 4:59 AM > To: Hayashibara, Keiji/林原 啓二 > Cc: broo...@kernel.org; mark.rutl...@arm.com; Yamada, Masahiro/山田 真弘 > ; > linux-...@vger.kernel.org;

Re: [v3 03/12] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

2018-10-25 Thread Andy Lutomirski
On Thu, Oct 25, 2018 at 4:31 PM Linus Torvalds wrote: > > On Thu, Oct 25, 2018 at 4:14 PM Andy Lutomirski wrote: > > > > On Wed, Oct 24, 2018 at 12:21 PM Andi Kleen wrote: > > > > > > BTW the other option would be to update the min-binutils requirement > > > to 2.21 (currently it is 2.20) and

Re: [v3 03/12] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

2018-10-25 Thread Andy Lutomirski
On Thu, Oct 25, 2018 at 4:31 PM Linus Torvalds wrote: > > On Thu, Oct 25, 2018 at 4:14 PM Andy Lutomirski wrote: > > > > On Wed, Oct 24, 2018 at 12:21 PM Andi Kleen wrote: > > > > > > BTW the other option would be to update the min-binutils requirement > > > to 2.21 (currently it is 2.20) and

Re: [PATCH v2] x86/microcode: Handle negative microcode revisions

2018-10-25 Thread Andi Kleen
On Sat, Oct 20, 2018 at 07:41:36PM +0200, Borislav Petkov wrote: > Dropping stable. > > On Sat, Oct 20, 2018 at 07:41:58AM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > The Intel microcode revision space is unsigned. Inside Intel there are > > special > > microcodes that have the

[PATCH v4 3/5] hwmon: (ina3221) Serialize sysfs ABI accesses

2018-10-25 Thread Nicolin Chen
This change adds a mutex to serialize accesses of sysfs attributes. This is required when polling CVRF bit of the MASK/ENABLE register because this bit is cleared on a read of this MASK/ENABLE register or a write to CONFIG register, which means that this bit might be accidentally cleared by

[PATCH v4 2/5] hwmon: (ina3221) Check channel status for alarms attribute read

2018-10-25 Thread Nicolin Chen
There is nothing critically wrong to read these two attributes without having a is_enabled() check at this point. But reading the MASK_ENABLE register would clear the CVRF bit according to the datasheet. So it'd be safer to fence for disabled channels in order to add pm runtime feature.

Re: [PATCH v2] x86/microcode: Handle negative microcode revisions

2018-10-25 Thread Andi Kleen
On Sat, Oct 20, 2018 at 07:41:36PM +0200, Borislav Petkov wrote: > Dropping stable. > > On Sat, Oct 20, 2018 at 07:41:58AM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > The Intel microcode revision space is unsigned. Inside Intel there are > > special > > microcodes that have the

[PATCH v4 3/5] hwmon: (ina3221) Serialize sysfs ABI accesses

2018-10-25 Thread Nicolin Chen
This change adds a mutex to serialize accesses of sysfs attributes. This is required when polling CVRF bit of the MASK/ENABLE register because this bit is cleared on a read of this MASK/ENABLE register or a write to CONFIG register, which means that this bit might be accidentally cleared by

[PATCH v4 2/5] hwmon: (ina3221) Check channel status for alarms attribute read

2018-10-25 Thread Nicolin Chen
There is nothing critically wrong to read these two attributes without having a is_enabled() check at this point. But reading the MASK_ENABLE register would clear the CVRF bit according to the datasheet. So it'd be safer to fence for disabled channels in order to add pm runtime feature.

[PATCH v4 2/2] perf/x86/kvm: Avoid unnecessary work in guest filtering

2018-10-25 Thread Andi Kleen
From: Andi Kleen KVM added a workaround for PEBS events leaking into guests with 26a4f3c08de4 ("perf/x86: disable PEBS on a guest entry.") This uses the VT entry/exit list to add an extra disable of the PEBS_ENABLE MSR. Intel also added a fix for this issue to microcode updates on

[PATCH v4 1/2] x86/cpufeature: Add facility to match microcode revisions

2018-10-25 Thread Andi Kleen
From: Andi Kleen For bug workarounds or checks it is useful to check for specific microcode revisionss. Add a new table format to check for steppings with min microcode revisions. This does not change the existing x86_cpu_id because it's an ABI shared with modutils, and also has quite different

[PATCH v4 2/2] perf/x86/kvm: Avoid unnecessary work in guest filtering

2018-10-25 Thread Andi Kleen
From: Andi Kleen KVM added a workaround for PEBS events leaking into guests with 26a4f3c08de4 ("perf/x86: disable PEBS on a guest entry.") This uses the VT entry/exit list to add an extra disable of the PEBS_ENABLE MSR. Intel also added a fix for this issue to microcode updates on

[PATCH v4 1/2] x86/cpufeature: Add facility to match microcode revisions

2018-10-25 Thread Andi Kleen
From: Andi Kleen For bug workarounds or checks it is useful to check for specific microcode revisionss. Add a new table format to check for steppings with min microcode revisions. This does not change the existing x86_cpu_id because it's an ABI shared with modutils, and also has quite different

Re: The linux devs can rescind their license grant.

2018-10-25 Thread Iván Chavero
El jue, 25-10-2018 a las 16:47 -0400, Theodore Y. Ts'o escribió: > On Thu, Oct 25, 2018 at 03:39:01PM -0400, Eric S. Raymond wrote: > > > > Under Jacobsen vs. Katzer (535 f 3d 1373 fed cir 2008) authors of > > GPLed software have a specific right to relief (including > > injunctive > > relief)

Re: The linux devs can rescind their license grant.

2018-10-25 Thread Iván Chavero
El jue, 25-10-2018 a las 16:47 -0400, Theodore Y. Ts'o escribió: > On Thu, Oct 25, 2018 at 03:39:01PM -0400, Eric S. Raymond wrote: > > > > Under Jacobsen vs. Katzer (535 f 3d 1373 fed cir 2008) authors of > > GPLed software have a specific right to relief (including > > injunctive > > relief)

Re: [v3 03/12] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

2018-10-25 Thread Linus Torvalds
On Thu, Oct 25, 2018 at 4:14 PM Andy Lutomirski wrote: > > On Wed, Oct 24, 2018 at 12:21 PM Andi Kleen wrote: > > > > BTW the other option would be to update the min-binutils requirement > > to 2.21 (currently it is 2.20) and then write it directly without .byte. > > I believe 2.21 added support

Re: [v3 03/12] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

2018-10-25 Thread Linus Torvalds
On Thu, Oct 25, 2018 at 4:14 PM Andy Lutomirski wrote: > > On Wed, Oct 24, 2018 at 12:21 PM Andi Kleen wrote: > > > > BTW the other option would be to update the min-binutils requirement > > to 2.21 (currently it is 2.20) and then write it directly without .byte. > > I believe 2.21 added support

Re: [PATCH v2 1/2] x86/cpufeature: Add facility to match microcode revisions

2018-10-25 Thread Andi Kleen
On Sun, Oct 21, 2018 at 12:20:47PM +0200, Thomas Gleixner wrote: > Andi, > > On Sat, 20 Oct 2018, Andi Kleen wrote: > > On Sat, Oct 20, 2018 at 10:19:37AM +0200, Thomas Gleixner wrote: > > > On Fri, 19 Oct 2018, Andi Kleen wrote: > > > There is no point to return the pointer because it's not a

Re: [PATCH v2 1/2] x86/cpufeature: Add facility to match microcode revisions

2018-10-25 Thread Andi Kleen
On Sun, Oct 21, 2018 at 12:20:47PM +0200, Thomas Gleixner wrote: > Andi, > > On Sat, 20 Oct 2018, Andi Kleen wrote: > > On Sat, Oct 20, 2018 at 10:19:37AM +0200, Thomas Gleixner wrote: > > > On Fri, 19 Oct 2018, Andi Kleen wrote: > > > There is no point to return the pointer because it's not a

Re: [v3 03/12] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

2018-10-25 Thread Andy Lutomirski
On Wed, Oct 24, 2018 at 12:21 PM Andi Kleen wrote: > > On Wed, Oct 24, 2018 at 11:53:54AM -0700, Andy Lutomirski wrote: > > On Tue, Oct 23, 2018 at 11:43 AM Chang S. Bae > > wrote: > > > > > > From: Andi Kleen > > > > > > Add C intrinsics and assembler macros for the new FSBASE and GSBASE > >

Re: [v3 03/12] x86/fsgsbase/64: Add intrinsics/macros for FSGSBASE instructions

2018-10-25 Thread Andy Lutomirski
On Wed, Oct 24, 2018 at 12:21 PM Andi Kleen wrote: > > On Wed, Oct 24, 2018 at 11:53:54AM -0700, Andy Lutomirski wrote: > > On Tue, Oct 23, 2018 at 11:43 AM Chang S. Bae > > wrote: > > > > > > From: Andi Kleen > > > > > > Add C intrinsics and assembler macros for the new FSBASE and GSBASE > >

[PATCH v2 2/8] selftests/resctrl: Add basic resctrl file system operations and data

2018-10-25 Thread Fenghua Yu
From: Sai Praneeth Prakhya The basic resctrl file system operations and data are added for future usage by resctrl selftest tool. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/Makefile| 10 +

[PATCH v2 2/8] selftests/resctrl: Add basic resctrl file system operations and data

2018-10-25 Thread Fenghua Yu
From: Sai Praneeth Prakhya The basic resctrl file system operations and data are added for future usage by resctrl selftest tool. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/Makefile| 10 +

[PATCH v2 4/8] selftests/resctrl: Add callback to start a benchmark

2018-10-25 Thread Fenghua Yu
From: Sai Praneeth Prakhya The callback starts a child process and puts the child pid in created resctrl group with specified memory bandwidth in schemata. The child starts running benchmark. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu

[PATCH v2 1/8] selftests/resctrl: Add README for resctrl tests

2018-10-25 Thread Fenghua Yu
resctrl tests will be implemented. README is added for the tool first. Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/README | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 tools/testing/selftests/resctrl/README diff --git

[PATCH v2 5/8] selftests/resctrl: Add built in benchmark

2018-10-25 Thread Fenghua Yu
From: Sai Praneeth Prakhya Built-in benchmark fill_buf generates stressful memory bandwidth and cache traffic. Later it will be used as a default benchmark by various resctrl tests such as MBA (Memory Bandwidth Allocation) and MBM (Memory Bandwidth Monitoring) tests. Signed-off-by: Sai

[PATCH v2 4/8] selftests/resctrl: Add callback to start a benchmark

2018-10-25 Thread Fenghua Yu
From: Sai Praneeth Prakhya The callback starts a child process and puts the child pid in created resctrl group with specified memory bandwidth in schemata. The child starts running benchmark. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu

[PATCH v2 1/8] selftests/resctrl: Add README for resctrl tests

2018-10-25 Thread Fenghua Yu
resctrl tests will be implemented. README is added for the tool first. Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/README | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 tools/testing/selftests/resctrl/README diff --git

[PATCH v2 5/8] selftests/resctrl: Add built in benchmark

2018-10-25 Thread Fenghua Yu
From: Sai Praneeth Prakhya Built-in benchmark fill_buf generates stressful memory bandwidth and cache traffic. Later it will be used as a default benchmark by various resctrl tests such as MBA (Memory Bandwidth Allocation) and MBM (Memory Bandwidth Monitoring) tests. Signed-off-by: Sai

[PATCH v2 8/8] selftests/resctrl: Add the test in MAINTAINERS

2018-10-25 Thread Fenghua Yu
The resctrl selftests will be maintained by RDT maintainers. Signed-off-by: Fenghua Yu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 48a65c3a4189..ecd1369ef761 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12270,6 +12270,7 @@ S:

[PATCH v2 8/8] selftests/resctrl: Add the test in MAINTAINERS

2018-10-25 Thread Fenghua Yu
The resctrl selftests will be maintained by RDT maintainers. Signed-off-by: Fenghua Yu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 48a65c3a4189..ecd1369ef761 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12270,6 +12270,7 @@ S:

  1   2   3   4   5   6   7   8   9   10   >