Re: [PATCH bpf-next v4 1/4] bpf: Generalize bpf_sk_storage

2020-07-10 Thread Martin KaFai Lau
On Thu, Jul 09, 2020 at 12:12:36PM +0200, KP Singh wrote: > From: KP Singh > > Refactor the functionality in bpf_sk_storage.c so that concept of > storage linked to kernel objects can be extended to other objects like > inode, task_struct etc. > > bpf_sk_storage is updated to be bpf_local_storag

Re: a question of split_huge_page

2020-07-10 Thread Alex Shi
在 2020/7/10 下午1:28, Mika Penttilä 写道: >> Thanks a lot for quick reply! >> What I am confusing is the call chain: __iommu_dma_alloc_pages() >> to split_huge_page(), in the func, splited page, >> page = alloc_pages_node(nid, alloc_flags, order); >> And if the pages were added into lru, they m

[PATCH] EDAC-I7CORE: Replace HTTP links with HTTPS ones

2020-07-10 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [RESEND PATCH] media: atomisp: Replace trace_printk by pr_info

2020-07-10 Thread Greg Kroah-Hartman
On Fri, Jul 10, 2020 at 02:45:29PM +0800, Nicolas Boichat wrote: > trace_printk should not be used in production code, replace it > call with pr_info. > > Signed-off-by: Nicolas Boichat > --- > Sent this before as part of a series (whose 4th patch was a > change that allows to detect such trace_p

Re: [PATCH] USB IP DRIVER FOR HISILICON KIRIN: Replace HTTP links with HTTPS ones

2020-07-10 Thread Greg KH
On Thu, Jul 09, 2020 at 11:09:33PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn

Re: [PATCH v4 2/2] usb: phy: Add USB3 PHY support for Intel LGM SoC

2020-07-10 Thread Greg KH
On Fri, Jul 10, 2020 at 09:08:09AM +0300, Felipe Balbi wrote: > > Hi, > > "Ramuthevar,Vadivel MuruganX" > writes: > > > From: Ramuthevar Vadivel Murugan > > > > > > Add support for USB PHY on Intel LGM SoC. > > > > Signed-off-by: Ramuthevar Vadivel Murugan > > > > --- > > drivers/usb/phy/K

Re: [RFC PATCH 0/3] MIPS KVM related clean-ups

2020-07-10 Thread Paolo Bonzini
On 10/07/20 08:30, Jiaxun Yang wrote: > Retire some features that never worked in the real world. > > Also I wonder if there are any actual user of TE KVM. > Will Huacai or Alexsander take care relevant code? Queued patches 2 and 3, thanks. One is outside my maintenance area. Paolo > Thanks. >

Re: [PATCH] TI DAVINCI SERIES MEDIA DRIVER: Replace HTTP links with HTTPS ones

2020-07-10 Thread Lad, Prabhakar
On Thu, Jul 9, 2020 at 9:43 AM Kieran Bingham wrote: > > Hi Alexander, > > On 09/07/2020 08:28, Alexander A. Klimov wrote: > > Rationale: > > Reduces attack surface on kernel devs opening the links for MITM > > as HTTPS traffic is much harder to manipulate. > > > > Deterministic algorithm: > > For

Re: [PATCH] scsi: virtio_scsi: Remove unnecessary condition checks

2020-07-10 Thread Paolo Bonzini
On 10/07/20 08:32, Markus Elfring wrote: + mempool_destroy(virtscsi_cmd_pool); + virtscsi_cmd_pool = NULL; + kmem_cache_destroy(virtscsi_cmd_cache); + virtscsi_cmd_cache = NULL; return ret; } >>> >>> How do you think about to add a jump target so that the execu

[PATCH] USB PHY LAYER: Replace HTTP links with HTTPS ones

2020-07-10 Thread Alexander A. Klimov
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: a question of split_huge_page

2020-07-10 Thread Mika Penttilä
On 10.7.2020 10.00, Alex Shi wrote: > > 在 2020/7/10 下午1:28, Mika Penttilä 写道: >>> Thanks a lot for quick reply! >>> What I am confusing is the call chain: __iommu_dma_alloc_pages() >>> to split_huge_page(), in the func, splited page, >>> page = alloc_pages_node(nid, alloc_flags, order); >>> A

[PATCH] Revert "pwm: jz4740: Enhance precision in calculation of duty cycle"

2020-07-10 Thread H. Nikolaus Schaller
This reverts commit a6030d71e62d3e0e270bf3b7fb48d32a636732db. which was applied to v5.4.49. This ends in a compile issue: CC drivers/pwm/pwm-jz4740.o - due to target missing drivers/pwm/pwm-jz4740.c: In function 'jz4740_pwm_apply': drivers/pwm/pwm-jz4740.c:111:28: error: 'rate' undeclared

[PATCH 2/3] dt-bindings: pinctrl: mt8192: add binding document

