[PATCH v2 01/15] vfio/type1: Refactor vfio_iommu_type1_ioctl()

2020-06-11 Thread Liu Yi L
This patch refactors the vfio_iommu_type1_ioctl() to use switch instead of if-else, and each cmd got a helper function. Cc: Kevin Tian CC: Jacob Pan Cc: Alex Williamson Cc: Eric Auger Cc: Jean-Philippe Brucker Cc: Joerg Roedel Cc: Lu Baolu Suggested-by: Christoph Hellwig Signed-off-by:

[PATCH v2 10/15] vfio/type1: Support binding guest page tables to PASID

2020-06-11 Thread Liu Yi L
Nesting translation allows two-levels/stages page tables, with 1st level for guest translations (e.g. GVA->GPA), 2nd level for host translations (e.g. GPA->HPA). This patch adds interface for binding guest page tables to a PASID. This PASID must have been allocated to user space before the binding

[PATCH v2 04/15] vfio: Add PASID allocation/free support

2020-06-11 Thread Liu Yi L
Shared Virtual Addressing (a.k.a Shared Virtual Memory) allows sharing multiple process virtual address spaces with the device for simplified programming model. PASID is used to tag an virtual address space in DMA requests and to identify the related translation structure in IOMMU. When a

[PATCH v2 11/15] vfio/type1: Allow invalidating first-level/stage IOMMU cache

2020-06-11 Thread Liu Yi L
This patch provides an interface allowing the userspace to invalidate IOMMU cache for first-level page table. It is required when the first level IOMMU page table is not managed by the host kernel in the nested translation setup. Cc: Kevin Tian CC: Jacob Pan Cc: Alex Williamson Cc: Eric Auger

Re: [PATCH RESEND v9 05/18] media: platform: Improve power on and power off flow

2020-06-11 Thread Tomasz Figa
Hi Xia, On Thu, Jun 04, 2020 at 05:05:40PM +0800, Xia Jiang wrote: > Call pm_runtime_get_sync() before starting a frame and then > pm_runtime_put() after completing it. This can save power for the time > between processing two frames. > > Signed-off-by: Xia Jiang > --- > v9: use

Re: [PATCH V2] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Christophe Leroy
Le 11/06/2020 à 13:50, Su Kang Yin a écrit : commit e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") wrongly modified CBC algs ivsize instead of ECB aggs ivsize. This restore the CBC algs original ivsize of removes ECB's ones. Fixes: e1de42fdfc6a ("crypto: talitos - fix ECB algs

Re: [PATCH v7] ARM: DTS: Aspeed: Add YADRO Nicole BMC

2020-06-11 Thread Joel Stanley
On Wed, 10 Jun 2020 at 08:15, Alexander A. Filippov wrote: > > On Wed, Apr 29, 2020 at 02:37:11PM +0300, Alexander Filippov wrote: > > Nicole is an OpenPower machine with an Aspeed 2500 BMC SoC manufactured > > by YADRO. > > > > Signed-off-by: Alexander Filippov > > > > ping Reviewed-by: Joel

Re: [PATCH v2 3/3] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-06-11 Thread kernel test robot
Hi Vinod, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip linus/master v5.7 next-20200611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [PATCH v3 4/7] selftests/ftrace: Convert required interface checks into requires list

2020-06-11 Thread Shuah Khan
On 6/10/20 7:32 AM, Steven Rostedt wrote: On Wed, 10 Jun 2020 06:04:33 -0600 Shuah Khan wrote: Steve, what would you think? No worries. As far as kselftest tree is concrned, I can apply these after rc1 comes out with Tom's patch. Or I can give Ack and Steve can take these through

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-11 Thread Vincent Guittot
On Thu, 11 Jun 2020 at 12:24, Qais Yousef wrote: > > On 06/09/20 19:10, Vincent Guittot wrote: > > On Mon, 8 Jun 2020 at 14:31, Qais Yousef wrote: > > > > > > On 06/04/20 14:14, Vincent Guittot wrote: > > > > > > [...] > > > > > > > I have tried your patch and I don't see any difference compared

Re: Barrier before pushing desc_ring tail: was [PATCH v2 2/3] printk: add lockless buffer

