[PATCH V2 2/2] mm/highmem: Lift memcpy_[to|from]_page to core

2020-12-07 Thread ira . weiny
From: Ira Weiny Working through a conversion to a call such as kmap_thread() revealed many places where the pattern kmap/memcpy/kunmap occurred. Eric Biggers, Matthew Wilcox, Christoph Hellwig, Dan Williams, and Al Viro all suggested putting this code into helper functions. Al Viro further

[PATCH V2 0/2] Lift memcpy_[to|from]_page to core

2020-12-07 Thread ira . weiny
From: Ira Weiny These are based on tip/core/mm. As I was looking at converting the calls to kmap_local_page() I realized that there were a number of calls in highmem.h which should also be converted. So I've added a second prelim patch to convert those. This is a V2 to get into 5.11 so that

Re: [PATCH v2 04/18] dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC

2020-12-07 Thread Cristian Ciocaltea
On Mon, Dec 07, 2020 at 04:11:07PM -0600, Rob Herring wrote: > On Fri, 20 Nov 2020 01:55:58 +0200, Cristian Ciocaltea wrote: > > Add a new compatible string corresponding to the DMA controller found > > in the S500 variant of the Actions Semi Owl SoCs family. > > > > Signed-off-by: Cristian

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Paul E. McKenney
On Mon, Dec 07, 2020 at 11:46:48PM +0100, Thomas Gleixner wrote: > On Mon, Dec 07 2020 at 14:38, Paul E. McKenney wrote: > > > On Mon, Dec 07, 2020 at 10:46:33PM +0100, Thomas Gleixner wrote: > >> On Mon, Dec 07 2020 at 11:44, Paul E. McKenney wrote: > >> > On Mon, Dec 07, 2020 at 07:19:51PM

Re: [PATCH v5 0/4] scsi: ufs: Refine error history and introduce event_notify vop

2020-12-07 Thread Martin K. Petersen
Stanley, > This series refines error history functions and introduces a new > event_notify vop to allow vendor to get notification of important > events. Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 4/7] regulator: Add regulator driver for ATC260x PMICs

2020-12-07 Thread Cristian Ciocaltea
On Mon, Dec 07, 2020 at 01:30:03PM +, Mark Brown wrote: > On Sun, Dec 06, 2020 at 03:27:04AM +0200, Cristian Ciocaltea wrote: > > > +/* > > + * ATC2603C notes: > > + * - LDO8 is not documented in datasheet (v2.4), but supported > > + * in the vendor's driver implementation (xapp-le-kernel).

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Michal Kubecek
On Mon, Dec 07, 2020 at 02:44:22PM -0800, Alexei Starovoitov wrote: > On Mon, Dec 7, 2020 at 10:36 AM Justin Forbes wrote: > > > > On Mon, Dec 7, 2020 at 2:16 AM Michal Kubecek wrote: > > > > > > On Thu, Nov 12, 2020 at 08:18:57AM +0800, Alex Shi wrote: > > > > > > > > > > > > 在 2020/11/11

Re: [PATCH v3 3/6] dt-bindings: ata: tegra: Convert binding documentation to YAML

2020-12-07 Thread Rob Herring
On Mon, 23 Nov 2020 12:17:22 -0800, Sowjanya Komatineni wrote: > This patch converts text based dt-binding document to YAML based > dt-binding document. > > Signed-off-by: Sowjanya Komatineni > --- > .../devicetree/bindings/ata/nvidia,tegra-ahci.yaml | 138 > + >

Re: [PATCH 1/6] dt-bindings: phy: phy-stm32-usbphyc: move PLL supplies to parent node

2020-12-07 Thread Rob Herring
On Mon, 23 Nov 2020 18:01:27 +0100, Amelie Delaunay wrote: > PLL block requires to be powered with 1v1 and 1v8 supplies to catch ENABLE > signal. > Currently, supplies are managed through phy_ops .power_on/off, and PLL > activation/deactivation is managed through phy_ops .init/exit. > The sequence

Re: [PATCH v2 09/24] file: Replace fcheck_files with files_lookup_fd_rcu

2020-12-07 Thread Al Viro
On Mon, Dec 07, 2020 at 10:46:57PM +, Al Viro wrote: > On Fri, Nov 20, 2020 at 05:14:26PM -0600, Eric W. Biederman wrote: > > > /* > > * Check whether the specified fd has an open file. > > */ > > -#define fcheck(fd) fcheck_files(current->files, fd) > > +#define fcheck(fd)

