Re: [PATCH v6 3/6] can: m_can: Add PM Runtime

2018-01-03 Thread Faiz Abbas
Hi, On Tuesday 02 January 2018 09:37 PM, Marc Kleine-Budde wrote: > On 12/22/2017 02:31 PM, Faiz Abbas wrote: >> From: Franklin S Cooper Jr >> >> Add support for PM Runtime which is the new way to handle managing clocks. >> However, to avoid breaking SoCs not using PM_RUNTIME leave the old clk >>

Re: Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread Julia Lawall
On Wed, 3 Jan 2018, SF Markus Elfring wrote: > >> How would you like to express the provided functionality in a > >> “permanent” file name? > > > > I have not idea what a permanent file name is. > > Are you used to the selection of permalinks? > > > > The current name could be better without the

Re: [PATCH v2] iio: adc: max9611: fix module auto-loading

2018-01-03 Thread Dmitry Mastykin
On Mon, Jan 1, 2018 at 12:53 PM, Jonathan Cameron wrote: > Not that I can see. They are a straight swap in drivers/i2c/i2c-core-base.c > presumably intended to drop the parameter that is unused in the devicetree > and acpi cases. > > This isn't an area I know that much about so I've just played

Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64

2018-01-03 Thread Borislav Petkov
On Wed, Jan 03, 2018 at 11:16:48AM +0200, Meelis Roos wrote: > ---[ ESPfix Area ]--- > 0xff00-0xff18 96G >pud > 0xff18-0xff189000 36K >pte > 0xff189000-0xff18000

Re: [PATCH 1/1] base: power: runtime: Export pm_runtime_get/put_suppliers

2018-01-03 Thread Vivek Gautam
Hi Rafael, On Wed, Jan 3, 2018 at 5:31 PM, Rafael J. Wysocki wrote: > On Friday, December 8, 2017 6:03:37 PM CET Vivek Gautam wrote: >> On Fri, Dec 8, 2017 at 7:37 PM, Rafael J. Wysocki wrote: >> > On Fri, Dec 8, 2017 at 2:39 PM, Vivek Gautam >> > wrote: >> >> Hi Greg, >> >> >> >> >> >> On Fri,

Re: [PATCH] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread Matt Fleming
On Wed, 03 Jan, at 10:13:55AM, Ard Biesheuvel wrote: > On 3 January 2018 at 09:44, Matt Fleming wrote: > > Instate Ard Biesheuvel as the sole EFI maintainer and leave other folks > > as maintainers for the EFI test driver and efivarfs file system. > > > > Signed-off-by: Matt Fleming > > Acked-by

Re: [PATCH V4 01/26] alpha/PCI: deprecate pci_get_bus_and_slot()

2018-01-03 Thread Sinan Kaya
On 12/19/2017 12:37 AM, Sinan Kaya wrote: > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > where a PCI device is present. This restricts the device drivers to be > reused for other domain numbers. > > Use pci_get_domain_bus_and_slot() with a domain number of 0 where we ca

Re: [PATCH V4 05/26] agp: nvidia: deprecate pci_get_bus_and_slot()

2018-01-03 Thread Sinan Kaya
On 12/19/2017 12:37 AM, Sinan Kaya wrote: > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > where a PCI device is present. This restricts the device drivers to be > reused for other domain numbers. > > Getting ready to remove pci_get_bus_and_slot() function in favor of > p

Re: Coccinelle: Rename the script for a transformation of memory allocations

2018-01-03 Thread SF Markus Elfring
>> Would you insist to replace such “special characters” by dashes or >> underscores? > > Yes. But I will also nack any very long name. Will any other artificial identifier become appropriate if it would be too hard to achieve consensus on a more meaningful description in the file name? Regard

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2018-01-03 Thread Andrew Lunn
> I already agreed with 'reg' being awkward in the later emails. > Wouldn't _ADR be more appropriate to specify PHY address on MDIO bus? Also, how do you specify which MDIO bus the PHY is on. To fully specify a PHY, you need both bits of information. In DT, the phy-handle phandle can point to any

Re: [v3 PATCH 2/3] powernv-cpufreq: Fix pstate_to_idx() to handle non-continguous pstates

2018-01-03 Thread Balbir Singh
On Wed, Jan 3, 2018 at 11:07 PM, Rafael J. Wysocki wrote: > On Monday, December 18, 2017 9:38:20 AM CET Gautham R Shenoy wrote: >> Hi Balbir, >> >> On Sun, Dec 17, 2017 at 02:15:25PM +1100, Balbir Singh wrote: >> > On Wed, Dec 13, 2017 at 5:57 PM, Gautham R. Shenoy >> > wrote: >> > > From: "Gauth

Re: [PATCH V4 06/26] edd: deprecate pci_get_bus_and_slot()