2020-06-11 Thread Petr Mladek
On Tue 2020-06-09 17:56:03, John Ogness wrote: > On 2020-06-09, Petr Mladek wrote: > >> --- /dev/null > >> +++ b/kernel/printk/printk_ringbuffer.c > >> +/* > >> + * Advance the desc ring tail. This function advances the tail by one > >> + * descriptor, thus invalidating the oldest descriptor.

Re: [PATCH RESEND v9 06/18] media: platform: Delete the resetting hardware flow in the system PM ops

2020-06-11 Thread Tomasz Figa
Hi Xia, On Thu, Jun 04, 2020 at 05:05:41PM +0800, Xia Jiang wrote: > Delete the resetting hardware flow in suspend and resume function > because that resetting operation will be done in device_run(). > > Signed-off-by: Xia Jiang > --- > v9: new patch > --- >

Re: [PATCH RESEND v9 04/18] media: platform: Change the fixed device node number to unfixed value

2020-06-11 Thread Tomasz Figa
Hi Xia, On Thu, Jun 04, 2020 at 05:05:39PM +0800, Xia Jiang wrote: > The driver can be instantiated multiple times, e.g. for a decoder and > an encoder. Moreover, other drivers could coexist on the same system. > This makes the static video node number assignment pointless, so switch > to

[RFC PATCH][DO NOT COMMIT] media: dvb_frontend: Support concurrent DVB-T/DVB-T2 scan

2020-06-11 Thread Marc Gonzalez
Some demodulators (e.g. si2168) are able to scan for DVB-T and DVB-T2 signals concurrently. Use SYS_DVBT_AUTO for this purpose. --- This is a Request For Comments from media maintainers and users :-) One issue: suppose DVB Project publishes DVB-T3 in a few years. Today's demods might handle T/T2,

Re: [PATCH] .clang-format: update column limit

2020-06-11 Thread Miguel Ojeda
On Thu, Jun 11, 2020 at 12:36 PM Joe Perches wrote: > > Exactly. So don't set a new hard limit of 100. > > This would _always_ wrap lines to 100 columns when > 80 columns is still preferred. Why is 80 "still preferred" to begin with? The patch you sent for `coding-style.rst` was picked up by

Re: [PATCH v3 47/75] x86/sev-es: Add Runtime #VC Exception Handler

2020-06-11 Thread Joerg Roedel
On Sat, May 23, 2020 at 09:59:24AM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:57PM +0200, Joerg Roedel wrote: > > + struct ghcb backup_ghcb; > > I could use some text explaining what those backups are for? I added another comment above that line to better explain why it is

[PATCH V2] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Su Kang Yin
commit e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") wrongly modified CBC algs ivsize instead of ECB aggs ivsize. This restore the CBC algs original ivsize of removes ECB's ones. Fixes: e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") Signed-off-by: Su Kang Yin --- Patch for 4.9

Re: [PATCH v3 5/7] venus: Add debugfs interface to set firmware log level

2020-06-11 Thread Stanimir Varbanov
Hi Greg, Thanks for the comments! On 6/9/20 2:12 PM, Greg Kroah-Hartman wrote: > On Tue, Jun 09, 2020 at 01:46:02PM +0300, Stanimir Varbanov wrote: >> +int venus_dbgfs_init(struct venus_core *core) >> +{ >> +core->root = debugfs_create_dir("venus", NULL); >> +if (IS_ERR(core->root)) >> +

[v2 PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread Herbert Xu
The header file linux/uio.h includes crypto/hash.h which pulls in most of the Crypto API. Since linux/uio.h is used throughout the kernel this means that every tiny bit of change to the Crypto API causes the entire kernel to get rebuilt. This patch fixes this by moving it into lib/iov_iter.c

Re: [PATCH v3 47/75] x86/sev-es: Add Runtime #VC Exception Handler

2020-06-11 Thread Joerg Roedel
On Sat, May 23, 2020 at 09:59:24AM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:57PM +0200, Joerg Roedel wrote: > > + /* > > +* Mark the per-cpu GHCBs as in-use to detect nested #VC exceptions. > > +* There is no need for it to be atomic, because nothing is written to >

[PATCH V5 8/9] pinctrl: imx8qm: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8QM pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 5/9] pinctrl: imx8mq: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8MQ pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 3/9] pinctrl: imx8mm: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8MM pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 9/9] pinctrl: imx8dxl: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8DXL pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 2/9] pinctrl: imx: Support building i.MX pinctrl driver as module

2020-06-11 Thread Anson Huang
Export necessary functions to support building i.MX common pinctrl driver and its user to be built as module. i.MX common pinctrl driver should depend on CONFIG_OF to make sure no build error when i.MX common pinctrl driver is enabled for difference architectures without CONFIG_OF. Also, module

[PATCH V5 6/9] pinctrl: imx8mp: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8MP pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 7/9] pinctrl: imx8qxp: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8QXP pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 1/9] pinctrl: imx: Support building SCU pinctrl driver as module

2020-06-11 Thread Anson Huang
To support building i.MX SCU pinctrl driver as module, below things need to be changed: - Export SCU related functions and use "IS_ENABLED" instead of "ifdef" to support SCU pinctrl driver user and itself to be built as module; - Use function callbacks for SCU related

[PATCH V5 4/9] pinctrl: imx8mn: Support building as module

2020-06-11 Thread Anson Huang
Change configuration to "tristate", add module device table, author, description and license to support building i.MX8MN pinctrl driver as module. Signed-off-by: Anson Huang --- Changes since V4: - remove unnecessary change of replacing arch_initcall() with module_platform_driver();

[PATCH V5 0/9] Support i.MX8 SoCs pinctrl drivers built as module

2020-06-11 Thread Anson Huang
There are more and mroe requirements that SoC specific modules should be built as module in order to support generic kernel image, such as Android GKI concept. This patch series supports i.MX8 SoCs pinctrl drivers to be built as module, including i.MX8MQ/MM/MN/MP/QXP/QM/DXL SoCs, and it also

[PATCH v2] dma-buf: Move dma_buf_release() from fops to dentry_ops

2020-06-11 Thread Sumit Semwal
Charan Teja reported a 'use-after-free' in dmabuffs_dname [1], which happens if the dma_buf_release() is called while the userspace is accessing the dma_buf pseudo fs's dmabuffs_dname() in another process, and dma_buf_release() releases the dmabuf object when the last reference to the struct file

Re: [PATCH v5 2/2] regulator: Add driver for cros-ec-regulator

2020-06-11 Thread Enric Balletbo i Serra
Hi Pi-Hsun, Thank you for your patch, one last change, sorry to not request it before. On 11/6/20 10:25, Pi-Hsun Shih wrote: > Add driver for cros-ec-regulator, representing a voltage regulator that > is connected and controlled by ChromeOS EC, and is controlled by kernel > with EC host

Re: [PATCH v1] virtio-mem: add memory via add_memory_driver_managed()

2020-06-11 Thread Michael S. Tsirkin
On Thu, Jun 11, 2020 at 01:33:04PM +0200, David Hildenbrand wrote: > > > Am 11.06.2020 um 13:18 schrieb Michael S. Tsirkin : > > > On Thu, Jun 11, 2020 at 01:00:24PM +0200, David Hildenbrand wrote: > > I'd like to have this patch in 5.8, with the initial merge of >

Re: [PATCH v5 1/2] dt-bindings: regulator: Add DT binding for cros-ec-regulator

2020-06-11 Thread Enric Balletbo i Serra
Hi Pi-Hsun, On 11/6/20 10:25, Pi-Hsun Shih wrote: > Add DT binding documentation for cros-ec-regulator, a voltage regulator > controlled by ChromeOS EC. > > Signed-off-by: Pi-Hsun Shih Reviewed-by: Enric Balletbo i Serra > --- > Changes from v4: > * Change compatible name from

[PATCH RFC v8 02/11] vhost: use batched get_vq_desc version

2020-06-11 Thread Michael S. Tsirkin
As testing shows no performance change, switch to that now. Signed-off-by: Michael S. Tsirkin Signed-off-by: Eugenio Pérez Link: https://lore.kernel.org/r/20200401183118.8334-3-epere...@redhat.com Signed-off-by: Michael S. Tsirkin --- drivers/vhost/test.c | 2 +- drivers/vhost/vhost.c |

[PATCH RFC v8 10/11] vhost/vsock: switch to the buf API

2020-06-11 Thread Michael S. Tsirkin
A straight-forward conversion. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vsock.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index a483cec31d5c..61c6d3dd2ae3 100644 ---

[PATCH RFC v8 01/11] vhost: option to fetch descriptors through an independent struct

2020-06-11 Thread Michael S. Tsirkin
The idea is to support multiple ring formats by converting to a format-independent array of descriptors. This costs extra cycles, but we gain in ability to fetch a batch of descriptors in one go, which is good for code cache locality. When used, this causes a minor performance degradation, it's

[PATCH RFC v8 07/11] vhost/net: avoid iov length math

2020-06-11 Thread Michael S. Tsirkin
Now that API exposes buffer length, we no longer need to scan IOVs to figure it out. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 830fe84912a5..0b509be8d7b1

[PATCH RFC v8 08/11] vhost/test: convert to the buf API

2020-06-11 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/vhost/test.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c index 7d69778aaa26..12304eb8da15 100644 --- a/drivers/vhost/test.c +++ b/drivers/vhost/test.c @@ -44,9

[PATCH RFC v8 03/11] vhost/net: pass net specific struct pointer

2020-06-11 Thread Michael S. Tsirkin
In preparation for further cleanup, pass net specific pointer to ubuf callbacks so we can move net specific fields out to net structures. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH RFC v8 05/11] vhost: format-independent API for used buffers

2020-06-11 Thread Michael S. Tsirkin
Add a new API that doesn't assume used ring, heads, etc. For now, we keep the old APIs around to make it easier to convert drivers. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 73 +-- drivers/vhost/vhost.h | 17 +- 2 files

[PATCH RFC v8 11/11] vhost: drop head based APIs

2020-06-11 Thread Michael S. Tsirkin
Everyone's using buf APIs, no need for head based ones anymore. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 64 ++- drivers/vhost/vhost.h | 12 2 files changed, 8 insertions(+), 68 deletions(-) diff --git

[PATCH RFC v8 04/11] vhost: reorder functions

2020-06-11 Thread Michael S. Tsirkin
Reorder functions in the file to not rely on forward declarations, in preparation to making them static down the road. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH RFC v8 09/11] vhost/scsi: switch to buf APIs

2020-06-11 Thread Michael S. Tsirkin
Switch to buf APIs. Doing this exposes a spec violation in vhost scsi: all used bufs are marked with length 0. Fix that is left for another day. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/scsi.c | 73 ++-- 1 file changed, 44 insertions(+), 29

[PATCH RFC v8 00/11] vhost: ring format independence

2020-06-11 Thread Michael S. Tsirkin
This still causes corruption issues for people so don't try to use in production please. Posting to expedite debugging. This adds infrastructure required for supporting multiple ring formats. The idea is as follows: we convert descriptors to an independent format first, and process that

[PATCH RFC v8 06/11] vhost/net: convert to new API: heads->bufs

2020-06-11 Thread Michael S. Tsirkin
Convert vhost net to use the new format-agnostic API. In particular, don't poke at vq internals such as the heads array. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/net.c | 154 +++- 1 file changed, 82 insertions(+), 72 deletions(-) diff --git

[GIT PULL] sound fixes for 5.8-rc1

2020-06-11 Thread Takashi Iwai
Linus, please pull sound fixes for v5.8-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-5.8-rc1 The topmost commit is a4f55d927d33accd6eb535ce0db031e2df47714a sound fixes for 5.8-rc1

[PATCH] tools: PCI: Fix memory leak in run_test

2020-06-11 Thread Peng Fan
We should free "test" before the return of run_test. Signed-off-by: Peng Fan --- tools/pci/pcitest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/pci/pcitest.c b/tools/pci/pcitest.c index 0a1344c..7c20332 100644 --- a/tools/pci/pcitest.c +++ b/tools/pci/pcitest.c @@ -47,6 +47,7

Re: [PATCH v3 6/7] venus: Make debug infrastructure more flexible

2020-06-11 Thread Stanimir Varbanov
On 6/11/20 1:52 PM, Daniel Thompson wrote: > On Wed, Jun 10, 2020 at 11:42:43PM -0700, Joe Perches wrote: >> On Thu, 2020-06-11 at 08:26 +0200, Greg Kroah-Hartman wrote: >>> On Wed, Jun 10, 2020 at 01:23:56PM -0700, Joe Perches wrote: On Wed, 2020-06-10 at 12:49 -0700, Joe Perches wrote:

Re: [PATCH RFC v7 03/14] vhost: use batched get_vq_desc version

2020-06-11 Thread Michael S. Tsirkin
On Wed, Jun 10, 2020 at 06:18:32PM +0200, Eugenio Perez Martin wrote: > On Wed, Jun 10, 2020 at 5:13 PM Michael S. Tsirkin wrote: > > > > On Wed, Jun 10, 2020 at 02:37:50PM +0200, Eugenio Perez Martin wrote: > > > > +/* This function returns a value > 0 if a descriptor was found, or 0 > > > > if

Re: [Intel-gfx] [PATCH 03/18] dma-fence: basic lockdep annotations

2020-06-11 Thread Daniel Vetter
On Thu, Jun 11, 2020 at 12:36 PM Tvrtko Ursulin wrote: > > > On 10/06/2020 16:17, Daniel Vetter wrote: > > On Wed, Jun 10, 2020 at 4:22 PM Tvrtko Ursulin > > wrote: > >> > >> > >> On 04/06/2020 09:12, Daniel Vetter wrote: > >>> Design is similar to the lockdep annotations for workers, but with >

Re: WIP generic module->debug_flags and dynamic_debug

2020-06-11 Thread Rasmus Villemoes
On 10/06/2020 20.32, jim.cro...@gmail.com wrote: > so Ive got a WIP / broken / partial approach to giving all modules a > u32 flagset, > and enabling pr_debug based upon it. I leave out the "pr_debug_typed( > bitpos )" for now. For Stanimir, bits 1,2,3 could be high, middle, > low. > > ATM its

Re: [RFC v6 00/51] Large pages in the page cache

2020-06-11 Thread Matthew Wilcox
On Wed, Jun 10, 2020 at 11:59:54PM -0700, Christoph Hellwig wrote: > On Wed, Jun 10, 2020 at 01:12:54PM -0700, Matthew Wilcox wrote: > > From: "Matthew Wilcox (Oracle)" > > > > Another fortnight, another dump of my current large pages work. > > I've squished a lot of bugs this time. xfstests is

Re: [PATCH] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Greg KH
On Thu, Jun 11, 2020 at 01:09:38PM +0200, Christophe Leroy wrote: > > > Le 11/06/2020 à 13:03, Greg KH a écrit : > > On Thu, Jun 11, 2020 at 12:50:24PM +0200, Christophe Leroy wrote: > > > Hi, > > > > > > Le 11/06/2020 à 12:07, Su Kang Yin a écrit : > > > > Patch for 4.9 upstream: > > > > > >

Re: (EXT) Re: Consistent block device references for root= cmdline

2020-06-11 Thread Matthias Schiffer
On Wed, 2020-06-10 at 12:33 -0500, Roger Heflin wrote: > No idea if this would still work, but back before label/uuid and lvm > in initird I had a staticly linked "C" program that ran inside > initrd, > it searched for likely places a boot device could be (mounted them > and > looked for a file to

Re: [PATCH v4 00/27] clk: bcm: rpi: Add support for BCM2711 firmware clocks

2020-06-11 Thread Nicolas Saenz Julienne
On Thu, 2020-06-11 at 09:31 +0200, Maxime Ripard wrote: > Hi, > > Since the whole DRM/HDMI support began to grow fairly big, I've chosen > to split away the two discussions between the firmware clocks and the > HDMI support. > > Let me know what you think, > Maxime > With patch #25 manually

[PATCH] ima: fix mprotect checking

2020-06-11 Thread Mimi Zohar
Make sure IMA is enabled before checking mprotect change. Addresses report of a 3.7% regression of boot-time.dhcp. Fixes: 8eb613c0b8f1 ("ima: verify mprotect change is consistent with mmap policy") Reported-by: kernel test robot Signed-off-by: Mimi Zohar --- security/integrity/ima/ima_main.c

Re: (EXT) Re: Consistent block device references for root= cmdline

2020-06-11 Thread Matthias Schiffer
On Wed, 2020-06-10 at 16:52 +0200, Ulf Hansson wrote: > On Wed, 10 Jun 2020 at 15:15, Matthias Schiffer > wrote: > > > > Hello all, > > > > there have been numerous attempts to make the numbering of mmcblk > > devices consistent, mostly by using aliases from the DTS ([1], [2], > > [3]), but all

Re: [PATCH v4.19.y 0/2] btrfs: Fix for CVE-2019-18885

2020-06-11 Thread Greg KH
On Tue, Jun 09, 2020 at 12:20:16PM +0530, Vikash Bansal wrote: > CVE Description: > NVD Site Link: https://nvd.nist.gov/vuln/detail?vulnId=CVE-2019-18885 > > It was discovered that the btrfs file system in the Linux kernel did not > properly validate metadata, leading to a NULL pointer

Re: [PATCH v1] virtio-mem: add memory via add_memory_driver_managed()

2020-06-11 Thread Michael S. Tsirkin
On Thu, Jun 11, 2020 at 01:00:24PM +0200, David Hildenbrand wrote: > >> I'd like to have this patch in 5.8, with the initial merge of virtio-mem > >> if possible (so the user space representation of virtio-mem added memory > >> resources won't change anymore). > > > > So my plan is to rebase on

Re: [PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread kernel test robot
Hi Herbert, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.7 next-20200611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

Re: [PATCH v4 27/27] clk: bcm: rpi: Remove the quirks for the CPU clock

2020-06-11 Thread Nicolas Saenz Julienne
On Thu, 2020-06-11 at 09:32 +0200, Maxime Ripard wrote: > The CPU clock has had so far a bunch of quirks to expose the clock tree > properly, but since we reverted to exposing them through the MMIO driver, > we can remove that code from the firmware driver. > > Signed-off-by: Maxime Ripard > ---

Re: [PATCH v2] serial: imx: Fix handling of TC irq in combination with DMA

2020-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 09, 2020 at 07:23:40AM +, Schrempf Frieder wrote: > From: Uwe Kleine-König > > commit 1866541492641c02874bf51f9d8712b5510f2c64 upstream > > When using RS485 half duplex the Transmitter Complete irq is needed to > determine the moment when the transmitter can be disabled. When

Re: [PATCH v4 26/27] clk: bcm2835: Don't cache the PLLB rate

2020-06-11 Thread Nicolas Saenz Julienne
On Thu, 2020-06-11 at 09:32 +0200, Maxime Ripard wrote: > The PLLB rate will be changed through the firmware clocks drivers and will > change behind this drivers' back, so we don't want to cache the rate. > > Signed-off-by: Maxime Ripard > --- Thanks! Acked-by: Nicolas Saenz Julienne

Re: [PATCH v4 23/27] Revert "clk: bcm2835: remove pllb"

2020-06-11 Thread Nicolas Saenz Julienne
On Thu, 2020-06-11 at 09:32 +0200, Maxime Ripard wrote: > This reverts commit 2256d89333bd17b8b56b42734a7e1046d52f7fc3. Since we > will be expanding the firmware clock driver, we'll need to remove the > quirks to deal with the PLLB. However, we still want to expose the clock > tree properly, so

Re: [PATCH v4 21/27] clk: bcm: rpi: Discover the firmware clocks

2020-06-11 Thread Nicolas Saenz Julienne
On Thu, 2020-06-11 at 09:32 +0200, Maxime Ripard wrote: > The RaspberryPi4 firmware actually exposes more clocks than are currently > handled by the driver and we will need to change some of them directly > based on the pixel rate for the display related clocks, or the load for the > GPU. > >

Re: [PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread kernel test robot
Hi Herbert, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.7 next-20200611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH? v2] powerpc: Hard wire PT_SOFTE value to 1 in gpr_get() too

2020-06-11 Thread Jan Kratochvil
On Thu, 11 Jun 2020 12:58:31 +0200, Oleg Nesterov wrote: > On 06/11, Madhavan Srinivasan wrote: > > On 6/10/20 8:37 PM, Oleg Nesterov wrote: > > > > This is not consistent and this breaks > > > > http://sourceware.org/systemtap/wiki/utrace/tests/user-regs-peekpoke > > this is 404. Attaching the

[PATCH] dma-buf: support to walk the list of dmabuf for debug

2020-06-11 Thread Hyesoo Yu
Let's support debugging function to show exporter detail information. The exporter don't need to manage the lists for debugging because all dmabuf list are managed on dmabuf framework. That supports to walk the dmabuf list and show the detailed information for exporter by passed function

Re: [PATCH] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Christophe Leroy
Le 11/06/2020 à 13:03, Greg KH a écrit : On Thu, Jun 11, 2020 at 12:50:24PM +0200, Christophe Leroy wrote: Hi, Le 11/06/2020 à 12:07, Su Kang Yin a écrit : Patch for 4.9 upstream: commit e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") wrongly modified CBC algs ivsize instead of ECB

Re: [PATCH v4] platform: x86: Add ACPI driver for ChromeOS

2020-06-11 Thread Enric Balletbo i Serra
Hi, On 11/6/20 0:43, Dmitry Torokhov wrote: > On Wed, Jun 10, 2020 at 09:52:12PM +, mario.limoncie...@dell.com wrote: >>> -Original Message- >>> From: Dmitry Torokhov >>> Sent: Wednesday, June 10, 2020 4:41 PM >>> To: Limonciello, Mario >>> Cc: enric.balle...@collabora.com;

Re: [PATCH] Input: joystick - work around "adi" module name confict

2020-06-11 Thread Masahiro Yamada
On Tue, Jun 9, 2020 at 7:07 PM Arnd Bergmann wrote: > > Making module name conflicts a fatal error breaks sparc64 > allmodconfig: > > Error log: > error: the following would cause module name conflict: > drivers/char/adi.ko > drivers/input/joystick/adi.ko > > Renaming one of the modules would

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-11 Thread Sargun Dhillon
On Thu, Jun 11, 2020 at 12:01:14PM +0200, Christian Brauner wrote: > On Wed, Jun 10, 2020 at 07:59:55PM -0700, Kees Cook wrote: > > On Wed, Jun 10, 2020 at 08:12:38AM +, Sargun Dhillon wrote: > > > As an aside, all of this junk should be dropped: > > > + ret = get_user(size, >size); > > > + if

Re: [RFC PATCH] ALSA: compress: Fix gapless playback state machine

2020-06-11 Thread Vinod Koul
On 11-06-20, 10:42, Charles Keepax wrote: > On Thu, Jun 11, 2020 at 03:14:23PM +0530, Vinod Koul wrote: > > On 11-06-20, 11:09, Jaroslav Kysela wrote: > > > Dne 11. 06. 20 v 10:46 Charles Keepax napsal(a): > > > > On Wed, Jun 10, 2020 at 04:28:20PM +0530, Vinod Koul wrote: > > > > > On 10-06-20,

Re: [f2fs-dev] [PATCH v2] f2fs: add F2FS_IOC_SEC_TRIM_FILE ioctl

2020-06-11 Thread Daeho Jeong
2020년 6월 11일 (목) 오후 5:56, Chao Yu 님이 작성: > > On 2020/6/11 11:16, Daeho Jeong wrote: > > From: Daeho Jeong > > > > Added a new ioctl to send discard commands or/and zero out > > to whole data area of a regular file for security reason. > > > > Signed-off-by: Daeho Jeong > > --- > >

Re: [PATCH 1/2] net: dsa: qca8k: Switch to PHYLINK instead of PHYLIB

2020-06-11 Thread Jonathan McDowell
On Thu, Jun 11, 2020 at 11:58:43AM +0300, Vladimir Oltean wrote: > Hi Jonathan, > > On Wed, 10 Jun 2020 at 23:19, Jonathan McDowell wrote: > > > > Update the driver to use the new PHYLINK callbacks, removing the > > legacy adjust_link callback. > > > > Signed-off-by: Jonathan McDowell ... > >

Re: [PATCH 6/6] spi: altera: fix size mismatch on 64 bit processors

2020-06-11 Thread Mark Brown
On Thu, Jun 11, 2020 at 11:25:11AM +0800, Xu Yilun wrote: > From: Matthew Gerlach > > The spi-altera driver was originally written with a 32 > bit processor, where sizeof(unsigned long) is 4. On a > 64 bit processor sizeof(unsigned long) is 8. Change the structure > member to u32 to match the

Re: [PATCH] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Greg KH
On Thu, Jun 11, 2020 at 12:50:24PM +0200, Christophe Leroy wrote: > Hi, > > Le 11/06/2020 à 12:07, Su Kang Yin a écrit : > > Patch for 4.9 upstream: > > > > commit e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") > > wrongly modified CBC algs ivsize instead of ECB aggs ivsize. > > To make

Re: linux-next: manual merge of the tip tree with Linus' tree

2020-06-11 Thread Stephen Rothwell
Hi Thomas, On Thu, 11 Jun 2020 12:43:24 +0200 Thomas Gleixner wrote: > > Sorry for that inconveniance. I'm about to get rid of the conflicts on > the tip side. Thanks. I do realise that it can take a little while between when Linus adds something to his tree and previous versions get purged.

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-11 Thread Quentin Perret
Hi Doug, On Wednesday 10 Jun 2020 at 15:18:43 (-0700), Douglas Anderson wrote: > The cros_ec_spi driver is realtime priority so that it doesn't get > preempted by other taks while it's talking to the EC but overall it > really doesn't need lots of compute power. Unfortunately, by default, > the

Re: [RFC PATCH] ALSA: compress: Fix gapless playback state machine

2020-06-11 Thread Vinod Koul
On 11-06-20, 12:40, Jaroslav Kysela wrote: > Dne 11. 06. 20 v 11:44 Vinod Koul napsal(a): > > On 11-06-20, 11:09, Jaroslav Kysela wrote: > > > Dne 11. 06. 20 v 10:46 Charles Keepax napsal(a): > > > > On Wed, Jun 10, 2020 at 04:28:20PM +0530, Vinod Koul wrote: > > > > > On 10-06-20, 12:40, Jaroslav

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/it_IT

2020-06-11 Thread Alexander A. Klimov
Am 11.06.20 um 12:40 schrieb Miguel Ojeda: On Thu, Jun 11, 2020 at 9:02 AM Alexander A. Klimov wrote: Is any of you familiar with Golang? Don't worry about that! I'd expect seasoned C programmers to be able to read Go (or near languages) -- at least to have a general idea of what an

vdso_join_timens() question

2020-06-11 Thread Christian Brauner
Hey, I'm about to finish a patch to add CLONE_NEWTIME support to setns(). Since setns() now allows to attach to a multiple namespaces at the same time I've also reworked it to be atomic (already upstream). Either all namespaces are switched or no namespace is switched. All namespaces basically

Re: [PATCH 4/6] spi: altera: use regmap instead of direct mmio register access

2020-06-11 Thread Mark Brown
On Thu, Jun 11, 2020 at 11:25:09AM +0800, Xu Yilun wrote: > + if (pdata && pdata->use_parent_regmap) { > + hw->regmap = dev_get_regmap(pdev->dev.parent, NULL); > + if (!hw->regmap) { > + dev_err(>dev, "get regmap failed\n"); > +

Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6873 driver

2020-06-11 Thread Chun-Kuang Hu
Hi, Neal: Neal Liu 於 2020年6月11日 週四 下午5:26寫道: > > On Wed, 2020-06-10 at 00:01 +0800, Chun-Kuang Hu wrote: > Hi Chun-Kuang, > > [snip] > > > > + > > > +/* > > > + * mtk_devapc_pd_get - get devapc pd_types of register address. > > > + * > > > + * Returns the value of reg addr > > > + */ > > >