Re: [PATCH 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings

2020-12-07 Thread Rob Herring
On Mon, Nov 23, 2020 at 03:51:56PM +0100, Neil Armstrong wrote: > The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI > panels, this adds the bindings. > > This Analog D-PHY works with a separate Digital MIPI D-PHY. > > Signed-off-by: Neil Armstrong > --- >

Re: [PATCH v2 09/24] file: Replace fcheck_files with files_lookup_fd_rcu

2020-12-07 Thread Al Viro
On Fri, Nov 20, 2020 at 05:14:26PM -0600, Eric W. Biederman wrote: > /* > * Check whether the specified fd has an open file. > */ > -#define fcheck(fd) fcheck_files(current->files, fd) > +#define fcheck(fd) files_lookup_fd_rcu(current->files, fd) Huh? fs/file.c:1113: file =

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Thomas Gleixner
On Mon, Dec 07 2020 at 14:38, Paul E. McKenney wrote: > On Mon, Dec 07, 2020 at 10:46:33PM +0100, Thomas Gleixner wrote: >> On Mon, Dec 07 2020 at 11:44, Paul E. McKenney wrote: >> > On Mon, Dec 07, 2020 at 07:19:51PM +0100, Marco Elver wrote: >> >> On Mon, 7 Dec 2020 at 18:46, Thomas Gleixner

Re: [PATCH 1/2] dt-bindings: phy: add Amlogic G12A Analog MIPI D-PHY bindings

2020-12-07 Thread Rob Herring
On Mon, Nov 23, 2020 at 03:51:56PM +0100, Neil Armstrong wrote: > The Amlogic G12A SoCs embeds an Analog MIPI D-PHY to communicate with DSI > panels, this adds the bindings. > > This Analog D-PHY works with a separate Digital MIPI D-PHY. > > Signed-off-by: Neil Armstrong > --- >

Re: [PATCH] mm/filemap: add static for function __add_to_page_cache_locked

2020-12-07 Thread Alexei Starovoitov
On Mon, Dec 7, 2020 at 10:36 AM Justin Forbes wrote: > > On Mon, Dec 7, 2020 at 2:16 AM Michal Kubecek wrote: > > > > On Thu, Nov 12, 2020 at 08:18:57AM +0800, Alex Shi wrote: > > > > > > > > > 在 2020/11/11 上午3:50, Andrew Morton 写道: > > > > On Tue, 10 Nov 2020 08:39:24 +0530 Souptick Joarder >

Re: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: Add power supplies

2020-12-07 Thread Rob Herring
On Mon, 23 Nov 2020 11:46:52 +0800, Hsin-Yi Wang wrote: > anx7625 requires 3 power supply regulators. > > Signed-off-by: Hsin-Yi Wang > --- > Change: > v2: remove maxItems for supplies > --- > .../bindings/display/bridge/analogix,anx7625.yaml | 15 +++ > 1 file changed, 15

Re: [PATCH v3] drivers: gpio: add virtio-gpio guest driver

2020-12-07 Thread kernel test robot
Hi "Enrico, I love your patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on linux/master linus/master v5.10-rc7 next-20201207] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest t

[PATCH v2 2/2] PCI: Disable PTM during suspend to save power

2020-12-07 Thread David E. Box
There are systems (for example, Intel based mobile platforms since Coffee Lake) where the power drawn while suspended can be significantly reduced by disabling Precision Time Measurement (PTM) on PCIe root ports as this allows the port to enter a lower-power PM state and the SoC to reach a

Re: [PATCH 1/1] dt-bindings: Fix error in 'make dtbs_check' when using DT_SCHEMA_FILES

2020-12-07 Thread Cristian Ciocaltea
On Mon, Dec 07, 2020 at 03:48:31PM -0600, Rob Herring wrote: > On Wed, Nov 18, 2020 at 05:20:50PM +0200, Cristian Ciocaltea wrote: > > If DT_SCHEMA_FILES is specified and contains more than one file paths, > > If that worked before, it was by chance. :) Yes, it's called '_FILES', > but more than

[PATCH v2 1/2] Add save/restore of Precision Time Measurement capability

2020-12-07 Thread David E. Box
The PCI subsystem does not currently save and restore the configuration space for the Precision Time Measurement (PTM) PCIe extended capability leading to the possibility of the feature returning disabled on S3 resume. This has been observed on Intel Coffee Lake desktops. Add save/restore of the

[PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-07 Thread Babu Moger
Newer AMD processors have a feature to virtualize the use of the SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically virtualized and no longer requires hypervisor intervention. This feature is detected via CPUID function 0x800A_EDX[20]: GuestSpecCtrl. Hypervisors are not

Re: [patch 3/3] tick: Annotate tick_do_timer_cpu data races

2020-12-07 Thread Paul E. McKenney
On Mon, Dec 07, 2020 at 10:46:33PM +0100, Thomas Gleixner wrote: > On Mon, Dec 07 2020 at 11:44, Paul E. McKenney wrote: > > On Mon, Dec 07, 2020 at 07:19:51PM +0100, Marco Elver wrote: > >> On Mon, 7 Dec 2020 at 18:46, Thomas Gleixner wrote: > >> I currently don't know what the rule for Peter's

[tip: x86/platform] x86/platform/uv: Add sysfs leaves to replace those in procfs

2020-12-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 612a0063c9ba3aba79b9006faa0edad5f9d41162 Gitweb: https://git.kernel.org/tip/612a0063c9ba3aba79b9006faa0edad5f9d41162 Author:Mike Travis AuthorDate:Fri, 27 Nov 2020 21:42:24 -06:00

[PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-07 Thread Babu Moger
Newer AMD processors have a feature to virtualize the use of the SPEC_CTRL MSR. This feature is identified via CPUID 0x800A_EDX[20]. When present, the SPEC_CTRL MSR is automatically virtualized and no longer requires hypervisor intervention. Signed-off-by: Babu Moger ---

Re: [PATCH v2 17/17] driver core: Delete pointless parameter in fwnode_operations.add_links

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 18:02:32 -0800, Saravana Kannan wrote: > The struct device input to add_links() is not used for anything. So > delete it. > > Signed-off-by: Saravana Kannan > --- > drivers/base/core.c | 2 +- > drivers/firmware/efi/efi-init.c | 3 +-- > drivers/of/property.c

[PATCH 0/2] x86: Add the feature Virtual SPEC_CTRL

2020-12-07 Thread Babu Moger
Newer AMD processors have a feature to virtualize the use of the SPEC_CTRL MSR. The series adds the feature support and enables the feature on SVM. --- Babu Moger (2): x86/cpufeatures: Add the Virtual SPEC_CTRL feature KVM: SVM: Add support for Virtual SPEC_CTRL

[tip: x86/platform] x86/platform/uv: Add sysfs hubless leaves

2020-12-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 433e817ae157479844d84b186dd4d165a3f2b06e Gitweb: https://git.kernel.org/tip/433e817ae157479844d84b186dd4d165a3f2b06e Author:Mike Travis AuthorDate:Fri, 27 Nov 2020 21:42:25 -06:00

[tip: x86/platform] x86/platform/uv: Add deprecated messages to /proc info leaves

2020-12-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/platform branch of tip: Commit-ID: 148c277165cdc72d97d1711b9a1e566d66521828 Gitweb: https://git.kernel.org/tip/148c277165cdc72d97d1711b9a1e566d66521828 Author:Mike Travis AuthorDate:Fri, 27 Nov 2020 21:42:26 -06:00

[tip: x86/platform] x86/platform/uv: Add kernel interfaces for obtaining system info

2020-12-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/platform branch of tip: Commit-ID: a67fffb017aed93fca42ce7aa5b6aaf54ff912ad Gitweb: https://git.kernel.org/tip/a67fffb017aed93fca42ce7aa5b6aaf54ff912ad Author:Mike Travis AuthorDate:Fri, 27 Nov 2020 21:42:23 -06:00

[tip: x86/platform] x86/platform/uv: Update sysfs documentation

2020-12-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/platform branch of tip: Commit-ID: c9624cb7db1c418cbdc8fd2cde6835f83cd0f8a2 Gitweb: https://git.kernel.org/tip/c9624cb7db1c418cbdc8fd2cde6835f83cd0f8a2 Author:Mike Travis AuthorDate:Fri, 27 Nov 2020 21:42:27 -06:00

Re: [PATCH v2 14/17] of: property: Update implementation of add_links() to create fwnode links

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 18:02:29 -0800, Saravana Kannan wrote: > The semantics of add_links() has changed from creating device link > between devices to creating fwnode links between fwnodes. So, update the > implementation of add_links() to match the new semantics. > > Signed-off-by: Saravana Kannan

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Sven Van Asbroeck
Hi Uwe, On Mon, Dec 7, 2020 at 5:00 PM Uwe Kleine-König wrote: > > This is not acceptable, if you have two PWM outputs and a consumer > modifies one of them the other must change. So if this chip only > supports a single period length of all channels, the first consumer > enabling a channel

[PATCH] arm64: dts: qcom: Clean up sc7180-trogdor voltage rails

2020-12-07 Thread Douglas Anderson
For a bunch of rails we really don't do anything with them in Linux. These are things like modem voltage rails that the modem manages these itself and core rails (like IO rails) that are setup to just automagically do the right thing by the firmware. Let's stop even listing those rails in our

Re: [PATCH v7] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-07 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 10:20:20PM +, Kalra, Ashish wrote: > It is more of an approximation of the earlier static adjustment which > was 128M for <1G guests, 256M for 1G-4G guests and 512M for >4G > guests. Makes sense and it is better than nothing. Please put that explanation over the 6%

Re: [PATCH v2 02/24] exec: Simplify unshare_files

2020-12-07 Thread Al Viro
On Mon, Nov 23, 2020 at 10:25:13AM -0800, Linus Torvalds wrote: > On Mon, Nov 23, 2020 at 9:52 AM Oleg Nesterov wrote: > > > > Can anyone explain why does do_coredump() need unshare_files() at all? > > Hmm. It goes back to 2012, and it's placed just before calling > "->core_dump()", so I assume

Re: [RFC PATCH 2/4] cpufreq: acpi-cpufreq: Add processor to the ignore PSD override list

2020-12-07 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 04:07:52PM -0600, Wei Huang wrote: > I think we shouldn't override zen2 if _PSD is correct. In my opinion, > there are two approaches: > > * Keep override_acpi_psd() > Let us keep the original quirk and override_acpi_psd() function. Over > the time, people may want to add

Re: [PATCH v4 17/26] kvm: arm64: Add offset for hyp VA <-> PA conversion

2020-12-07 Thread Qian Cai
CPU features: detected: CRC32 instructions [ 29.431660] CPU: All CPU(s) started at EL2 [ 29.431685] [ cut here ] [ 29.431713] virt_to_phys used for non-linear address: (ptrval) (__hyp_idmap_text_end+0x0/0x534) [ 29.431744] WARNING: CPU: 0 PID: 1 at arch/arm64/mm/p

Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again

2020-12-07 Thread Nick Desaulniers
On Mon, Dec 7, 2020 at 2:17 PM Arnd Bergmann wrote: > > On Mon, Dec 7, 2020 at 11:08 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Mon, Dec 7, 2020 at 1:57 PM Arnd Bergmann wrote: > > > > > > > Right, looking at my latest randconfig logs, I see the same problem on x86 > > >

Re: [PATCH v4 4/6] mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations

2020-12-07 Thread kernel test robot
Hi Andrew, I love your patch! Yet something to improve: [auto build test ERROR on joel-aspeed/for-next] [also build test ERROR on linus/master v5.10-rc7 next-20201207] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

Re: [PATCH 07/11] mm: VM_BUG_ON lru page flags

2020-12-07 Thread Matthew Wilcox
On Mon, Dec 07, 2020 at 03:09:45PM -0700, Yu Zhao wrote: > Move scattered VM_BUG_ONs to two essential places that cover all > lru list additions and deletions. I'd like to see these converted into VM_BUG_ON_PGFLAGS so you have to take that extra CONFIG step to enable checking them.

Re: [PATCH v2 01/24] exec: Move unshare_files to fix posix file locking during exec

2020-12-07 Thread Al Viro
On Fri, Nov 20, 2020 at 05:14:18PM -0600, Eric W. Biederman wrote: > @@ -1805,8 +1808,12 @@ static int bprm_execve(struct linux_binprm *bprm, > bprm->file = file; > /* >* Record that a name derived from an O_CLOEXEC fd will be > - * inaccessible after exec. Relies on

[PATCH next v3 0/3] printk: remove logbuf_lock protection of ringbuffer

2020-12-07 Thread John Ogness
, introduction of syslog_lock, using clear_seq as seqcount_latch, and full removal of logbuf_lock) will be included in a later series, which may or may not make the 5.11 merge window. This series is based on next-20201207. John Ogness [0] https://lkml.kernel.org/r/20201201205341.3871-1-john.ogn

Re: [PATCH v7] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-07 Thread Kalra, Ashish
> On Dec 7, 2020, at 4:14 PM, Borislav Petkov wrote: > > On Mon, Dec 07, 2020 at 10:06:24PM +, Ashish Kalra wrote: >> This is related to the earlier static adjustment of the SWIOTLB buffers >> as per guest memory size and Konrad's feedback on the same, as copied >> below : >> That

Re: [PATCH v2 08/17] driver core: Add fwnode link support

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 18:02:23 -0800, Saravana Kannan wrote: > Add support for creating supplier-consumer links between fwnodes. It is > intended for internal use the driver core and generic firmware support > code (eg. Device Tree, ACPI), so it is simple by design and the API > provided is

[PATCH next v3 1/3] printk: inline log_output(),log_store() in vprintk_store()

2020-12-07 Thread John Ogness
In preparation for removing logbuf_lock, inline log_output() and log_store() into vprintk_store(). This will simplify dealing with the various code branches and fallbacks that are possible. Signed-off-by: John Ogness Reviewed-by: Petr Mladek Reviewed-by: Sergey Senozhatsky ---

Re: [PATCH v2 07/17] driver core: Add fwnode_init()

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 18:02:22 -0800, Saravana Kannan wrote: > There are multiple locations in the kernel where a struct fwnode_handle > is initialized. Add fwnode_init() so that we have one way of > initializing a fwnode_handle. > > Signed-off-by: Saravana Kannan > --- > drivers/acpi/property.c

[PATCH next v3 2/3] printk: define CONSOLE_LOG_MAX in printk.h

2020-12-07 Thread John Ogness
CONSOLE_EXT_LOG_MAX for extended console messages is already defined in printk.h. Define CONSOLE_LOG_MAX there as well so that future changes can make use of the constant for non-extended console messages. Signed-off-by: John Ogness --- include/linux/printk.h | 1 + kernel/printk/printk.c | 2

[PATCH next v3 3/3] printk: remove logbuf_lock protection for ringbuffer

2020-12-07 Thread John Ogness
Since the ringbuffer is lockless, there is no need for it to be protected by @logbuf_lock. Remove @logbuf_lock protection of the ringbuffer. This means that printk_nmi_direct and printk_safe_flush_on_panic() no longer need to acquire any lock to run. Without @logbuf_lock it is no longer possible

Re: [PATCH v2 05/17] Revert "of: platform: Batch fwnode parsing when adding all top level devices"

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 18:02:20 -0800, Saravana Kannan wrote: > This reverts commit 93d2e4322aa74c1ad1e8c2160608eb9a960d69ff. > > The fw_devlink_pause/resume() optimization attempt is getting replaced > with a much more robust optimization by the end of this series. So, stop > using those APIs. > >

Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again

2020-12-07 Thread Arnd Bergmann
On Mon, Dec 7, 2020 at 11:08 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Mon, Dec 7, 2020 at 1:57 PM Arnd Bergmann wrote: > > > > Right, looking at my latest randconfig logs, I see the same problem on x86 > > builds with clang as well, though I'm not entirely sure which other > >

Re: [PATCH 06/12] arm64: dts: zynqmp: Add label for zynqmp_ipi

2020-12-07 Thread Laurent Pinchart
Hi Michal, On Mon, Dec 07, 2020 at 10:39:25AM +0100, Michal Simek wrote: > On 06. 12. 20 23:46, Laurent Pinchart wrote: > > On Wed, Dec 02, 2020 at 03:06:05PM +0100, Michal Simek wrote: > >> Add label which is used by bootloader for adding bootloader specific flag. > >> > >> Signed-off-by: Michal

Re: [GIT PULL] ARM: SoC fixes for v5.10, part 3

2020-12-07 Thread Doug Anderson
Hi, On Mon, Dec 7, 2020 at 1:55 PM Arnd Bergmann wrote: > > On Mon, Dec 7, 2020 at 9:23 PM Geert Uytterhoeven > wrote: > > On Tue, Dec 1, 2020 at 3:06 PM Arnd Bergmann wrote: > > > On Tue, Dec 1, 2020 at 12:39 PM Ulf Hansson > > > wrote: > > > > So, I think we have two options. If people

Re: [PATCH v7] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-07 Thread Borislav Petkov
On Mon, Dec 07, 2020 at 10:06:24PM +, Ashish Kalra wrote: > This is related to the earlier static adjustment of the SWIOTLB buffers > as per guest memory size and Konrad's feedback on the same, as copied > below : > > >>That is eating 128MB for 1GB, aka 12% of the guest memory allocated >

Re: [PATCH V3 00/10] PKS: Add Protection Keys Supervisor (PKS) support V3

2020-12-07 Thread Ira Weiny
Thomas, Is there any chance of this landing before the kmap stuff gets sorted out? It would be nice to have this in 5.11 to build off of. Ira On Fri, Nov 06, 2020 at 03:28:58PM -0800, 'Ira Weiny' wrote: > From: Ira Weiny > > Changes from V2 [4] > Rebased on tip-tree/core/entry >

Re: [PATCH v3] drivers: gpio: add virtio-gpio guest driver

2020-12-07 Thread kernel test robot
Hi "Enrico, I love your patch! Yet something to improve: [auto build test ERROR on gpio/for-next] [also build test ERROR on linux/master linus/master v5.10-rc7 next-20201207] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest t

Re: [RFC PATCH v2 0/2] add simple copy support

2020-12-07 Thread Douglas Gilbert
On 2020-12-07 9:56 a.m., Hannes Reinecke wrote: On 12/7/20 3:11 PM, Christoph Hellwig wrote: So, I'm really worried about:   a) a good use case.  GC in f2fs or btrfs seem like good use cases, as does accelating dm-kcopyd.  I agree with Damien that lifting dm-kcopyd to common code

Re: [PATCH v2 2/3] clk: composite: add devm_clk_hw_register_composite_pdata()

2020-12-07 Thread Stephen Boyd
Quoting Michael Walle (2020-11-05 11:27:45) > This will simplify drivers which would only unregister the clk in their > remove() op. > > Signed-off-by: Michael Walle > --- Applied to clk-next

Re: [PATCH v2 3/3] clk: fsl-sai: use devm_clk_hw_register_composite_pdata()

2020-12-07 Thread Stephen Boyd
Quoting Michael Walle (2020-11-05 11:27:46) > Simplify the driver by using that helper and drop the remove() function. > > Signed-off-by: Michael Walle > --- Applied to clk-next

Re: [PATCH v2 1/3] clk: fsl-sai: fix memory leak

2020-12-07 Thread Stephen Boyd
Quoting Michael Walle (2020-11-05 11:27:44) > If the device is removed we don't unregister the composite clock. Fix > that. > > Fixes: 9cd10205227c ("clk: fsl-sai: new driver") > Signed-off-by: Michael Walle > --- Applied to clk-next

Re: [PATCH v2 1/3] dt-bindings: fsi: Add P10 OCC device documentation

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 11:33:13 +1030, Joel Stanley wrote: > From: Eddie James > > Add the P10 compatible string. > > Signed-off-by: Eddie James > Reviewed-by: Joel Stanley > Signed-off-by: Joel Stanley > --- > Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt | 12 ++-- > 1 file

Re: [PATCH v2 10/18] dt-bindings: i2c: owl: Convert Actions Semi Owl binding to a schema

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 01:56:04 +0200, Cristian Ciocaltea wrote: > Convert the Actions Semi Owl I2C DT binding to a YAML schema for > enabling DT validation. > > Additionally, add a new compatible string corresponding to the I2C > controller found in the S500 variant of the Actions Semi Owl SoCs >

Re: [PATCH v11 09/10] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-12-07 Thread Dmitry Osipenko
07.12.2020 04:32, Chanwoo Choi пишет: > On 12/4/20 4:24 AM, Dmitry Osipenko wrote: >> This patch moves ACTMON driver away from generating OPP table by itself, >> transitioning it to use the table which comes from device-tree. This >> change breaks compatibility with older device-trees and brings

[PATCH 00/11] mm: lru related cleanups

2020-12-07 Thread Yu Zhao
The cleanups are intended to reduce the verbosity in lru list operations and make them less error-prone. A typical example would be how the patches change __activate_page(): static void __activate_page(struct page *page, struct lruvec *lruvec) { if (!PageActive(page) &&

Re: [PATCH v2 04/18] dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC

2020-12-07 Thread Rob Herring
On Fri, 20 Nov 2020 01:55:58 +0200, Cristian Ciocaltea wrote: > Add a new compatible string corresponding to the DMA controller found > in the S500 variant of the Actions Semi Owl SoCs family. > > Signed-off-by: Cristian Ciocaltea > --- > Documentation/devicetree/bindings/dma/owl-dma.yaml | 5

Re: [PATCH v11 00/10] Introduce memory interconnect for NVIDIA Tegra SoCs

2020-12-07 Thread Dmitry Osipenko
05.12.2020 17:09, Krzysztof Kozlowski пишет: > On Thu, 3 Dec 2020 22:24:29 +0300, Dmitry Osipenko wrote: >> This series brings initial support for memory interconnect to Tegra20, >> Tegra30 and Tegra124 SoCs. >> >> For the starter only display controllers and devfreq devices are getting >>

[PATCH 08/11] mm: fold page_lru_base_type() into its sole caller

2020-12-07 Thread Yu Zhao
We've removed all other references to this function. Signed-off-by: Yu Zhao --- include/linux/mm_inline.h | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/include/linux/mm_inline.h b/include/linux/mm_inline.h index 6d907a4dd6ad..7183c7a03f09

[PATCH 11/11] mm: enlarge the "int nr_pages" parameter of update_lru_size()

2020-12-07 Thread Yu Zhao
update_lru_sizes() defines an unsigned long argument and passes it as nr_pages to update_lru_size(). Though this isn't causing any overflows I'm aware of, it's a bad idea to go through the demotion given that we have recently stumbled on a related type promotion problem fixed by commit

[PATCH 10/11] mm: make lruvec_lru_size() static

2020-12-07 Thread Yu Zhao
All other references to the function were removed after commit b910718a948a ("mm: vmscan: detect file thrashing at the reclaim root") Signed-off-by: Yu Zhao --- include/linux/mmzone.h | 2 -- mm/vmscan.c| 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 09/11] mm: fold __update_lru_size() into its sole caller

2020-12-07 Thread Yu Zhao
All other references to the function were removed after commit a892cb6b977f ("mm/vmscan.c: use update_lru_size() in update_lru_sizes()") Signed-off-by: Yu Zhao --- include/linux/mm_inline.h | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/include/linux/mm_inline.h

[PATCH 05/11] mm: don't pass "enum lru_list" to del_page_from_lru_list()

2020-12-07 Thread Yu Zhao
The parameter is redundant in the sense that it can be potentially extracted from the "struct page" parameter by page_lru(). We need to make sure that existing PageActive() or PageUnevictable() remains until the function returns. A few places don't conform, and simple reordering fixes them. This

[PATCH 07/11] mm: VM_BUG_ON lru page flags

2020-12-07 Thread Yu Zhao
Move scattered VM_BUG_ONs to two essential places that cover all lru list additions and deletions. Signed-off-by: Yu Zhao --- include/linux/mm_inline.h | 4 mm/swap.c | 2 -- mm/vmscan.c | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH 04/11] mm: don't pass "enum lru_list" to trace_mm_lru_insertion()

2020-12-07 Thread Yu Zhao
The parameter is redundant in the sense that it can be extracted from the "struct page" parameter by page_lru() correctly. Signed-off-by: Yu Zhao --- include/trace/events/pagemap.h | 11 --- mm/swap.c | 5 + 2 files changed, 5 insertions(+), 11 deletions(-)

[PATCH 03/11] mm: don't pass "enum lru_list" to lru list addition functions

2020-12-07 Thread Yu Zhao
The "enum lru_list" parameter to add_page_to_lru_list() and add_page_to_lru_list_tail() is redundant in the sense that it can be extracted from the "struct page" parameter by page_lru(). A caveat is that we need to make sure PageActive() or PageUnevictable() is correctly set or cleared before

[PATCH 01/11] mm: use add_page_to_lru_list()

2020-12-07 Thread Yu Zhao
There is add_page_to_lru_list(), and move_pages_to_lru() should reuse it, not duplicate it. Signed-off-by: Yu Zhao --- mm/vmscan.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 469016222cdb..a174594e40f8 100644 --- a/mm/vmscan.c +++

[PATCH 06/11] mm: add __clear_page_lru_flags() to replace page_off_lru()

2020-12-07 Thread Yu Zhao
Similar to page_off_lru(), the new function does non-atomic clearing of PageLRU() in addition to PageActive() and PageUnevictable(), on a page that has no references left. If PageActive() and PageUnevictable() are both set, refuse to clear either and leave them to bad_page(). This is a behavior

[PATCH 02/11] mm: shuffle lru list addition and deletion functions

2020-12-07 Thread Yu Zhao
These functions will call page_lru() in the following patches. Move them below page_lru() to avoid the forward declaration. Signed-off-by: Yu Zhao --- include/linux/mm_inline.h | 42 +++ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git

Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again

2020-12-07 Thread Nick Desaulniers
On Mon, Dec 7, 2020 at 1:57 PM Arnd Bergmann wrote: > > On Mon, Dec 7, 2020 at 9:50 PM Christian König > wrote: > > Am 07.12.20 um 21:47 schrieb Alex Deucher: > > > On Fri, Dec 4, 2020 at 3:13 AM Arnd Bergmann wrote: > > >> From: Arnd Bergmann > > >> > > >> As the DRM_AMD_DC_DCN3_0 code was

Re: [Patch v2 6/6] dt-bindings: crypto: qcom-qce: Add v5.4 to binding

2020-12-07 Thread Rob Herring
On Thu, Nov 19, 2020 at 10:52:33AM -0500, Thara Gopinath wrote: > Add compatible string to support v5.4 crypto engine. > > Signed-off-by: Thara Gopinath > Reviewed-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/crypto/qcom-qce.txt | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH 1/2] dt-bindings: phy: Add binding for BCM4908 USB PHYs

2020-12-07 Thread Rafał Miłecki
On Wed, 2 Dec 2020 at 21:48, Rafał Miłecki wrote: > From: Rafał Miłecki > > BCM4908 SoCs have USB 2.0 PHY and USB 3.0 PHY attached to the MDIO bus. > Those bindings allow describing them. > > Signed-off-by: Rafał Miłecki Please drop this patchset for now as Florian pointed that the existing

Re: [RFC PATCH 2/4] cpufreq: acpi-cpufreq: Add processor to the ignore PSD override list

2020-12-07 Thread Wei Huang
On 12/7/20 2:26 PM, Borislav Petkov wrote: > On Mon, Dec 07, 2020 at 02:20:55PM -0600, Wei Huang wrote: >> In summary, this patch is fine if Punit already verified it. My only >> concern is the list can potentially increase over the time, and we will >> keep coming back to fix

Re: [PATCH v2 2/2] perf-stat: enable counting events for BPF programs

2020-12-07 Thread Jiri Olsa
On Thu, Dec 03, 2020 at 10:13:10PM -0800, Song Liu wrote: SNIP > +#include "bpf_skel/bpf_prog_profiler.skel.h" > + > +static inline void *u64_to_ptr(__u64 ptr) > +{ > + return (void *)(unsigned long)ptr; > +} > + > +static void set_max_rlimit(void) > +{ > + struct rlimit rinf = {

Re: [PATCH v7] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-07 Thread Ashish Kalra
Hello Boris, On Mon, Dec 07, 2020 at 01:10:07PM +0100, Borislav Petkov wrote: > On Thu, Dec 03, 2020 at 03:25:59AM +, Ashish Kalra wrote: > > diff --git a/arch/x86/mm/mem_encrypt.c b/arch/x86/mm/mem_encrypt.c > > index 1bcfbcd2bfd7..46549bd3d840 100644 > > --- a/arch/x86/mm/mem_encrypt.c > >

linux-next: Fixes tag needs some work in the clk tree

2020-12-07 Thread Stephen Rothwell
Hi all, In commit c3f207f6d23d ("clk: renesas: r8a779a0: Make rcar_r8a779a0_cpg_clk_register() static") Fixes tag Fixes: c07439dea94050b6 ("clk: renesas: cpg-mssr: Add support for R-Car V3U") has these problem(s): - Target SHA1 does not exist Maybe you meant Fixes: 17bcc8035d2d

Re: [PATCH v2] clk: qoriq: Add platform dependencies

2020-12-07 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2020-11-10 07:47:50) > The Freescale QorIQ clock controller is only present on Freescale E500MC > and Layerscape SoCs. Add platform dependencies to the CLK_QORIQ config > symbol, to avoid asking the user about it when configuring a kernel > without E500MC or Layerscape

Re: [PATCH v2 4/4] dt-bindings: adc: ad7887: add binding doc for AD7887

2020-12-07 Thread Rob Herring
On Thu, Nov 19, 2020 at 12:07:48PM +0200, Alexandru Ardelean wrote: > This change adds a simple device-tree binding for thhe Analog Devices > AD7887 ADC. > > Signed-off-by: Alexandru Ardelean > --- > .../bindings/iio/adc/adi,ad7887.yaml | 70 +++ > 1 file changed, 70

Re: [PATCH v2] selftests/clone3: Fix build error

2020-12-07 Thread Shuah Khan
On 11/26/20 8:16 PM, Xingxing Su wrote: When compiling the selftests with the -std=gnu99 option the build can fail with. Following build error: test_core.c: In function ‘test_cgcore_destroy’: test_core.c:87:2: error: ‘for’ loop initial declarations are only allowed in C99 mode

Re: [PATCH v5 0/7] dma-buf: Performance improvements for system heap & a system-uncached implementation

2020-12-07 Thread Nicolas Dufresne
Le vendredi 13 novembre 2020 à 21:39 +0100, Daniel Vetter a écrit : > On Thu, Nov 12, 2020 at 08:11:02PM -0800, John Stultz wrote: > > On Thu, Nov 12, 2020 at 1:32 AM Daniel Vetter wrote: > > > On Thu, Nov 12, 2020 at 11:09:04AM +0530, Sumit Semwal wrote: > > > > On Tue, 10 Nov 2020 at 09:19,

Re: [PATCH resend v2] xtensa: Replace by

2020-12-07 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2020-11-10 07:51:17) > The Xtensa time code is not a clock provider, and just needs to call > of_clk_init(). > > Hence it can include instead of . > > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Stephen Boyd > Acked-by: Max Filippov > --- Applied to clk-next

Re: [PATCH resend v2] sh: boards: Replace by

2020-12-07 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2020-11-10 07:50:29) > The SuperH/J2 DT platform code is not a clock provider, and just needs > to call of_clk_init(). > > Hence it can include instead of . > > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Stephen Boyd > --- Applied to clk-next

Re: [PATCH v2 3/9] KVM: x86: Introduce KVM_GET_PAGE_ENC_BITMAP ioctl

2020-12-07 Thread Ashish Kalra
Hello Dov, On Sun, Dec 06, 2020 at 01:02:47PM +0200, Dov Murik wrote: > > > On 01/12/2020 2:47, Ashish Kalra wrote: > > From: Brijesh Singh > > > > The ioctl can be used to retrieve page encryption bitmap for a given > > gfn range. > > > > Return the correct bitmap as per the number of pages

Re: [PATCH v4 1/4] pwm: pca9685: Switch to atomic API

2020-12-07 Thread Uwe Kleine-König
On Mon, Dec 07, 2020 at 08:36:27PM +0100, Clemens Gruber wrote: > The switch to the atomic API goes hand in hand with a few fixes to > previously experienced issues: > - The duty cycle is no longer lost after disable/enable (previously the > OFF registers were cleared in disable and the user was

Re: [PATCH 22/22] xlink-core: factorize xlink_ioctl function by creating sub-functions for each ioctl command

2020-12-07 Thread mark gross
On Sun, Dec 06, 2020 at 07:05:34PM -0800, Joe Perches wrote: > On Tue, 2020-12-01 at 14:35 -0800, mgr...@linux.intel.com wrote: > > From: Seamus Kelly > > > > Refactor the too large IOCTL function to call helper functions. > > This should not be sent as a known poor patch as patch 21 of 22 >

Re: [PATCH v2] clk: renesas: r9a06g032: Drop __packed for portability

2020-12-07 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2020-11-30 00:57:43) > The R9A06G032 clock driver uses an array of packed structures to reduce > kernel size. However, this array contains pointers, which are no longer > aligned naturally, and cannot be relocated on PPC64. Hence when > compile-testing this driver on

Re: [PATCH] arch: x86: make video init optional (expert)

2020-12-07 Thread Randy Dunlap
On 12/7/20 1:20 PM, Enrico Weigelt, metux IT consult wrote: > As x86 is becoming more widespread in embedded devices, that don't have > any video adapter at all, make it possible to opt out from video init on > bootup (expert option). Also useful for minimized paravirtualized kernels. > > Most

RE: [PATCH bpf-next v4 04/11] bpf: Rename BPF_XADD and prepare to encode other atomics in .imm

2020-12-07 Thread John Fastabend
Brendan Jackman wrote: > A subsequent patch will add additional atomic operations. These new > operations will use the same opcode field as the existing XADD, with > the immediate discriminating different operations. > > In preparation, rename the instruction mode BPF_ATOMIC and start > calling

Re: [PATCH] drm/amdgpu: make DRM_AMD_DC x86-only again

2020-12-07 Thread Arnd Bergmann
On Mon, Dec 7, 2020 at 9:50 PM Christian König wrote: > Am 07.12.20 um 21:47 schrieb Alex Deucher: > > On Fri, Dec 4, 2020 at 3:13 AM Arnd Bergmann wrote: > >> From: Arnd Bergmann > >> > >> As the DRM_AMD_DC_DCN3_0 code was x86-only and fails to build on > >> arm64, merging it into DRM_AMD_DC

Re: [PATCH -tip 23/32] sched: Add a per-thread core scheduling interface

2020-12-07 Thread chris hyser
On 12/6/20 12:34 PM, Joel Fernandes wrote: Looks ok to me except the missing else { } clause you found. Also, maybe dest/src can be renamed to from/to to make meaning of variables more clear? yes. Also looking forward to the docs/test updates. on it. Thanks. -chrish

Re: [PATCH v3 1/4] dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser

2020-12-07 Thread Rob Herring
On Thu, Nov 19, 2020 at 12:43:05PM +0530, Manivannan Sadhasivam wrote: > Add YAML binding for Qualcomm Shared Memory (SMEM) Flash partition > parser. > > Signed-off-by: Manivannan Sadhasivam > --- > .../mtd/partitions/qcom,smem-part.yaml| 33 +++ > 1 file changed, 33

Re: [f2fs-dev] [PATCH v3] f2fs: compress: support chksum

2020-12-07 Thread Joe Perches
On Mon, 2020-12-07 at 12:37 -0800, Eric Biggers wrote: > On Thu, Nov 26, 2020 at 06:32:09PM +0800, Chao Yu wrote: > > + if (!ret && fi->i_compress_flag & 1 << COMPRESS_CHKSUM) { > > This really could use some parentheses. People shouldn't have to look up a > C operator precedence table to

Re: [PATCH 18/22] xlink-core: Add xlink core driver xLink

2020-12-07 Thread Randy Dunlap
Hi-- On 12/1/20 2:35 PM, mgr...@linux.intel.com wrote: > From: Seamus Kelly > > > Cc: linux-...@vger.kernel.org > Reviewed-by: Mark Gross > Signed-off-by: Seamus Kelly > --- > Documentation/vpu/index.rst | 1 + > Documentation/vpu/xlink-core.rst| 80 ++ >

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