[PATCH v4 02/32] auxdisplay: Introduce hd44780_common.[ch]

2020-10-05 Thread poeschel
From: Lars Poeschel There is some hd44780 specific code in charlcd and this code is used by multiple drivers. To make charlcd independent from this device specific code this has to be moved to a place where the multiple drivers can share their common code. This common place is now introduced as

[PATCH v4 03/32] auxdisplay: Move hwidth and bwidth to struct hd44780_common

2020-10-05 Thread poeschel
From: Lars Poeschel hwidth is for the hardware buffer size and bwidth is for the buffer width of one single line. This is specific to the hd44780 displays and so it is moved out from charlcd to struct hd44780_common. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel ---

[PATCH v4 01/32] auxdisplay: Use an enum for charlcd backlight on/off ops

2020-10-05 Thread poeschel
From: Lars Poeschel We use an enum for calling the functions in charlcd, that turn the backlight on or off. This enum is generic and can be used for other charlcd turn of / turn off operations as well. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c |

[PATCH v4 06/32] auxdisplay: Move write_cmd pointers to hd44780 drivers

2020-10-05 Thread poeschel
From: Lars Poeschel The write_cmd function is used to send commands to hd44780 displays. The individual hd44780 drivers then implement their appropriate way of doing this with their supported displays. So we move this pointer so hd44780_common. Reviewed-by: Willy Tarreau Signed-off-by: Lars

[PATCH v4 07/32] auxdisplay: Move addr out of charlcd_priv

2020-10-05 Thread poeschel
From: Lars Poeschel Move out the struct addr from struct charlcd_priv into the less private struct charlcd. This member is used to pass position information. The individual drivers need to be able to read this information, so we move this out of charlcd_priv to charlcd structure. Reviewed-by:

Re: [PATCH] mmc: meson-gx: remove IRQF_ONESHOT

2020-10-05 Thread Jerome Brunet
On Mon 05 Oct 2020 at 10:55, Thomas Gleixner wrote: > On Mon, Oct 05 2020 at 10:22, Ulf Hansson wrote: >> On Fri, 2 Oct 2020 at 18:49, Jerome Brunet wrote: >>> >>> IRQF_ONESHOT was added to this driver to make sure the irq was not enabled >>> again until the thread part of the irq had

[PATCH] w1: w1_therm: make w1_poll_completion static

2020-10-05 Thread Greg Kroah-Hartman
kernel test robot rightly points out that w1_poll_completion() should be static, so mark it as such. Cc: Ivan Zaentsev Reported-by: kernel test robot Signed-off-by: Greg Kroah-Hartman diff --git a/drivers/w1/slaves/w1_therm.c b/drivers/w1/slaves/w1_therm.c index e4baaf92f074..cddf60b7309c

Re: [PATCH 1/1] sched/uclamp: release per-task uclamp control if user set to default value

2020-10-05 Thread Dietmar Eggemann
+ Patrick Bellasi + Qais Yousef On 02.10.20 07:38, Yun Hsiang wrote: > On Wed, Sep 30, 2020 at 03:12:51PM +0200, Dietmar Eggemann wrote: [...] >> On 28/09/2020 10:26, Yun Hsiang wrote: >>> If the user wants to release the util clamp and let cgroup to control it, >>> we need a method to reset.

Re: [PATCH] Revert "Bluetooth: Update resolving list when updating whitelist"

2020-10-05 Thread Greg Kroah-Hartman
On Mon, Oct 05, 2020 at 02:19:32PM +0200, Marcel Holtmann wrote: > Hi Greg, > > >>> This reverts commit 0eee35bdfa3b472cc986ecc6ad76293fdcda59e2 as it > >>> breaks all bluetooth connections on my machine. > >>> > >>> Cc: Marcel Holtmann > >>> Cc: Sathish Narsimman > >>>

Re: [PATCH v2] regmap: irq: Add support to clear ack registers

2020-10-05 Thread Greg KH
On Mon, Oct 05, 2020 at 05:55:27PM +0530, b_lka...@codeaurora.org wrote: > That goes below the --- line, as the documentation says, right? And this whole thing was attached, twice, why? Can't you use 'git send-email'? > For particular codec HWs have requirement to > toggle interrupt clear

Re: [PATCH v3 1/4] dt-bindings: mmc: Convert mtk-sd to json-schema

2020-10-05 Thread Ulf Hansson
[...] > diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml > b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml > new file mode 100644 > index ..7f89cbdc52a5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml > @@ -0,0 +1,168 @@ > +#

Re: [PATCH 1/1] sched/uclamp: release per-task uclamp control if user set to default value

2020-10-05 Thread Pavan Kondeti
On Fri, Oct 02, 2020 at 01:38:12PM +0800, Yun Hsiang wrote: > On Wed, Sep 30, 2020 at 03:12:51PM +0200, Dietmar Eggemann wrote: > Hi Dietmar, > > > Hi Yun, > > > > On 28/09/2020 10:26, Yun Hsiang wrote: > > > If the user wants to release the util clamp and let cgroup to control it, > > > we need