Re: [PATCH v1] virtio-mem: add memory via add_memory_driver_managed()

2020-06-11 Thread David Hildenbrand
>> I'd like to have this patch in 5.8, with the initial merge of virtio-mem >> if possible (so the user space representation of virtio-mem added memory >> resources won't change anymore). > > So my plan is to rebase on top of -rc1 and merge this for rc2 then. > I don't like rebase on top of tip

Re: [PATCH? v2] powerpc: Hard wire PT_SOFTE value to 1 in gpr_get() too

2020-06-11 Thread Oleg Nesterov
On 06/11, Madhavan Srinivasan wrote: > > > On 6/10/20 8:37 PM, Oleg Nesterov wrote: > >Hi, > > > >looks like this patch was forgotten. > > yep, I missed this. But mpe did have comments for the patch. > > https://lkml.org/lkml/2019/9/19/107 Yes, and I thought that I have replied... apparently not,

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-11 Thread Qais Yousef
On 06/04/20 14:40, Mel Gorman wrote: > On Wed, Jun 03, 2020 at 01:41:13PM +0100, Qais Yousef wrote: > > > > netperf-udp > > > > ./5.7.0-rc7./5.7.0-rc7 > > > > ./5.7.0-rc7 > > > > without-clamp

Re: [PATCH v1] virtio-mem: add memory via add_memory_driver_managed()