2020-07-10 Thread Zhiyong Tao
The commit adds mt8192 compatible node in binding document. Signed-off-by: Zhiyong Tao --- .../bindings/pinctrl/pinctrl-mt8192.yaml | 170 ++ 1 file changed, 170 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml diff --git a/Do

[PATCH 0/3] Mediatek pinctrl patch on mt8192

2020-07-10 Thread Zhiyong Tao
This series includes 3 patches: 1.add pinctrl file on mt8192. 2.add pinctrl binding document on mt8192. 3.add pinctrl driver on MT8192. Zhiyong Tao (3): dt-bindings: pinctrl: mt8192: add pinctrl file dt-bindings: pinctrl: mt8192: add binding document pinctrl: add pinctrl driver on mt8192 .

[PATCH 1/3] dt-bindings: pinctrl: mt8192: add pinctrl file

2020-07-10 Thread Zhiyong Tao
This patch adds pinctrl file for mt8192. Signed-off-by: Zhiyong Tao --- include/dt-bindings/pinctrl/mt8192-pinfunc.h | 1344 ++ 1 file changed, 1344 insertions(+) create mode 100644 include/dt-bindings/pinctrl/mt8192-pinfunc.h diff --git a/include/dt-bindings/pinctrl/mt8192-pin

Re: [PATCH 6/6] mmc: remove the call to check_disk_change

2020-07-10 Thread Ulf Hansson
On Wed, 8 Jul 2020 at 14:41, Christoph Hellwig wrote: > > The mmc driver doesn't support event notifications, which means > that check_disk_change is a no-op. > > Signed-off-by: Christoph Hellwig Feel free to add: Acked-by: Ulf Hansson Kind regards Uffe > --- > drivers/mmc/core/block.c | 3

Re: [f2fs-dev] [PATCH] f2fs: change the way of handling range.len in F2FS_IOC_SEC_TRIM_FILE

2020-07-10 Thread Chao Yu
On 2020/7/10 14:46, Jaegeuk Kim wrote: > On 07/10, Chao Yu wrote: >> On 2020/7/10 11:52, Jaegeuk Kim wrote: >>> On 07/10, Chao Yu wrote: On 2020/7/10 11:31, Jaegeuk Kim wrote: > On 07/10, Chao Yu wrote: >> On 2020/7/10 11:02, Jaegeuk Kim wrote: >>> On 07/10, Daeho Jeong wrote:

Re: [f2fs-dev] [PATCH] f2fs: don't skip writeback of quota data

2020-07-10 Thread Chao Yu
On 2020/7/10 11:50, Jaegeuk Kim wrote: > On 07/10, Chao Yu wrote: >> On 2020/7/10 11:26, Jaegeuk Kim wrote: >>> On 07/10, Chao Yu wrote: On 2020/7/10 3:05, Jaegeuk Kim wrote: > On 07/09, Chao Yu wrote: >> On 2020/7/9 13:30, Jaegeuk Kim wrote: >>> It doesn't need to bypass flushing

Re: [PATCH v6 0/5] clean up redundant 'kvm_run' parameters

2020-07-10 Thread Tianjia Zhang
Hi Paolo, Any opinion on this series patches? Can I help with this patchset ? Thanks and best, Tianjia On 2020/6/23 21:14, Tianjia Zhang wrote: In the current kvm version, 'kvm_run' has been included in the 'kvm_vcpu' structure. For historical reasons, many kvm-related function parameters reta

Re: [PATCH v7 1/3] dt-bindings: media: stm32-dcmi: Add DCMI min frequency property

2020-07-10 Thread Benjamin GAIGNARD
On 7/9/20 10:37 PM, Rob Herring wrote: > On Wed, Jul 01, 2020 at 03:01:27PM +0200, Benjamin Gaignard wrote: >> Document st,stm32-dcmi-min-frequency property which is used to >> request CPUs minimum frequency when streaming frames. >> >> Signed-off-by: Benjamin Gaignard >> --- >> Documentation/

Re: [PATCH v3] exfat: remove EXFAT_SB_DIRTY flag

2020-07-10 Thread Tetsuhiro Kohada
On 2020/06/18 22:11, Sungjong Seo wrote: BTW Even with this patch applied, VOL_DIRTY remains until synced in the above case. It's not easy to reproduce as rmdir, but I'll try to fix it in the future. I think it's not a problem not to clear VOL_DIRTY under real errors, because VOL_DIRTY is j

Re: [PATCH v4 00/78] drm/vc4: Support BCM2711 Display Pipeline

2020-07-10 Thread Jian-Hong Pan
Hi Maxime, Thanks for your version 4 patch again. I took the patches and applied them upon next-20200708. I make system cold reboot to multi-user target and the text console shows on the screen. Then, I simply hot re-plug the HDMI cable on HDMI0 port, I not only lose the text console on the scree

