Re: [PATCH] fnic: fixup patch to resolve stack frame issues

2021-01-26 Thread Greg KH
On Tue, Jan 26, 2021 at 05:21:24PM -0800, Lee Duncan wrote: > From: Hannes Reinecke > > Commit 42ec15ceaea7 fixed a gcc issue with unused variables, but > introduced errors since it allocated an array of two u64-s but > then used more than that. Set the arrays to the proper size. > > Fixes: 42ec

[Patch v2 net-next 3/7] octeontx2-pf: ethtool fec mode support

2021-01-26 Thread Hariprasad Kelam
From: Christina Jacob Add ethtool support to configure fec modes baser/rs and support to fecth FEC stats from CGX as well PHY. Configure fec mode - ethtool --set-fec eth0 encoding rs/baser/off/auto Query fec mode - ethtool --show-fec eth0 Signed-off-by: Christina Jacob Signed-o

[Patch v2 net-next 2/7] octeontx2-af: Add new CGX_CMD to get PHY FEC statistics

2021-01-26 Thread Hariprasad Kelam
From: Felix Manlunas This patch adds support to fetch fec stats from PHY. The stats are put in the shared data struct fwdata. A PHY driver indicates that it has FEC stats by setting the flag fwdata.phy.misc.has_fec_stats Besides CGX_CMD_GET_PHY_FEC_STATS, also add CGX_CMD_PRBS and CGX_CMD_DISPL

[Patch v2 net-next 7/7] octeontx2-pf: ethtool physical link configuration

2021-01-26 Thread Hariprasad Kelam
From: Christina Jacob Register set_link_ksetting callback with driver such that link configurations parameters like advertised mode,speed, duplex and autoneg can be configured. below command ethtool -s eth0 advertise 0x1 speed 10 duplex full autoneg on Signed-off-by: Christina Jacob Signed-off