Re: [PATCH v39 11/24] x86/sgx: Add SGX enclave driver

2020-10-05 Thread Jarkko Sakkinen
On Mon, Oct 05, 2020 at 11:42:46AM +0200, Greg KH wrote: > > > You use gpl-only header files in this file, so how in the world can it > > > be bsd-3 licensed? > > > > > > Please get your legal department to agree with this, after you explain > > > to them how you are mixing gpl2-only code in with

[PATCH trivial] hwmon: (mlxreg-fan) Fix double "Mellanox"

2020-10-05 Thread Geert Uytterhoeven
Remove the duplicate "Mellanox" in the help text for the Mellanox FAN driver configuration option. Fixes: 65afb4c8e7e4e7e7 ("hwmon: (mlxreg-fan) Add support for Mellanox FAN driver") Signed-off-by: Geert Uytterhoeven --- drivers/hwmon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] i2c: mlxbf: I2C_MLXBF should depend on MELLANOX_PLATFORM

2020-10-05 Thread Geert Uytterhoeven
The Mellanox BlueField I2C controller is only present on Mellanox BlueField SoCs. Hence add a dependency on MELLANOX_PLATFORM, to prevent asking the user about this driver when configuring a kernel without Mellanox platform support. Fixes: b5b5b32081cd206b ("i2c: mlxbf: I2C SMBus driver for

Re: [PATCH] gfs2: gfs2_read_sb: put gfs2_assert inside the loop

2020-10-05 Thread Andreas Gruenbacher
Hi Fox Chen, On Sat, Oct 3, 2020 at 8:33 AM Fox Chen wrote: > Before this patch, gfs2_assert is put outside of the loop of > sdp->sd_heightsize[x] calculation. When something goes wrong, > x exceeds the size of GFS2_MAX_META_HEIGHT, it may already crash inside > the loop when > >

Re: [PATCH 3/9] mm, page_alloc: remove setup_pageset()

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:06, Vlastimil Babka wrote: > We initialize boot-time pagesets with setup_pageset(), which sets high and > batch values that effectively disable pcplists. > > We can remove this wrapper if we just set these values for all pagesets in > pageset_init(). Non-boot pagesets then

Re: Build regressions/improvements in v5.9-rc8

2020-10-05 Thread Andy Shevchenko
On Mon, Oct 05, 2020 at 11:35:33AM +0200, Geert Uytterhoeven wrote: > On Mon, Oct 5, 2020 at 11:33 AM Geert Uytterhoeven > wrote: > > JFYI, when comparing v5.9-rc8[1] to v5.9-rc7[3], the summaries are: > > - build errors: +3/-6 Thanks for the report! > +

Re: [PATCH 2/3] soc/tegra: pmc: Allow optional irq parent callbacks

2020-10-05 Thread Marc Zyngier
On 2020-10-05 12:27, Thierry Reding wrote: On Mon, Oct 05, 2020 at 12:14:42PM +0100, Marc Zyngier wrote: Make the PMC driver resistent to variable depth interrupt hierarchy, which we are about to introduce. The irq_chip structure is now allocated statically, providing the indirection for the

[PATCH v4 20/32] auxdisplay: cleanup unnecessary hd44780 code in charlcd

2020-10-05 Thread poeschel
From: Lars Poeschel This cleans up now unnecessary hd44780 specific code from charlcd. We obsoleted this with the last three patches. So another chunk of hd44780 code can be dropped. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c | 17

[PATCH v4 19/32] auxdisplay: Implement hd44780_common_blink

2020-10-05 Thread poeschel
From: Lars Poeschel Implement a hd44780_common_blink function to turn on or off the blinking of the cursor. The hd44780 drivers just use this function and charlcd calls it through its ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel ---

[PATCH v4 22/32] auxdisplay: Implement hd44780_common_lines

2020-10-05 Thread poeschel
From: Lars Poeschel This implements hd44780_common_lines to switch the display between one and two lines mode. The hd44780 drivers use this function by adding it to their ops structure and charlcd now calls through its ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars

[PATCH v4 14/32] auxdisplay: Move init_display to hd44780_common

2020-10-05 Thread poeschel
From: Lars Poeschel The init_display function is moved over to hd44780_common. charlcd uses it via it's ops function pointer and drivers initialize the ops with the common hd44780_common_init_display function. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel ---

[PATCH v4 21/32] auxdisplay: Implement hd44780_common_fontsize

2020-10-05 Thread poeschel
From: Lars Poeschel This implements hd44780_common_fontsize to switch between two fontsizes. The hd44780 drivers can just set this function to their ops structure and charlcd uses it through this ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel ---

Re: [PATCH] net: phy: marvell: Use phy_read_paged() instead of open coding it

2020-10-05 Thread Andrew Lunn
On Mon, Oct 05, 2020 at 05:19:50PM +0800, Jisheng Zhang wrote: > Convert m88e1318_get_wol() to use the well implemented phy_read_paged() > instead of open coding it. > > Signed-off-by: Jisheng Zhang Reviewed-by: Andrew Lunn Andrew

[PATCH v4 31/32] auxdisplay: lcd2s DT binding doc

2020-10-05 Thread poeschel
From: Lars Poeschel Add a binding doc for the modtronix lcd2s auxdisplay driver. It also adds modtronix to the list of known vendor-prefixes. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- Changes in v3: - Fixed make dt_binding_doc errors Changes in v2: - Adopted yaml based file

[PATCH v4 17/32] auxdisplay: Implement a hd44780_common_display

2020-10-05 Thread poeschel
From: Lars Poeschel Implement a hd44780_common_display function to turn the whole display on or off. The hd44780 drivers can use this and charlcd uses this through its ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c| 6

[PATCH v4 16/32] auxdisplay: Implement hd44780_common_display_shift

2020-10-05 Thread poeschel
From: Lars Poeschel Implement a hd44780_common_display_shift function for hd44780 drivers to use. charlcd uses this through its ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c| 10 ++ drivers/auxdisplay/charlcd.h

[PATCH v4 32/32] auxdisplay: add a driver for lcd2s character display

2020-10-05 Thread poeschel
From: Lars Poeschel This driver allows to use a lcd2s 20x4 character display from Modtronix engineering as an auxdisplay charlcd device. Signed-off-by: Lars Poeschel --- Changes in v4: - modtronix -> Modtronix - Kconfig: remove "default n" --- drivers/auxdisplay/Kconfig | 10 +

[PATCH v4 29/32] auxdisplay: Change gotoxy calling interface

2020-10-05 Thread poeschel
From: Lars Poeschel Change the calling interface for gotoxy from supplying the x and y coordinates in the charlcd struct to explicitly supplying x and y in the function arguments. This is more intuitive and allows for moving the cursor to positions independent from the position saved in the

[PATCH v4 18/32] auxdisplay: Implement hd44780_common_cursor

2020-10-05 Thread poeschel
From: Lars Poeschel Implement a hd44780_common_cursor function to turn the cursor on and off. The hd44780 drivers can use this function and charlcd calls it through its ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c| 6

[PATCH v4 27/32] auxdisplay: hd44780: Remove clear_fast

2020-10-05 Thread poeschel
From: Lars Poeschel We remove the hd44780_clear_fast (display) clear implementation. With the new timeout the normal clear_display is reasonably fast. So there is no need for a clear_fast anymore. Link: https://lore.kernel.org/lkml/20200922092121.gg16...@1wt.eu/ Signed-off-by: Lars Poeschel

[PATCH v4 25/32] auxdisplay: Call charlcd_backlight in place

2020-10-05 Thread poeschel
From: Lars Poeschel This moves the call to charlcd_backlight from the end of the switch into the actual case statement that originates the change of the backlight. This is more consistent to what is now found in this switch. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel ---

[PATCH v4 23/32] auxdisplay: Remove unnecessary hd44780 from charlcd

2020-10-05 Thread poeschel
From: Lars Poeschel The last two commits made another chunk of hd44780 code unnecessary which we remove here. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-) diff --git

