Re: [PATCH v6 25/34] misc: Add Keem Bay VPU manager

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:39:55AM -0800, Randy Dunlap wrote: > On 2/12/21 2:22 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/vpumgr/Kconfig b/drivers/misc/vpumgr/Kconfig > > new file mode 100644 > > index ..bb82ff83afd3 > > --- /dev/null > > +++ b/drivers/misc/vpumgr/

Re: [PATCH v6 27/34] misc: Tsens ARM host thermal driver.

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:44:53AM -0800, Randy Dunlap wrote: > On 2/12/21 2:22 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/intel_tsens/Kconfig > > b/drivers/misc/intel_tsens/Kconfig > > new file mode 100644 > > index ..bfb8fe1997f4 > > --- /dev/null > > +++ b/drive

RE: [PATCH] Staging: hv: channel.c: fixed a tab spaces before space hv: connection.c fixed a "=" sign without space in code

2021-02-17 Thread Michael Kelley
From: Vasanth Sent: Wednesday, February 17, 2021 6:22 AM > > Signed-off-by: Vasanth Mathivanan > --- > drivers/hv/channel.c| 2 +- > drivers/hv/connection.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c > index 6fb0c

Re: [PATCH v6 28/34] misc: Intel tsens IA host driver.

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:45:56AM -0800, Randy Dunlap wrote: > On 2/12/21 2:22 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/intel_tsens/Kconfig > > b/drivers/misc/intel_tsens/Kconfig > > index bfb8fe1997f4..8b263fdd80c3 100644 > > --- a/drivers/misc/intel_tsens/Kconfig > > +++

[PATCH v5 2/5] hugetlg: Break earlier in add_reservation_in_range() when we can

2021-02-17 Thread Peter Xu
All the regions maintained in hugetlb reserved map is inclusive on "from" but exclusive on "to". We can break earlier even if rg->from==t because it already means no possible intersection. This does not need a Fixes in all cases because when it happens (rg->from==t) we'll not break out of the loo

[PATCH v5 1/5] hugetlb: Dedup the code to add a new file_region

2021-02-17 Thread Peter Xu
Introduce hugetlb_resv_map_add() helper to add a new file_region rather than duplication the similar code twice in add_reservation_in_range(). Reviewed-by: Mike Kravetz Reviewed-by: Miaohe Lin Signed-off-by: Peter Xu --- mm/hugetlb.c | 51 +++ 1

[PATCH v5 0/5] mm/hugetlb: Early cow on fork, and a few cleanups

2021-02-17 Thread Peter Xu
v5: - patch 4: change "int cow" into "bool cow" - collect r-bs for Jason v4: - add r-b for Mike on the last patch, add some more commit message explains that why we don't need wr-protect trick - fix one warning of unused var in copy_present_page() [Gal] v3: - rebase to linux-next/akpm, switch t

[PATCH v5 3/5] mm: Introduce page_needs_cow_for_dma() for deciding whether cow

2021-02-17 Thread Peter Xu
We've got quite a few places (pte, pmd, pud) that explicitly checked against whether we should break the cow right now during fork(). It's easier to provide a helper, especially before we work the same thing on hugetlbfs. Since we'll reference is_cow_mapping() in mm.h, move it there too. Actuall

[PATCH v5 4/5] mm: Use is_cow_mapping() across tree where proper

2021-02-17 Thread Peter Xu
After is_cow_mapping() is exported in mm.h, replace some manual checks elsewhere throughout the tree but start to use the new helper. Cc: VMware Graphics Cc: Roland Scheidegger Cc: David Airlie Cc: Daniel Vetter Cc: Mike Kravetz Cc: Alexey Dobriyan Cc: Andrew Morton Reviewed-by: Jason Gunth

[PATCH v5 5/5] hugetlb: Do early cow when page pinned on src mm

2021-02-17 Thread Peter Xu
This is the last missing piece of the COW-during-fork effort when there're pinned pages found. One can reference 70e806e4e645 ("mm: Do early cow for pinned pages during fork() for ptes", 2020-09-27) for more information, since we do similar things here rather than pte this time, but just for huget

Re: [PATCH v6 29/34] Intel tsens i2c slave driver.

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:41:26AM -0800, Randy Dunlap wrote: > On 2/12/21 2:22 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/intel_tsens/Kconfig > > b/drivers/misc/intel_tsens/Kconfig > > index 8b263fdd80c3..be8d27e81864 100644 > > --- a/drivers/misc/intel_tsens/Kconfig > > +++

Re: [PATCH v6 30/34] misc:intel_tsens: Intel Keem Bay tsens driver.

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:42:22AM -0800, Randy Dunlap wrote: > On 2/12/21 2:23 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/intel_tsens/Kconfig > > b/drivers/misc/intel_tsens/Kconfig > > index be8d27e81864..5cfe6b4004e5 100644 > > --- a/drivers/misc/intel_tsens/Kconfig > > +++

Re: possible stack corruption in icmp_send (__stack_chk_fail)

2021-02-17 Thread Willem de Bruijn
On Wed, Feb 17, 2021 at 6:18 PM Jason A. Donenfeld wrote: > > On 2/18/21, Willem de Bruijn wrote: > > On Wed, Feb 17, 2021 at 5:56 PM Jason A. Donenfeld wrote: > >> > >> Hi Willem, > >> > >> On Wed, Feb 17, 2021 at 11:27 PM Willem de Bruijn > >> wrote: > >> > A vmlinux image might help. I could