2020-06-11 Thread David Hildenbrand
On 11.06.20 12:32, Pankaj Gupta wrote: >> Virtio-mem managed memory is always detected and added by the virtio-mem >> driver, never using something like the firmware-provided memory map. >> This is the case after an ordinary system reboot, and has to be guaranteed >> after kexec. Especially,

Re: slub freelist issue / BUG: unable to handle page fault for address: 000000003ffe0018

2020-06-11 Thread Vlastimil Babka
On 6/11/20 3:40 AM, Kaneda, Erik wrote: > We'll take this patch for ACPICA and it will be in the next release. > > Rafael, do you want to take this as a part of the next rc? Or should we wait > for the next merge window? IMHO this should rather be fixed in 5.8 with CC stable, not next merge

Re: [PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread kernel test robot
Hi Herbert, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.7 next-20200611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

Re: [PATCH] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Greg KH
On Thu, Jun 11, 2020 at 06:07:45PM +0800, Su Kang Yin wrote: > Patch for 4.9 upstream: > > commit e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") > wrongly modified CBC algs ivsize instead of ECB aggs ivsize. > > This restore the CBC algs original ivsize of removes ECB's ones. > >

Re: [LKP] [ima] 8eb613c0b8: stress-ng.icache.ops_per_sec -84.2% regression

2020-06-11 Thread Mimi Zohar
On Thu, 2020-06-11 at 15:10 +0800, Xing Zhengjun wrote: > On 6/10/2020 9:53 PM, Mimi Zohar wrote: > ucode: 0x52c > > > > Does the following change resolve it? > > > > diff --git a/security/integrity/ima/ima_main.c > > b/security/integrity/ima/ima_main.c > > index

Re: [PATCH] iov_iter: Move unnecessary inclusion of crypto/hash.h

2020-06-11 Thread kernel test robot
Hi Herbert, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.7 next-20200611] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH v3 6/7] venus: Make debug infrastructure more flexible