[PATCH v4 30/32] auxdisplay: charlcd: Do not print chars at end of line

2020-10-05 Thread poeschel
From: Lars Poeschel Skip printing characters at the end of a display line. This fits to the behaviour we already had, that the cursor is nailed to last position of a line. This might slightly change behaviour. On hd44780 displays with one or two lines the previous implementation did still write

[PATCH v4 28/32] auxdisplay: charlcd: replace last device specific stuff

2020-10-05 Thread poeschel
From: Lars Poeschel These are the last bits left in charlcd.c that are device specific and they are removed now. In detail this is: * bwidth, which is the width of the display buffer per line. This is replaced by width of the display. * hwidth, which is the size of the display buffer as a

[PATCH v4 24/32] auxdisplay: Move char redefine code to hd44780_common

2020-10-05 Thread poeschel
From: Lars Poeschel Take the code to redefine characters out of charlcd and move it to hd44780_common, as this is hd44780 specific. There is now a function hd44780_common_redefine_char that drivers use and charlcd calls it through its ops function pointer. Reviewed-by: Willy Tarreau

[PATCH v4 26/32] auxdisplay: hd44780_common: Reduce clear_display timeout

2020-10-05 Thread poeschel
From: Lars Poeschel Digging in the hd44780 datasheet revealed that the timeout needed after clearing the whole display is only 1,64ms not 15ms. So we can reduce that timeout. Link: https://lore.kernel.org/lkml/20200922092121.gg16...@1wt.eu/ Link:

[PATCH v4 13/32] auxdisplay: Make use of enum for backlight on / off

2020-10-05 Thread poeschel
From: Lars Poeschel To turn the backlight on or off use our new enum CHARLCD_ON / CHARLCD_OFF. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/auxdisplay/charlcd.c

[PATCH v4 15/32] auxdisplay: implement hd44780_common_shift_cursor

2020-10-05 Thread poeschel
From: Lars Poeschel Implement a hd44780_common_shift_cursor function for drivers to use and make charlcd use this function through ops function pointer. Reviewed-by: Willy Tarreau Signed-off-by: Lars Poeschel --- drivers/auxdisplay/charlcd.c| 33 -