arc-elf-ld: sil-sii8620.c:undefined reference to `extcon_unregister_notifier'

2021-01-26 Thread kernel test robot
Hi Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2ab38c17aac10bf55ab3efde4c4db3893d8691d2 commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m date: 11 month

Re: [PATCH] include: sysfs: Add macro to assign show for RO attributes

2021-01-26 Thread Greg Kroah-Hartman
On Wed, Jan 27, 2021 at 12:19:22PM +0800, Orson Zhai wrote: > In some circumstances, multiple __ATTR_RO attributes need to be assigned > with a single show function. > > Add this macro to make life easier with simple code. > > Signed-off-by: Orson Zhai > --- > Documentation/filesystems/sysfs.rs

Re: [PATCH RFC 1/2] dt: pci: designware-pcie.txt: convert it to yaml

2021-01-26 Thread Mauro Carvalho Chehab
Hi Marek, Em Tue, 26 Jan 2021 11:13:20 +0100 Marek Szyprowski escreveu: > Hi Mauro, > > On 26.01.2021 08:35, Mauro Carvalho Chehab wrote: > > Convert the file into a JSON description at the yaml format. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > .../bindings/pci/amlogic,meson-p

Re: [PATCH] scripts/spelling.txt: increase error-prone spell checking

2021-01-26 Thread SeongJae Park
On Wed, 27 Jan 2021 11:01:05 +0800 dingsen...@163.com wrote: > From: dingsenjie > > Increase allocted spelling error check. I think you could improve the title and the commit message. You could refer to https://lore.kernel.org/lkml/7937a406-812e-0a41-12c5-41576737a...@lucaceresoli.net/ Thanks

[Patch v2 net-next 5/7] octeontx2-af: advertised link modes support on cgx

2021-01-26 Thread Hariprasad Kelam
From: Christina Jacob CGX supports setting advertised link modes on physical link. This patch adds support to derive cgx mode from ethtool link mode and pass it to firmware to configure the same. Signed-off-by: Christina Jacob Signed-off-by: Sunil Goutham Signed-off-by: Hariprasad Kelam ---

[Patch v2 net-next 6/7] octeontx2-pf: ethtool physical link status

2021-01-26 Thread Hariprasad Kelam
From: Christina Jacob Register get_link_ksettings callback to get link status information from the driver. As virtual function (vf) shares same physical link same API is used for both the drivers and for loop back drivers simply returns the fixed values as its does not have physical link. ethtoo

[Patch v2 net-next 4/7] octeontx2-af: Physical link configuration support

2021-01-26 Thread Hariprasad Kelam
From: Christina Jacob CGX LMAC, the physical interface support link configuration parameters like speed, auto negotiation, duplex etc. Firmware saves these into memory region shared between firmware and this driver. This patch adds mailbox handler set_link_mode, fw_data_get to configure and rea

[Patch v2 net-next 0/7] ethtool support for fec and link configuration

2021-01-26 Thread Hariprasad Kelam
This series of patches add support for forward error correction(fec) and physical link configuration. Patches 1&2 adds necessary mbox handlers for fec mode configuration request and to fetch stats. Patch 3 registers driver callbacks for fec mode configuration and display. Patch 4&5 adds support of

Re: [PATCH] Revert "block: simplify set_init_blocksize" to regain lost performance

2021-01-26 Thread Maxim Mikityanskiy
On Wed, Jan 27, 2021 at 6:23 AM Bart Van Assche wrote: > > On 1/26/21 11:59 AM, Maxim Mikityanskiy wrote: > > The cited commit introduced a serious regression with SATA write speed, > > as found by bisecting. This patch reverts this commit, which restores > > write speed back to the values observe

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-26 Thread Geert Uytterhoeven
Hi Saravana, On Wed, Jan 27, 2021 at 1:44 AM Saravana Kannan wrote: > On Tue, Jan 26, 2021 at 12:50 AM Geert Uytterhoeven > wrote: > > On Mon, Jan 25, 2021 at 11:42 PM Saravana Kannan > > wrote: > > > On Mon, Jan 25, 2021 at 11:49 AM Michael Walle wrote: > > > > Am 2021-01-21 12:01, schrieb G

[PATCH v4 3/5] drm/qxl: release shadow on shutdown

2021-01-26 Thread Gerd Hoffmann
In case we have a shadow surface on shutdown release it so it doesn't leak. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_display.c b/drivers/gpu/drm/qxl/qxl_display.c index 38d6b596094d..60331e

Re: [PATCH v3 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-26 Thread Namhyung Kim
Hello, On Sat, Jan 16, 2021 at 10:20 AM Bixuan Cui wrote: > > Add 'perf irq' to trace/measure the hardware interrupts. > > Now three functions are provided: > 1. 'perf irq record ' to record the irq handler events. > 2. 'perf irq script' to see a detailed trace of the workload that >was r

Re: [PATCH 1/1] MAINTAINERS: remove myself from the list

2021-01-26 Thread Michal Simek
Hi, On 1/27/21 3:18 AM, Hyun Kwon wrote: > Hi Laurent, > > On Tue, Jan 26, 2021 at 05:37:02PM -0800, Laurent Pinchart wrote: >> Hi Hyun, >> >> Thank you for the patch. >> >> On Tue, Jan 26, 2021 at 05:13:12PM -0800, Hyun Kwon wrote: >>> The email will become invalid soon. >> >> Is there, by any c

RE: [PATCH] mmc: core: Apply trim broken quirk to R1J57L

2021-01-26 Thread Bough Chen
> -Original Message- > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: 2021年1月21日 21:26 > To: Wang, Xiaolei ; Fabio Estevam > ; Bough Chen > Cc: Pali Rohár ; Lee Jones ; > linux-...@vger.kernel.org; Linux Kernel Mailing List > > Subject: Re: [PATCH] mmc: core: Apply trim broken

Re: [PATCH 1/1] iommu/arm-smmu-v3: add support for BBML

2021-01-26 Thread Keqian Zhu
On 2021/1/27 10:01, Leizhen (ThunderTown) wrote: > > > On 2021/1/26 18:12, Will Deacon wrote: >> On Mon, Jan 25, 2021 at 08:23:40PM +, Robin Murphy wrote: >>> Now we probably will need some degreee of BBML feature awareness for the >>> sake of SVA if and when we start using it for CPU page

Re: [PATCH BUGFIX/IMPROVEMENT 6/6] block, bfq: merge bursts of newly-created queues

2021-01-26 Thread kernel test robot
d in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Paolo-Valente/block-bfq-third-and-last-batch-of-fixes-and-improvements/20210127-090045 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: nds32-randconfig-r03

Re: [RFC PATCH 6/8] preempt/dynamic: Provide preempt_schedule[_notrace]() static calls

2021-01-26 Thread Josh Poimboeuf
On Fri, Jan 22, 2021 at 05:52:26PM +0100, Peter Zijlstra wrote: > static int static_call_add_module(struct module *mod) > { > - return __static_call_init(mod, mod->static_call_sites, > - mod->static_call_sites + > mod->num_static_call_sites); > + struct stat

Re: [PATCH 0/2] introduce DUMP_PREFIX_UNHASHED for hex dumps

2021-01-26 Thread Timur Tabi
On 1/26/21 10:47 AM, Vlastimil Babka wrote: Given Linus' current stance later in this thread, could we revive the idea of a boot time option, or at least a CONFIG (I assume a runtime toggle would be too much, even if limited to !kernel_lockdown:) , that would disable all hashing? It would be rea

[PATCH v2] mfd: max8997: Replace 8998 with 8997

2021-01-26 Thread Timon Baetz
The max8997 header is using "max8998" in some identifiers. Fix it by replacing 8998 with 8997 in enum and macro. Signed-off-by: Timon Baetz --- v2: Fix commit message. include/linux/mfd/max8997.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/mfd/max89

Re: [PATCH 5.10 000/199] 5.10.11-rc1 review

2021-01-26 Thread Shuah Khan
On 1/26/21 4:34 PM, Shuah Khan wrote: On 1/25/21 11:37 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.10.11 release. There are 199 patches in this series, all will be posted as a response to this one.  If anyone has any issues with these being applied, pleas

Re: [PATCH v4 0/8] Create 'old' ptes for faultaround mappings on arm64 with hardware access flag

2021-01-26 Thread Hugh Dickins
On Tue, 26 Jan 2021, Will Deacon wrote: > On Wed, Jan 20, 2021 at 05:36:04PM +, Will Deacon wrote: > > Hi all, > > > > This is version four of the patches I previously posted here: > > > > v1: https://lore.kernel.org/r/20201209163950.8494-1-w...@kernel.org > > v2: https://lore.kernel.org/

Re: linux-next: manual merge of the pidfd tree with the xfs tree

2021-01-26 Thread Stephen Rothwell
Hi all, On Mon, 25 Jan 2021 17:14:14 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the pidfd tree got a conflict in: > > fs/xfs/xfs_inode.c > > between commit: > > 01ea173e103e ("xfs: fix up non-directory creation in SGID directories") > > from the xfs tree and commit: >

Re: [PATCH v5 1/5] dt-bindings: aspeed-lpc: Remove LPC partitioning

2021-01-26 Thread Andrew Jeffery
On Thu, 14 Jan 2021, at 23:46, Chia-Wei, Wang wrote: > The LPC controller has no concept of the BMC and the Host partitions. > This patch fixes the documentation by removing the description on LPC > partitions. The register offsets illustrated in the DTS node examples > are also fixed to adapt t

Re: [PATCH v6 3/4] usb: dwc3: Resize TX FIFOs to meet EP bursting requirements

2021-01-26 Thread Wesley Cheng
On 1/26/2021 12:43 PM, Thinh Nguyen wrote: > Wesley Cheng wrote: >> >> On 1/22/2021 4:15 PM, Thinh Nguyen wrote: >>> Hi, >>> >>> Wesley Cheng wrote: Some devices have USB compositions which may require multiple endpoints that support EP bursting. HW defined TX FIFO sizes may not alway

[PATCH v6] fbtft: add tearing signal detect

2021-01-26 Thread Carlis
From: zhangxuezhi For st7789v ic,add tearing signal detect to avoid screen tearing Signed-off-by: zhangxuezhi --- v6: add te gpio request fail deal logic --- drivers/staging/fbtft/fb_st7789v.c | 133 - drivers/staging/fbtft/fbtft.h | 1 + 2 files chan

Re: [PATCH v2] KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged

2021-01-26 Thread Wanpeng Li
On Wed, 27 Jan 2021 at 01:26, Paolo Bonzini wrote: > > On 26/01/21 02:28, Wanpeng Li wrote: > > ping, > > On Mon, 18 Jan 2021 at 17:08, Wanpeng Li wrote: > >> > >> From: Wanpeng Li > >> > >> The per-cpu vsyscall pvclock data pointer assigns either an element of the > >> static array hv_clock_boo

Re: [PATCH v3 1/2] bio: limit bio max size

2021-01-26 Thread Changheun Lee
> On 2021/01/26 18:37, Changheun Lee wrote: > > bio size can grow up to 4GB when muli-page bvec is enabled. > > but sometimes it would lead to inefficient behaviors. > > in case of large chunk direct I/O, - 32MB chunk read in user space - > > all pages for 32MB would be merged to a bio structure if

[GIT PULL] KVM fixes for Linux 5.11-rc5

2021-01-26 Thread Paolo Bonzini
Linus, The following changes since commit 7c53f6b671f4aba70ff15e1b05148b10d58c2837: Linux 5.11-rc3 (2021-01-10 14:34:50 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 9a78e15802a87de2b08dfd1bd88e8

Re: [PATCH] venus: core: Parse firmware-name DT property

2021-01-26 Thread Bjorn Andersson
On Tue 26 Jan 02:42 CST 2021, Stanimir Varbanov wrote: > On production devices the firmware could be located on different > places, this path could be provided by special firmware-name DT > property. > > Here we check for existence of such DT property and if it exist > take the firmware path from

Re: [PATCH v7 07/11] staging: vchiq: Release firmware handle on unbind

2021-01-26 Thread Greg KH
On Mon, Jan 18, 2021 at 01:32:40PM +0100, Nicolas Saenz Julienne wrote: > Use devm_rpi_firmware_get() so as to make sure we release RPi's firmware > interface when unbinding the device. > > Signed-off-by: Nicolas Saenz Julienne > Reviewed-by: Florian Fainelli > --- > drivers/staging/vc04_servic

Re: [PATCH] iommu/vt-d: do not use flush-queue when caching-mode is on

2021-01-26 Thread Lu Baolu
On 1/27/21 8:26 AM, Lu Baolu wrote: +{ +    struct dmar_domain *dmar_domain = to_dmar_domain(domain); +    struct intel_iommu *iommu = domain_get_iommu(dmar_domain); + +    if (intel_iommu_strict) +    return 0; + +    /* + * The flush queue implementation does not perform page-selective

Re: [PATCH 1/8] lib: test_bitmap: clearly separate ERANGE from EINVAL tests.

2021-01-26 Thread Paul Gortmaker
[Re: [PATCH 1/8] lib: test_bitmap: clearly separate ERANGE from EINVAL tests.] On 26/01/2021 (Tue 23:04) Andy Shevchenko wrote: > On Tue, Jan 26, 2021 at 12:11:34PM -0500, Paul Gortmaker wrote: > > This block of tests was meant to find/flag incorrect use of the ":" > > and "/" separators (syntax

Re: [PATCH] iommu/vt-d: do not use flush-queue when caching-mode is on

2021-01-26 Thread Lu Baolu
Hi Nadav, On 1/27/21 4:38 AM, Nadav Amit wrote: From: Nadav Amit When an Intel IOMMU is virtualized, and a physical device is passed-through to the VM, changes of the virtual IOMMU need to be propagated to the physical IOMMU. The hypervisor therefore needs to monitor PTE mappings in the IOMMU

Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API

2021-01-26 Thread Ricardo Ribalda
Hi Christoph Thanks for the series! I have a couple of questions: - Is there any platform where dma_alloc_noncontiguos can fail? This is, !ops->alloc_noncontiguous and !dev->coherent_dma_mask If yes then we need to add a function to let the driver know in advance that it has to use the coherent

Re: [PATCH] MAINTAINERS/.mailmap: Use my @kernel.org address

2021-01-26 Thread Miguel Ojeda
On Tue, Jan 26, 2021 at 10:27 PM Nathan Chancellor wrote: > > Use my @kernel.org for all points of contact so that I am always > accessible. > > Signed-off-by: Nathan Chancellor Acked-by: Miguel Ojeda Cheers, Miguel

Re: [PATCH v3 2/4] arm64: dts: correct vendor prefix hisi to hisilicon

2021-01-26 Thread Wei Xu
Hi Arnd, On 2021/1/27 6:23, Arnd Bergmann wrote: > On Tue, Dec 8, 2020 at 1:46 PM Zhen Lei wrote: >> >> The vendor prefix of "Hisilicon Limited" is "hisilicon", it is clearly >> stated in "vendor-prefixes.yaml". >> >> Fixes: 35ca8168133c ("arm64: dts: Add dts files for Hisilicon Hi3660 SoC") >> F

[PATCH v5 5/5] clk: qcom: gcc: Add clock driver for SM8350

2021-01-26 Thread Vinod Koul
From: Vivek Aknurwar This adds Global Clock controller (GCC) driver for SM8350 SoC Signed-off-by: Vivek Aknurwar Signed-off-by: Jeevan Shriram [vkoul: rebase and tidy up for upstream] Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson --- drivers/clk/qcom/Kconfig |8 + drivers/

Re: [PATCH 2/5] kernel/dma: remove unnecessary unmap_kernel_range

2021-01-26 Thread Christoph Hellwig
On Tue, Jan 26, 2021 at 05:08:46PM -0500, Konrad Rzeszutek Wilk wrote: > On Tue, Jan 26, 2021 at 02:54:01PM +1000, Nicholas Piggin wrote: > > vunmap will remove ptes. > > Should there be some ASSERT after the vunmap to make sure that is the > case? Not really. removing the PTEs is the whole poi

RE: [RFC PATCH v1 1/2] block: bsg: resume scsi device before accessing

2021-01-26 Thread Avri Altman
> > Resumes the scsi device before accessing it. > > Change-Id: I2929af60f2a92c89704a582fcdb285d35b429fde > Signed-off-by: Asutosh Das > Signed-off-by: Can Guo > Signed-off-by: Bao D. Nguyen Following this patch, is it possible to revert commit 74e5e468b664d? Thanks, Avri

Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

2021-01-26 Thread Kees Cook
On Mon, Jan 25, 2021 at 04:19:53PM -0600, Josh Poimboeuf wrote: > On Mon, Jan 25, 2021 at 02:03:07PM -0800, Kees Cook wrote: > > On Mon, Jan 25, 2021 at 02:42:10PM -0600, Josh Poimboeuf wrote: > > > When a GCC version mismatch is detected, print a warning and disable the > > > plugin. The only exc

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

2021-01-26 Thread Christoph Hellwig
On Wed, Jan 27, 2021 at 09:41:01AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the pidfd tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > fs/xfs/xfs_ioctl32.c: In function 'xfs_file_compat_ioctl': > fs/xfs/xfs_ioctl32.c:441:20: warning: unused v

Re: [PATCH v4 0/2] add support for GPIO based counter

2021-01-26 Thread Marc Kleine-Budde
On 1/27/21 7:44 AM, Oleksij Rempel wrote: >>> changes v3: >>> - convert counter to atomic_t >> >> What's the guaranteed width of atomic_t? IIRC a long time ago it was 24 bit >> only > > 32 bits. The counter is wrapped after 4294967295 Note: This is only true for >= v2.6.3 :D https://lwn.net

Re: [PATCH 07/22] perf daemon: Add daemon command

2021-01-26 Thread Namhyung Kim
Hi Jiri, On Sun, Jan 3, 2021 at 7:05 AM Jiri Olsa wrote: > +int cmd_daemon(int argc, const char **argv) > +{ > + struct option daemon_options[] = { > + OPT_INCR('v', "verbose", &verbose, "be more verbose"), > + OPT_STRING(0, "config", &__daemon.config, > +

Re: [PATCH] net: mdiobus: Prevent spike on MDIO bus reset signal

2021-01-26 Thread Mike Looijmans
See below. Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this

Re: [PATCH v2] tracepoint: Do not fail unregistering a probe due to memory allocation

2021-01-26 Thread Alexey Kardashevskiy
On 18/11/2020 23:46, Steven Rostedt wrote: On Tue, 17 Nov 2020 20:54:24 -0800 Alexei Starovoitov wrote: extern int @@ -310,7 +312,12 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p) do {\

[PATCH v5 4/5] dt-bindings: clock: Add SM8350 GCC clock bindings

2021-01-26 Thread Vinod Koul
Add device tree bindings for global clock controller on SM8350 SoCs. Reviewed-by: Rob Herring Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- .../bindings/clock/qcom,gcc-sm8350.yaml | 96 +++ include/dt-bindings/clock/qcom,gcc-sm8350.h | 254 ++ 2 files

[PATCH v5 3/5] clk: qcom: clk-alpha-pll: Add support for Lucid 5LPE PLL

2021-01-26 Thread Vinod Koul
From: Vivek Aknurwar Lucid 5LPE is a slightly different Lucid PLL with different offsets and porgramming sequence so add support for these Signed-off-by: Vivek Aknurwar Signed-off-by: Jeevan Shriram [vkoul: rebase and tidy up for upstream] Signed-off-by: Vinod Koul Reviewed-by: AngeloGioacchi

[PATCH v5 1/5] clk: qcom: clk-alpha-pll: replace regval with val

2021-01-26 Thread Vinod Koul
Driver uses regval variable for holding register values, replace with a shorter one val Suggested-by: Stephen Boyd Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- drivers/clk/qcom/clk-alpha-pll.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --gi

[PATCH v5 0/5] Add clock drivers for SM8350

2021-01-26 Thread Vinod Koul
This adds gcc clock controller drivers for the controller found in SM8350 SoC Changes in v5: - Add r-b from AngeloGioacchino and Bjorn - Removed unused clock indices - Initialize variable before use in regmap read Changes in v4: - Add Ack from Rob on binding - modularize alpha_pll_trion_set_

[PATCH v5 2/5] clk: qcom: clk-alpha-pll: modularize alpha_pll_trion_set_rate()

2021-01-26 Thread Vinod Koul
Trion 5LPE set rate uses code similar to alpha_pll_trion_set_rate() but with different registers. Modularize these by moving out latch and latch ack bits so that we can reuse the function. Suggested-by: AngeloGioacchino Del Regno Reviewed-by: Bjorn Andersson Signed-off-by: Vinod Koul --- driv

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-26 Thread Saravana Kannan
On Tue, Jan 26, 2021 at 12:50 AM Geert Uytterhoeven wrote: > > Hi Saravana, > > On Mon, Jan 25, 2021 at 11:42 PM Saravana Kannan wrote: > > On Mon, Jan 25, 2021 at 11:49 AM Michael Walle wrote: > > > Am 2021-01-21 12:01, schrieb Geert Uytterhoeven: > > > > On Thu, Jan 21, 2021 at 1:05 AM Saravan

Re: Preemptible idr_alloc() in QRTR code

2021-01-26 Thread Matthew Wilcox
On Tue, Jan 26, 2021 at 06:36:02PM +, Mark Rutland wrote: > On Tue, Jan 26, 2021 at 11:00:05AM -0600, Bjorn Andersson wrote: > > On Tue 26 Jan 10:21 CST 2021, Mark Rutland wrote: > > > > > On Tue, Jan 26, 2021 at 02:58:33PM +, Matthew Wilcox wrote: > > > > On Tue, Jan 26, 2021 at 10:47:34A

Re: [GIT PULL 3/4] bcm2835-defconfig-arm64-next-2021-01-25

2021-01-26 Thread Florian Fainelli
On 1/25/2021 1:01 PM, Nicolas Saenz Julienne wrote: > Hi Florian, > > The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: > > Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) > > are available in the Git repository at: > > https://git.kernel.org/pub/scm/linux/kernel/gi

Re: [PATCH tip/core/rcu 1/4] rcu: Expedite deboost in case of deferred quiescent state

2021-01-26 Thread Boqun Feng
On Tue, Jan 26, 2021 at 08:40:24PM -0800, Paul E. McKenney wrote: > On Wed, Jan 27, 2021 at 10:42:35AM +0800, Boqun Feng wrote: > > Hi Paul, > > > > On Tue, Jan 19, 2021 at 08:32:33PM -0800, paul...@kernel.org wrote: > > > From: "Paul E. McKenney" > > > > > > Historically, a task that has been s

Re: [PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-26 Thread Changheun Lee
> Hello Changheun! > > > I want to discuss using max_xfer_blocks instead of opt_xfer_blocks as > > a optional. For example, device reports opt_xfer_blocks is 512KB and > > 1MB as a max_xfer_blocks too. Currently rw_max is set with 512KB only. > > Because that's what the device asks for. If a dev

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+frank On 1/25/21 3:53 PM, Masahiro Yamada wrote: > On Mon, Jan 25, 2021 at 8:07 PM Uwe Kleine-König > wrote: >> >> Adding the -@ switch to dtc results in the binary devicetrees containing >> a list of symbolic references and their paths. This is necessary to >> apply device tree overlays e.g. o

Re: [PATCH] cmd_dtc: Enable generation of device tree symbols

2021-01-26 Thread Frank Rowand
+frank On 1/25/21 4:57 AM, Uwe Kleine-König wrote: > Adding the -@ switch to dtc results in the binary devicetrees containing > a list of symbolic references and their paths. This is necessary to > apply device tree overlays e.g. on Raspberry Pi as described on > https://www.raspberrypi.org/docume

Re: [RFC 2/7] KVM: VMX: Expose IA32_PKRS MSR

2021-01-26 Thread Paolo Bonzini
On 07/08/20 10:48, Chenyi Qiang wrote: +{ + struct vcpu_vmx *vmx = to_vmx(vcpu); + unsigned long *msr_bitmap = vmx->vmcs01.msr_bitmap; + bool pks_supported = guest_cpuid_has(vcpu, X86_FEATURE_PKS); + + /* +* set intercept for PKRS when the guest doesn't support pks

Re: linux-next: build failure after merge of the scsi-mkp tree

2021-01-26 Thread Stephen Rothwell
Hi all, On Mon, 25 Jan 2021 00:53:59 -0500 Douglas Gilbert wrote: > > On 2021-01-24 11:13 p.m., Stephen Rothwell wrote: > > > > After merging the scsi-mkp tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > drivers/scsi/sg.c: In function 'sg_find_srp_by_id':

Re: [PATCH v3 1/2] bio: limit bio max size

2021-01-26 Thread Changheun Lee
> On Tue, Jan 26, 2021 at 06:26:02AM +, Damien Le Moal wrote: > > On 2021/01/26 15:07, Ming Lei wrote: > > > On Tue, Jan 26, 2021 at 04:06:06AM +, Damien Le Moal wrote: > > >> On 2021/01/26 12:58, Ming Lei wrote: > > >>> On Tue, Jan 26, 2021 at 10:32:34AM +0900, Changheun Lee wrote: > > >>>

Re: [RFC PATCH v2] uacce: Add uacce_ctrl misc device

2021-01-26 Thread Jason Gunthorpe
On Tue, Jan 26, 2021 at 01:26:45AM +, Song Bao Hua (Barry Song) wrote: > > On Mon, Jan 25, 2021 at 11:35:22PM +, Song Bao Hua (Barry Song) wrote: > > > > > > On Mon, Jan 25, 2021 at 10:21:14PM +, Song Bao Hua (Barry Song) > > > > wrote: > > > > > mlock, while certainly be able to prev

IMPORTANT INVESTMENT INFORMATION..72

2021-01-26 Thread Robert Nelson
ATTENTION; IMPORTANT INVESTMENT INFORMATION We have a good investment program going on now. We have $95m USD for Investment in your Country. We use this opportunity to invest you to join the investment program and you will never regret it. Please kindly invest with us and you will be receiving mon

Re: [PATCH 07/13] opp: Allow _generic_set_opp_clk_only() to work for non-freq devices

2021-01-26 Thread Viresh Kumar
On 26-01-21, 00:09, Dmitry Osipenko wrote: > Please remove unlikely() around IS_ERR(), it already has the unlikely(). Right. > https://elixir.bootlin.com/linux/v5.11-rc4/source/include/linux/err.h#L22 > > I'd also recommend to remove all the unlikely() from OPP code since it > doesn't bring any

Re: [PATCH v3 1/2] bio: limit bio max size

2021-01-26 Thread Damien Le Moal
On 2021/01/27 9:36, Changheun Lee wrote: >>> + >>> /** >>> * bio_reset - reinitialize a bio >>> * @bio: bio to reset >>> @@ -877,7 +892,7 @@ bool __bio_try_merge_page(struct bio *bio, struct page >>> *page, >>> struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; >>> >>>

linux-next: manual merge of the scsi-mkp tree with the block tree

2021-01-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the scsi-mkp tree got a conflict in: drivers/scsi/sg.c between commit: 8eeed0b554b9 ("block: remove unnecessary argument from blk_execute_rq_nowait") from the block tree and vaious commits from the scsi-mkp tree. I fixed it up (see below) and can carry

Re: [PATCH v2 0/6] Stop NULLifying match pointer in of_match_device()

2021-01-26 Thread Rob Herring
On Fri, Jan 22, 2021 at 9:44 PM Stephen Boyd wrote: > > (This is a continuation of this series[1] per Rob's request. I've picked > up the acks, etc. with b4 and compile tested the patches along with an > arm64 allmodconfig build. Presumably Rob will pick these up directly.) > > of_match_device() u

Re: [PATCH v3 4/5] amba: Make the remove callback return void

2021-01-26 Thread Takashi Iwai
On Tue, 26 Jan 2021 17:58:34 +0100, Uwe Kleine-König wrote: > > All amba drivers return 0 in their remove callback. Together with the > driver core ignoring the return value anyhow, it doesn't make sense to > return a value here. > > Change the remove prototype to return void, which makes it expl

Re: [PATCH v4 0/4] OPP API fixes and improvements

2021-01-26 Thread Viresh Kumar
On 22-01-21, 13:04, Viresh Kumar wrote: > Patch 2 can be applied only after the dependency patch for the stub > definition gets merge in Linus's tree. I see that Mark has already > queued that up in his for-5.11 branch, so it might be part of next > -rc. I will apply 2nd patch then. The consumer.h

Re: [PATCH v5] fbtft: add tearing signal detect

2021-01-26 Thread Dan Carpenter
On Wed, Jan 27, 2021 at 02:19:27PM +0800, carlis wrote: > hi,i will fix it like below: > par->gpio.te = devm_gpiod_get_index_optional(dev, "te", 0, > GPIOD_IN); if (IS_ERR(par->gpio.te)) { > rc = PTR_ERR(par->gpio.te); > pr_err("Failed to request te gpio: %d\n", r

Re: [PATCH] MAINTAINERS/.mailmap: Use my @kernel.org address

2021-01-26 Thread Sedat Dilek
On Wed, Jan 27, 2021 at 6:07 AM Lukas Bulwahn wrote: > > On Tue, Jan 26, 2021 at 10:27 PM Nathan Chancellor wrote: > > > > Use my @kernel.org for all points of contact so that I am always > > accessible. > > > > Signed-off-by: Nathan Chancellor > > Congrats, Nathan. You deserve it for all the wa

Re: [PATCH 2/2] mm/hugetlb: refactor subpage recording

2021-01-26 Thread Zi Yan
On 26 Jan 2021, at 21:24, Matthew Wilcox wrote: > On Tue, Jan 26, 2021 at 08:07:30PM -0400, Jason Gunthorpe wrote: >> I'm looking at Matt's folio patches and see: >> >> +static inline struct folio *next_folio(struct folio *folio) >> +{ >> + return folio + folio_nr_pages(folio); >> +} > > Thi

Re: [PATCH v3 4/5] amba: Make the remove callback return void

2021-01-26 Thread Wolfram Sang
On Tue, Jan 26, 2021 at 05:58:34PM +0100, Uwe Kleine-König wrote: > All amba drivers return 0 in their remove callback. Together with the > driver core ignoring the return value anyhow, it doesn't make sense to > return a value here. > > Change the remove prototype to return void, which makes it e

Re: [PATCH v4 0/2] add support for GPIO based counter

2021-01-26 Thread Oleksij Rempel
On Tue, Jan 26, 2021 at 02:18:34PM +0100, Marc Kleine-Budde wrote: > On 1/26/21 2:12 PM, Oleksij Rempel wrote: > > changes v4: > > - use IRQ_NOAUTOEN to not enable IRQ by default > > - rename gpio_ from name pattern and make this driver work any IRQ > > source. > > > > changes v3: > > - convert

[rcu:dev.2021.01.22b] BUILD SUCCESS c6f6fddad7c84f0bd7fba3f1b076b71d6b902ab4

2021-01-26 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210126 i386 randconfig-a002-20210126 i386 randconfig-a004-20210126 i386 randconfig

[PATCH] ASoC: qcom: lpass-cpu: Remove bit clock state check

2021-01-26 Thread Srinivasa Rao Mandadapu
No need of BCLK state maintenance from driver side as clock_enable and clk_disable API's maintaing state counter. One of the major issue was spotted when Headset jack inserted while playback continues, due to same PCM device node opens twice for playaback/capture and closes once for capture and pl

Re: [PATCH 3/8] lib: bitmap: fold nbits into region struct

2021-01-26 Thread Yury Norov
On Tue, Jan 26, 2021 at 9:12 AM Paul Gortmaker wrote: > > This will reduce parameter passing and enable using nbits as part > of future dynamic region parameter parsing. > > Cc: Yury Norov > Cc: Rasmus Villemoes > Cc: Andy Shevchenko > Suggested-by: Yury Norov > Signed-off-by: Paul Gortmaker

Re: [PATCH 1/2] fs/efs/inode.c: follow style guide

2021-01-26 Thread Randy Dunlap
On 1/26/21 9:13 PM, Amy Parker wrote: > On Tue, Jan 26, 2021 at 7:59 PM Randy Dunlap wrote: >> >> On 1/26/21 7:46 PM, Randy Dunlap wrote: >>> Hi Amy, >>> >>> What mail client did you use? >>> It is breaking (splitting) long lines into shorter lines and that >>> makes it not possible to apply the p

Re: [PATCH net-next] cxgb4: remove redundant NULL check

2021-01-26 Thread Raju Rangoju
On Tuesday, January 01/26/21, 2021 at 10:50:13 +0800, Yang Li wrote: > Fix below warnings reported by coccicheck: > ./drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c:323:3-9: WARNING: > NULL check before some freeing functions is not needed. > ./drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c:3554:2-8

[PATCH] bpf: Check for integer overflow when using roundup_pow_of_two()

2021-01-26 Thread Bui Quang Minh
On 32-bit architecture, roundup_pow_of_two() can return 0 when the argument has upper most bit set due to resulting 1UL << 32. Add a check for this case. Fixes: d5a3b1f ("bpf: introduce BPF_MAP_TYPE_STACK_TRACE") Signed-off-by: Bui Quang Minh --- kernel/bpf/stackmap.c | 2 ++ 1 file changed, 2 i

Re: [PATCH v5] fbtft: add tearing signal detect

2021-01-26 Thread Dan Carpenter
On Wed, Jan 27, 2021 at 09:32:20AM +0800, Carlis wrote: > @@ -82,6 +111,29 @@ enum st7789v_command { > */ > static int init_display(struct fbtft_par *par) > { > + int rc; > + struct device *dev = par->info->device; > + > + par->gpio.te = devm_gpiod_get_index_optional(dev, "te", 0, G

[PATCH v2] iommu/vt-d: do not use flush-queue when caching-mode is on

2021-01-26 Thread Nadav Amit
From: Nadav Amit When an Intel IOMMU is virtualized, and a physical device is passed-through to the VM, changes of the virtual IOMMU need to be propagated to the physical IOMMU. The hypervisor therefore needs to monitor PTE mappings in the IOMMU page-tables. Intel specifications provide "caching-

RE: [PATCH] PCI: dwc: Move forward the iATU detection process

2021-01-26 Thread Z.q. Hou
Hi, Yes, they are fix the same issue. Rob and other contributors sent so many patches to refine the drivers and make the code brief and more readable, so I don't think we should just focus on the fixes of this issue. I don't think it is a good choice that your patch move some of the software pe

Re: [PATCH v5] fbtft: add tearing signal detect

2021-01-26 Thread carlis
On Wed, 27 Jan 2021 08:45:23 +0300 Dan Carpenter wrote: > On Wed, Jan 27, 2021 at 09:32:20AM +0800, Carlis wrote: > > @@ -82,6 +111,29 @@ enum st7789v_command { > > */ > > static int init_display(struct fbtft_par *par) > > { > > + int rc; > > + struct device *dev = par->info->device; > >

[PATCH 19/20] dyndbg: try conditional linker expression in KEEP - RFC

2021-01-26 Thread Jim Cromie
This is the last patch in v3 of patchest Ive sent previously: v2: https://lore.kernel.org/lkml/?q=Cromie+v2+00%2F19+2020-12-25+-Re It isolates my only issue now, Id appreciate advice, and dont want to distract you with the 18 previous commits. Im trying to use ? : inside a KEEP(*(expression)) to

[PATCH v3] net/bluetooth/hci_debugfs.c: fix coccicheck warnings

2021-01-26 Thread Jiapeng Zhong
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE for debugfs files. Reported-by: Abaci Robot Signed-off-by: Jiapeng Zhong --- Changes in v2: -Modifying row alignment. net/bluetooth/hci_debugfs.c | 80 ++--- 1 file changed, 40 insertions(

Re: [PATCH 4/8] lib: bitmap: move ERANGE check from set_region to check_region

2021-01-26 Thread Yury Norov
On Tue, Jan 26, 2021 at 9:12 AM Paul Gortmaker wrote: > > It makes sense to do all the checks in check_region() and not 1/2 > in check_region and 1/2 in set_region. > > Since set_region is called immediately after check_region, the net > effect on runtime is zero, but it gets rid of an if (...) re

Re: [PATCH v1] scsi: lpfc: Add auto select on IRQ_POLL

2021-01-26 Thread Martin K. Petersen
Tong, > lpfc depends on irq_poll library, but it is not selected > automatically. When irq_poll is not selected, compiling it can run > into following error Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

[PATCH V2] bcache: dont reset bio opf in bch_data_insert_start

2021-01-26 Thread Dongsheng Yang
commit ad0d9e76(bcache: use bio op accessors) makes the bi_opf modified by bio_set_op_attrs(). But there is a logical problem in this commit: trace_bcache_cache_insert(k); bch_keylist_push(&op->insert_keys); - n->bi_rw |= REQ_WRITE; + bi

Re: linux-next: manual merge of the pidfd tree with the xfs tree

2021-01-26 Thread Darrick J. Wong
On Wed, Jan 27, 2021 at 11:24:41AM +1100, Stephen Rothwell wrote: > Hi all, > > On Mon, 25 Jan 2021 17:14:14 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the pidfd tree got a conflict in: > > > > fs/xfs/xfs_inode.c > > > > between commit: > > > > 01ea173e103e ("xfs:

Re: [PATCH] scsi: qla2xxx: fix some memory corruption

2021-01-26 Thread Martin K. Petersen
Dan, > This was supposed to be "data" instead of "&data". The current code > will corrupt the stack. Applied to 5.12/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Chunfeng Yun
On Tue, 2021-01-26 at 16:27 +0200, Mathias Nyman wrote: > On 26.1.2021 16.13, Greg Kroah-Hartman wrote: > > On Wed, Jan 13, 2021 at 06:05:11PM +0800, Ikjoon Jang wrote: > >> xhci-mtk needs XHCI_MTK_HOST quirk functions in add_endpoint() and > >> drop_endpoint() to handle its own sw bandwidth manage

[PATCH] scripts/spelling.txt: increase error-prone spell checking

2021-01-26 Thread zuoqilin1
From: zuoqilin Increase exeeds spelling error check. Signed-off-by: zuoqilin --- scripts/spelling.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt index 953f4a2..740aba3 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.txt @@ -566,6 +5

[PATCH v2 1/3] x509: Detect sm2 keys by their parameters OID

2021-01-26 Thread Stefan Berger
From: Stefan Berger Detect whether a key is an sm2 type of key by its OID in the parameters array rather than assuming that everything under OID_id_ecPublicKey is sm2, which is not the case. Signed-off-by: Stefan Berger --- crypto/asymmetric_keys/x509_cert_parser.c | 13 - 1 file c

Re: [RESEND v13 03/10] KVM: x86/pmu: Use IA32_PERF_CAPABILITIES to adjust features visibility

2021-01-26 Thread Like Xu
On 2021/1/26 17:42, Paolo Bonzini wrote: On 08/01/21 02:36, Like Xu wrote: @@ -401,6 +398,9 @@ static void intel_pmu_init(struct kvm_vcpu *vcpu) pmu->fixed_counters[i].idx = i + INTEL_PMC_IDX_FIXED; pmu->fixed_counters[i].current_config = 0; } + +    vcpu->arch.perf_capab

[PATCH] Revert "checkpatch: add check for keyword 'boolean' in Kconfig definitions"

2021-01-26 Thread Masahiro Yamada
This reverts commit 327953e9af6c59ad111b28359e59e3ec0cbd71b6. You cannot use 'boolean' since commit b92d804a5179 ("kconfig: drop 'boolean' keyword"). This check is no longer needed. Signed-off-by: Masahiro Yamada --- scripts/checkpatch.pl | 7 --- 1 file changed, 7 deletions(-) diff --gi

Re: [PATCH V6 5/6] of: unittest: Create overlay_common.dtsi and testcases_common.dtsi

2021-01-26 Thread Viresh Kumar
On 22-01-21, 16:20, Viresh Kumar wrote: > In order to build-test the same unit-test files using fdtoverlay tool, > move the device nodes from the existing overlay_base.dts and > testcases_common.dts files to .dtsi files. The .dts files now include > the new .dtsi files, resulting in exactly the sam

  1   2   3   4   5   6   7   8   9   10   >