2020-06-11 Thread Daniel Thompson
On Wed, Jun 10, 2020 at 11:42:43PM -0700, Joe Perches wrote: > On Thu, 2020-06-11 at 08:26 +0200, Greg Kroah-Hartman wrote: > > On Wed, Jun 10, 2020 at 01:23:56PM -0700, Joe Perches wrote: > > > On Wed, 2020-06-10 at 12:49 -0700, Joe Perches wrote: > > > > On Wed, 2020-06-10 at 15:37 +0200, Greg

Re: [PATCH] crypto: talitos - fix ECB and CBC algs ivsize

2020-06-11 Thread Christophe Leroy
Hi, Le 11/06/2020 à 12:07, Su Kang Yin a écrit : Patch for 4.9 upstream: commit e1de42fdfc6a ("crypto: talitos - fix ECB algs ivsize") wrongly modified CBC algs ivsize instead of ECB aggs ivsize. To make it clear and avoid this problem to happen again, please generate your patch with option

drivers/net/wireless/mediatek/mt76/mt7915/mac.c:1130 mt7915_mac_sta_stats_work() warn: test_bit() takes a bit number

2020-06-11 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b29482fde649c72441d5478a4ea2c52c56d97a5e commit: e57b7901469fc0b021930b83a8094baaf3d81b09 mt76: add mac80211 driver for MT7915 PCIe-based chipsets config: x86_64-randconfig-m031-20200611 (attached

Re: [RFC PATCH] ALSA: compress: Fix gapless playback state machine

2020-06-11 Thread Charles Keepax
On Thu, Jun 11, 2020 at 03:14:23PM +0530, Vinod Koul wrote: > On 11-06-20, 11:09, Jaroslav Kysela wrote: > > Dne 11. 06. 20 v 10:46 Charles Keepax napsal(a): > > > On Wed, Jun 10, 2020 at 04:28:20PM +0530, Vinod Koul wrote: > > > > On 10-06-20, 12:40, Jaroslav Kysela wrote: > > > > > Dne 10. 06.

Re: linux-next: manual merge of the tip tree with Linus' tree

2020-06-11 Thread Thomas Gleixner
Stephen Rothwell writes: > Today's linux-next merge of the tip tree got conflicts in: > > include/linux/compiler.h > > between commits: > > dee081bf8f82 ("READ_ONCE: Drop pointer qualifiers when reading from scalar > types") > 9e343b467c70 ("READ_ONCE: Enforce atomicity for

[PATCH] gpio: mpc8xxx: change the gpio interrupt flags.

2020-06-11 Thread Hui Song
From: Song Hui Delete the interrupt IRQF_NO_THREAD flags in order to gpio interrupts can be threaded to allow high-priority processes to preempt. Signed-off-by: Song Hui --- drivers/gpio/gpio-mpc8xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

<    3   4   5   6   7   8   9   10   11   >