Re: [PATCH v6 33/34] misc: Hddl device management for local host

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:47:51AM -0800, Randy Dunlap wrote: > On 2/12/21 2:23 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/hddl_device/Kconfig > > b/drivers/misc/hddl_device/Kconfig > > new file mode 100644 > > index ..e1ae81fdf177 > > --- /dev/null > > +++ b/drive

Re: [PATCH v3] perf probe: fix kretprobe issue caused by GCC bug

2021-02-17 Thread Nick Desaulniers
On Tue, Feb 16, 2021 at 2:30 AM Jianlin Lv wrote: > > Perf failed to add kretprobe event with debuginfo of vmlinux which is > compiled by gcc with -fpatchable-function-entry option enabled. > The same issue with kernel module. > > Issue: > > # perf probe -v 'kernel_clone%return $retval' > ...

[GIT PULL] Kselftest update for Linux 5.12-rc1

2021-02-17 Thread Shuah Khan
Hi Linus, Please pull the following Kselftest update for Linux 5.12-rc1. This Kselftest update for Linux 5.12-rc1 consists of: - dmabuf-heaps test fixes and cleanups from John Stultz. - seccomp test fix to accept any valid fd in user_notification_addfd. - Minor fixes to breakpoints and vDSO tes

Re: [PATCH v6 34/34] misc: HDDL device management for IA host

2021-02-17 Thread mark gross
On Sun, Feb 14, 2021 at 09:48:53AM -0800, Randy Dunlap wrote: > On 2/12/21 2:23 PM, mgr...@linux.intel.com wrote: > > diff --git a/drivers/misc/hddl_device/Kconfig > > b/drivers/misc/hddl_device/Kconfig > > index e1ae81fdf177..7f9a6a685275 100644 > > --- a/drivers/misc/hddl_device/Kconfig > > +++

Re: [PATCH ghak124 v3] audit: log nftables configuration change events

2021-02-17 Thread Richard Guy Briggs
On 2021-02-11 23:09, Florian Westphal wrote: > Richard Guy Briggs wrote: > > > > I personally would notify once per transaction. This is easy and quick. > > > > This was the goal. iptables was atomic. nftables appears to no longer > > be so. If I have this wrong, please show how that works. >

Re: [PATCH 1/2] phy/qualcomm: add hbr3_hbr2 voltage and premphasis swing table

2021-02-17 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-02-17 15:20:31) > Add hbr3_hbr2 voltage and premphasis swing table to support > HBR3 link rate. > > Signed-off-by: Kuogee Hsieh > --- > drivers/phy/qualcomm/phy-qcom-qmp.c | 23 +-- > 1 file changed, 21 insertions(+), 2 deletions(-) > > diff --git

Re: linux-next: manual merge of the btrfs tree with the fscache tree