Re: scripts/gdb: issues when loading modules after lx-symbols

2020-10-05 Thread Stefano Garzarella
On Mon, Oct 05, 2020 at 01:48:35PM +0200, Jan Kiszka wrote: > On 05.10.20 13:05, Stefano Garzarella wrote: > > On Mon, Oct 05, 2020 at 11:45:41AM +0200, Jan Kiszka wrote: > >> On 05.10.20 11:29, Stefano Garzarella wrote: > >>> On Mon, Oct 05, 2020 at 10:33:30AM +0200, Jan Kiszka wrote: > On

Re: [PATCH 2/9] mm, page_alloc: calculate pageset high and batch once per zone

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:05, Vlastimil Babka wrote: > We currently call pageset_set_high_and_batch() for each possible cpu, which > repeats the same calculations of high and batch values. > > Instead call the function just once per zone, and make it apply the calculated > values to all per-cpu

Re: [PATCH 2/2] mmc: sdhci-acpi: AMDI0040: Allow changing HS200/HS400 driver strength

2020-10-05 Thread Ulf Hansson
On Mon, 28 Sep 2020 at 23:59, Raul E Rangel wrote: > > This change will allow platform designers better control over signal > integrity by allowing them to tune the HS200 and HS400 driver strengths. > > The driver strength was previously hard coded to A to solve boot > problems with certain

Re: [PATCH] cma: decrease CMA_ALIGNMENT lower limit to 2

2020-10-05 Thread Christoph Hellwig
Thanks, applied to dma-mapping for-next.

[PATCH] pinctrl: visconti: PINCTRL_TMPV7700 should depend on ARCH_VISCONTI