2018-01-03 Thread Sinan Kaya
On 12/19/2017 12:37 AM, Sinan Kaya wrote: > pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as > where a PCI device is present. This restricts the device drivers to be > reused for other domain numbers. > > Getting ready to remove pci_get_bus_and_slot() function in favor of > p

Re: [PATCH] pinctrl: mcp23s08: fix irq setup order

2018-01-03 Thread Dmitry Mastykin
On Tue, Jan 2, 2018 at 12:10 PM, Linus Walleij wrote: > > Patch applied, albeit for devel. > > Should it be tagged for stable or go into fixes? > Thank you very much, Linus! About tags, please do as it convenient for you. Kind regards, Dmitry > On Thu, Dec 28, 2017 at 4:19 PM, Dmitry Mastykin w

Re: [PATCH] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread Ingo Molnar
* Matt Fleming wrote: > On Wed, 03 Jan, at 10:13:55AM, Ard Biesheuvel wrote: > > On 3 January 2018 at 09:44, Matt Fleming wrote: > > > Instate Ard Biesheuvel as the sole EFI maintainer and leave other folks > > > as maintainers for the EFI test driver and efivarfs file system. > > > > > > Signe

Re: [PATCH V2] mfd: rtsx: release IRQ during shutdown

2018-01-03 Thread Rafael J. Wysocki
On Wed, Jan 3, 2018 at 1:32 PM, Sinan Kaya wrote: > 'Commit cc27b735ad3a ("PCI/portdrv: Turn off PCIe services during > shutdown")' revealed a resource leak in rtsx_pci driver during shutdown. > > Issue shows up as a warning during shutdown as follows: > > remove_proc_entry: removing non-empty dir

Re: [PATCH v6 4/6] can: m_can: Support higher speed CAN-FD bitrates

2018-01-03 Thread Faiz Abbas
Hi, On Tuesday 02 January 2018 07:05 PM, Marc Kleine-Budde wrote: > On 12/22/2017 02:31 PM, Faiz Abbas wrote: >> From: Franklin S Cooper Jr >> >> During test transmitting using CAN-FD at high bitrates (> 2 Mbps) >> would fail. Scoping the signals I noticed that only a single bit >> was being tran

Re: [PATCH] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread Ard Biesheuvel
On 3 January 2018 at 12:50, Ingo Molnar wrote: > > * Matt Fleming wrote: > >> On Wed, 03 Jan, at 10:13:55AM, Ard Biesheuvel wrote: >> > On 3 January 2018 at 09:44, Matt Fleming wrote: >> > > Instate Ard Biesheuvel as the sole EFI maintainer and leave other folks >> > > as maintainers for the EFI

Re: [PATCHv1 2/6] net: dsa: mv88e6xxx: add 88E6240 DT compatible

2018-01-03 Thread Andrew Lunn
On Wed, Jan 03, 2018 at 01:26:05PM +0100, Sebastian Reichel wrote: > Add compatible for Marvell 88E6240 switch. > > Signed-off-by: Sebastian Reichel > --- > Documentation/devicetree/bindings/net/dsa/marvell.txt | 6 -- > drivers/net/dsa/mv88e6xxx/chip.c | 4 > 2 fil

Re: Linux 4.15-rc6

2018-01-03 Thread Willy Tarreau
On Tue, Jan 02, 2018 at 01:09:13PM -0800, Linus Torvalds wrote: > On Tue, Jan 2, 2018 at 12:28 PM, Andres Freund wrote: > > > > I thought it'd be interesting to run a short benchmark to be able to > > estimate the impact of the PTI work on postgres workloads (which I work > > on). On my skylake la

Re: [PATCH 0/3] update compatible string for ILI9225

2018-01-03 Thread Noralf Trønnes
Den 21.12.2017 19.33, skrev David Lechner: This updates the device tree compatible string for an ILI9225 display. Detailed explanation is in the patches. David Lechner (3): dt-bindings: Add "vot" vendor prefix dt-bindings: update compatible string for ILI9225 drm/tinydrm: Update ILI922

Re: [PATCH v4 3/3] drm/tinydrm: add driver for ST7735R panels

2018-01-03 Thread Noralf Trønnes
Den 02.01.2018 10.42, skrev Linus Walleij: On Mon, Jan 1, 2018 at 8:02 PM, David Lechner wrote: This adds a new driver for Sitronix ST7735R display panels. This has been tested using an Adafruit 1.8" TFT. Signed-off-by: David Lechner Reviewed-by: Noralf Trønnes Reviewed-by: Linus Walleij

Re: [PATCH] MAINTAINERS: Remove Matt Fleming as EFI co-maintainer

2018-01-03 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On 3 January 2018 at 12:50, Ingo Molnar wrote: > > > > * Matt Fleming wrote: > > > >> On Wed, 03 Jan, at 10:13:55AM, Ard Biesheuvel wrote: > >> > On 3 January 2018 at 09:44, Matt Fleming > >> > wrote: > >> > > Instate Ard Biesheuvel as the sole EFI maintainer and le

