Re: [patch V6 12/37] x86/entry: Provide idtentry_entry/exit_cond_rcu()

2020-05-20 Thread Andy Lutomirski
On Wed, May 20, 2020 at 8:36 AM Andy Lutomirski wrote: > > On Tue, May 19, 2020 at 7:23 PM Paul E. McKenney wrote: > > > > On Tue, May 19, 2020 at 05:26:58PM -0700, Andy Lutomirski wrote: > > > On Tue, May 19, 2020 at 2:20 PM Thomas Gleixner > > > wrote: First, the patch as you submitted it

Re: [PATCH 5/7] perf metricgroup: Remove duped metric group events

2020-05-20 Thread Ian Rogers
On Wed, May 20, 2020 at 6:49 AM Jiri Olsa wrote: > > On Wed, May 20, 2020 at 12:28:12AM -0700, Ian Rogers wrote: > > SNIP > > > > > @@ -157,7 +183,7 @@ static int metricgroup__setup_events(struct list_head > > *groups, > > int i = 0; > > int ret = 0; > > struct egroup *eg; > >

Re: [PATCH 1/3] selftests: kvm: add a SVM version of state-test

2020-05-20 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > Signed-off-by: Paolo Bonzini > --- > .../testing/selftests/kvm/x86_64/state_test.c | 65 --- > 1 file changed, 55 insertions(+), 10 deletions(-) > > diff --git a/tools/testing/selftests/kvm/x86_64/state_test.c >

Re: [PATCHv3 2/5] Input: EXC3000: switch to i2c's probe_new API

2020-05-20 Thread Enric Balletbo i Serra
Hi Sebastian, On 20/5/20 17:39, Sebastian Reichel wrote: > Switch to the "new" I2C probe API. > > Signed-off-by: Sebastian Reichel Reviewed-by: Enric Balletbo i Serra > --- > drivers/input/touchscreen/exc3000.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git

Re: [RFC PATCH] tick/sched: update full_nohz status after SCHED dep is cleared

2020-05-20 Thread Juri Lelli
On 20/05/20 18:24, Frederic Weisbecker wrote: > Hi Juri, > > On Wed, May 20, 2020 at 04:04:02PM +0200, Juri Lelli wrote: > > After tasks enter or leave a runqueue (wakeup/block) SCHED full_nohz > > dependency is checked (via sched_update_tick_dependency()). In case tick > > can be stopped on a

[PATCH v1 2/3] irqdomain: Get rid of special treatment for ACPI in __irq_domain_add()

2020-05-20 Thread Andy Shevchenko
After change __irq_domain_add() to cooperate better with fwnodes we don't need to have special treatment for ACPI case. Get rid of the special treatment for ACPI. Signed-off-by: Andy Shevchenko --- kernel/irq/irqdomain.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-)

Re: [PATCH v3 1/7] bus: mhi: core: Abort suspends due to outgoing pending packets

2020-05-20 Thread Jeffrey Hugo
On 5/18/2020 2:03 PM, Bhaumik Bhatt wrote: Add the missing check to abort suspends if a client has pending outgoing packets to send to the device. This allows better utilization of the MHI bus wherein clients on the host are not left waiting for longer suspend or resume cycles to finish for data

[PATCH v1 3/3] irqdomain: Allow software node to be correct one for IRQ domain

2020-05-20 Thread Andy Shevchenko
In some cases we might need to have an IRQ domain created out of software node. One of such cases is DesignWare GPIO driver when it's instantiated from half-baked ACPI table (alas, we can't fix it for devices which are few years on market) and thus using software nodes to quirk this up. But the

[PATCH v1 1/3] irqdomain: Make __irq_domain_add() less OF-dependent

2020-05-20 Thread Andy Shevchenko
__irq_domain_add() in some places relies on the fact that fwnode can be only type of OF. This prevents refactoring of the code to support other types of fwnode. Make it less OF-dependent by switching to use fwnode directly where it makes sense. Signed-off-by: Andy Shevchenko ---

Re: [PATCH] hwrng: ks-sa - fix runtime pm imbalance on error

2020-05-20 Thread st...@rowland.harvard.edu
On Wed, May 20, 2020 at 03:42:17PM +, Sverdlin, Alexander (Nokia - DE/Ulm) wrote: > Hello Dinghao, > > On Wed, 2020-05-20 at 21:29 +0800, Dinghao Liu wrote: > > pm_runtime_get_sync() increments the runtime PM usage counter even > > the call returns an error code. Thus a pairing decrement is

Re: [PATCH] w1_therm: Free the correct variable

2020-05-20 Thread Akira shimahara
Hi, Le mercredi 20 mai 2020 à 15:00 +0300, Dan Carpenter a écrit : > The problem is that we change "p_args" to point to the middle of the > string so when we free it at the end of the function it's not freeing > the same pointer that we originally allocated. > > Fixes: e2c94d6f5720 ("w1_therm:

Re: [PATCH net-next v2 3/4] dt-bindings: net: Add RGMII internal delay for DP83869

2020-05-20 Thread Andrew Lunn
> I am interested in knowing where that is documented.  I want to RTM I > grepped for a few different words but came up empty Hi Dan It probably is not well documented, but one example would be Documentation/devicetree/bindings/net/ethernet-controller.yaml says: # RX and TX delays are