Re: [PATCH 2/2] mmc: sdhci-of-aspeed: Fix clock divider calculation

2020-07-10 Thread Ulf Hansson
On Thu, 9 Jul 2020 at 21:57, Eddie James wrote: > > When calculating the clock divider, start dividing at 2 instead of 1. > The divider is divided by two at the end of the calculation, so starting > at 1 may result in a divider of 0, which shouldn't happen. > > Signed-off-by: Eddie James Looks l

Re: [PATCH] scsi: virtio_scsi: Remove unnecessary condition checks

2020-07-10 Thread Markus Elfring
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/virtio_scsi.c?id=42f82040ee66db13525dc6f14b8559890b2f4c1c#n980 >> >> if (!virtscsi_cmd_cache) { >> pr_err("kmem_cache_create() for virtscsi_cmd_cache failed\n"); >> -goto error; >>

[PATCH v2 2/6] crypto: hisilicon/hpre - HPRE_OVERTIME_THRHLD can be written by debugfs

2020-07-10 Thread Meng Yu
From: Hui Tang Registers in "hpre_dfx_files" can only be cleaned to zero but HPRE_OVERTIME_THRHLD, which can be written as any number. Fixes: 64a6301ebee7("crypto: hisilicon/hpre - add debugfs for ...") Signed-off-by: Hui Tang Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Zhou Wan

[PATCH v2 3/6] crypto: hisilicon/hpre - Modify the Macro definition and format

2020-07-10 Thread Meng Yu
1. Bit 1 to bit 5 are NFE, not CE. 2. Macro 'HPRE_VF_NUM' is defined in 'qm.h', so delete it here. 3. Delete multiple blank lines. 4. Adjust format alignment. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Longfang Liu --- drivers/crypto/hisilicon/hpre/hpre_main.c | 12 +---

[PATCH v2 5/6] crypto: hisilicon/hpre - update debugfs interface parameters

2020-07-10 Thread Meng Yu
Update debugfs interface parameters, and adjust the processing logic inside the corresponding function. Fixes: 848974151618("crypto: hisilicon - Add debugfs for HPRE") Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre_main.c | 59 ++-

[PATCH v2 4/6] crypto: hisilicon/hpre - Add a switch in sriov_configure

2020-07-10 Thread Meng Yu
If CONFIG_PCI_IOV is not enabled, we can not use "sriov_configure". Fixes: 5ec302a364bf("crypto: hisilicon - add SRIOV support for HPRE") Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Shukun Tan --- drivers/crypto/hisilicon/hpre/hpre_main.c | 3 ++- 1 file changed, 2 insertions(+),

[PATCH 0/4] Add support for GPU load values

2020-07-10 Thread Christian Gmeiner
This patch series add support for loadavg values for GPU sub-components. I am adding a SMA algorithm as I was not really sure if EWMA would be a good fit for this use case. Christian Gmeiner (4): drm/etnaviv: add simple moving average (SMA) drm/etnaviv: add loadavg accounting drm/etnaviv: sh

[PATCH 2/4] drm/etnaviv: add loadavg accounting

2020-07-10 Thread Christian Gmeiner
The GPU has an idle state register where each bit represents the idle state of a sub-GPU component like FE or TX. Sample this register every 10ms and calculate a simple moving average over the sub-GPU component idle states with a total observation time frame of 1s. This provides us with a percenta

[PATCH v2 0/6] crypto: hisilicon/hpre bugfix - misc fixes

2020-07-10 Thread Meng Yu
Bugfix: crypto: hisilicon/hpre - modify the macros, add a switch in sriov_configure, unified debugfs interface, and disable hardware FLR. Hui Tang (2): crypto: hisilicon/hpre - HPRE_OVERTIME_THRHLD can be written by debugfs crypto: hisilicon/hpre - disable FLR triggered by hardware

[PATCH 4/4] drm/etnaviv: export loadavg via perfmon

2020-07-10 Thread Christian Gmeiner
Make it possible to access the sub-GPU component load value from user space with the perfmon infrastructure. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 79 +++ 1 file changed, 79 insertions(+) diff --git a/drivers/gpu/drm/etnaviv/etnaviv

[PATCH 1/4] drm/etnaviv: add simple moving average (SMA)

2020-07-10 Thread Christian Gmeiner
This adds a SMA algorithm inspired by Exponentially weighted moving average (EWMA) algorithm found in the kernel. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_sma.h | 53 +++ 1 file changed, 53 insertions(+) create mode 100644 drivers/gpu/drm/etna

[PATCH v2 6/6] crypto: hisilicon/hpre - disable FLR triggered by hardware