Re: [PATCH v5] x86/microcode/intel: Blacklist the specific BDW-EP for late loading

2018-01-03 Thread Borislav Petkov
On Tue, Jan 02, 2018 at 11:24:18AM -0800, Luck, Tony wrote: > Should there be a "Cc: stable ..." in there? > > The original patch that disables for all broadwell > seems to be geting applied to a bunch of older trees, > I think we want this one to chase after it. > > Perhaps a > > Fixes: 723f282

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2018-01-03 Thread Marcin Wojtas
Hi Andrew, 2018-01-03 13:47 GMT+01:00 Andrew Lunn : >> I already agreed with 'reg' being awkward in the later emails. >> Wouldn't _ADR be more appropriate to specify PHY address on MDIO bus? > > Also, how do you specify which MDIO bus the PHY is on. To fully > specify a PHY, you need both bits of

RE: [PATCH v2 2/4] remoteproc: Rename "load_rsc_table" to "parse_fw"

2018-01-03 Thread Loic PALLARDY
> -Original Message- > From: linux-remoteproc-ow...@vger.kernel.org [mailto:linux-remoteproc- > ow...@vger.kernel.org] On Behalf Of Loic PALLARDY > Sent: Wednesday, January 03, 2018 11:27 AM > To: Bjorn Andersson ; Ohad Ben-Cohen > > Cc: linux-remotep...@vger.kernel.org; linux-kernel@vge

Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64

2018-01-03 Thread Thomas Gleixner
On Wed, 3 Jan 2018, Borislav Petkov wrote: > On Wed, Jan 03, 2018 at 11:16:48AM +0200, Meelis Roos wrote: > > ---[ ESPfix Area ]--- > > 0xff00-0xff18 96G > > pud > > 0xff18-0xff189000 36K

Re: [GIT PULL rcu/next] RCU commits for 4.15