Re: [PATCH] PCI: tegra: fix runtime pm imbalance on error

2020-05-20 Thread Bjorn Helgaas
On Wed, May 20, 2020 at 04:40:12PM +0800, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. > > Also This driver forgets to call

Re: [PATCH v1] Revert "software node: Simplify software_node_release() function"

2020-05-20 Thread Andy Shevchenko
On Wed, May 20, 2020 at 05:02:27PM +0200, Petr Mladek wrote: > On Thu 2020-02-27 16:00:01, Brendan Higgins wrote: > I have found similar report from a test robot, see > https://lore.kernel.org/lkml/20200303002816.GW6548@shao2-debian/ > > > I was staring into it for a while and do not understand

Re: [PATCH 3/3] objtool: Enable compilation of objtool for all architectures

2020-05-20 Thread Matt Helsley
On Wed, May 20, 2020 at 09:31:46AM +0100, Julien Thierry wrote: > > > On 5/19/20 9:55 PM, Matt Helsley wrote: > > objtool currently only compiles for x86 architectures. This is > > fine as it presently does not support tooling for other > > architectures. However, we would like to be able to

Re: kernel BUG at fs/inode.c:531!

2020-05-20 Thread Randy Dunlap
[adding Cc:s] Kernel is 5.7.0-rc6.20200519. On 5/20/20 5:57 AM, nirinA raseliarison wrote: > hello , > > i repeatedly hit this bug since gcc-10.1.0: > > May 20 05:06:25 supernova kernel: [16312.604136] [ cut > here ] > May 20 05:06:25 supernova kernel: [16312.604139]

Re: XHCI vs PCM2903B/PCM2904 part 2

2020-05-20 Thread Alan Stern
On Wed, May 20, 2020 at 07:26:57AM -0400, Rik van Riel wrote: > After a few more weeks of digging, I have come to the tentative > conclusion that either the XHCI driver, or the USB sound driver, > or both, fail to handle USB errors correctly. > > I have some questions at the bottom, after a

Re: [PATCH 3/3] objtool: Enable compilation of objtool for all architectures

2020-05-20 Thread Matt Helsley
On Wed, May 20, 2020 at 09:16:04AM -0500, Josh Poimboeuf wrote: > On Tue, May 19, 2020 at 02:46:37PM -0700, Matt Helsley wrote: > > On Tue, May 19, 2020 at 04:18:29PM -0500, Josh Poimboeuf wrote: > > > On Tue, May 19, 2020 at 01:55:33PM -0700, Matt Helsley wrote: > > > > +const char __attribute__

[PATCH] staging: rtl8192e: Using comparison to true is error prone

2020-05-20 Thread John Oldman
fix below issue reported by checkpatch.pl: CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: John Oldman --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] PCI: tegra: fix runtime pm imbalance on error

2020-05-20 Thread Bjorn Helgaas
On Wed, May 20, 2020 at 11:59:08AM +0200, Thierry Reding wrote: > On Wed, May 20, 2020 at 04:52:23PM +0800, Dinghao Liu wrote: > > pm_runtime_get_sync() increments the runtime PM usage counter even > > it returns an error code. Thus a pairing decrement is needed on > > s/even it/even when it/ >

Re: [PATCH] mm, page_alloc: skip ->waternark_boost for atomic order-0 allocations

2020-05-20 Thread Charan Teja Kalla
Thank you Andrew for the comments.. On 5/20/2020 7:10 AM, Andrew Morton wrote: > On Tue, 19 May 2020 15:28:04 +0530 Charan Teja Reddy > wrote: > >> When boosting is enabled, it is observed that rate of atomic order-0 >> allocation failures are high due to the fact that free levels in the >>

Re: [PATCH] KVM: x86: allow KVM_STATE_NESTED_MTF_PENDING in kvm_state flags

2020-05-20 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > The migration functionality was left incomplete in commit 5ef8acbdd687 > ("KVM: nVMX: Emulate MTF when performing instruction emulation", 2020-02-23), > fix it. > > Fixes: 5ef8acbdd687 ("KVM: nVMX: Emulate MTF when performing instruction > emulation") > Cc:

Re: [PATCH v1 2/6] arm/smmu: Add auxiliary domain support for arm-smmuv2

2020-05-20 Thread Rob Clark
On Wed, May 20, 2020 at 8:13 AM Jordan Crouse wrote: > > On Wed, May 20, 2020 at 01:57:01PM +0100, Will Deacon wrote: > > On Mon, May 18, 2020 at 08:50:27AM -0700, Rob Clark wrote: > > > On Mon, May 18, 2020 at 8:18 AM Will Deacon wrote: > > > > On Wed, Mar 18, 2020 at 04:43:07PM -0700, Rob

[PATCH v2] x86/mm: Change so poison pages are either unmapped or marked uncacheable

2020-05-20 Thread Luck, Tony
An interesting thing happened when a guest Linux instance took a machine check. The VMM unmapped the bad page from guest physical space and passed the machine check to the guest. Linux took all the normal actions to offline the page from the process that was using it. But then guest Linux crashed

[PATCH v5 4/4] iio: magnetometer: ak8975: Add gpio reset support

2020-05-20 Thread Jonathan Albrieux
According to AK09911 datasheet, if reset gpio is provided then deassert reset on ak8975_power_on() and assert reset on ak8975_power_off(). Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911