2020-07-10 Thread Meng Yu
From: Hui Tang for Hi1620 hardware, we should disable these hardware flr: 1. BME_FLR - bit 7, 2. PM_FLR - bit 11, 3. SRIOV_FLR - bit 12, Or HPRE may goto D3 state, when we bind and unbind HPRE quickly, as it does FLR triggered by BME/PM/SRIOV. Fixes: c8b4b477079d("crypto: hisilicon - add HiSilic

Re: [PATCH v6 2/4] driver core: add deferring probe reason to devices_deferred property

2020-07-10 Thread Andrzej Hajda
On 07.07.2020 06:14, Dmitry Torokhov wrote: > On Thu, Jul 02, 2020 at 08:57:55AM +0200, Andrzej Hajda wrote: >> On 30.06.2020 20:00, Dmitry Torokhov wrote: >>> On Tue, Jun 30, 2020 at 8:42 AM Andrzej Hajda wrote: On 30.06.2020 10:59, Grygorii Strashko wrote: > Hi > > On 29/06/20

[PATCH 3/4] drm/etnaviv: show loadavg in debugfs

2020-07-10 Thread Christian Gmeiner
Might be helpful to see the loadavg in debugfs. Signed-off-by: Christian Gmeiner --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gpu.c b/drivers/gpu/drm/etnaviv/etnaviv_gpu.c index 1f0eb7e

[PATCH v2 1/6] crypto: hisilicon/hpre - Init the value of current_q of debugfs

2020-07-10 Thread Meng Yu
Initialize current queue number as HPRE_PF_DEF_Q_NUM, or it is zero and we can't set its value by "current_q_write". Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reviewed-by: Hui Tang --- drivers/crypto/hisilicon/hpre/hpre_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cryp

Re: [PATCH] USB PHY LAYER: Replace HTTP links with HTTPS ones

2020-07-10 Thread Greg KH
On Fri, Jul 10, 2020 at 09:20:45AM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn

[PATCH] ARM: uniphier: remove support-card node

2020-07-10 Thread Masahiro Yamada
This device hierarchy is needlessly complex. Remove the support-card node level, and move the ethernet and serial nodes right under the system-bus node. This also fixes the following warning from 'make ARCH=arm dtbs_check': support-card@1,1f0: $nodename:0: 'support-card@1,1f0' does not

linux-next: manual merge of the akpm-current tree with the risc-v tree

2020-07-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: lib/Makefile between commit: 1a479f783857 ("lib: Add a generic version of devmem_is_allowed()") from the risc-v tree and commit: d0bb028dd7f4 ("lib/test_bits.c: add tests of GENMASK") from the akpm-current tre

Re: [ANNOUNCE][CFP] Kernel Dependability & Assurance Micro Conference - LPC 2020

2020-07-10 Thread Lukas.Bulwahn
Nobody really subscribed to linux-saf...@lists.elisa.tech. I guess you need to send that to de...@lists.elisa.tech. Lukas

Re: [PATCH] scsi: virtio_scsi: Remove unnecessary condition checks

2020-07-10 Thread Paolo Bonzini
On 10/07/20 09:40, Markus Elfring wrote: >>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/scsi/virtio_scsi.c?id=42f82040ee66db13525dc6f14b8559890b2f4c1c#n980 >>> >>> if (!virtscsi_cmd_cache) { >>> pr_err("kmem_cache_create() for virtscsi_cmd_cache

Re: [PATCH v3] bus: fsl-mc: fix invalid free in fsl_mc_device_add

2020-07-10 Thread Greg KH
On Thu, Jul 09, 2020 at 08:31:19AM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags this error > > fsl-mc-bus.c:695:2: warning: Attempt to free released memory [unix.Malloc] > kfree(mc_dev); > ^ > > The problem block of code is > >

Re: [PATCH v6 1/5] KVM: s390: clean up redundant 'kvm_run' parameters

2020-07-10 Thread Paolo Bonzini
On 23/06/20 17:31, Christian Borntraeger wrote: > > I have trouble seeing value in this particular patch. We add LOCs > without providing any noticable benefit. All other patches in this series at > least reduce the amount of code. So I would defer this to Paolo if he prefers > to have this way ac

[GIT PULL] MMC fixes for v5.8-rc5

2020-07-10 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v5.8-rc5. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:

Re: [PATCH v2 5/5] firmware: QCOM_SCM: Allow qcom_scm driver to be loadable as a permenent module

2020-07-10 Thread Will Deacon
On Thu, Jul 09, 2020 at 08:28:45PM -0700, John Stultz wrote: > On Thu, Jul 2, 2020 at 7:18 AM Will Deacon wrote: > > On Thu, Jun 25, 2020 at 12:10:39AM +, John Stultz wrote: > > > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > > > index b510f67dfa49..714893535dd2 100644 > > > ---

RE: [PATCH v2 02/29] soc: Add Realtek DHC chip info driver for RTD1195 and RTD1295

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, I have reviewed this patch and tested in my local platforms (RTD1319/RTD1619/RTD1395). And this patch is fine and it can work. > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead

[PATCH] kcmp: add separate Kconfig symbol for kcmp syscall

2020-07-10 Thread Rasmus Villemoes
The ability to check open file descriptions for equality (without resorting to unreliable fstat() and fcntl(F_GETFL) comparisons) can be useful outside of the checkpoint/restore use case - for example, systemd uses kcmp() to deduplicate the per-service file descriptor store. Make it possible to ha

Re: [PATCH v6 3/5] KVM: PPC: clean up redundant kvm_run parameters in assembly

2020-07-10 Thread Paolo Bonzini
On 23/06/20 15:14, Tianjia Zhang wrote: > > /* Load non-volatile guest state from the vcpu */ > - VCPU_LOAD_NVGPRS(r4) > + VCPU_LOAD_NVGPRS(r3) > > kvm_start_lightweight: > /* Copy registers into shadow vcpu so we can access them in real mode */ > - mr r3, r4 >

RE: [PATCH v2 03/29] arm64: dts: realtek: rtd129x: Add chip info node

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee [

RE: [PATCH v2 04/29] ARM: dts: rtd1195: Add chip info node

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee

Re: linux-next: build warning after merge of the pidfd tree

2020-07-10 Thread Christian Brauner
On Fri, Jul 10, 2020 at 04:32:04PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the pidfd tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > fs/nsfs.c: In function 'ns_ioctl': > fs/nsfs.c:195:14: warning: unused variable 'pid_struct' [-Wunused-vari

Re: [PATCH V1] mmc: sdhci: Fix potential null pointer access while accessing vqmmc

2020-07-10 Thread Ulf Hansson
On Thu, 9 Jul 2020 at 15:13, Veerabhadrarao Badiganti wrote: > > Don't access vqmmc regulator handler, if it's already invalidated. > > Fixes: f870b6d480d3 (mmc: sdhci: Allow platform controlled voltage switching) > Reported-by: Dan Carpenter > Signed-off-by: Veerabhadrarao Badiganti Applied fo

RE: [PATCH v2 06/29] soc: realtek: chip: Detect RTD1296

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, I have reviewed this patch and it is ok. > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James >

RE: [PATCH v2 07/29] arm64: dts: realtek: rtd129x: Extend chip-info reg with CHIP_INFO1

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee [

Re: [PATCH 2/7] mailbox: keembay-scmi-mailbox: Add support for Keem Bay mailbox

2020-07-10 Thread Sudeep Holla
On Thu, Jul 09, 2020 at 02:28:10PM +0100, Paul Murphy wrote: > > On 7/9/20 13:23, Daniele Alessandrelli wrote: > > Hi Sudeep, > > > > Thanks for your review. > > > > On Wed, 2020-07-08 at 21:34 +0100, Sudeep Holla wrote: > > > On Tue, Jun 16, 2020 at 04:56:08PM +0100, Daniele Alessandrelli > > >

RE: [PATCH v2 11/29] soc: realtek: chip: Add RTD1619 info

2020-07-10 Thread Stanley Chang [昌育德]
> -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee [李承諭]; Andre

RE: [PATCH v2 09/29] soc: realtek: chip: Add RTD1395 info

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, This patch is ok in my platform. > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰

RE: [PATCH v2 12/29] arm64: dts: realtek: rtd16xx: Add chip info node

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee [

RE: [PATCH v2 10/29] arm64: dts: realtek: rtd139x: Add chip info node

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee

RE: [PATCH v2 13/29] soc: realtek: chip: Add RTD1319 info

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, I have tested this patch, it is okay > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai

RE: [PATCH v2 14/29] soc: realtek: chip: Add RTD1319 revisions

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee [

Re: [PATCH v9 0/4] Introduce the for_each_set_clump macro

2020-07-10 Thread Syed Nayyar Waris
On Sat, Jun 27, 2020 at 1:40 PM Syed Nayyar Waris wrote: > > Hello Linus, > > Since this patchset primarily affects GPIO drivers, would you like > to pick it up through your GPIO tree? > > This patchset introduces a new generic version of for_each_set_clump. > The previous version of for_each_set_

RE: [PATCH v2 16/29] soc: realtek: chip: Detect RTD1392

2020-07-10 Thread Stanley Chang [昌育德]
Hi Andreas, > -Original Message- > From: Andreas Färber [mailto:afaer...@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-...@lists.infradead.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee

Re: [PATCH v6 0/5] clean up redundant 'kvm_run' parameters

2020-07-10 Thread Paolo Bonzini
On 10/07/20 09:32, Tianjia Zhang wrote: > Hi Paolo, > > Any opinion on this series patches? Can I help with this patchset ? I was hoping to have some Tested-by, for now I'm queuing patches 1 and 2. Thanks, Paolo > Thanks and best, > Tianjia > > On 2020/6/23 21:14, Tianjia Zhang wrote: >> In t

RE: [PATCH v2 15/29] arm64: dts: realtek: rtd13xx: Add chip info node

2020-07-10 Thread Stanley Chang [昌育德]
Tested-by: Stanley Chang Reviewed-by: Stanley Chang Thanks, Stanley

RE: [PATCH v2 26/29] soc: realtek: chip: Detect RTD1294

2020-07-10 Thread Stanley Chang [昌育德]
Reviewed-by: Stanley Chang Thanks, Stanley

Re: scsi: virtio_scsi: Remove unnecessary condition checks

2020-07-10 Thread Markus Elfring
>> Can a bit more “compliance” (with the Linux coding style) matter here? > > No. Please take another look at the corresponding software documentation. >>> Having a single error loop is an advantage by itself. >> >> I do not see that a loop is involved in the implementation of the function >> “

回复: WARNING in submit_audio_out_urb/usb_submit_urb

2020-07-10 Thread Zhang, Qiang
发件人: linux-kernel-ow...@vger.kernel.org 代表 syzbot 发送时间: 2020年7月9日 21:34 收件人: andreyk...@google.com; gre...@linuxfoundation.org; ingras...@epigenesys.com; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; syzkaller-b...@googlegroups.com 主题: WARN

Re: [RFC 07/12] media: uapi: h264: Add DPB entry field reference flags

2020-07-10 Thread Boris Brezillon
On Fri, 10 Jul 2020 01:21:07 -0300 Ezequiel Garcia wrote: > Hello Jonas, > > In the context of the uAPI cleanup, > I'm revisiting this patch. > > On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: > > Add DPB entry flags to help indicate when a reference frame is a field > > picture > > a

Re: [Patch v4 0/4] mm/mremap: cleanup move_page_tables() a little

2020-07-10 Thread Kirill A. Shutemov
On Fri, Jul 10, 2020 at 09:14:10AM +0800, Wei Yang wrote: > On Thu, Jul 09, 2020 at 10:38:58PM +0300, Dmitry Osipenko wrote: > >08.07.2020 12:50, Wei Yang пишет: > >> move_page_tables() tries to move page table by PMD or PTE. > >> > >> The root reason is if it tries to move PMD, both old and new r

Re: [f2fs-dev] [PATCH] f2fs: don't skip writeback of quota data

2020-07-10 Thread Jaegeuk Kim
On 07/10, Chao Yu wrote: > On 2020/7/10 11:50, Jaegeuk Kim wrote: > > On 07/10, Chao Yu wrote: > >> On 2020/7/10 11:26, Jaegeuk Kim wrote: > >>> On 07/10, Chao Yu wrote: > On 2020/7/10 3:05, Jaegeuk Kim wrote: > > On 07/09, Chao Yu wrote: > >> On 2020/7/9 13:30, Jaegeuk Kim wrote: > >>

Re: [PATCH v3 4/4] iommu/vt-d: Add page response ops support

2020-07-10 Thread Lu Baolu
Hi Kevin, On 2020/7/10 13:49, Tian, Kevin wrote: From: Lu Baolu Sent: Friday, July 10, 2020 1:37 PM Hi Kevin, On 2020/7/10 10:42, Tian, Kevin wrote: From: Lu Baolu Sent: Thursday, July 9, 2020 3:06 PM After page requests are handled, software must respond to the device which raised the page

Re: [PATCH 2/4] drm/etnaviv: add loadavg accounting

2020-07-10 Thread Lucas Stach
Hi Christian, Am Freitag, den 10.07.2020, 09:41 +0200 schrieb Christian Gmeiner: > The GPU has an idle state register where each bit represents the idle > state of a sub-GPU component like FE or TX. Sample this register > every 10ms and calculate a simple moving average over the sub-GPU > componen

[PATCH] of: Add stub for of_get_next_parent

2020-07-10 Thread Akash Asthana
Fixes compilation error reported on x86 platform: drivers/soc/qcom/qcom-geni-se.c:819:11: error: implicit declaration of function 'of_get_next_parent'. drivers/soc/qcom/qcom-geni-se.c:819:9: warning: incompatible integer to pointer conversion assigning to 'struct device_node *' from 'int' Fixes:

Re: [PATCH] dma-pool: use single atomic pool for both DMA zones

2020-07-10 Thread Nicolas Saenz Julienne
On Thu, 2020-07-09 at 14:49 -0700, David Rientjes wrote: > On Wed, 8 Jul 2020, Christoph Hellwig wrote: > > > On Wed, Jul 08, 2020 at 06:00:35PM +0200, Nicolas Saenz Julienne wrote: > > > On Wed, 2020-07-08 at 17:35 +0200, Christoph Hellwig wrote: > > > > On Tue, Jul 07, 2020 at 02:28:04PM +0200,

[PATCH v2] sched/fair: handle case of task_h_load() returning 0

2020-07-10 Thread Vincent Guittot
task_h_load() can return 0 in some situations like running stress-ng mmapfork, which forks thousands of threads, in a sched group on a 224 cores system. The load balance doesn't handle this correctly because env->imbalance never decreases and it will stop pulling tasks only after reaching loop_max,

Re: [PATCH] blk-mq: Remove unnecessary local variable

2020-07-10 Thread Baolin Wang
Hi, On Sat, Jul 04, 2020 at 03:26:14PM +0800, Baolin Wang wrote: > Remove unnecessary local variable 'ret' in blk_mq_dispatch_hctx_list(). > A gentle ping? > Signed-off-by: Baolin Wang > --- > block/blk-mq-sched.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/blo

Re: [PATCH] blk-mq: Remove unnecessary validation before calling blk_mq_sched_completed_request()

2020-07-10 Thread Baolin Wang
Hi, On Sat, Jul 04, 2020 at 03:28:21PM +0800, Baolin Wang wrote: > We've already validated the 'q->elevator' before calling > ->ops.completed_request() > in blk_mq_sched_completed_request(), thus no need to validate > rq->internal_tag again, > and remove it. A gentle ping? > > Signed-off-by:

Re: [PATCH v14 07/20] mm/thp: narrow lru locking

2020-07-10 Thread Alex Shi
在 2020/7/9 下午11:48, Kirill A. Shutemov 写道: > On Mon, Jul 06, 2020 at 09:52:34PM -0700, Hugh Dickins wrote: >> On Mon, 6 Jul 2020, Matthew Wilcox wrote: >>> On Mon, Jul 06, 2020 at 05:15:09PM +0800, Alex Shi wrote: Hi Kirill & Johannes & Matthew, >> >> Adding Kirill, who was in patch's Cc li

[PATCH v13 00/17] KVM RISC-V Support

2020-07-10 Thread Anup Patel
This series adds initial KVM RISC-V support. Currently, we are able to boot RISC-V 64bit Linux Guests with multiple VCPUs. Few key aspects of KVM RISC-V added by this series are: 1. Minimal possible KVM world-switch which touches only GPRs and few CSRs. 2. Full Guest/VM switch is done via vcpu_get

[PATCH v13 05/17] RISC-V: KVM: Implement KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls

2020-07-10 Thread Anup Patel
For KVM RISC-V, we use KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls to access VCPU config and registers from user-space. We have three types of VCPU registers: 1. CONFIG - these are VCPU config and capabilities 2. CORE - these are VCPU general purpose registers 3. CSR- these are VCPU control and s

[PATCH v13 03/17] RISC-V: KVM: Implement VCPU create, init and destroy functions

2020-07-10 Thread Anup Patel
This patch implements VCPU create, init and destroy functions required by generic KVM module. We don't have much dynamic resources in struct kvm_vcpu_arch so these functions are quite simple for KVM RISC-V. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by

[PATCH v13 02/17] RISC-V: Add initial skeletal KVM support

2020-07-10 Thread Anup Patel
This patch adds initial skeletal KVM RISC-V support which has: 1. A simple implementation of arch specific VM functions except kvm_vm_ioctl_get_dirty_log() which will implemeted in-future as part of stage2 page loging. 2. Stubs of required arch specific VCPU functions except kvm_arch_vcpu_

[PATCH v13 06/17] RISC-V: KVM: Implement VCPU world-switch

2020-07-10 Thread Anup Patel
This patch implements the VCPU world-switch for KVM RISC-V. The KVM RISC-V world-switch (i.e. __kvm_riscv_switch_to()) mostly switches general purpose registers, SSTATUS, STVEC, SSCRATCH and HSTATUS CSRs. Other CSRs are switched via vcpu_load() and vcpu_put() interface in kvm_arch_vcpu_load() and

[PATCH v13 07/17] RISC-V: KVM: Handle MMIO exits for VCPU

2020-07-10 Thread Anup Patel
We will get stage2 page faults whenever Guest/VM access SW emulated MMIO device or unmapped Guest RAM. This patch implements MMIO read/write emulation by extracting MMIO details from the trapped load/store instruction and forwarding the MMIO read/write to user-space. The actual MMIO emulation will

[PATCH v13 08/17] RISC-V: KVM: Handle WFI exits for VCPU

2020-07-10 Thread Anup Patel
We get illegal instruction trap whenever Guest/VM executes WFI instruction. This patch handles WFI trap by blocking the trapped VCPU using kvm_vcpu_block() API. The blocked VCPU will be automatically resumed whenever a VCPU interrupt is injected from user-space or from in-kernel IRQCHIP emulation.

[PATCH v13 04/17] RISC-V: KVM: Implement VCPU interrupts and requests handling

2020-07-10 Thread Anup Patel
This patch implements VCPU interrupts and requests which are both asynchronous events. The VCPU interrupts can be set/unset using KVM_INTERRUPT ioctl from user-space. In future, the in-kernel IRQCHIP emulation will use kvm_riscv_vcpu_set_interrupt() and kvm_riscv_vcpu_unset_interrupt() functions t

[PATCH v13 01/17] RISC-V: Add hypervisor extension related CSR defines

2020-07-10 Thread Anup Patel
This patch extends asm/csr.h by adding RISC-V hypervisor extension related defines. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- arch/riscv/include/asm/csr.h | 87 1 file changed, 87 insertion

[PATCH v13 13/17] RISC-V: KVM: FP lazy save/restore

2020-07-10 Thread Anup Patel
From: Atish Patra This patch adds floating point (F and D extension) context save/restore for guest VCPUs. The FP context is saved and restored lazily only when kernel enter/exits the in-kernel run loop and not during the KVM world switch. This way FP save/restore has minimal impact on KVM perfor

[PATCH v13 09/17] RISC-V: KVM: Implement VMID allocator

2020-07-10 Thread Anup Patel
We implement a simple VMID allocator for Guests/VMs which: 1. Detects number of VMID bits at boot-time 2. Uses atomic number to track VMID version and increments VMID version whenever we run-out of VMIDs 3. Flushes Guest TLBs on all host CPUs whenever we run-out of VMIDs 4. Force updates HW S

[PATCH v13 15/17] RISC-V: KVM: Add SBI v0.1 support

2020-07-10 Thread Anup Patel
From: Atish Patra The KVM host kernel is running in HS-mode needs so we need to handle the SBI calls coming from guest kernel running in VS-mode. This patch adds SBI v0.1 support in KVM RISC-V. Almost all SBI v0.1 calls are implemented in KVM kernel module except GETCHAR and PUTCHART calls which

[PATCH v13 12/17] RISC-V: KVM: Add timer functionality

2020-07-10 Thread Anup Patel
From: Atish Patra The RISC-V hypervisor specification doesn't have any virtual timer feature. Due to this, the guest VCPU timer will be programmed via SBI calls. The host will use a separate hrtimer event for each guest VCPU to provide timer functionality. We inject a virtual timer interrupt to

[PATCH v13 11/17] RISC-V: KVM: Implement MMU notifiers

2020-07-10 Thread Anup Patel
This patch implements MMU notifiers for KVM RISC-V so that Guest physical address space is in-sync with Host physical address space. This will allow swapping, page migration, etc to work transparently with KVM RISC-V. Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini

[PATCH v13 14/17] RISC-V: KVM: Implement ONE REG interface for FP registers

2020-07-10 Thread Anup Patel
From: Atish Patra Add a KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctl interface for floating point registers such as F0-F31 and FCSR. This support is added for both 'F' and 'D' extensions. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewe

[PATCH v13 10/17] RISC-V: KVM: Implement stage2 page table programming

2020-07-10 Thread Anup Patel
This patch implements all required functions for programming the stage2 page table for each Guest/VM. At high-level, the flow of stage2 related functions is similar from KVM ARM/ARM64 implementation but the stage2 page table format is quite different for KVM RISC-V. Signed-off-by: Anup Patel Ack

[PATCH v13 17/17] RISC-V: KVM: Add MAINTAINERS entry

2020-07-10 Thread Anup Patel
Add myself as maintainer for KVM RISC-V and Atish as designated reviewer. Signed-off-by: Atish Patra Signed-off-by: Anup Patel Acked-by: Paolo Bonzini Reviewed-by: Paolo Bonzini Reviewed-by: Alexander Graf --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINT

[PATCH v13 16/17] RISC-V: KVM: Document RISC-V specific parts of KVM API

2020-07-10 Thread Anup Patel
Document RISC-V specific parts of the KVM API, such as: - The interrupt numbers passed to the KVM_INTERRUPT ioctl. - The states supported by the KVM_{GET,SET}_MP_STATE ioctls. - The registers supported by the KVM_{GET,SET}_ONE_REG interface and the encoding of those register ids. - The exit

Re: [PATCH v5 0/4] printk: replace ringbuffer

2020-07-10 Thread Petr Mladek
On Thu 2020-07-09 15:29:40, John Ogness wrote: > Hello, > > Here is a v5 for the first series to rework the printk > subsystem. The v4 is here [0]. This first series > only replaces the existing ringbuffer implementation. No locking > is removed. The semantics/behavior of printk are kept the same

Re: [PATCH v4 0/2] Fix and enable pmem as RAM device on arm64

2020-07-10 Thread David Hildenbrand
On 10.07.20 05:16, Jia He wrote: > This fixies a few issues when I tried to enable pmem as RAM device on arm64. > > To use memory_add_physaddr_to_nid as a fallback nid, it would be better > implement a general version (__weak) in mm/memory_hotplug. After that, arm64/ > sh/s390 can simply use the g

  1   2   3   4   5   6   7   8   9   10   >