2018-01-03 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, and Happy New Year! Happy new year to you too Paul! > This pull request contains the following changes: > > 1.Updates to use cond_resched() instead of cond_resched_rcu_qs() > where feasible (currently everywhere except in kernel/rcu and >

Re: [PATCHv1 1/6] net: dsa: Support internal phy on 'cpu' port

2018-01-03 Thread Andrew Lunn
On Wed, Jan 03, 2018 at 01:26:04PM +0100, Sebastian Reichel wrote: > This adds support for enabling the internal phy for a 'cpu' port. > It has been tested on GE B850v3 and B650v3, which have a built-in > MV88E6240 switch connected to a PCIe based network card. Without > this patch the link does no

Re: CONFIG_PAGE_TABLE_ISOLATION=y on x86_64 causes gcc to segfault when building x86_32 binaries

2018-01-03 Thread Lars Wendler
Am Wed, 3 Jan 2018 13:05:38 +0100 (CET) schrieb Thomas Gleixner : > On Wed, 3 Jan 2018, Thomas Gleixner wrote: > > On Wed, 3 Jan 2018, Lars Wendler wrote: > > Thanks for the report. > > > > > I already had a conversation with Thomas Gleixner about this > > > issue and he asked me to post it her

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2018-01-03 Thread Andrew Lunn
On Wed, Jan 03, 2018 at 02:13:09PM +0100, Marcin Wojtas wrote: > Hi Andrew, > > 2018-01-03 13:47 GMT+01:00 Andrew Lunn : > >> I already agreed with 'reg' being awkward in the later emails. > >> Wouldn't _ADR be more appropriate to specify PHY address on MDIO bus? > > > > Also, how do you specify w

[PATCH v2 02/27] staging: ccree: fold hash defs into queue defs

2018-01-03 Thread Gilad Ben-Yossef
Fold the two remaining enum in hash defs into the queue defs that are using them and delete the hash defs include file. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 13 + drivers/staging/ccree/hash_defs.h| 23 --- drivers/

[PATCH v2 01/27] staging: ccree: SPDXify driver

2018-01-03 Thread Gilad Ben-Yossef
Replace verbatim GPL v2 copy with SPDX tag. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/Kconfig| 2 ++ drivers/staging/ccree/Makefile | 2 ++ drivers/staging/ccree/cc_crypto_ctx.h| 17 ++--- drivers/staging/ccree/cc_debugfs.c | 17 ++---

[PATCH v2 00/27] staging: ccree: fixes and cleanups

2018-01-03 Thread Gilad Ben-Yossef
The usual combo of code cleanups and fixes. The highlights are: - Use SPDX for all driver copyright/license - Make ccree compliant with crypto API handling of backlog requests - Make ccree compliant with Crypto API rules of resource alloc/release - Settle on a single coherent file naming conventio

[PATCH v2 03/27] staging: ccree: fold reg common defines into driver

2018-01-03 Thread Gilad Ben-Yossef
Fold the 2 macro defined in dx_reg_common.h into the file they are used in and delete the file. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_crypto_ctx.h | 4 ++-- drivers/staging/ccree/dx_reg_common.h | 13 - drivers/staging/ccree/ssi_driver.h| 5 +++-- 3 files

Re: [kernel-hardening] [PATCH] arm: kernel: implement fast refcount checking

2018-01-03 Thread Jinbum Park
>> This is a nice result. However, without any insight into the presence >> of actual refcount hot spots, it is not obvious that we need this >> patch. This is the reason we ended up enabling CONFIG_REFCOUNT_FULL >> for arm64. I will let others comment on whether we want this patch in >> the first

[PATCH v2 04/27] staging: ccree: remove GFP_DMA flag from mem allocs

2018-01-03 Thread Gilad Ben-Yossef
Remove bogus GFP_DMA flag from memory allocations. ccree driver does not operate over an ISA or similar limited bus. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_cipher.c | 2 +- drivers/staging/ccree/ssi_hash.c | 15 ++- 2 files changed, 7 insertions(+), 10 delet

Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support

2018-01-03 Thread Marcin Wojtas
2018-01-03 14:33 GMT+01:00 Andrew Lunn : > On Wed, Jan 03, 2018 at 02:13:09PM +0100, Marcin Wojtas wrote: >> Hi Andrew, >> >> 2018-01-03 13:47 GMT+01:00 Andrew Lunn : >> >> I already agreed with 'reg' being awkward in the later emails. >> >> Wouldn't _ADR be more appropriate to specify PHY address

[PATCH v2 05/27] staging: ccree: pick alloc mem flags based on req flags

2018-01-03 Thread Gilad Ben-Yossef
The ccree driver was allocating memory using GFP_KERNEL flag always, ignoring the flags set in the crypto request. Fix it by choosing gfp flags based on crypto request flags. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 19 +++-- drivers/staging/ccree/ssi_

[PATCH v2 06/27] staging: ccree: copy larval digest from RAM

2018-01-03 Thread Gilad Ben-Yossef
The ccree driver was using a DMA operation to copy larval digest from the ccree SRAM to RAM. Replace it with a simple memcpy. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_driver.c | 2 + drivers/staging/ccree/ssi_hash.c | 121 - drivers/st

[PATCH v2 07/27] staging: ccree: tag debugfs init/exit func properly

2018-01-03 Thread Gilad Ben-Yossef
The debugfs global init and exit functions were missing __init and __exit tags, potentially wasting memory. Fix it by properly tagging them. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stag

[PATCH v2 08/27] staging: ccree: remove unused leftover field

2018-01-03 Thread Gilad Ben-Yossef
Remove the unused monitor_desc field. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index ac6846f..18e2e1d 100644 --- a/drivers/stag

[PATCH v2 12/27] staging: ccree: failing the suspend is not an error

2018-01-03 Thread Gilad Ben-Yossef
PM suspend returning a none zero value is not an error. It simply indicates a suspend is not advised right now so don't treat it as an error. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/dri

[PATCH v2 09/27] staging: ccree: break send_request and fix ret val

2018-01-03 Thread Gilad Ben-Yossef
The send_request() function was handling both synchronous and asynchronous invocations, but were not handling the asynchronous case, which may be called in an atomic context, properly as it was sleeping. Start to fix the problem by breaking up the two use cases to separate functions calling a comm

[PATCH v2 10/27] staging: ccree: add backlog processing

2018-01-03 Thread Gilad Ben-Yossef
Crypto API tfm providers are required to provide a backlog service, if so indicated, that queues up requests in the case of the provider being busy and processing them later. The ccree driver did not provide this facility. Add it now. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ss

[PATCH v2 13/27] staging: ccree: check DMA pool buf !NULL before free

2018-01-03 Thread Gilad Ben-Yossef
If we ran out of DMA pool buffers, we get into the unmap code path with a NULL before. Deal with this by checking the virtual mapping is not NULL. Cc: sta...@vger.kernel.org Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 del

[PATCH v2 14/27] staging: ccree: handle end of sg list gracefully

2018-01-03 Thread Gilad Ben-Yossef
If we are asked for number of entries of an offset bigger than the sg list we should not crash. Cc: sta...@vger.kernel.org Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_buffer_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_buff

[PATCH v2 11/27] stating: ccree: revert "staging: ccree: fix leak of import() after init()"

2018-01-03 Thread Gilad Ben-Yossef
This reverts commit c5f39d07860c ("staging: ccree: fix leak of import() after init()") and commit aece09024414 ("staging: ccree: Uninitialized return in ssi_ahash_import()"). This is the wrong solution and ends up relying on uninitialized memory, although it was not obvious to me at the time. Cc:

[PATCH v2 15/27] staging: ccree: use Makefile to include PM code

2018-01-03 Thread Gilad Ben-Yossef
Replace ugly ifdefs with some inline macros and Makefile magic for optionally including power management related code for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/Makefile | 3 ++- drivers/staging/ccree/ssi_pm.c | 9 +--- drivers/stagi

[PATCH v2 17/27] staging: ccree: use array for double buffer

2018-01-03 Thread Gilad Ben-Yossef
The ccree hash code is using a double buffer to hold data for processing but manages the buffers and their associated data count in two separate fields and uses a predicate to chose which to use. Move to using a proper 2 members array for a much cleaner code. Signed-off-by: Gilad Ben-Yossef ---

[PATCH v2 18/27] staging: ccree: allocate hash bufs inside req ctx

2018-01-03 Thread Gilad Ben-Yossef
Move to allocating the buffers needed for requests as part of the request structure instead of malloc'ing each one on it's own, making for simpler (and more efficient) code. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 68 driver

[PATCH v2 16/27] staging: ccree: remove unused field

2018-01-03 Thread Gilad Ben-Yossef
Remove unused struct field. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi_hash.c index e05c87d..4e11b5d 100644 --- a/drivers/staging/ccree/ssi_hash.c +++ b/drive

[PATCH v2 19/27] staging: ccree: do not map bufs in ahash_init

2018-01-03 Thread Gilad Ben-Yossef
hash_init was mapping DMA memory that were then being unmap in hash_digest/final/finup callbacks, which is against the Crypto API usage rules (see discussion at https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg30077.html) Fix it by moving all buffer mapping/unmapping or each Crypto API

Re: [PATCH] i2c: fix ACPI_I2C_OPREGION dependency

2018-01-03 Thread Sinan Kaya
On 1/2/2018 1:19 PM, Sinan Kaya wrote: > On 1/2/2018 1:10 PM, Randy Dunlap wrote: config ACPI_I2C_OPREGION bool "ACPI I2C Operation region support" - depends on I2C=y && ACPI + depends on I2C && ACPI default y help Say Y here if you want to enable

[PATCH v2 21/27] staging: ccree: fold common code into service func

2018-01-03 Thread Gilad Ben-Yossef
Fold common code in hash call into service functions. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 339 ++- 1 file changed, 116 insertions(+), 223 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/drivers/staging/ccree/ssi

[PATCH v2 22/27] staging: ccree: put pointer next to var name

2018-01-03 Thread Gilad Ben-Yossef
Put pointer next to var name as per coding style. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index 01f4756..8237

[PATCH v2 23/27] stating: ccree: fix allocation of void sized buf

2018-01-03 Thread Gilad Ben-Yossef
We were allocating buffers using sizeof(*struct->field) where field was type void. Fix it by having a local variable with the real type. Cc: sta...@vger.kernel.org Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_ivgen.c| 9 - drivers/staging/ccree/ssi_sram_mgr.c | 9 ++

[PATCH v2 26/27] staging: ccree: update TODO

2018-01-03 Thread Gilad Ben-Yossef
Update TODO to reflect work done Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccree/TODO b/drivers/staging/ccree/TODO index 6d8702b..b8e163d 100644 --- a/drivers/staging/ccree/TODO +++ b/drivers

[PATCH v2 27/27] staging: ccree: add missing include

2018-01-03 Thread Gilad Ben-Yossef
Add the missing include of include file with function declarations. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/ccree/cc_debugfs.c b/drivers/staging/ccree/cc_debugfs.c index 363a0ef..e07cbb1 100644 --

[PATCH v2 25/27] staging: ccree: remove unneeded includes

2018-01-03 Thread Gilad Ben-Yossef
Remove include files not needed for compilation. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_aead.c| 7 --- drivers/staging/ccree/cc_buffer_mgr.c | 6 -- drivers/staging/ccree/cc_cipher.c | 4 drivers/staging/ccree/cc_driver.c | 31

[PATCH v2 20/27] staging: ccree: fix indentation of func params

2018-01-03 Thread Gilad Ben-Yossef
Fix indentation of some function params in hash code for better readability. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_hash.c | 46 +--- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/drivers/staging/ccree/ssi_hash.c b/driv

Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
I've cloned your https://anongit.freedesktop.org/git/drm-tip.git and am now trying to build it (just the master; I haven't tried previous commits). The build fails at the modules stage with Makefile:1015: recipe for target 'drivers' failed make: *** [drivers] Error 2 What is the earliest commit