[PATCH v5 3/4] iio: magnetometer: ak8975: Fix typo, uniform measurement unit style

2020-05-20 Thread Jonathan Albrieux
Minor comment style edits. Signed-off-by: Jonathan Albrieux Reviewed-by: Andy Shevchenko --- drivers/iio/magnetometer/ak8975.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c index

[PATCH v5 1/4] dt-bindings: iio: magnetometer: ak8975: convert format to yaml, add maintainer

2020-05-20 Thread Jonathan Albrieux
Converts documentation from txt format to yaml. Signed-off-by: Jonathan Albrieux --- .../bindings/iio/magnetometer/ak8975.txt | 30 .../bindings/iio/magnetometer/ak8975.yaml | 71 +++ 2 files changed, 71 insertions(+), 30 deletions(-) delete mode 100644

[PATCH v5 0/4] iio: magnetometer: ak8975: Add gpio reset support

2020-05-20 Thread Jonathan Albrieux
v5: - add maintainer v4: - fix some typo - use gpio's dt-bindings for more clarity in documentation - set compatible properties without vendor prefix as deprecated https://lore.kernel.org/linux-iio/20200520073125.30808-1-jonathan.albri...@gmail.com/ v3: - fix patch messages style - align

[PATCH v5 2/4] dt-bindings: iio: magnetometer: ak8975: add gpio reset support

2020-05-20 Thread Jonathan Albrieux
Add reset-gpio support. Without reset's deassertion during ak8975_power_on(), driver's probe fails on ak8975_who_i_am() while checking for device identity for AK09911 chip. AK09911 has an active low reset gpio to handle register's reset. AK09911 datasheet says that, if not used, reset pin should

Re: [PATCH 2/2] kvm/x86: don't expose MSR_IA32_UMWAIT_CONTROL unconditionally

2020-05-20 Thread Vitaly Kuznetsov
Maxim Levitsky writes: > This msr is only available when the host supports WAITPKG feature. > > This breaks a nested guest, if the L1 hypervisor is set to ignore > unknown msrs, because the only other safety check that the > kernel does is that it attempts to read the msr and > rejects it if it

[PATCH v6 18/19] mtd: spi-nor: spansion: add support for Cypress Semper flash

2020-05-20 Thread Pratyush Yadav
The Cypress Semper flash is an xSPI compliant octal DTR flash. Add support for using it in octal DTR mode. The flash by default boots in a hybrid sector mode. But the sector map table on the part I had was programmed incorrectly and the SMPT values on the flash don't match the public datasheet.

[PATCH] Bluetooth: hci_qca: Fix uninitialized access to hdev

2020-05-20 Thread Abhishek Pandit-Subedi
hdev is always allocated and not only when power control is required. Reported-by: Dan Carpenter Signed-off-by: Abhishek Pandit-Subedi --- drivers/bluetooth/hci_qca.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_qca.c

[PATCH v6 19/19] mtd: spi-nor: micron-st: allow using MT35XU512ABA in Octal DTR mode

2020-05-20 Thread Pratyush Yadav
Since this flash doesn't have a Profile 1.0 table, the Octal DTR capabilities are enabled in the post SFDP fixup, along with the 8D-8D-8D fast read settings. Enable Octal DTR mode with 20 dummy cycles to allow running at the maximum supported frequency of 200Mhz. The flash supports the soft

Re: [rcu] 2f08469563: BUG:kernel_reboot-without-warning_in_boot_stage

2020-05-20 Thread Nick Desaulniers
On Tue, May 19, 2020 at 11:32 AM Marco Elver wrote: > > This fixes the problem: > https://lkml.kernel.org/r/20200519182459.87166-1-el...@google.com > > I suppose there are several things that happened that caused the above > bisected changes to trigger this. Hard to say how exactly the above >

[PATCH v6 17/19] mtd: spi-nor: core: expose spi_nor_default_setup() in core.h

2020-05-20 Thread Pratyush Yadav
Flashes might want to add a custom setup hook to configure the flash in the proper mode for operation. But after that, they would still want to run the default setup hook because it selects the read, program, and erase operations. Since there is little point in repeating all that code, expose the

[PATCH v6 15/19] mtd: spi-nor: core: perform a Soft Reset on shutdown