2020-10-05 Thread Geert Uytterhoeven
The Toshiba Visconti TMPV7700 series pin controller is only present on Visconti SoCs. Hence add a dependency on ARCH_VISCONTI, to prevent asking the user about this driver when configuring a kernel without Visconti platform support. Fixes: a68a7844264e4fb9 ("pinctrl: visconti: Add Toshiba

Re: [PATCH 1/2] mmc: sdhci-acpi: AMDI0040: Set SDHCI_QUIRK2_PRESET_VALUE_BROKEN

2020-10-05 Thread Ulf Hansson
On Mon, 28 Sep 2020 at 23:59, Raul E Rangel wrote: > > This change fixes HS400 tuning for devices with invalid presets. > > SDHCI presets are not currently used for eMMC HS/HS200/HS400, but are > used for DDR52. The HS400 retuning sequence is: > > HS400->DDR52->HS->HS200->Perform

Re: [PATCH 1/3] KVM: x86: disconnect kvm_check_cpuid() from vcpu->arch.cpuid_entries

2020-10-05 Thread Maxim Levitsky
On Mon, 2020-10-05 at 13:51 +0200, Vitaly Kuznetsov wrote: > Maxim Levitsky writes: > > > On Thu, 2020-10-01 at 15:05 +0200, Vitaly Kuznetsov wrote: > > > As a preparatory step to allocating vcpu->arch.cpuid_entries dynamically > > > make kvm_check_cpuid() check work with an arbitrary 'struct >

Re: [PATCH 5/5] gpio: uapi: clarify the meaning of 'empty' char arrays

2020-10-05 Thread Kent Gibson
On Mon, Oct 05, 2020 at 02:01:22PM +0300, Andy Shevchenko wrote: > On Mon, Oct 5, 2020 at 10:07 AM Kent Gibson wrote: > > > > Clarify that a char array containing a string is considered 'empty' if > > the first character is the null terminator. The remaining characters > > are not relevant to

Re: [PATCH 0/3] soc/tegra: Prevent the PMC driver from corrupting interrupt routing

2020-10-05 Thread Marc Zyngier
On 2020-10-05 12:22, Thierry Reding wrote: On Mon, Oct 05, 2020 at 12:14:40PM +0100, Marc Zyngier wrote: Jon recently reported that one of the Tegra systems (Jetson TX2, aka tegra186) stopped booting with the introduction of the "IPI as IRQs" series. After a few weeks of head scratching and

Re: [net-next v2 10/11] bridge: switchdev: cfm: switchdev interface implementation

2020-10-05 Thread Allan W. Nielsen
Hi Jiri On 01.10.2020 14:49, Jiri Pirko wrote: EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe Thu, Oct 01, 2020 at 12:30:18PM CEST, henrik.bjoernl...@microchip.com wrote: This is the definition of the CFM switchdev interface. The interface consist

[PATCH V2] scsi: ufs: Add DeepSleep feature

2020-10-05 Thread Adrian Hunter
DeepSleep is a UFS v3.1 feature that achieves the lowest power consumption of the device, apart from power off. In DeepSleep mode, no commands are accepted, and the only way to exit is using a hardware reset or power cycle. This patch assumes that if a power cycle was an option, then power off

Re: [RFC 0/3] iommu: Reserved regions for IOVAs beyond dma_mask and iommu aperture

2020-10-05 Thread Christoph Hellwig
On Mon, Oct 05, 2020 at 11:44:10AM +0100, Lorenzo Pieralisi wrote: > > I see that there are both OF and ACPI hooks in pci_dma_configure() and > > both modify dev->dma_mask, which is what pci-sysfs is exposing here, > > but I'm not convinced this even does what it's intended to do. The > > driver

Re: [PATCH v2 5/5] media: mt9p031: Fix corrupted frame after restarting stream

2020-10-05 Thread Laurent Pinchart
Hi Stefan, On Mon, Oct 05, 2020 at 11:28:21AM +0200, Stefan Riedmüller wrote: > On 02.10.20 02:05, Laurent Pinchart wrote: > > On Wed, Sep 30, 2020 at 12:51:33PM +0200, Stefan Riedmueller wrote: > >> From: Dirk Bender > >> > >> To prevent corrupted frames after starting and stopping the sensor

Re: [PATCH 3/3] soc/tegra: pmc: Don't create fake interrupt hierarchy levels

2020-10-05 Thread Marc Zyngier
On 2020-10-05 12:33, Thierry Reding wrote: On Mon, Oct 05, 2020 at 12:14:43PM +0100, Marc Zyngier wrote: The Tegra PMC driver does ungodly things with the interrupt hierarchy, repeatedly corrupting it by pulling hwirq numbers out of thin air, overriding existing IRQ mappings and changing the

[PATCH] docs: hwmon: (ltc2945): update datasheet link

2020-10-05 Thread Alexandru Ardelean
Old one isn't working anymore. Update to the latest datasheet link. Signed-off-by: Alexandru Ardelean --- Documentation/hwmon/ltc2945.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/hwmon/ltc2945.rst b/Documentation/hwmon/ltc2945.rst index

Re: [PATCH] net: phy: marvell: Use phy_read_paged() instead of open coding it

2020-10-05 Thread David Miller
From: Jisheng Zhang Date: Mon, 5 Oct 2020 17:19:50 +0800 > Convert m88e1318_get_wol() to use the well implemented phy_read_paged() > instead of open coding it. > > Signed-off-by: Jisheng Zhang Applied, thanks!

Re: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-05 Thread Benjamin Berg
Hi, seems reasonable to me. Quite simple, but likely good enough as we are sticking to only use well known names. Just found a small typo. Benjamin On Sat, 2020-10-03 at 15:19 +0200, Hans de Goede wrote: > On modern systems CPU/GPU/... performance is often dynamically configurable > in the

Re: [PATCH 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm

2020-10-05 Thread Jason Gunthorpe
On Mon, Oct 05, 2020 at 03:30:43AM +0200, Jann Horn wrote: > But another place where lockdep asserts should be added is find_vma(); > there are currently several architectures that sometimes improperly > call that with no lock held: Yes, I've seen several cases of this mis-use in drivers too

Re: [PATCH] arm64: dts: marvell: espressobin: De-duplicate eMMC definitions

2020-10-05 Thread Gregory CLEMENT
Hi Pali, > On Sunday 27 September 2020 08:40:41 Andre Heider wrote: >> On 25/09/2020 10:50, Pali Rohár wrote: >> > eMMC definitions in files armada-3720-espressobin-emmc.dts and >> > armada-3720-espressobin-v7-emmc.dts is same. So move it into common >> > armada-3720-espressobin.dtsi file with

[Question] rtc wake behavior and sysfs

2020-10-05 Thread Peter Geis
Good Morning, While testing suspend to ram on the Ouya, I encountered an interesting issue with the rtc-tps65910 driver. Attempting to use rtc-wake on the default configuration returned: rtcwake: /dev/rtc0 not enabled for wakeup events This is due to: eb5eba4ef722 drivers/rtc/rtc-tps65910.c:

[PATCH] regulator: Make constraint debug processing conditional on DEBUG

2020-10-05 Thread Geert Uytterhoeven
If debugging is disabled, print_constraints() does not print the actual constraints, but still performs some processing and string formatting, only to throw away the result later. Fix this by moving all constraint debug processing to a separate function, and replacing it by a dummy when debugging

Re: [PATCH 20/25] ASoC: sun8i-codec: Protect the clock rate while streams are open

2020-10-05 Thread Chen-Yu Tsai
On Mon, Oct 5, 2020 at 8:01 PM Maxime Ripard wrote: > > On Wed, Sep 30, 2020 at 09:11:43PM -0500, Samuel Holland wrote: > > The codec's clock input is shared among all AIFs, and shared with other > > audio-related hardware in the SoC, including I2S and SPDIF controllers. > > To ensure sample

Re: [stable 4.19] [PANIC]: tracing: Centralize preemptirq tracepoints and unify their usage

2020-10-05 Thread Greg Kroah-Hartman
On Fri, Sep 25, 2020 at 11:30:49AM -0400, Steven Rostedt wrote: > On Fri, 25 Sep 2020 17:12:45 +0200 > Greg Kroah-Hartman wrote: > > > > Specifically, commits: > > > > > > a0d14b8909de55139b8702fe0c7e80b69763dcfb ("x86/mm, tracing: Fix CR2 > > > corruption") > > >

Re: [PATCH 4/9] mm, page_alloc: simplify pageset_update()

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:07, Vlastimil Babka wrote: > pageset_update() attempts to update pcplist's high and batch values in a way > that readers don't observe batch > high. It uses smp_wmb() to order the > updates > in a way to achieve this. However, without proper pairing read barriers in >

Re: [PATCH v6 02/14] ASoC: sun4i-i2s: Change set_chan_cfg() params

2020-10-05 Thread Clément Péron
Hi Maxime, On Mon, 5 Oct 2020 at 14:13, Maxime Ripard wrote: > > On Sat, Oct 03, 2020 at 04:19:38PM +0200, Clément Péron wrote: > > As slots and slot_width can be set manually using set_tdm(). > > These values are then kept in sun4i_i2s struct. > > So we need to check if these values are setted

Re: [Cluster-devel] [PATCH] gfs2: gfs2_read_sb: put gfs2_assert inside the loop

2020-10-05 Thread Andrew Price
On 03/10/2020 07:31, Fox Chen wrote: for (x = 2;; x++) { ... gfs2_assert(sdp, x <= GFS2_MAX_META_HEIGHT); <--- after ... if (d != sdp->sd_heightsize[x - 1] || m) break; sdp->sd_heightsize[x] = space; } sdp->sd_max_height = x

Re: [PATCH 5/9] mm, page_alloc: make per_cpu_pageset accessible only after init

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:08, Vlastimil Babka wrote: > setup_zone_pageset() replaces the boot_pageset by allocating and initializing > a > proper percpu one. Currently it assigns zone->pageset with the newly allocated > one before initializing it. That's currently not an issue, because the zone >

Re: [PATCH V3 0/5] cpufreq: Record stats with fast-switching

2020-10-05 Thread Rafael J. Wysocki
On Mon, Oct 5, 2020 at 9:56 AM Viresh Kumar wrote: > > Hi, > > We disabled recording cpufreq stats when fast switching was introduced > to the cpufreq core as the cpufreq stats required to take a spinlock and > that can't be allowed (for performance reasons) on scheduler's hot path. > > Here is

Re: [PATCH v4 2/3] iommu/tegra-smmu: Rework tegra_smmu_probe_device()

2020-10-05 Thread Dmitry Osipenko
05.10.2020 14:15, Thierry Reding пишет: > On Mon, Oct 05, 2020 at 01:36:55PM +0300, Dmitry Osipenko wrote: >> 05.10.2020 12:53, Thierry Reding пишет: >>> On Fri, Oct 02, 2020 at 05:50:08PM +0300, Dmitry Osipenko wrote: 02.10.2020 17:22, Dmitry Osipenko пишет: >> static int

Re: [PATCH 6/9] mm, page_alloc: cache pageset high and batch in struct zone

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:09, Vlastimil Babka wrote: > All per-cpu pagesets for a zone use the same high and batch values, that are > duplicated there just for performance (locality) reasons. This patch adds the > same variables also to struct zone as a shared copy. > > This will be useful later for

Greetings friend..

2020-10-05 Thread Dawuda Usman
Dear Friend, I am Mr. Dawuda Usman working with the department of Audit and accounting manager here in the Bank, There is this fund that was kept in my custody years ago,please I need your assistance for the transferring of this fund to your bank account for both of us benefit for life time

[PATCH v4] net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails

2020-10-05 Thread Anant Thazhemadam
When get_registers() fails in set_ethernet_addr(),the uninitialized value of node_id gets copied over as the address. So, check the return value of get_registers(). If get_registers() executed successfully (i.e., it returns sizeof(node_id)), copy over the MAC address using ether_addr_copy()

[PATCH] arm64: tegra: Fix GIC400 missing GICH/GICV register regions

2020-10-05 Thread Marc Zyngier
GIC400 has full support for virtualization, and yet the tegra186 DT doesn't expose the GICH/GICV regions (despite exposing the maintenance interrupt that only makes sense for virtualization). Add the missing regions, based on the hunch that the HW doesn't use the CPU build-in interfaces, but

[PATCH v2] arm64: dts: marvell: espressobin: Update link to V7 schematic

2020-10-05 Thread Pali Rohár
Up-to-date version of V7 schematic is on new URL linked from official tech-spec webpage http://espressobin.net/tech-spec/ Signed-off-by: Pali Rohár --- Changes in V2: * Added commit description --- arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts | 2 +-

Re: [PATCH RESEND] hv: clocksource: Add notrace attribute to read_hv_sched_clock_*() functions

2020-10-05 Thread Mohammed Gamal
On Mon, 2020-10-05 at 13:47 +0200, Mohammed Gamal wrote: > When selecting function_graph tracer with the command: > # echo function_graph > /sys/kernel/debug/tracing/current_tracer > > The kernel crashes with the following stack trace: > > [69703.122389] BUG: stack guard page was hit at

Re: [PATCH v6 03/14] ASoC: sun4i-i2s: Change get_sr() and get_wss() to be more explicit

2020-10-05 Thread Clément Péron
Hi Maxime, On Mon, 5 Oct 2020 at 14:14, Maxime Ripard wrote: > > On Sat, Oct 03, 2020 at 04:19:39PM +0200, Clément Péron wrote: > > We are actually using a complex formula to just return a bunch of > > simple values. Also this formula is wrong for sun4i when calling > > get_wss() the function

Re: [PATCH V3 1/2] bindings: media: gpio-ir-receiver: add linux,autosuspend-period property

2020-10-05 Thread Rob Herring
On Sat, Oct 3, 2020 at 3:46 AM Sean Young wrote: > > On Tue, Sep 29, 2020 at 10:52:01AM -0500, Rob Herring wrote: > > On Wed, Sep 23, 2020 at 03:08:06AM +0800, Joakim Zhang wrote: > > > Add linux,autosuspend-period property for gpio ir receiver. Some cpuidle > > > systems wake from idle may take

[PATCH] arm/arm64: xen: Fix to convert percpu address to gfn correctly

2020-10-05 Thread Masami Hiramatsu
Use per_cpu_ptr_to_phys() instead of virt_to_phys() for per-cpu address conversion. In xen_starting_cpu(), per-cpu xen_vcpu_info address is converted to gfn by virt_to_gfn() macro. However, since the virt_to_gfn(v) assumes the given virtual address is in contiguous kernel memory area, it can not

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-10-05 Thread Rafael Aquini
On Thu, Oct 01, 2020 at 10:31:57AM -0400, Rafael Aquini wrote: > On Fri, Sep 25, 2020 at 11:21:58AM +0800, Huang, Ying wrote: > > Rafael Aquini writes: > > >> Or, can you help to run the test with a debug kernel based on upstream > > >> kernel. I can provide some debug patch. > > >> > > > > > >

RE: [RFC] Documentation: Add documentation for new performance_profile sysfs class

2020-10-05 Thread Limonciello, Mario
> On modern systems CPU/GPU/... performance is often dynamically configurable > in the form of e.g. variable clock-speeds and TPD. The performance is often > automatically adjusted to the load by some automatic-mechanism (which may > very well live outside the kernel). > > These auto

Re: [PATCH V2 3/4] misc: vop: simply return the saved dma address instead of virt_to_phys

2020-10-05 Thread Christoph Hellwig
On Wed, Sep 30, 2020 at 07:30:21AM +, Sherry Sun wrote: > There may be some misunderstandings here. > For ->get_dp_dma callback, it is used to get the device page dma address, > which is allocated by MIC layer instead of vop layer. > For Intel mic, it still use kzalloc and dma_map_single

Re: [PATCH 1/2] pwm: sysfs: Set class on pwm devices

2020-10-05 Thread Lars Poeschel
On Fri, Oct 02, 2020 at 03:35:12PM +0200, Greg Kroah-Hartman wrote: > On Fri, Oct 02, 2020 at 03:08:44PM +0200, Lars Poeschel wrote: > > On Fri, Oct 02, 2020 at 02:46:16PM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Oct 02, 2020 at 02:30:47PM +0200, poesc...@lemonage.de wrote: > > > > From:

Re: [RFC PATCH 1/4] x86/signal: Introduce helpers to get the maximum signal frame size

2020-10-05 Thread Dave Martin
On Tue, Sep 29, 2020 at 01:57:43PM -0700, Chang S. Bae wrote: > Signal frames do not have a fixed format and can vary in size when a number > of things change: support XSAVE features, 32 vs. 64-bit apps. Add the code > to support a runtime method for userspace to dynamically discover how large > a

האם קיבלת את ההודעה הקודמת שלי?

2020-10-05 Thread james duke
-- Best wish

Re: [PATCH] [PATCH] of_reserved_mem: Increase the number of reserved regions

2020-10-05 Thread Rob Herring
On Sun, Oct 4, 2020 at 12:50 AM Phil Chang wrote: > > Certain SoCs need to support large amount of reserved memory > regions, especially to follow the GKI rules from Google. > In MTK new SoC requires more than 68 regions of reserved memory > for each IP's usage, such as load firmware to specific

Re: [PATCH v3 7/7] dma-buf: system_heap: Add a system-uncached heap re-using the system heap

2020-10-05 Thread Christoph Hellwig
How is this going to deal with VIVT caches?

Re: [RFC PATCH 0/4] x86: Improve Minimum Alternate Stack Size

2020-10-05 Thread Dave Martin
On Tue, Sep 29, 2020 at 01:57:42PM -0700, Chang S. Bae wrote: > During signal entry, the kernel pushes data onto the normal userspace > stack. On x86, the data pushed onto the user stack includes XSAVE state, > which has grown over time as new features and larger registers have been > added to the

Re: WARNING in get_signal

2020-10-05 Thread Oleg Nesterov
On 10/02, Eric W. Biederman wrote: > > syzbot writes: > > > Hello, > > > > syzbot found the following issue on: > > So this is: > > static void do_jobctl_trap(void) > { > struct signal_struct *signal = current->signal; > int signr = current->jobctl & JOBCTL_STOP_SIGMASK; > > if

Re: [PATCH 1/2] dt-bindings: drm/bridge: ti-sn65dsi86: Replace #pwm-cells

2020-10-05 Thread Rob Herring
On Wed, 30 Sep 2020 17:35:31 -0500, Bjorn Andersson wrote: > While the signal on GPIO4 to drive the backlight controller indeed is > pulse width modulated its purpose is specifically to control the > brightness of a backlight. > > Drop the #pwm-cells and instead expose a new property to configure

Re: [PATCH] leds: lm3697: Fix out-of-bound access

2020-10-05 Thread Pavel Machek
Hi! > > if (ret) > > dev_err(>client->dev, "Cannot write OUTPUT config\n"); > > > > - for (i = 0; i < LM3697_MAX_CONTROL_BANKS; i++) { > > + for (i = 0; i < priv->num_leds; i++) { > > Ultracoolguy is correct that this for cycle should not iterate > LM3697_MAX_CONTROL_BANKS.

Re: [PATCH v6 2/7] dt-bindings: leds: Convert pwm to yaml

2020-10-05 Thread Rob Herring
On Thu, 01 Oct 2020 01:46:32 +0200, Alexander Dahl wrote: > The example was adapted in the following ways: > > - make use of the now supported 'function' and 'color' properties > - remove pwm nodes, those are documented elsewhere > - tweake node names to be matched by new dtschema rules > >

Re: [PATCH RFC v2] Opportunistic memory reclaim

2020-10-05 Thread Andrea Righi
On Mon, Oct 05, 2020 at 12:25:55PM +0100, Chris Down wrote: > Andrea Righi writes: > > This feature has been successfully used to improve hibernation time of > > cloud computing instances. > > > > Certain cloud providers allow to run "spot instances": low-priority > > instances that run when

Re: [PATCH v2 3/5] vfio-pci/zdev: define the vfio_zdev header

2020-10-05 Thread Matthew Rosato
On 10/2/20 5:44 PM, Alex Williamson wrote: On Fri, 2 Oct 2020 16:00:42 -0400 Matthew Rosato wrote: We define a new device region in vfio.h to be able to get the ZPCI CLP information by reading this region from userspace. We create a new file, vfio_zdev.h to define the structure of the new

Re: [PATCH] drm/gma500: fix double free of gma_connector

2020-10-05 Thread Daniel Vetter
On Sat, Oct 03, 2020 at 12:39:28PM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis reports this problem: > > cdv_intel_dp.c:2101:2: warning: Attempt to free released memory > kfree(gma_connector); > ^~~~ > > In cdv_intel_dp_init() when

Re: [PATCH v6 2/7] dt-bindings: leds: Convert pwm to yaml

2020-10-05 Thread Rob Herring
On Thu, 01 Oct 2020 01:46:32 +0200, Alexander Dahl wrote: > The example was adapted in the following ways: > > - make use of the now supported 'function' and 'color' properties > - remove pwm nodes, those are documented elsewhere > - tweake node names to be matched by new dtschema rules > >

Re: PCI: Race condition in pci_create_sysfs_dev_files

2020-10-05 Thread Bjorn Helgaas
On Mon, Oct 05, 2020 at 10:20:18AM +0200, Pali Rohár wrote: > PING? Sorry, I guess nobody has had the right combination of time, interest, and knowledge to work on this. I'll try to take a look this week. > On Wednesday 09 September 2020 13:28:50 Pali Rohár wrote: > > Hello! I'm adding more

Re: [PATCH 07/14] drm/msm: Refcount submits

2020-10-05 Thread Daniel Vetter
On Sun, Oct 04, 2020 at 12:21:39PM -0700, Rob Clark wrote: > From: Rob Clark > > Before we remove dev->struct_mutex from the retire path, we have to deal > with the situation of a submit retiring before the submit ioctl returns. > > To deal with this, ring->submits will hold a reference to the

Re: [PATCH 7/9] mm, page_alloc: move draining pcplists to page isolation users

2020-10-05 Thread Michal Hocko
On Tue 22-09-20 16:37:10, Vlastimil Babka wrote: > Currently, pcplists are drained during set_migratetype_isolate() which means > once per pageblock processed start_isolate_page_range(). This is somewhat > wasteful. Moreover, the callers might need different guarantees, and the > draining is

Re: [PATCH] leds: lm3697: Fix out-of-bound access

2020-10-05 Thread ultracoolguy
I agree with you. Attached patch with changes. Oct 5, 2020, 12:13 by ka...@blackhole.sk: > On Sat, 3 Oct 2020 15:02:51 +0200 (CEST) > ultracool...@tutanota.com wrote: > >> From 0dfd5ab647ccbc585c543d702b44d20f0e3fe436 Mon Sep 17 00:00:00 2001 >> From: Ultracoolguy >> Date: Fri, 2 Oct 2020

[GIT PULL] platform-drivers-x86 for 5.9-2

2020-10-05 Thread Andy Shevchenko
Hi Linus, I know that this is not the right time for the PR of such size, but we kinda have a force major situation. As you know Darren have been not having time to fulfil maintainer's responsibilities for some time already and now I have to step down as a maintainer as well. I will concentrate

  1   2   3   4   5   6   7   8   9   10   >