[PATCH] tty: fix data race in n_tty_receive_buf_common

2018-01-03 Thread Gaurav Kohli
There can be a race, if receive_buf call comes before tty initialization completes in n_tty_open and tty->disc_data may be NULL. CPU0cpu1 000|n_tty_receive_buf_common() n_tty_open() -001|n_tty_receive_buf

Racoh Box - An alpha specification for a fair economy on available source

2018-01-03 Thread Epost
We are rebased on OpenBSD, but if the philosophy can have positive impact here aswell, it is just to do that ofcourse. "An OS is I/O via abstracted inferfaces, signal routing (scheduling etc) and usually a graphical user interface. Peak jitter below 200μs converges to optimal. The whole stream

Vibrations, audio, charging, radio on N9/N950

2018-01-03 Thread Pavel Machek
Hi! Sebasian, you submitted patch to enable vibrations on N950. I am trying to do the same now on N9... I guess I enabled the dts, but .. how do I actually ask for vibrations? /dev/input/eventX does not seem to be present. Did anyone get audio to run on N9/N950? It is marked as supported on https

Re: [kernel-hardening] [PATCH] arm: kernel: implement fast refcount checking

2018-01-03 Thread Ard Biesheuvel
On 3 January 2018 at 13:36, Jinbum Park wrote: >>> This is a nice result. However, without any insight into the presence >>> of actual refcount hot spots, it is not obvious that we need this >>> patch. This is the reason we ended up enabling CONFIG_REFCOUNT_FULL >>> for arm64. I will let others co

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Josh Poimboeuf
On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > > > Hello! > > > > > > ORC unwinder is enabled in stable for wider testing but still at least one > > > bug is open