2020-05-20 Thread Pratyush Yadav
Perform a Soft Reset on shutdown on flashes that support it so that the flash can be reset to its initial state and any configurations made by spi-nor (given that they're only done in volatile registers) will be reset. This will hand back the flash in pristine state for any further operations on

[PATCH v6 16/19] mtd: spi-nor: core: disable Octal DTR mode on suspend.

2020-05-20 Thread Pratyush Yadav
On resume, the init procedure will be run that will re-enable it. Signed-off-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index 68559386f6f8..63ab588299f4 100644

[PATCH v6 13/19] mtd: spi-nor: sfdp: do not make invalid quad enable fatal

2020-05-20 Thread Pratyush Yadav
The Micron MT35XU512ABA flash does not support the quad enable bit. But instead of programming the Quad Enable Require field to 000b ("Device does not have a QE bit"), it is programmed to 111b ("Reserved"). While this is technically incorrect, it is not reason enough to abort BFPT parsing.

[PATCH v6 14/19] mtd: spi-nor: sfdp: detect Soft Reset sequence support from BFPT

2020-05-20 Thread Pratyush Yadav
A Soft Reset sequence will return the flash to Power-on-Reset (POR) state. It consists of two commands: Soft Reset Enable and Soft Reset. Find out if the sequence is supported from BFPT DWORD 16. Signed-off-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.h | 1 + drivers/mtd/spi-nor/sfdp.c | 4

[PATCH v6 12/19] mtd: spi-nor: core: enable octal DTR mode when possible

2020-05-20 Thread Pratyush Yadav
Allow flashes to specify a hook to enable octal DTR mode. Use this hook whenever possible to get optimal transfer speeds. Signed-off-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.c | 35 +++ drivers/mtd/spi-nor/core.h | 2 ++ 2 files changed, 37 insertions(+)

[PATCH v6 01/19] spi: spi-mem: allow specifying whether an op is DTR or not

2020-05-20 Thread Pratyush Yadav
Each phase is given a separate 'dtr' field so mixed protocols like 4S-4D-4D can be supported. Signed-off-by: Pratyush Yadav --- drivers/spi/spi-mem.c | 3 +++ include/linux/spi/spi-mem.h | 8 2 files changed, 11 insertions(+) diff --git a/drivers/spi/spi-mem.c

[PATCH v6 05/19] mtd: spi-nor: add support for DTR protocol

2020-05-20 Thread Pratyush Yadav
Double Transfer Rate (DTR) is SPI protocol in which data is transferred on each clock edge as opposed to on each clock cycle. Make framework-level changes to allow supporting flashes in DTR mode. Right now, mixed DTR modes are not supported. So, for example a mode like 4S-4D-4D will not work. All

[PATCH v6 10/19] mtd: spi-nor: core: use dummy cycle and address width info from SFDP

2020-05-20 Thread Pratyush Yadav
The xSPI Profile 1.0 table specifies how many dummy cycles and address bytes are needed for the Read Status Register command in octal DTR mode. Use that information to send the correct Read SR command. Signed-off-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.c | 25 +++--

[PATCH v6 07/19] mtd: spi-nor: sfdp: prepare BFPT parsing for JESD216 rev D

2020-05-20 Thread Pratyush Yadav
JESD216 rev D makes BFPT 20 DWORDs. Update the BFPT size define to reflect that. The check for rev A or later compared the BFPT header length with the maximum BFPT length, BFPT_DWORD_MAX. Since BFPT_DWORD_MAX was 16, and so was the BFPT length for both rev A and B, this check worked fine. But

[PATCH v6 02/19] spi: atmel-quadspi: reject DTR ops

2020-05-20 Thread Pratyush Yadav
Double Transfer Rate (DTR) ops are added in spi-mem. But this controller doesn't support DTR transactions. Since we don't use the default supports_op(), which rejects all DTR ops, do that explicitly in our supports_op(). Signed-off-by: Pratyush Yadav --- drivers/spi/atmel-quadspi.c | 4 1

[PATCH v6 09/19] mtd: spi-nor: sfdp: parse xSPI Profile 1.0 table

2020-05-20 Thread Pratyush Yadav
This table is indication that the flash is xSPI compliant and hence supports octal DTR mode. Extract information like the fast read opcode, dummy cycles, the number of dummy cycles needed for a Read Status Register command, and the number of address bytes needed for a Read Status Register command.

[PATCH v6 11/19] mtd: spi-nor: core: do 2 byte reads for SR and FSR in DTR mode

2020-05-20 Thread Pratyush Yadav
Some controllers, like the cadence qspi controller, have trouble reading only 1 byte in DTR mode. So, do 2 byte reads for SR and FSR commands in DTR mode, and then discard the second byte. Signed-off-by: Pratyush Yadav --- drivers/mtd/spi-nor/core.c | 15 +-- 1 file changed, 13

[PATCH v6 08/19] mtd: spi-nor: sfdp: get command opcode extension type from BFPT

2020-05-20 Thread Pratyush Yadav
Some devices in DTR mode expect an extra command byte called the extension. The extension can either be same as the opcode, bitwise inverse of the opcode, or another additional byte forming a 16-byte opcode. Get the extension type from the BFPT. For now, only flashes with "repeat" and "inverse"

[PATCH v6 04/19] spi: spi-mem: allow specifying a command's extension

2020-05-20 Thread Pratyush Yadav
In xSPI mode, flashes expect 2-byte opcodes. The second byte is called the "command extension". There can be 3 types of extensions in xSPI: repeat, invert, and hex. When the extension type is "repeat", the same opcode is sent twice. When it is "invert", the second byte is the inverse of the

[PATCH] mm, memcg: unify reclaim retry limits with page allocator

2020-05-20 Thread Chris Down
Reclaim retries have been set to 5 since the beginning of time in 66e1707bc346 ("Memory controller: add per cgroup LRU and reclaim"). However, we now have a generally agreed-upon standard for page reclaim: MAX_RECLAIM_RETRIES (currently 16), added many years later in 0a0337e0d1d1 ("mm, oom: rework

[PATCH v6 06/19] mtd: spi-nor: sfdp: default to addr_width of 3 for configurable widths

2020-05-20 Thread Pratyush Yadav
JESD216D.01 says that when the address width can be 3 or 4, it defaults to 3 and enters 4-byte mode when given the appropriate command. So, when we see a configurable width, default to 3 and let flash that default to 4 change it in a post-bfpt fixup. This fixes SMPT parsing for flashes with

[PATCH v6 00/19] mtd: spi-nor: add xSPI Octal DTR support

2020-05-20 Thread Pratyush Yadav
Hi, This series adds support for octal DTR flashes in the spi-nor framework, and then adds hooks for the Cypress Semper and Mircom Xcella flashes to allow running them in octal DTR mode. This series assumes that the flash is handed to the kernel in Legacy SPI mode. Tested on TI J721e EVM with

[PATCH v6 03/19] spi: spi-mtk-nor: reject DTR ops

2020-05-20 Thread Pratyush Yadav
Double Transfer Rate (DTR) ops are added in spi-mem. But this controller doesn't support DTR transactions. Since we don't use the default supports_op(), which rejects all DTR ops, do that explicitly in our supports_op(). Signed-off-by: Pratyush Yadav --- drivers/spi/spi-mtk-nor.c | 4 1

Re: Re: [RFC PATCH] i2c: at91: Fix pinmux after devm_gpiod_get() for bus recovery

2020-05-20 Thread Wolfram Sang
> > This will do for 5.7. For 5.8 or 5.9, I can imagine to take the two > > pinctrl_state pointers into bus_recovery_info and handle all this in the > > core. I will try this later this week if noone is super-eager to try it > > out before. > > > > By 'all this' you mean to move the entire

[PATCH v2] perf config: Add stat.big-num support

2020-05-20 Thread Paul A. Clarke
From: "Paul A. Clarke" Add support for new "stat.big-num" boolean option. This allows a user to set a default for "--no-big-num" for "perf stat" commands. -- $ perf config stat.big-num $ perf stat --event cycles /bin/true Performance counter stats for '/bin/true': 778,849

Re: [RFC PATCH] tick/sched: update full_nohz status after SCHED dep is cleared

2020-05-20 Thread Frederic Weisbecker
Hi Juri, On Wed, May 20, 2020 at 04:04:02PM +0200, Juri Lelli wrote: > After tasks enter or leave a runqueue (wakeup/block) SCHED full_nohz > dependency is checked (via sched_update_tick_dependency()). In case tick > can be stopped on a CPU (see sched_can_stop_tick() for details), SCHED >

Re: [PATCH 1/2] kvm: cosmetic: remove wrong braces in kvm_init_msr_list switch

2020-05-20 Thread Vitaly Kuznetsov
Maxim Levitsky writes: > I think these were added accidentally. > > Signed-off-by: Maxim Levitsky > --- > arch/x86/kvm/x86.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index 471fccf7f8501..fe3a24fd6b263 100644 > ---

Re: [TEGRA194_CPUFREQ Patch 1/3] firmware: tegra: adding function to get BPMP data

2020-05-20 Thread Rob Herring
On Wed, May 20, 2020 at 9:39 AM Thierry Reding wrote: > > On Wed, May 20, 2020 at 08:43:03AM -0600, Rob Herring wrote: > > On Tue, Apr 7, 2020 at 4:05 AM Thierry Reding > > wrote: > > > > > > On Wed, Dec 04, 2019 at 03:21:38PM +0530, Viresh Kumar wrote: > > > > On 04-12-19, 10:33, Thierry

Re: [PATCH] ARM: pass -msoft-float to gcc earlier

2020-05-20 Thread Nick Desaulniers
On Wed, May 20, 2020 at 1:36 AM Szabolcs Nagy wrote: > > The 05/19/2020 17:38, Nick Desaulniers wrote: > > sorry, hit tab/enter too soon... > > > > On Tue, May 19, 2020 at 5:37 PM Nick Desaulniers > > wrote: > > > > > > On Tue, May 19, 2020 at 3:09 PM Arnd Bergmann wrote: > > > > > > > >

Re: [PATCH 20/20] maccess: return -ERANGE when copy_from_kernel_nofault_allowed fails

2020-05-20 Thread Christoph Hellwig
On Wed, May 20, 2020 at 08:02:55PM +0900, Masami Hiramatsu wrote: > Can you also update the kerneldoc comment too? Sure, done.

Re: [PATCH 00/15] PCI: brcmstb: enable PCIe for STB chips

2020-05-20 Thread Bjorn Helgaas
On Tue, May 19, 2020 at 04:33:58PM -0400, Jim Quinlan wrote: > This patchset expands the usefulness of the Broadcom Settop Box PCIe > controller by building upon the PCIe driver used currently by the > Raspbery Pi. Other forms of this patchset were submitted by me years > ago and not accepted;

Re: [RFC PATCH 0/8] Qualcomm Cloud AI 100 driver

2020-05-20 Thread Jeffrey Hugo
On 5/20/2020 9:59 AM, Greg Kroah-Hartman wrote: On Wed, May 20, 2020 at 08:48:13AM -0600, Jeffrey Hugo wrote: On 5/20/2020 2:34 AM, Daniel Vetter wrote: On Wed, May 20, 2020 at 7:15 AM Greg Kroah-Hartman wrote: On Tue, May 19, 2020 at 10:41:15PM +0200, Daniel Vetter wrote: On Tue, May 19,

[PATCH] xen: move xen_setup_callback_vector() definition to include/xen/hvm.h

2020-05-20 Thread Vitaly Kuznetsov
Kbuild test robot reports the following problem on ARM: >> drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for 'xen_setup_callback_vector' [-Wmissing-prototypes] 1664 | void xen_setup_callback_vector(void) {} | ^ The problem is that

Re: [next] i2c: mediatek: Use div_u64 for 64-bit division to fix 32-bit kernels

2020-05-20 Thread Randy Dunlap
On 5/20/20 3:31 AM, qii.w...@mediatek.com wrote: > From: Qii Wang > > Use div_u64 for 64-bit division, and change sample_ns type to > unsigned int. Otherwise, the module will reference __udivdi3 > under 32-bit kernels, which is not allowed in kernel space. > > Signed-off-by: Qii Wang

[tip:x86/entry 4/80] drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for function 'xen_setup_callback_vector'

2020-05-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry head: 095b7a3e7745e6fb7cf0a1c09967c4f43e76f8f4 commit: fad1940a6a856f59b073e8650e02052ce531154c [4/80] x86/xen: Split HVM vector callback setup and interrupt gate allocation config: arm64-randconfig-r026-20200519

Re: [PATCH v1] sdhci: tegra: Remove warnings about missing device-tree properties

2020-05-20 Thread Sowjanya Komatineni
On 5/20/20 4:26 AM, Ulf Hansson wrote: On Wed, 20 May 2020 at 04:00, Dmitry Osipenko wrote: 19.05.2020 23:44, Sowjanya Komatineni пишет: On 5/19/20 12:07 PM, Sowjanya Komatineni wrote: On 5/19/20 11:41 AM, Sowjanya Komatineni wrote: On 5/19/20 11:34 AM, Sowjanya Komatineni wrote: On

Re: [PATCH v2 7/8] exec: Generic execfd support

2020-05-20 Thread Eric W. Biederman
Rob Landley writes: > On 5/18/20 7:33 PM, Eric W. Biederman wrote: >> >> Most of the support for passing the file descriptor of an executable >> to an interpreter already lives in the generic code and in binfmt_elf. >> Rework the fields in binfmt_elf that deal with executable file >> descriptor

Re: [PATCH] kdb: Cleanup math with KDB_CMD_HISTORY_COUNT

2020-05-20 Thread Daniel Thompson
On Thu, May 07, 2020 at 04:11:46PM -0700, Douglas Anderson wrote: > From code inspection the math in handle_ctrl_cmd() looks super sketchy > because it subjects -1 from cmdptr and then does a "% > KDB_CMD_HISTORY_COUNT". It turns out that this code works because > "cmdptr" is unsigned and

Re: [PATCH] mm, memcg: reclaim more aggressively before high allocator throttling

2020-05-20 Thread Michal Hocko
On Wed 20-05-20 15:37:12, Chris Down wrote: > In Facebook production, we've seen cases where cgroups have been put > into allocator throttling even when they appear to have a lot of slack > file caches which should be trivially reclaimable. > > Looking more closely, the problem is that we only

[PATCH 0/2] Fix breakage from adding MSR_IA32_UMWAIT_CONTROL

2020-05-20 Thread Maxim Levitsky
Currently code in kvm_get_supported_msrs always returns this msr as supported by KVM, however it is not supported at all on AMD and it is only supported on few select Intel systems. This happened to work in native virtualization case, because KVM's code also tries to read these msrs, and on an

Re: clock_gettime64 vdso bug on 32-bit arm, rpi-4

2020-05-20 Thread Rich Felker
On Wed, May 20, 2020 at 04:41:29PM +0100, Szabolcs Nagy wrote: > The 05/19/2020 22:31, Arnd Bergmann wrote: > > On Tue, May 19, 2020 at 10:24 PM Adhemerval Zanella > > wrote: > > > On 19/05/2020 16:54, Arnd Bergmann wrote: > > > > Jack Schmidt reported a bug for the arm32 clock_gettimeofday64

[PATCH 1/2] kvm: cosmetic: remove wrong braces in kvm_init_msr_list switch

2020-05-20 Thread Maxim Levitsky
I think these were added accidentally. Signed-off-by: Maxim Levitsky --- arch/x86/kvm/x86.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 471fccf7f8501..fe3a24fd6b263 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c

Re: [PATCH v2] printk/kdb: Redirect printk messages into kdb in any context

2020-05-20 Thread Daniel Thompson
On Wed, May 20, 2020 at 12:22:33PM +0200, Petr Mladek wrote: > kdb has to get messages on consoles even when the system is stopped. > It uses kdb_printf() internally and calls console drivers on its own. > > It uses a hack to reuse an existing code. It sets "kdb_trap_printk" > global variable to

[PATCH 2/2] kvm/x86: don't expose MSR_IA32_UMWAIT_CONTROL unconditionally

2020-05-20 Thread Maxim Levitsky
This msr is only available when the host supports WAITPKG feature. This breaks a nested guest, if the L1 hypervisor is set to ignore unknown msrs, because the only other safety check that the kernel does is that it attempts to read the msr and rejects it if it gets an exception. Fixes:

Re: [PATCH net-next v2 3/4] dt-bindings: net: Add RGMII internal delay for DP83869

2020-05-20 Thread Florian Fainelli
On 5/20/2020 8:56 AM, Dan Murphy wrote: > Andrew > > On 5/20/20 10:36 AM, Andrew Lunn wrote: Hi Dan Having it required with PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID is pretty unusual. Normally these properties are used to fine tune the delay, if the

Re: Bad kfree of dma_parms in v5.7-rc5

2020-05-20 Thread Ulf Hansson
Marek, Tomi, Greg On Wed, 20 May 2020 at 17:14, Ulf Hansson wrote: > > On Wed, 20 May 2020 at 15:28, Marek Szyprowski > wrote: > > > > Hi Ulf, > > > > On 20.05.2020 15:12, Ulf Hansson wrote: > > > + Greg > > > > > > On Wed, 20 May 2020 at 14:54, Marek Szyprowski > > > wrote: > > >> On

Re: [PATCH 00/13] Reconcile NUMA balancing decisions with the load balancer v6

2020-05-20 Thread Jirka Hladky
I have an update on netperf-cstate-small-cross-socket results. Reported performance degradation of 2.5% for the UDP stream throughput and 0.6% for the TCP throughput is for message size of 16kB. For smaller message sizes, the performance drop is higher - up to 5% for UDP throughput for a message

Re: [RFC PATCH 0/8] Qualcomm Cloud AI 100 driver

2020-05-20 Thread Greg Kroah-Hartman
On Wed, May 20, 2020 at 08:48:13AM -0600, Jeffrey Hugo wrote: > On 5/20/2020 2:34 AM, Daniel Vetter wrote: > > On Wed, May 20, 2020 at 7:15 AM Greg Kroah-Hartman > > wrote: > > > > > > On Tue, May 19, 2020 at 10:41:15PM +0200, Daniel Vetter wrote: > > > > On Tue, May 19, 2020 at 07:41:20PM

Re: clean up kernel_{read,write} & friends v2

2020-05-20 Thread Christoph Hellwig
ping? On Wed, May 13, 2020 at 08:56:42AM +0200, Christoph Hellwig wrote: > Hi Al, > > this series fixes a few issues and cleans up the helpers that read from > or write to kernel space buffers, and ensures that we don't change the > address limit if we are using the ->read_iter and ->write_iter

Re: [PATCH V7 00/15] perf/x86: Add perf text poke events

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:40:01PM -0300, Arnaldo Carvalho de Melo wrote: > PeterZ, from what we discussed for the next merge Window, perhaps we > should route the kernel bits via the tip tree while I will push the > tooling bits on my 5.8 merge request to Linus, Ok? Sure, I can take the kernel

Re: [RFC PATCH 0/8] Qualcomm Cloud AI 100 driver

2020-05-20 Thread Daniel Vetter
On Wed, May 20, 2020 at 08:48:13AM -0600, Jeffrey Hugo wrote: > On 5/20/2020 2:34 AM, Daniel Vetter wrote: > > On Wed, May 20, 2020 at 7:15 AM Greg Kroah-Hartman > > wrote: > > > > > > On Tue, May 19, 2020 at 10:41:15PM +0200, Daniel Vetter wrote: > > > > On Tue, May 19, 2020 at 07:41:20PM

Re: [PATCH 2/3] switchdev: mrp: Remove the variable mrp_ring_state

2020-05-20 Thread Ivan Vecera
On Wed, 20 May 2020 13:09:22 + Horatiu Vultur wrote: > Remove the variable mrp_ring_state from switchdev_attr because is not > used anywhere. > The ring state is set using SWITCHDEV_OBJ_ID_RING_STATE_MRP. > > Fixes: c284b5459008 ("switchdev: mrp: Extend switchdev API to offload MRP") >

Re: [PATCH net-next v2 3/4] dt-bindings: net: Add RGMII internal delay for DP83869

2020-05-20 Thread Dan Murphy
Andrew On 5/20/20 10:36 AM, Andrew Lunn wrote: Hi Dan Having it required with PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID is pretty unusual. Normally these properties are used to fine tune the delay, if the default of 2ns does not work. Also if the MAC phy-mode is configured

Re: [PATCH 3.16 43/99] efi: Use early_mem*() instead of early_io*()

2020-05-20 Thread Ben Hutchings
On Wed, 2020-05-20 at 15:14 +0100, Ben Hutchings wrote: > 3.16.84-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Daniel Kiper > > commit abc93f8eb6e46a480485f19256bdbda36ec78a84 upstream. I've now seen that this depends on the preceding

Re: [PATCH 3.16 37/99] clk: tegra: Mark fuse clock as critical

2020-05-20 Thread Ben Hutchings
On Wed, 2020-05-20 at 15:14 +0100, Ben Hutchings wrote: > 3.16.84-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Stephen Warren > > commit bf83b96f87ae2abb1e535306ea53608e8de5dfbb upstream. I've now dropped this, as CLK_IS_CRITICAL is not

Re: [PATCH net-next v2 2/4] net: phy: dp83869: Set opmode from straps

2020-05-20 Thread Florian Fainelli
On 5/20/2020 5:18 AM, Dan Murphy wrote: > If the op-mode for the device is not set in the device tree then set > the strapped op-mode and store it for later configuration. > > Signed-off-by: Dan Murphy Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v3] perf record: Use an eventfd to wakeup when done

2020-05-20 Thread Arnaldo Carvalho de Melo
Em Wed, May 13, 2020 at 01:39:41PM +0200, Jiri Olsa escreveu: > On Wed, May 13, 2020 at 12:20:23PM +1000, Anand K Mistry wrote: > > The setting and checking of 'done' contains a rare race where the signal > > handler setting 'done' is run after checking to break the loop, but > > before waiting in

Re: [PATCH] arm64/cpufeature: Move BUG_ON() inside get_arm64_ftr_reg()

2020-05-20 Thread Catalin Marinas
On Wed, May 20, 2020 at 01:20:13PM +0100, Will Deacon wrote: > On Wed, May 20, 2020 at 06:52:54AM +0530, Anshuman Khandual wrote: > > There is no way to proceed when requested register could not be searched in > > arm64_ftr_reg[]. Requesting for a non present register would be an error as > >

[rcu:rcu/next] BUILD SUCCESS 5b60c7d6d6e85e40289158d1347527f7a55cee40

2020-05-20 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: 5b60c7d6d6e85e40289158d1347527f7a55cee40 rcu: Mark rcu_nmi_enter() call to rcu_cleanup_after_idle() noinstr elapsed time: 592m configs tested: 92 configs skipped: 1 The following configs

Re: [PATCH] hwrng: ks-sa - fix runtime pm imbalance on error

2020-05-20 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
Hello Dinghao, On Wed, 2020-05-20 at 21:29 +0800, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > the call returns an error code. Thus a pairing decrement is needed > on the error handling path to keep the counter balanced. I believe, this is the wrong

[PATCH v8 5/5] dt-bindings: arm: fsl: add different Protonic boards

2020-05-20 Thread Oleksij Rempel
Add Protonic PRTI6Q, WD2, RVT, VT7 boards. Signed-off-by: Oleksij Rempel --- Documentation/devicetree/bindings/arm/fsl.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

[PATCH v8 4/5] ARM: dts: add Protonic RVT board

2020-05-20 Thread Oleksij Rempel
Protonic RVT is an internal development platform for a wireless ISObus Virtual Terminal based on COTS tablets, and the predecessor of the WD2 platform. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 +

[PATCH v8 2/5] ARM: dts: add Protonic WD2 board

2020-05-20 Thread Oleksij Rempel
Add support for the Protonic WD2 board, which is an internal development platform for low-cost agricultural Virtual Terminals based on COTS tablets and web applications. It inherits from the PRTI6Q base class. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel

[PATCH v8 3/5] ARM: dts: add Protonic VT7 board

2020-05-20 Thread Oleksij Rempel
The Protonic VT7 is a mid-class ISObus Virtual Terminal with a 7 inch touchscreen display. Reviewed-by: Rob Herring Signed-off-by: Robin van der Gracht Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile | 1 +

[PATCH v8 0/5] mainline Protonic boards

2020-05-20 Thread Oleksij Rempel
changes v8: - resend correct changes changes v7: - VT7: reorder node alphabetically - VT7: rename "reg_12v_bl: regulator-bl-12v" to "reg_bl_12v0: regulator-bl-12v0" - VT7: remove panel and TS nodes. This drivers are currently not mainline. - prti6q.dtsi: move reg_1v8 to prti6q.dts -

Re: clock_gettime64 vdso bug on 32-bit arm, rpi-4

2020-05-20 Thread Szabolcs Nagy
The 05/19/2020 22:31, Arnd Bergmann wrote: > On Tue, May 19, 2020 at 10:24 PM Adhemerval Zanella > wrote: > > On 19/05/2020 16:54, Arnd Bergmann wrote: > > > Jack Schmidt reported a bug for the arm32 clock_gettimeofday64 vdso call > > > last > > > month:

[PATCH v8 1/5] ARM: dts: add Protonic PRTI6Q board

2020-05-20 Thread Oleksij Rempel
Protonic PRTI6Q is a development board and a base class for different specific customer application boards based on the i.MX6 family of SoCs, developed by Protonic Holland. Reviewed-by: Rob Herring Signed-off-by: David Jander Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/Makefile

Re: [PATCH] ACPICA: Replace one-element array and use struct_size() helper

2020-05-20 Thread Kees Cook
On Wed, May 20, 2020 at 11:15:18AM +0200, Rafael J. Wysocki wrote: > On Wed, May 20, 2020 at 12:46 AM Gustavo A. R. Silva > wrote: > > > > On Tue, May 19, 2020 at 12:25:13PM +0200, Rafael J. Wysocki wrote: > > > On Tue, May 19, 2020 at 12:22 AM Gustavo A. R. Silva > > > wrote: > > > > > > > >

[PATCHv3 0/5] EXC3000 Updates

2020-05-20 Thread Sebastian Reichel
Hi, This is PATCHv3 of the EXC80Hxx support patchset. Changes since [PATCHv2]: - add #include for SZ_4K and SZ_16K (kbuild test bot) - fw_version_show must be ssize_t (kbuild test bot) - rename YAML binding file to include eeti, prefix (Enric) - noise from gpio-reset patch (Enric) - add

[PATCHv3 5/5] Input: EXC3000: Add reset gpio support

2020-05-20 Thread Sebastian Reichel
Add basic support for an optional reset gpio. Signed-off-by: Sebastian Reichel --- .../input/touchscreen/eeti,exc3000.yaml | 2 ++ drivers/input/touchscreen/exc3000.c | 17 + 2 files changed, 19 insertions(+) diff --git

<    3   4   5   6   7   8   9   10   11   12   >