2021-02-17 Thread Ira Weiny
On Fri, Feb 12, 2021 at 02:04:44PM +1100, Stephen Rothwell wrote: > Hi Ira, > > On Thu, 11 Feb 2021 17:07:41 -0800 Ira Weiny wrote: > > > > On Fri, Feb 12, 2021 at 10:38:10AM +1100, Stephen Rothwell wrote: > > > from the fscache tree and commit: > > > > > > 325a835476e3 ("iov_iter: Remove memz

[PATCH] driver core: Avoid pointless deferred probe attempts

2021-02-17 Thread Saravana Kannan
There's no point in adding a device to the deferred probe list if we know for sure that it doesn't have a matching driver. So, check if a device can match with a driver before adding it to the deferred probe list. Signed-off-by: Saravana Kannan --- Geert, Can you give this a shot for your I2C DM

Re: [PATCH v4 0/8] Make fw_devlink=on more forgiving

2021-02-17 Thread Saravana Kannan
On Tue, Feb 16, 2021 at 12:31 PM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Tue, Feb 16, 2021 at 7:49 PM Saravana Kannan wrote: > > On Tue, Feb 16, 2021 at 12:05 AM Geert Uytterhoeven > > wrote: > > > On Mon, Feb 15, 2021 at 10:27 PM Saravana Kannan > > > wrote: > > > > On Mon, Feb 15,

Re: [PATCH v3] scsi: storvsc: Parameterize number hardware queues

2021-02-17 Thread Melanie Plageman
On Fri, Feb 12, 2021 at 04:35:16PM +, Michael Kelley wrote: > From: Melanie Plageman Sent: Thursday, February > 11, 2021 3:18 PM > > > > Add ability to set the number of hardware queues with new module parameter, > > storvsc_max_hw_queues. The default value remains the number of CPUs. This

Re: [PATCH 00/49] Add Alder Lake support for perf

2021-02-17 Thread Jin, Yao
On 2/12/2021 12:22 AM, Liang, Kan wrote: On 2/11/2021 6:40 AM, Jiri Olsa wrote: On Mon, Feb 08, 2021 at 07:24:57AM -0800, kan.li...@linux.intel.com wrote: SNIP Jin Yao (24):    perf jevents: Support unit value "cpu_core" and "cpu_atom"    perf util: Save pmu name to struct perf_pmu_alias

[GIT PULL] KUnit update for Linux 5.12-rc1

2021-02-17 Thread Shuah Khan
Hi Linus, Please pull the following KUnit update for Linux 5.12-rc1. This KUnit update for Linux 5.12-rc1 consists of consists of: -- support for filtering test suites using glob from Daniel Latypov. "kunit_filter.glob" command line option is passed to the UML kernel, which currently onl

Re: [PATCH 3/3] Input: applespi: Add trace_event module param for early tracing.

2021-02-17 Thread kernel test robot
Hi "Ronald, Thank you for the patch! Yet something to improve: [auto build test ERROR on input/next] [also build test ERROR on v5.11 next-20210217] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as docu

Re: [PATCH v9] perf stat: Fix wrong skipping for per-die aggregation

2021-02-17 Thread Jin, Yao
Hi Arnaldo, On 2/1/2021 6:27 AM, Jiri Olsa wrote: On Thu, Jan 28, 2021 at 09:34:17AM +0800, Jin Yao wrote: Uncore becomes die-scope on Xeon Cascade Lake-AP and perf has supported --per-die aggregation yet. One issue is found in check_per_pkg() for uncore events running on AP system. On cascade

Re: WARNING in slave_kobj_release

2021-02-17 Thread syzbot
syzbot has bisected this issue to: commit dcd479e10a0510522a5d88b29b8f79ea3467d501 Author: Johannes Berg Date: Fri Oct 9 12:17:11 2020 + mac80211: always wind down STA state bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=169ceb24d0 start commit: f40ddce8 Linux 5.11

Hello

2021-02-17 Thread Azizi Ouadaragou
-- Hello I am Mr. Azizi Ouadarago, a banker by profession from Burkina Faso. I have a very confidential business proposition involving transfer of $ 18,500,000.00 United State Dollars that will be of great benefit to both of us. Contact me via my private email below for more details. Best Rega

RE: [PATCH v7 bpf-next 6/6] xsk: build skb by page (aka generic zerocopy xmit)

2021-02-17 Thread John Fastabend
Alexander Lobakin wrote: > From: Xuan Zhuo > > This patch is used to construct skb based on page to save memory copy > overhead. > > This function is implemented based on IFF_TX_SKB_NO_LINEAR. Only the > network card priv_flags supports IFF_TX_SKB_NO_LINEAR will use page to > directly construct

Re: [PATCH] lib: vsprintf: check for NULL device_node name in device_node_string()

2021-02-17 Thread Sergey Senozhatsky
On (21/02/17 13:15), Enrico Weigelt, metux IT consult wrote: > Under rare circumstances it may happen that a device node's name is NULL > (most likely kernel bug in some other place). In such situations anything > but helpful, if the debug printout crashes, and nobody knows what actually > happened

Re: [PATCH v7 4/5] usb: dwc3: dwc3-qcom: Enable tx-fifo-resize property by default

2021-02-17 Thread Wesley Cheng
On 2/2/2021 8:23 AM, Bjorn Andersson wrote: > On Thu 28 Jan 22:46 CST 2021, Wesley Cheng wrote: > >> In order to take advantage of the TX fifo resizing logic, manually add >> these properties to the DWC3 child node by default. This will allow >> the DWC3 gadget to resize the TX fifos for the I

Re: [PATCH v2] vfs: prevent copy_file_range to copy across devices

2021-02-17 Thread Andreas Dilger
On Feb 17, 2021, at 1:08 AM, Amir Goldstein wrote: > > You are missing my point. > Never mind which server. The server does not *need* to rely on > vfs_copy_file_range() to copy files from XFS to ext4. > The server is very capable of implementing the fallback generic copy > in case source/target

[PATCH v10 3/8] drivers: thermal: tsens: Convert msm8960 to reg_field

2021-02-17 Thread Ansuel Smith
Convert msm9860 driver to reg_field to use the init_common function. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tse

[PATCH v10 2/8] drivers: thermal: tsens: Don't hardcode sensor slope

2021-02-17 Thread Ansuel Smith
Function compute_intercept_slope hardcode the sensor slope to SLOPE_DEFAULT. Change this and use the default value only if a slope is not defined. This is needed for tsens VER_0 that has a hardcoded slope table. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 3 ++- 1 file changed

[PATCH v10 1/8] drivers: thermal: tsens: Add VER_0 tsens version

2021-02-17 Thread Ansuel Smith
VER_0 is used to describe device based on tsens version before v0.1. These device are devices based on msm8960 for example apq8064 or ipq806x. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 175 +-- drivers/thermal/qcom/tsens.h | 4 +- 2 files ch

[PATCH v10 0/8] Add support for ipq8064 tsens

2021-02-17 Thread Ansuel Smith
This patchset convert msm8960 to reg_filed, use int_common instead of a custom function and fix wrong tsens get_temp function for msm8960. Ipq8064 SoCs tsens driver is based on 8960 tsens driver. Ipq8064 needs to be registered as a gcc child as the tsens regs on this platform are shared with the c

[PATCH v10 4/8] drivers: thermal: tsens: Use init_common for msm8960

2021-02-17 Thread Ansuel Smith
Use init_common and drop custom init for msm8960. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 52 +-- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tsens-8960.c index 3f4

[PATCH v10 8/8] dt-bindings: thermal: tsens: Document ipq8064 bindings

2021-02-17 Thread Ansuel Smith
Document the use of bindings used for msm8960 tsens based devices. msm8960 use the same gcc regs and is set as a child of the qcom gcc. Signed-off-by: Ansuel Smith --- .../bindings/thermal/qcom-tsens.yaml | 56 --- 1 file changed, 48 insertions(+), 8 deletions(-) diff -

[PATCH v10 7/8] drivers: thermal: tsens: Add support for ipq8064-tsens

2021-02-17 Thread Ansuel Smith
Add support for tsens present in ipq806x SoCs based on generic msm8960 tsens driver. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index 842f518fdf84..e14b90ddd0f9 10

[PATCH v10 6/8] drivers: thermal: tsens: Use get_temp_common for msm8960

2021-02-17 Thread Ansuel Smith
Rework calibrate function to use common function. Derive the offset from a missing hardcoded slope table and the data from the nvmem calib efuses. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 56 +-- 1 file changed, 15 insertions(+), 41 deletion

Re: [PATCH v3] vfs: fix copy_file_range regression in cross-fs copies

2021-02-17 Thread Nicolas Boichat
On Thu, Feb 18, 2021 at 1:25 AM Luis Henriques wrote: > > A regression has been reported by Nicolas Boichat, found while using the > copy_file_range syscall to copy a tracefs file. Before commit > 5dae222a5ff0 ("vfs: allow copy_file_range to copy across devices") the > kernel would return -EXDEV

[PATCH v10 5/8] drivers: thermal: tsens: Fix bug in sensor enable for msm8960

2021-02-17 Thread Ansuel Smith
It's present a hardware bug in tsens VER_0 where if sensors upper to id 6 are enabled selectively, underfined results are expected. Fix this by enabling all the remaining sensor in one step. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 19 +-- 1 file change

Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-17 Thread Mike Kravetz
On 2/17/21 12:13 AM, Michal Hocko wrote: > On Tue 16-02-21 11:44:34, Mike Kravetz wrote: > [...] >> If we are not going to do the allocations under the lock, then we will need >> to either preallocate or take the workqueue approach. > > We can still drop the lock temporarily right? As we already d

Re: [PATCH 1/3] vfio: Introduce vma ops registration and notifier

2021-02-17 Thread Jason Gunthorpe
On Fri, Feb 12, 2021 at 05:20:57PM -0400, Jason Gunthorpe wrote: > On Fri, Feb 12, 2021 at 12:27:39PM -0700, Alex Williamson wrote: > > Create an interface through vfio-core where a vfio bus driver (ex. > > vfio-pci) can register the vm_operations_struct it uses to map device > > memory, along with

Re: [PATCH] sched/fair: Ignore percpu threads for imbalance pulls

2021-02-17 Thread Pavan Kondeti
On Wed, Feb 17, 2021 at 02:50:23PM +, Valentin Schneider wrote: > On 17/02/21 17:38, Lingutla Chandrasekhar wrote: > > In load balancing, when balancing group is unable to pull task > > due to ->cpus_ptr constraints from busy group, then it sets > > LBF_SOME_PINNED to lb env flags, as a consequ

Re: [RFC PATCH 10/11] vfio/iommu_type1: Optimize dirty bitmap population based on iommu HWDBM

2021-02-17 Thread Keqian Zhu
Hi Yi, On 2021/2/9 19:57, Yi Sun wrote: > On 21-02-07 18:40:36, Keqian Zhu wrote: >> Hi Yi, >> >> On 2021/2/7 17:56, Yi Sun wrote: >>> Hi, >>> >>> On 21-01-28 23:17:41, Keqian Zhu wrote: >>> >>> [...] >>> +static void vfio_dma_dirty_log_start(struct vfio_iommu *iommu, +

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-17 Thread Dave Young
On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: > This adds crashkernel=auto feature to configure reserved memory for > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > different kernel distributions and different archs based on their > needs. > > Signed-off-by: Saeed Mirzamoh

Re: [PATCH v3 1/1] exfat: add support ioctl and FITRIM function

2021-02-17 Thread Chaitanya Kulkarni
On 2/16/21 22:07, Hyeongseok Kim wrote: > Add FITRIM ioctl to enable discarding unused blocks while mounted. > As current exFAT doesn't have generic ioctl handler, add empty ioctl > function first, and add FITRIM handler. > > Signed-off-by: Hyeongseok Kim Looks good. Reviewed-by: Chaitanya Kulkar

Re: [PATCH v18 00/10] Carry forward IMA measurement log on kexec on ARM64

2021-02-17 Thread Rob Herring
On Sat, Feb 13, 2021 at 08:10:38AM -0800, Lakshmi Ramasubramanian wrote: > On kexec file load Integrity Measurement Architecture (IMA) subsystem > may verify the IMA signature of the kernel and initramfs, and measure > it. The command line parameters passed to the kernel in the kexec call > may al

Re: [PATCH v6 00/22] Mediatek MT8192 clock support

2021-02-17 Thread Weiyi Lu
On Mon, 2021-02-08 at 17:00 -0800, Stephen Boyd wrote: > Quoting Weiyi Lu (2020-12-22 05:09:25) > > This series is based on v5.10-rc1. > > > > The DT bindings fail, can you fix and resend? > OK, I'll fix and resend. Thank you for reviewing. > Documentation/devicetree/bindings/arm/mediatek/medi

Re: [PATCH v4] tpm: fix reference counting for struct tpm_chip

2021-02-17 Thread Jason Gunthorpe
On Thu, Feb 18, 2021 at 12:14:11AM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 16, 2021 at 04:31:26PM +, David Laight wrote: > > ... > > > > > + get_device(&chip->dev); > > > > > + chip->devs.release = tpm_devs_release; > > > > > + chip->devs.devt = > > > > > + MKDEV(MAJ

Re: [RFC PATCH 29/34] power/swap: use bio_new in hib_submit_io

2021-02-17 Thread Chaitanya Kulkarni
On 2/17/21 14:03, Pavel Machek wrote: > Hi! >> diff --git a/kernel/power/swap.c b/kernel/power/swap.c >> index c73f2e295167..e92e36c053a6 100644 >> --- a/kernel/power/swap.c >> +++ b/kernel/power/swap.c >> @@ -271,13 +271,12 @@ static int hib_submit_io(int op, int op_flags, pgoff_t >> page_off, vo

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-17 Thread Dave Young
On 02/17/21 at 02:42pm, Vivek Goyal wrote: > On Wed, Feb 17, 2021 at 02:26:53PM -0500, Steven Rostedt wrote: > > On Wed, 17 Feb 2021 12:40:43 -0600 > > john.p.donne...@oracle.com wrote: > > > > > Hello. > > > > > > Ping. > > > > > > Can we get this reviewed and staged ? > > > > > > Thank you. >

Re: [PATCH v5 1/4] dt-bindings: usb: Add binding for discrete onboard USB hubs

2021-02-17 Thread Matthias Kaehlcke
Hi Rob, thanks for your review! On Wed, Feb 17, 2021 at 03:04:41PM -0600, Rob Herring wrote: > On Wed, Feb 10, 2021 at 09:10:36AM -0800, Matthias Kaehlcke wrote: > > Discrete onboard USB hubs (an example for such a hub is the Realtek > > RTS5411) need to be powered and may require initialization

Re: [PATCH] virtio-mmio: Use to_virtio_mmio_device() to simply code

2021-02-17 Thread Tang Bin
Dear Jason:   Sorry for the late reply this email. 在 2021/2/10 16:09, Jason Wang 写道: On 2021/2/10 上午11:04, Tang Bin wrote: The file virtio_mmio.c has defined the function to_virtio_mmio_device, so use it instead of container_of() to simply code. And remove superfluous blank lines in this

Re: [PATCH v2 2/4] hugetlb/userfaultfd: Forbid huge pmd sharing when uffd enabled

2021-02-17 Thread Mike Kravetz
On 2/17/21 12:46 PM, Peter Xu wrote: > Huge pmd sharing could bring problem to userfaultfd. The thing is that > userfaultfd is running its logic based on the special bits on page table > entries, however the huge pmd sharing could potentially share page table > entries for different address ranges

[PATCH V12 00/10] remoteproc: imx_rproc: support iMX8MQ/M

2021-02-17 Thread peng . fan
From: Peng Fan V12: Add maxItems to avoid dt_bindings_check fail Rebased on top of linux-next V11: Per Rob's comments, fix memory-region in patch 1/10 Rebased on top of Linux-next V10: Per Rob's comments, fix patch 1/10 V9: Per Mathieu's comments, update the tile of yaml in patch 2/10

[PATCH V12 01/10] dt-bindings: remoteproc: convert imx rproc bindings to json-schema

2021-02-17 Thread peng . fan
From: Peng Fan Convert the imx rproc binding to DT schema format using json-schema. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 61 +++ .../bindings/remoteproc/imx-rproc.txt | 33 -- 2 files changed, 61 insertions(+), 33 deletions

[PATCH V12 02/10] dt-bindings: remoteproc: imx_rproc: add i.MX8MQ/M support

2021-02-17 Thread peng . fan
From: Peng Fan Add i.MX8MQ/M support, also include mailbox for rpmsg/virtio usage. Signed-off-by: Peng Fan --- .../bindings/remoteproc/fsl,imx-rproc.yaml| 51 ++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,

[PATCH V12 08/10] remoteproc: imx_rproc: support i.MX8MQ/M

2021-02-17 Thread peng . fan
From: Peng Fan Add i.MX8MQ dev/sys addr map and configuration data structure i.MX8MM share i.MX8MQ settings. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/Kconfig | 6 ++--- drivers/remoteproc/imx_rproc.c | 41 ++

[PATCH V12 09/10] remoteproc: imx_rproc: ignore mapping vdev regions

2021-02-17 Thread peng . fan
From: Peng Fan vdev regions are vdev0vring0, vdev0vring1, vdevbuffer and similar. They are handled by remoteproc common code, no need to map in imx rproc driver. Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 3 +++ 1 file changed, 3 insertions(+) d

[PATCH V12 04/10] remoteproc: add is_iomem to da_to_va

2021-02-17 Thread peng . fan
From: Peng Fan Introduce an extra parameter is_iomem to da_to_va, then the caller could take the memory as normal memory or io mapped memory. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Reported-by: kernel test robot Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c

[PATCH V12 03/10] remoteproc: introduce is_iomem to rproc_mem_entry

2021-02-17 Thread peng . fan
From: Peng Fan Introduce is_iomem to indicate this piece memory is iomem or not. Reviewed-by: Bjorn Andersson Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- include/linux/remoteproc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/remoteproc.h b/include/linux/r

[PATCH V12 07/10] remoteproc: imx_rproc: add i.MX specific parse fw hook

2021-02-17 Thread peng . fan
From: Peng Fan The hook is used to parse memory-regions and load resource table from the address the remote processor published. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 93 ++ 1 file ch

[PATCH V12 05/10] remoteproc: imx_rproc: correct err message

2021-02-17 Thread peng . fan
From: Peng Fan It is using devm_ioremap, so not devm_ioremap_resource. Correct the error message and print out sa/size. Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

[PATCH V12 06/10] remoteproc: imx_rproc: use devm_ioremap

2021-02-17 Thread peng . fan
From: Peng Fan We might need to map an region multiple times, becaue the region might be shared between remote processors, such i.MX8QM with dual M4 cores. So use devm_ioremap, not devm_ioremap_resource. Reviewed-by: Oleksij Rempel Reviewed-by: Richard Zhu Signed-off-by: Peng Fan Reviewed-by:

[PATCH V12 10/10] remoteproc: imx_proc: enable virtio/mailbox

2021-02-17 Thread peng . fan
From: Peng Fan Use virtio/mailbox to build connection between Remote Proccessors and Linux. Add work queue to handle incoming messages. Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 116 - 1

Re: [PATCH v6 01/22] dt-bindings: ARM: Mediatek: Add new document bindings of imp i2c wrapper controller

2021-02-17 Thread Weiyi Lu
On Wed, 2021-02-10 at 13:19 +0100, Matthias Brugger wrote: > > On 22/12/2020 14:09, Weiyi Lu wrote: > > This patch adds the new binding documentation of imp i2c wrapper controller > > for Mediatek MT8192. > > The wrapper controller has only clock parts, or are the clock register mapped > into the

[PATCH] sparc: make copy_thread honor pid namespaces

2021-02-17 Thread Dmitry V. Levin
On sparc, fork and clone syscalls have an unusual semantics of returning the pid of the parent process to the child process. Apparently, the implementation did not honor pid namespaces at all, so the child used to get the pid of its parent in the init namespace. This bug was found by strace test

Re: [PATCH v2 4/4] hugetlb/userfaultfd: Unshare all pmds for hugetlbfs when register wp

2021-02-17 Thread Mike Kravetz
On 2/17/21 12:46 PM, Peter Xu wrote: > Huge pmd sharing for hugetlbfs is racy with userfaultfd-wp because > userfaultfd-wp is always based on pgtable entries, so they cannot be shared. > > Walk the hugetlb range and unshare all such mappings if there is, right before > UFFDIO_REGISTER will succeed

linux-next: Signed-off-by missing for commit in the devicetree tree

2021-02-17 Thread Stephen Rothwell
Hi all, Commit bc5d1d0f8b38 ("Revert "powerpc: Move ima buffer fields to struct kimage"") is missing a Signed-off-by from its author and committer. Reverts are commits as well. -- Cheers, Stephen Rothwell pgpmBJNVYyA2w.pgp Description: OpenPGP digital signature

Re: [PATCH v6 10/22] clk: mediatek: Add MT8192 basic clocks support

2021-02-17 Thread Weiyi Lu
On Wed, 2021-02-10 at 13:46 +0100, Matthias Brugger wrote: > > On 22/12/2020 14:09, Weiyi Lu wrote: > > Add MT8192 basic clock providers, include topckgen, apmixedsys, > > infracfg and pericfg. > > > > Signed-off-by: Weiyi Lu > > --- > > drivers/clk/mediatek/Kconfig |8 + > > drivers/c

Re: [PATCH v3 1/1] kernel/crash_core: Add crashkernel=auto for vmcore creation

2021-02-17 Thread Baoquan He
On 02/11/21 at 10:08am, Saeed Mirzamohammadi wrote: > This adds crashkernel=auto feature to configure reserved memory for > vmcore creation. CONFIG_CRASH_AUTO_STR is defined to be set for > different kernel distributions and different archs based on their > needs. > > Signed-off-by: Saeed Mirzamoh

Re: [PATCH v2 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-17 Thread liulongfang
On 2021/2/10 14:43, Herbert Xu Wrote: > On Sun, Feb 07, 2021 at 06:04:40PM +0800, Longfang Liu wrote: >> If the header file "crypto/internal/hash.h" not >> added, the allocation of crypto_tfm will fail when >> the shash algorithm calculates the hash >> through the software. >> >> Signed-off-by: Lon

Re: linux-next: Signed-off-by missing for commit in the devicetree tree

2021-02-17 Thread Rob Herring
On Wed, Feb 17, 2021 at 7:57 PM Stephen Rothwell wrote: > > Hi all, > > Commit > > bc5d1d0f8b38 ("Revert "powerpc: Move ima buffer fields to struct kimage"") > > is missing a Signed-off-by from its author and committer. > > Reverts are commits as well. Oops, now dropped. Thanks, Rob

Re: [PATCH v2 3/3] crypto: hisilicon/sec - fixes shash test error

2021-02-17 Thread Herbert Xu
On Thu, Feb 18, 2021 at 10:01:58AM +0800, liulongfang wrote: > > >> diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c > >> b/drivers/crypto/hisilicon/sec2/sec_crypto.c > >> index d2c4a2c..988faf7 100644 > >> --- a/drivers/crypto/hisilicon/sec2/sec_crypto.c > >> +++ b/drivers/crypto/hisilicon

Re: [PATCH][next] net: hns3: Fix uninitialized return from function

2021-02-17 Thread lipeng (Y)
在 2021/2/10 23:26, Colin King 写道: From: Colin Ian King Currently function hns3_reset_notify_uninit_enet is returning the contents of the uninitialized variable ret. Fix this by removing ret (since it is no longer used) and replace it with a return of the literal value 0. you can not remov

Re: [PATCH v8 3/9] crypto: atmel-ecc - move curve_id of ECDH from the key to algorithm name

2021-02-17 Thread yumeng
在 2021/2/10 12:56, Herbert Xu 写道: On Mon, Feb 08, 2021 at 05:38:51PM +0800, Meng Yu wrote: As curve id of ECDH will be moved from its key into algorithm name, we cannot use 'curve_id' in 'struct ecdh', so we should modify ECDH driver in atmel, and make ECDH algorithm name be the same as crypt

Re: [PATCH] kbuild: Add support for Clang's polyhedral loop optimizer.

2021-02-17 Thread Masahiro Yamada
On Thu, Jan 21, 2021 at 2:42 AM 'Diab Neiroukh' via Clang Built Linux wrote: > > Polly is able to optimize various loops throughout the kernel for cache > locality. A mathematical representation of the program, based on > polyhedra, is analysed to find opportunistic optimisations in memory > acces

Re: [PATCH v8 7/9] crypto: hisilicon/hpre - add 'ECDH' algorithm

2021-02-17 Thread yumeng
在 2021/2/10 12:57, Herbert Xu 写道: On Mon, Feb 08, 2021 at 05:38:55PM +0800, Meng Yu wrote: 1. Enable 'ECDH' algorithm in Kunpeng 930; 2. HPRE ECDH Support: ecdh-nist-p192, ecdh-nist-p224, ecdh-nist-p256, ecdh-nist-p384, ecdh-nist-p521. Where is the patch that adds the generic ecdh-nist-

Re: [PATCH] mm/hugetlb: remove redundant reservation check condition in alloc_huge_page()

2021-02-17 Thread Miaohe Lin
Hi: On 2021/2/13 9:15, Mike Kravetz wrote: > On 2/9/21 11:54 PM, Miaohe Lin wrote: >> If there is no reservation corresponding to a vma, map_chg is always != 0, >> i.e. we can not meet the condition where a vma does not have reservation >> while map_chg = 0. > > This commit message might be easier

Re: [PATCH] perf/x86/lbr: Simplify the exposure check for the LBR_INFO registers

2021-02-17 Thread Like Xu
Hi Peter, Would you help pick up this patch so that we can enable guest Arch LBR? --- thx,likexu On 2021/2/3 15:03, Like Xu wrote: If the platform supports LBR_INFO register, the x86_pmu.lbr_info will be assigned in intel_pmu_?_lbr_init_?() and it's safe to expose LBR_INFO in the x86_perf_get_

Re: [PATCH 5/6] MIPS: remove CONFIG_DMA_MAYBE_COHERENT

2021-02-17 Thread Huacai Chen
Reviewed-by: Huacai Chen On Wed, Feb 10, 2021 at 6:04 PM Christoph Hellwig wrote: > > CONFIG_DMA_MAYBE_COHERENT just guards two early init options now. Just > enable them unconditionally for CONFIG_DMA_NONCOHERENT. > > Signed-off-by: Christoph Hellwig > --- > arch/mips/Kconfig| 8 ++--

Re: [PATCH] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-02-17 Thread Lai Jiangshan
On Thu, Feb 11, 2021 at 4:24 PM wrote: > > From: Zqiang > > The debug_work_activate() is called on the premise that > the work can be inserted, because if wq be in WQ_DRAINING > status, insert work may be failed. > Please add: Fixes: e41e704bc4f49 ("workqueue: improve destroy_workqueue() debugga

Re: [PATCH v3 09/14] drm/bridge: imx: Add i.MX8qxp pixel link to DPI support

2021-02-17 Thread Liu Ying
On Tue, 2021-02-09 at 12:15 -0600, Rob Herring wrote: > On Wed, Jan 27, 2021 at 04:51:23PM +0800, Liu Ying wrote: > > This patch adds a drm bridge driver for i.MX8qxp pixel link to display > > pixel interface(PXL2DPI). The PXL2DPI interfaces the pixel link 36-bit > > data output and the DSI contro

RE: [PATCH 1/1] PCI/RCEC: Fix failure to inject errors to some RCiEP devices

2021-02-17 Thread Zhuo, Qiuxu
Hi Krzysztof, Sorry, just back from Chinese New Year holiday. > From: Krzysztof Wilczyński > ... > ... > Would this only affect error injection or would this be also a generic problem > with the driver itself causing issues regardless of whether it was an error > injection or not for this partic

Re: [PATCH] workqueue: Remove rcu_read_lock/unlock() in workqueue_congested()

2021-02-17 Thread Lai Jiangshan
+CC Paul On Wed, Feb 17, 2021 at 7:58 PM wrote: > > From: Zqiang > > The RCU read critical area already by preempt_disable/enable() > (equivalent to rcu_read_lock_sched/unlock_sched()) mark, so remove > rcu_read_lock/unlock(). I think we can leave it which acks like document, especially workqu

Re: [PATCH V3 14/14] coresight: etm-perf: Add support for trace buffer format

2021-02-17 Thread Anshuman Khandual
On 1/27/21 6:30 PM, Al Grant wrote: >>> +/* CoreSight PMU AUX buffer formats */ >>> +#define PERF_AUX_FLAG_CORESIGHT_FORMAT_CORESIGHT0x /* >> Default for backward compatibility */ >>> +#define PERF_AUX_FLAG_CORESIGHT_FORMAT_RAW0x0100 /* >> Raw format of the source */ >> >> Would CORESIGHT_FO

[PATCH v5] perf tools: Fix arm64 build error with gcc-11

2021-02-17 Thread Jianlin Lv
gcc version: 11.0.0 20210208 (experimental) (GCC) Following build error on arm64: ... In function ‘printf’, inlined from ‘regs_dump__printf’ at util/session.c:1141:3, inlined from ‘regs__printf’ at util/session.c:1169:2: /usr/include/aarch64-linux-gnu/bits/stdio2.h:107:10: \ error:

[PATCH v2] workqueue: Move the position of debug_work_activate() in __queue_work()

2021-02-17 Thread qiang . zhang
From: Zqiang The debug_work_activate() is called on the premise that the work can be inserted, because if wq be in WQ_DRAINING status, insert work may be failed. Fixes: e41e704bc4f4 ("workqueue: improve destroy_workqueue() debuggability") Signed-off-by: Zqiang Reviewed-by: Lai Jiangshan --- v

Re: [External] Re: [PATCH v15 4/8] mm: hugetlb: alloc the vmemmap pages associated with each HugeTLB page

2021-02-17 Thread Muchun Song
On Thu, Feb 18, 2021 at 9:00 AM Mike Kravetz wrote: > > On 2/17/21 12:13 AM, Michal Hocko wrote: > > On Tue 16-02-21 11:44:34, Mike Kravetz wrote: > > [...] > >> If we are not going to do the allocations under the lock, then we will need > >> to either preallocate or take the workqueue approach. >

[PATCH 0/3] fastrpc: fix dmabuf arguments

2021-02-17 Thread Jonathan Marek
dmabuf arguments are completely broken, these patches make it possible to actually use dmabuf arguments (in particular, the second patch). Jonathan Marek (3): fastrpc: always use fl->lock and remove fl->mutex fastrpc: move fl->maps list removal into fastrpc_free_map fastrpc: remove redundant

[PATCH 3/3] fastrpc: remove redundant fastrpc_map_create() call

2021-02-17 Thread Jonathan Marek
fastrpc_internal_invoke() will call fastrpc_map_create, so there is no point in having it called here. This does change the behavior somewhat as fastrpc_internal_invoke() will release the map afterwards, but that's what we want to happen in this case. Signed-off-by: Jonathan Marek --- drivers/mi

[PATCH 2/3] fastrpc: move fl->maps list removal into fastrpc_free_map

2021-02-17 Thread Jonathan Marek
This fixes the incredibly broken behavior of fastrpc_context_free(), which calls fastrpc_map_put() but does not remove the map from the list when it is free'd, causing use-after-free errors. fl->lock needs to be held not just for list_del(), but also kref_put, to avoid a race condition with fastrp

[PATCH 1/3] fastrpc: always use fl->lock and remove fl->mutex

2021-02-17 Thread Jonathan Marek
Fix the broken behavior of having a separate mutex for locking at this place, and use the same spinlock that is used to add/remove from the list. Signed-off-by: Jonathan Marek --- drivers/misc/fastrpc.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/misc/

RE: [PATCH net-next] misc: Add Renesas Synchronization Management Unit (SMU) support

2021-02-17 Thread Min Li
> -Original Message- > From: Arnd Bergmann > Sent: February 17, 2021 4:30 PM > To: Min Li > Cc: Derek Kiernan ; Dragan Cvetic > ; Arnd Bergmann ; gregkh > ; linux-kernel@vger.kernel.org; Networking > ; Richard Cochran > Subject: Re: [PATCH net-next] misc: Add Renesas Synchronization >

Re: [PATCH v14 01/11] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2021-02-17 Thread Baoquan He
On 01/30/21 at 03:10pm, Chen Zhou wrote: > Move CRASH_ALIGN to header asm/kexec.h for later use. Besides, the > alignment of crash kernel regions in x86 is 16M(CRASH_ALIGN), but > function reserve_crashkernel() also used 1M alignment. So just > replace hard-coded alignment 1M with macro CRASH_ALIGN

[GIT PULL] TPM DEVICE DRIVER changes for v5.12

2021-02-17 Thread Jarkko Sakkinen
Hi Linus, This now my "official" first PR for v5.12. There's still some known issues in the tpm_tis driver *not& fixed in this first pull request, which trigger a warning but do not overally collapse the kernel by any means. The fixes are in good progress, but unfortunately there's still some fin

Re: [PATCH v4 1/3] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-02-17 Thread Xin Ji
Hi Rob Herring, thanks for the comments. On Tue, Feb 09, 2021 at 01:30:10PM -0600, Rob Herring wrote: > On Thu, Jan 28, 2021 at 11:08:26AM +0800, Xin Ji wrote: > > Add 'bus-type' and 'data-lanes' define for port0, add HDCP support > > flag and DP tx lane0 and lane1 swing register array define. > >

<    4   5   6   7   8   9   10   11   >