Re: cgroups(7): documenting cgroup.stat

2018-01-03 Thread Roman Gushchin
Hello, Michael! > > Hm, basically any cgroup which had some pagecache, associated during the > > lifetime, will spend some time in the dying state. This means that for > > most cgroups this number will be non-zero for some amount of time, > > which depends on global memory pressure. > > It's also

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Anshuman Khandual
On 01/03/2018 01:55 PM, Michal Hocko wrote: > From: Michal Hocko > > No allocation callback is using this argument anymore. new_page_node > used to use this parameter to convey node_id resp. migration error > up to move_pages code (do_move_page_to_node_array). The error status > never made it int

Re: 4.15-rc6 PTI regression: L1 TLB mismatch MCE on Athlon64

2018-01-03 Thread Meelis Roos
> That's the entry area, which is mapped into kernel _AND_ user space. Now > that's special because we switch CR3 while we are executing there. > > And this one is: > > 0x81e0-0x8200 2M ro PSE GLB > x pmd > > and the one we switch to is: > > 0

Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5

2018-01-03 Thread Alexandru Chirvasitu
On Wed, Jan 03, 2018 at 01:47:56PM +, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-03 13:46:42) > > I've cloned your > > > > https://anongit.freedesktop.org/git/drm-tip.git > > > > and am now trying to build it (just the master; I haven't tried > > previous commits). The build

[PATCH v2] i2c: Allow ACPI_I2C_OPREGION if I2C is built as a module

2018-01-03 Thread Eric Auger
If I2C is built as a module, ACPI_I2C_OPREGION cannot be set and any ACPI opregion calls targeting I2C fail with no opregion found. This patch allows ACPI_I2C_OPREGION to be enabled both if I2C is built into the kernel or built as a module. Signed-off-by: Eric Auger --- v1 -> v2: - reword the

Re: [PATCH] i2c: fix ACPI_I2C_OPREGION dependency

2018-01-03 Thread Auger Eric
Hi Sinan, On 03/01/18 14:39, Sinan Kaya wrote: > On 1/2/2018 1:19 PM, Sinan Kaya wrote: >> On 1/2/2018 1:10 PM, Randy Dunlap wrote: > config ACPI_I2C_OPREGION > bool "ACPI I2C Operation region support" > - depends on I2C=y && ACPI > + depends on I2C && ACPI > default y

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Michal Hocko
On Wed 03-01-18 19:30:38, Anshuman Khandual wrote: > On 01/03/2018 01:55 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > No allocation callback is using this argument anymore. new_page_node > > used to use this parameter to convey node_id resp. migration error > > up to move_pages code (do

Re: [lkp-robot] [selftests/bpf] 37f1ba0909: kernel_selftests.bpf.test_dev_cgroup.fail

2018-01-03 Thread Roman Gushchin
On Wed, Jan 03, 2018 at 10:55:41AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > commit: 37f1ba0909dfa12c75f8e8ea7a2f01355ebd60f1 ("selftests/bpf: add a test > for device cgroup controller") > https://git.kernel.org/cgit/linux/kernel/git/torvald

Re: [PATCH v2] platform/x86: silead_dmi: Add entry for the Teclast X98 Plus II

2018-01-03 Thread Andy Shevchenko
On Wed, Jan 3, 2018 at 10:01 AM, Hans de Goede wrote: > On 03-01-18 00:40, Darren Hart wrote: >> On Tue, Jan 02, 2018 at 07:39:27PM +0100, Paul Cercueil wrote: >> Generally "testing" is the branch you want to base on if linus/master >> doesn't work as the review-* branches *will* rebase frequentl

[PATCHv2] nokia N9: Add support for magnetometer

2018-01-03 Thread Pavel Machek
This adds dts support for magnetometer on Nokia N9. Signed-off-by: Pavel Machek diff --git a/arch/arm/boot/dts/omap3-n9.dts b/arch/arm/boot/dts/omap3-n9.dts index 39e35f8..af321d8 100644 --- a/arch/arm/boot/dts/omap3-n9.dts +++ b/arch/arm/boot/dts/omap3-n9.dts @@ -36,6 +57,12 @@

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Greg Kroah-Hartman
On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > > > Hello! > > > > > > ORC unwinder is enabled in stable for wider testing but still at least one > > > bug is open

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
On Wed, Jan 03, 2018 at 14:59:24 CET Josh Poimboeuf wrote: > On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > > On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > > > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > > > > Hello! > > > > > > > > ORC unwinder is enabl

Re: Linux 3.18.91

2018-01-03 Thread Greg KH
diff --git a/Makefile b/Makefile index abbfbbb7a029..d114d0641a7e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 90 +SUBLEVEL = 91 EXTRAVERSION = NAME = Diseased Newt @@ -762,6 +762,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign) #

Linux 4.4.109

2018-01-03 Thread Greg KH
I'm announcing the release of the 4.4.109 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.91

2018-01-03 Thread Greg KH
I'm announcing the release of the 3.18.91 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.74

2018-01-03 Thread Greg KH
I'm announcing the release of the 4.9.74 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH] ethernet: mlx4: Delete an error message for a failed memory allocation in five functions

2018-01-03 Thread Leon Romanovsky
On Wed, Jan 03, 2018 at 01:24:59PM +0200, Tariq Toukan wrote: > > > On 03/01/2018 10:06 AM, Julia Lawall wrote: > > > > > > On Wed, 3 Jan 2018, Tariq Toukan wrote: > > > > > > > > > > > On 01/01/2018 10:46 PM, SF Markus Elfring wrote: > > > > From: Markus Elfring > > > > Date: Mon, 1 Jan 2018 21:4

Linux 4.14.11

2018-01-03 Thread Greg KH
I'm announcing the release of the 4.14.11 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.74

2018-01-03 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 86a6746f6833..152ec4e87b57 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2795,6 +2795,8 @@ bytes respectively. Such letter suffixes can also be entirely om

Re: Linux 4.4.109

2018-01-03 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 5d593ecadb90..b4a83a490212 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2555,6 +2555,8 @@ bytes respectively. Such letter suffixes can also be entirely om

RE: [PATCH V3 04/12] perf mmap: introduce perf_mmap__read_done

2018-01-03 Thread Liang, Kan
> Hello, > > On Thu, Dec 21, 2017 at 10:08:46AM -0800, kan.li...@intel.com wrote: > > From: Kan Liang > > > > The direction of overwrite mode is backward. The last mmap__read_event > > will set tail to map->prev. Need to correct the map->prev to head > > which is the end of next read. > > Why do

Re: [PATCH 2/3] mm, migrate: remove reason argument from new_page_t

2018-01-03 Thread Anshuman Khandual
On 01/03/2018 07:39 PM, Michal Hocko wrote: > On Wed 03-01-18 19:30:38, Anshuman Khandual wrote: >> On 01/03/2018 01:55 PM, Michal Hocko wrote: >>> From: Michal Hocko >>> >>> No allocation callback is using this argument anymore. new_page_node >>> used to use this parameter to convey node_id resp.

Re: ethernet: mlx4: Delete an error message for a failed memory allocation in five functions

2018-01-03 Thread SF Markus Elfring
> I don't really accept this claim... > Short informative strings worth the tiny space they consume. There can be different opinions for their usefulness. > In addition, some out-of-memory errors are recoverable, even though their > backtrace is also printed. How do you think about to suppress

Re: [PATCH v5 4/9] drivers: base cacheinfo: Add support for ACPI based firmware tables

2018-01-03 Thread Sudeep Holla
(Sorry for the delay, just returning from vacation) On 12/12/17 23:37, Jeremy Linton wrote: > On 12/12/2017 05:02 PM, Rafael J. Wysocki wrote: [...] >> >> So call this field "token" or similar.  Don't call it "of_node" and >> don't introduce another "firmware_node" thing in addition to that. >>

Re: [PATCH v6 3/6] can: m_can: Add PM Runtime

2018-01-03 Thread Marc Kleine-Budde
On 01/03/2018 01:39 PM, Faiz Abbas wrote: > On Tuesday 02 January 2018 09:37 PM, Marc Kleine-Budde wrote: >> On 12/22/2017 02:31 PM, Faiz Abbas wrote: >>> From: Franklin S Cooper Jr >>> >>> Add support for PM Runtime which is the new way to handle managing clocks. >>> However, to avoid breaking So

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-03 Thread Wang, Haiyue
On 2018-01-03 19:38, Mark Brown wrote: On Sun, Dec 31, 2017 at 12:10:51AM +0100, Arnd Bergmann wrote: On Fri, Dec 29, 2017 at 2:53 AM, Haiyue Wang wrote: When PCH works under eSPI mode, the PMC (Power Management Controller) in PCH is waiting for SUS_ACK from BMC after it alerts SUS_WARN. It

Re: [PATCH v2 5/8] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver

2018-01-03 Thread PrasannaKumar Muralidharan
Hi Guenter, On 3 January 2018 at 10:16, Guenter Roeck wrote: > On 01/02/2018 08:48 AM, Paul Cercueil wrote: >> >> Hi PrasannaKumar, >> >> Le mar. 2 janv. 2018 à 17:37, PrasannaKumar Muralidharan >> a écrit : >>> >>> Hi Paul, >>> >>> On 30 December 2017 at 19:21, Paul Cercueil wrote:

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2018-01-03 Thread Sudeep Holla
On 02/01/18 02:29, Xiongfeng Wang wrote: > Hi, > > On 2017/12/18 20:42, Morten Rasmussen wrote: >> On Fri, Dec 15, 2017 at 10:36:35AM -0600, Jeremy Linton wrote: >>> Hi, >>> >>> On 12/13/2017 12:02 PM, Lorenzo Pieralisi wrote: [+Morten, Dietmar] $SUBJECT should be: arm64:

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-03 Thread Mark Brown
On Wed, Jan 03, 2018 at 10:28:22PM +0800, Wang, Haiyue wrote: > Should send to like this ? Because I add patch for Aspeed chip: > ./scripts/get_maintainer.pl drivers/misc/aspeed-lpc-snoop.c > Joel Stanley (maintainer:ARM/ASPEED MACHINE SUPPORT) > Arnd Bergmann (supporter:CHAR and MISC DRIVERS)

Re: [PATCH v3 1/2] kprobes: propagate error from arm_kprobe_ftrace()

2018-01-03 Thread Steven Rostedt
On Wed, 3 Jan 2018 02:40:47 +0100 Jessica Yu wrote: > Improve error handling when arming ftrace-based kprobes. Specifically, if > we fail to arm a ftrace-based kprobe, register_kprobe()/enable_kprobe() > should report an error instead of success. Previously, this has lead to > confusing situatio

Re: [PATCH v1] eSPI: add Aspeed AST2500 eSPI driver to boot a host with PCH runs on eSPI

2018-01-03 Thread Wang, Haiyue
On 2018-01-03 22:32, Mark Brown wrote: On Wed, Jan 03, 2018 at 10:28:22PM +0800, Wang, Haiyue wrote: Should send to like this ? Because I add patch for Aspeed chip: ./scripts/get_maintainer.pl drivers/misc/aspeed-lpc-snoop.c Joel Stanley (maintainer:ARM/ASPEED MACHINE SUPPORT) Arnd Bergmann

Re: [PATCH net-next 1/6] phy: add 2.5G SGMII mode to the phy_mode enum

2018-01-03 Thread Antoine Tenart
Hi Florian, On Thu, Dec 28, 2017 at 06:16:51AM -0800, Florian Fainelli wrote: > On 12/28/2017 02:06 AM, Antoine Tenart wrote: > > On Thu, Dec 28, 2017 at 08:20:53AM +0100, Andrew Lunn wrote: > >> On Wed, Dec 27, 2017 at 11:14:41PM +0100, Antoine Tenart wrote: > >>> This patch adds one more generic

Re: objtool segfault with ORC unwinder enabled

2018-01-03 Thread Markus
On Wed, Jan 03, 2018 15:14:01 CET Greg Kroah-Hartman wrote: > On Wed, Jan 03, 2018 at 01:22:07PM +0100, Markus wrote: > > On Wed, Jan 03, 2018 at 12:19:41 CET Greg Kroah-Hartman wrote: > > > On Wed, Jan 03, 2018 at 11:49:08AM +0100, Markus wrote: > > > > Hello! > > > > > > > > ORC unwinder is enab

Re: [PATCH v5 02/39] openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it.

2018-01-03 Thread Stafford Horne
Hello, On Tue, Jan 02, 2018 at 04:24:34PM +0800, Greentime Hu wrote: > From: Greentime Hu > > It will be built failed if commit id: d25ea659 is selected. This patch can > fix this > build error. Ideally you would mention the commit description since the id is not yet usptream. I found it here

<    1   2   3   4   5   6   7   8   9   10   >