drivers/media/test-drivers/vidtv/vidtv_psi.c:1457:31: warning: taking address of packed member 'bitfield' of class or structure 'vidtv_psi_table_nit' may result in an unaligned pointer value

2021-02-07 Thread kernel test robot
: 2 months ago config: mips-randconfig-r032-20210207 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

[PATCH V3 2/2] clk: vc5: Add support for optional load capacitance

2021-02-07 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Parse the device tree and set the corresponding registers accordingly. Signed-off-by: Adam Ford --- V3: Fix whitespace. Use regmap_update_bits instead

[PATCH V3 1/2] dt-bindings: clk: versaclock5: Add optional load capacitance property

2021-02-07 Thread Adam Ford
There are two registers which can set the load capacitance for XTAL1 and XTAL2. These are optional registers when using an external crystal. Since XTAL1 and XTAL2 will set to the same value, update the binding to support a single property called xtal-load-femtofarads. Signed-off-by: Adam Ford

Re: add a new dma_alloc_noncontiguous API v2

2021-02-07 Thread Christoph Hellwig
Any comments? On Tue, Feb 02, 2021 at 10:51:03AM +0100, Christoph Hellwig wrote: > Hi all, > > this series adds the new noncontiguous DMA allocation API requested by > various media driver maintainers. > > Changes since v1: > - document that flush_kernel_vmap_range and

Re: [PATCH RESEND v5 8/8] arm64: dts: mt6359: add PMIC MT6359 related nodes

2021-02-07 Thread Matthias Brugger
On 02/02/2021 04:51, Tzung-Bi Shih wrote: > On Sun, Jan 31, 2021 at 7:06 PM Matthias Brugger > wrote: >> On 29/01/2021 10:49, Hsin-Hsiung Wang wrote: >>> + mt6359codec: mt6359codec { >>> + }; >> >> I understand that the dmic-mode and mic-type-X depends on the actual

[PATCH] HID: semitek: new driver for GK6X series keyboards

2021-02-07 Thread Benjamin Moody
From: Benjamin Moody A number of USB keyboards, using the Semitek firmware, are capable of handling arbitrary N-key rollover, but due to a buggy report descriptor, keys beyond the sixth cannot be detected by the generic HID driver. There are numerous hardware variants sold by several vendors,

[PATCH v9 net-next 15/15] net: mvpp2: add TX FC firmware check

2021-02-07 Thread stefanc
From: Stefan Chulski Patch check that TX FC firmware is running in CM3. If not, global TX FC would be disabled. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 1 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 42 2 files changed,

[PATCH v9 net-next 05/15] net: mvpp2: add PPv23 version definition

2021-02-07 Thread stefanc
From: Stefan Chulski This patch add PPv23 version definition. PPv23 is new packet processor in CP115. Everything that supported by PPv22, also supported by PPv23. No functional changes in this stage. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 24

[PATCH v9 net-next 14/15] net: mvpp2: set 802.3x GoP Flow Control mode

2021-02-07 Thread stefanc
From: Stefan Chulski This patch fix GMAC TX flow control autoneg. Flow control autoneg wrongly were disabled with enabled TX flow control. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v9 net-next 11/15] net: mvpp2: add ethtool flow control configuration support

2021-02-07 Thread stefanc
From: Stefan Chulski This patch add ethtool flow control configuration support. Tx flow control retrieved correctly by ethtool get function. FW per port ethtool configuration capability added. Patch also takes care about mtu change procedure, if PPv2 switch BM pools during mtu change.

[PATCH v9 net-next 08/15] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-02-07 Thread stefanc
From: Stefan Chulski The firmware needs to monitor the RX Non-occupied descriptor bits for flow control to move to XOFF mode. These bits need to be unmasked to be functional, but they will not raise interrupts as we leave the RX exception summary bit in MVPP2_ISR_RX_TX_MASK_REG clear.

[PATCH v9 net-next 13/15] net: mvpp2: add PPv23 RX FIFO flow control

2021-02-07 Thread stefanc
From: Stefan Chulski New FIFO flow control feature was added in PPv23. PPv2 FIFO polled by HW and trigger pause frame if FIFO fill level is below threshold. FIFO HW flow control enabled with CM3 RXQ flow control with ethtool. Current FIFO thresholds is: 9KB for port with maximum speed 10Gb/s

[PATCH v9 net-next 06/15] net: mvpp2: increase BM pool and RXQ size

2021-02-07 Thread stefanc
From: Stefan Chulski BM pool and RXQ size increased to support Firmware Flow Control. Minimum depletion thresholds to support FC are 1024 buffers. BM pool size increased to 2048 to have some 1024 buffers space between depletion thresholds and BM pool size. Jumbo frames require a 9888B buffer,

[PATCH v9 net-next 12/15] net: mvpp2: add BM protection underrun feature support

2021-02-07 Thread stefanc
From: Stefan Chulski The PP2v23 hardware supports a feature allowing to double the size of BPPI by decreasing number of pools from 16 to 8. Increasing of BPPI size protect BM drop from BPPI underrun. Underrun could occurred due to stress on DDR and as result slow buffer transition from BPPE to

[PATCH v9 net-next 10/15] net: mvpp2: add RXQ flow control configurations

2021-02-07 Thread stefanc
From: Stefan Chulski This patch adds RXQ flow control configurations. Flow control disabled by default. Minimum ring size limited to 1024 descriptors. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 35 +-

[PATCH v9 net-next 09/15] net: mvpp2: enable global flow control

2021-02-07 Thread stefanc
From: Stefan Chulski This patch enables global flow control in FW and in the phylink validate mask. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 11 +-- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 30 +++- 2 files changed, 37

[PATCH v9 net-next 07/15] net: mvpp2: add FCA periodic timer configurations

2021-02-07 Thread stefanc
From: Stefan Chulski Flow Control periodic timer would be used if port in XOFF to transmit periodic XOFF frames. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 13 ++ drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 45 2 files

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Linus Torvalds
On Sun, Feb 7, 2021 at 10:32 AM Dave Hansen wrote: > > My understanding is that AMD has documented support for Shadow Stacks: > > https://www.amd.com/system/files/TechDocs/24592.pdf > > But has not yet released any documentation about IBT. IBT seems to be > Intel-only, at least in the

[PATCH v9 net-next 04/15] net: mvpp2: always compare hw-version vs MVPP21

2021-02-07 Thread stefanc
From: Stefan Chulski Currently we have PP2v1 and PP2v2 hw-versions, with some different handlers depending upon condition hw_version = MVPP21/MVPP22. In a future there will be also PP2v3. Let's use now the generic "if equal/notEqual MVPP21" for all cases instead of "if MVPP22". This patch does

[PATCH v9 net-next 03/15] net: mvpp2: add CM3 SRAM memory map

2021-02-07 Thread stefanc
From: Stefan Chulski This patch adds CM3 memory map and CM3 read/write callbacks. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 1 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 26 2 files changed, 27 insertions(+) diff --git

[PATCH v9 net-next 02/15] dts: marvell: add CM3 SRAM memory to cp11x ethernet device tree

2021-02-07 Thread stefanc
From: Konstantin Porotchkin CM3 SRAM address space would be used for Flow Control configuration. Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v9 net-next 01/15] doc: marvell: add CM3 address space and PPv2.3 description

2021-02-07 Thread stefanc
From: Stefan Chulski Patch adds CM3 address space PPv2.3 description. Signed-off-by: Stefan Chulski --- Documentation/devicetree/bindings/net/marvell-pp2.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt

[PATCH v9 net-next 00/15] net: mvpp2: Add TX Flow Control support

2021-02-07 Thread stefanc
From: Stefan Chulski Armada hardware has a pause generation mechanism in GOP (MAC). The GOP generate flow control frames based on an indication programmed in Ports Control 0 Register. There is a bit per port. However assertion of the PortX Pause bits in the ports control 0 register only sends

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Dave Hansen
On 2/7/21 10:15 AM, Linus Torvalds wrote: > On Sun, Feb 7, 2021 at 9:58 AM Borislav Petkov wrote: >> It probably is an item on some Intel manager's to-enable list. So far, >> the CET enablement concentrates only on userspace but dhansen might know >> more about future plans. CCed. > I think the

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Andy Lutomirski
> On Feb 7, 2021, at 10:19 AM, Dave Hansen wrote: > > On 2/7/21 9:58 AM, Borislav Petkov wrote: >>> On Sun, Feb 07, 2021 at 09:49:18AM -0800, Linus Torvalds wrote: >>> On Sun, Feb 7, 2021 at 2:40 AM Borislav Petkov wrote: - Disable CET instrumentation in the kernel so that gcc doesn't

Re: [GIT PULL] sched/urgent for v5.11-rc7

2021-02-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Feb 2021 12:15:10 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/sched_urgent_for_v5.11_rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6fed85df5d097298d265dfcc31cf1e0c1633f41e Thank you! --

Re: [GIT PULL] timers/urgent for v5.11-rc7

2021-02-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Feb 2021 11:56:58 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/timers_urgent_for_v5.11_rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/814daadbf09a364ec22f5aba769e01d8fa339c31 Thank you! --

Re: [GIT PULL] core/urgent for v5.11-rc7

2021-02-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Feb 2021 12:43:12 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/core_urgent_for_v5.11_rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c6792d44d8f08451047051351dfdcc8332a028e3 Thank you! --

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Feb 2021 11:40:22 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/x86_urgent_for_v5.11_rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e24f9c5f6e3127a0679d5ba5575a181b80f219c9 Thank you! --

Re: [GIT PULL] irq/urgent for v5.11-rc7

2021-02-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Feb 2021 15:15:43 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/irq_urgent_for_v5.11_rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/fc6c0ae53af40f4cd86a504a71778d924cef43df Thank you! --

Re: [GIT PULL] Kbuild fixes for v5.11-rc7

2021-02-07 Thread pr-tracker-bot
The pull request you sent on Sun, 7 Feb 2021 11:32:52 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-fixes-v5.11-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2db138bb9fa10f5652f55d3c3f427af54626a086 Thank you! --

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Dave Hansen
On 2/7/21 9:58 AM, Borislav Petkov wrote: > On Sun, Feb 07, 2021 at 09:49:18AM -0800, Linus Torvalds wrote: >> On Sun, Feb 7, 2021 at 2:40 AM Borislav Petkov wrote: >>> - Disable CET instrumentation in the kernel so that gcc doesn't add >>> ENDBR64 to kernel code and thus confuse tracing. >> So

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Linus Torvalds
On Sun, Feb 7, 2021 at 9:58 AM Borislav Petkov wrote: > > It probably is an item on some Intel manager's to-enable list. So far, > the CET enablement concentrates only on userspace but dhansen might know > more about future plans. CCed. I think the new Ryzen 5000 series also supports CET, but I

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Borislav Petkov
On Sun, Feb 07, 2021 at 09:49:18AM -0800, Linus Torvalds wrote: > On Sun, Feb 7, 2021 at 2:40 AM Borislav Petkov wrote: > > > > - Disable CET instrumentation in the kernel so that gcc doesn't add > > ENDBR64 to kernel code and thus confuse tracing. > > So this is clearly the right thing to do

drivers/media/test-drivers/vidtv/vidtv_psi.c:667:31: warning: taking address of packed member 'bitfield2' of class or structure 'vidtv_psi_table_pmt' may result in an unaligned pointer value

2021-02-07 Thread kernel test robot
: mips-randconfig-r032-20210207 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [GIT PULL] x86/urgent for v5.11-rc7

2021-02-07 Thread Linus Torvalds
On Sun, Feb 7, 2021 at 2:40 AM Borislav Petkov wrote: > > - Disable CET instrumentation in the kernel so that gcc doesn't add > ENDBR64 to kernel code and thus confuse tracing. So this is clearly the right thing to do for now, but I wonder if people have a plan for actually enabling CET and

[GIT PULL]: Linux-phy updates for v5.12

2021-02-07 Thread Vinod Koul
Hello Greg, Please pull to receive Linus-phy updates for v5.12 The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy.git

Re: [PATCH] staging: gasket: fix indentation and lines ending with open parenthesis

2021-02-07 Thread Joe Perches
On Sun, 2021-02-07 at 19:39 +0530, Mahak Gupta wrote: > This patch fixes warnings of 'checkpatch.pl'. According to > Linux coding guidelines, code should be aligned properly to > match with open parenthesis and lines should not end with > open parenthesis. Perhaps try using temporaries to reduce

[PATCH] pinctrl: renesas:fix possible null pointer dereference struct pinmux_range *

2021-02-07 Thread alex_luca
From: Zhang Kun The parameters of sh_pfc_enum_in_range() pinmux_range *r should be checked first for possible null ponter, especially when PINMUX_TYPE_FUNCTION as the pinmux_type was passed by sh_pfc_config_mux(). Signed-off-by: Zhang Kun --- drivers/pinctrl/renesas/core.c | 3 +++ 1 file

[GIT PULL] libnvdimm fixes for v5.11-rc7

2021-02-07 Thread Dan Williams
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-5.11-rc7 ...to receive a fix for a crash scenario that has been present since the initial merge, a minor regression in sysfs attribute visibility, and a fix for some flexible array

[PATCH v3 2/2] ASoC: tegra: Add driver remove() callback

2021-02-07 Thread Sameer Pujar
There is cleanup required, related to release of phandles, during driver removal and hence point remove callback to audio_graph_remove(). Fixes: 202e2f774543 ("ASoC: tegra: Add audio graph based card driver") Depends-on: "ASoC: audio-graph: Rename functions needed for export" Signed-off-by:

[PATCH v3 1/2] ASoC: audio-graph: Rename functions needed for export

2021-02-07 Thread Sameer Pujar
Following functions are renamed for a better global visibility. graph_card_probe() --> audio_graph_card_probe() graph_parse_of() --> audio_graph_parse_of() graph_remove() --> audio_graph_remove() [exported as well] The references of these are updated in audio graph and Tegra audio

[GIT PULL]: soundwire: updates for v5.12-rc1

2021-02-07 Thread Vinod Koul
Hello Greg, Please pull to receive update for v5.12-rc1. This update includes new no_pm IO routines and bunch of updates for intel & cadence drivers. The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the

[PATCH v3 0/2] Rename audio graph export functions

2021-02-07 Thread Sameer Pujar
This series renames exported functions from audio graph for a better global visibility. In doing so update the references in audio graph and Tegra audio graph card drivers. Changelog = v2 -> v3: - [Patch v3 1/2]: - Squashed "patch v2 1/3" and "patch v2 2/3". Updated commit

Re: [PATCH net-next v2] seg6: fool-proof the processing of SRv6 behavior attributes

2021-02-07 Thread David Ahern
On 2/6/21 10:09 AM, Andrea Mayer wrote: > The set of required attributes for a given SRv6 behavior is identified > using a bitmap stored in an unsigned long, since the initial design of SRv6 > networking in Linux. Recently the same approach has been used for > identifying the optional attributes.

Re: [PATCH 2/3] drm/mediatek: mtk_dpi: Add dpi config for mt8192

2021-02-07 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jitao-Shi/Add-check-for-max-clock-rate-in-mode_valid/20210207-210121 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allyesconfig

[PATCH 5/7] fsdax: Dedup file range to use a compare function

2021-02-07 Thread Shiyang Ruan
With dax we cannot deal with readpage() etc. So, we create a funciton callback to perform the file data comparison and pass it to generic_remap_file_range_prep() so it can use iomap-based functions. Signed-off-by: Goldwyn Rodrigues Signed-off-by: Shiyang Ruan --- fs/btrfs/reflink.c | 3 +-

[PATCH 7/7] fs/xfs: Add dedupe support for fsdax

2021-02-07 Thread Shiyang Ruan
Add xfs_break_two_dax_layouts() to break layout for tow dax files. Then call compare range function only when files are both DAX or not. Signed-off-by: Shiyang Ruan --- fs/xfs/xfs_file.c| 20 fs/xfs/xfs_inode.c | 8 +++- fs/xfs/xfs_inode.h | 1 +

[PATCH 4/7] fsdax: Replace mmap entry in case of CoW

2021-02-07 Thread Shiyang Ruan
We replace the existing entry to the newly allocated one in case of CoW. Also, we mark the entry as PAGECACHE_TAG_TOWRITE so writeback marks this entry as writeprotected. This helps us snapshots so new write pagefaults after snapshots trigger a CoW. Signed-off-by: Goldwyn Rodrigues

[PATCH 6/7] fs/xfs: Handle CoW for fsdax write() path

2021-02-07 Thread Shiyang Ruan
In fsdax mode, WRITE and ZERO on a shared extent need CoW mechanism performed. After CoW, new extents needs to be remapped to the file. Signed-off-by: Shiyang Ruan --- fs/xfs/xfs_bmap_util.c | 6 +- fs/xfs/xfs_file.c | 10 +++--- fs/xfs/xfs_iomap.c | 3 ++- fs/xfs/xfs_iops.c

[PATCH 2/7] fsdax: Introduce dax_copy_edges() for CoW

2021-02-07 Thread Shiyang Ruan
dax_copy_edges() is a helper functions performs a copy from one part of the device to another for data not page aligned. Signed-off-by: Goldwyn Rodrigues Signed-off-by: Shiyang Ruan --- fs/dax.c | 41 + 1 file changed, 41 insertions(+) diff --git

[PATCH 0/7] fsdax,xfs: Add reflink support for fsdax

2021-02-07 Thread Shiyang Ruan
This patchset is attempt to add CoW support for fsdax, and take XFS, which has both reflink and fsdax feature, as an example. One of the key mechanism need to be implemented in fsdax is CoW. Copy the data from srcmap before we actually write data to the destance iomap. And we just copy range in

[PATCH 1/7] fsdax: Output address in dax_iomap_pfn() and rename it

2021-02-07 Thread Shiyang Ruan
Add address output in dax_iomap_pfn() in order to perform a memcpy() in CoW case. Since this function both output address and pfn, rename it to dax_iomap_direct_access(). Signed-off-by: Shiyang Ruan --- fs/dax.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff

[PATCH 3/7] fsdax: Copy data before write

2021-02-07 Thread Shiyang Ruan
Add dax_copy_edges() into each dax actor functions to perform CoW. Signed-off-by: Shiyang Ruan --- fs/dax.c | 37 ++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index ea4e8a434900..b2195cbdf2dc 100644 --- a/fs/dax.c +++

Re: [PATCH 1/3] drm/mediatek: mtk_dpi: Add check for max clock rate in mode_valid

2021-02-07 Thread kernel test robot
suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jitao-Shi/Add-check-for-max-clock-rate-in-mode_valid/20210207-210121 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64

Re: [PATCH] printk: Userspace format enumeration support

2021-02-07 Thread Chris Down
Chris Down writes: 3. `KERN_SOH + level' can appear in other places than just printk strings KERN_SOH is just ASCII '\001' -- it's not distinctive or unique, even when paired with a check for something that looks like a level after it. For this reason, your proposed patch results in a

RE: [EXT] Re: [RESEND PATCH v8 net-next 03/15] net: mvpp2: add CM3 SRAM memory map

2021-02-07 Thread Stefan Chulski
> > + priv->sram_pool = of_gen_pool_get(dn, "cm3-mem", 0); > > + if (!priv->sram_pool) { > > + if (!defer_once) { > > + defer_once = true; > > + /* Try defer once */ > > + return

Re: [PATCH 6/9] perf report: Support instruction latency

2021-02-07 Thread Athira Rajeev
> On 05-Feb-2021, at 8:21 PM, Liang, Kan wrote: > > > > On 2/5/2021 7:55 AM, Athira Rajeev wrote: Because in other archs, the var2_w of ‘perf_sample_weight’ could be used to capture something else than the Local INSTR Latency. Can we have some weak function to populate the

Re: [RESEND PATCH v8 net-next 03/15] net: mvpp2: add CM3 SRAM memory map

2021-02-07 Thread Andrew Lunn
On Sun, Feb 07, 2021 at 10:19:12AM +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > This patch adds CM3 memory map and CM3 read/write callbacks. > No functionality changes. > > Signed-off-by: Stefan Chulski > --- > drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 7 +++ >

Important business relationship

2021-02-07 Thread Mr. Alain Nkontchou
-- I am Mr. Alain Nkontchou, banker contacting you based on my interests to develop a mutual business relationship with someone in your country. I decided to solicit for your assistance to execute this transaction due to some circumstances beyond my control. In fact, the deal will be made known

Re: WARNING in go7007_usb_onboard_write_interrupt/usb_submit_urb

2021-02-07 Thread Alan Stern
Hans: On Sat, Feb 06, 2021 at 11:40:13PM -0800, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:64eaa0fa platform/chrome: cros_ec_typec: Fix call to typec.. > git tree: > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing >

Re: [PATCH] staging: gasket: fix indentation and lines ending with open parenthesis

2021-02-07 Thread Joe Perches
On Sun, 2021-02-07 at 19:39 +0530, Mahak Gupta wrote: > This patch fixes warnings of 'checkpatch.pl'. According to > Linux coding guidelines, code should be aligned properly to > match with open parenthesis and lines should not end with > open parenthesis. > > Signed-off-by: Mahak Gupta > --- >  

[GIT PULL] dma-mapping fix for 5.11

2021-02-07 Thread Christoph Hellwig
The following changes since commit dd86e7fa07a3ec33c92c957ea7b642c4702516a0: Merge tag 'pci-v5.11-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (2021-02-04 16:05:40 -0800) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git

Re: [RFC PATCH v4 00/17] virtio/vsock: introduce SOCK_SEQPACKET support

2021-02-07 Thread Michael S. Tsirkin
On Sun, Feb 07, 2021 at 06:12:56PM +0300, Arseny Krasnov wrote: > This patchset impelements support of SOCK_SEQPACKET for virtio > transport. > As SOCK_SEQPACKET guarantees to save record boundaries, so to > do it, two new packet operations were added: first for start of record > and

Re: [PATCH] printk: Userspace format enumeration support

2021-02-07 Thread Chris Down
Joe Perches writes: There are several issues with your proposed approach that make it unsuitable for use as part of a reliable production environment: 1. It misses printk() formats without KERN_SOH printk() formats without KERN_SOH are legal and use MESSAGE_LOGLEVEL_DEFAULT. On my test kernel,

[PATCH] kbuild: simplify access to the kernel's version

2021-02-07 Thread Sasha Levin
Instead of storing the version in a single integer and having various kernel (and userspace) code how it's constructed, export individual (major, patchlevel, sublevel) components and simplify kernel code that uses it. This should also make it easier on userspace. Signed-off-by: Sasha Levin ---

Re: [RFC v1 09/26] x86/tdx: Handle CPUID via #VE

2021-02-07 Thread Dave Hansen
On 2/7/21 6:13 AM, Kirill A. Shutemov wrote: >>> + /* Allow to pass R10, R11, R12, R13, R14 and R15 down to the VMM */ >>> + rcx = BIT(10) | BIT(11) | BIT(12) | BIT(13) | BIT(14) | BIT(15); >>> + >>> + asm volatile(TDCALL >>> + : "=a"(ret), "=r"(r10),

sound/soc/fsl/fsl_easrc.c:345:19: warning: taking address of packed member 'center_tap' of class or structure 'interp_params' may result in an unaligned pointer value

2021-02-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 61556703b610a104de324e4f061dc6cf7b218b46 commit: 955ac624058f91172b3b8820280556e699e1e0ff ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers date: 10 months ago config: mips-randconfig-r032-20210207

Re: [PATCH RFC v1 5/6] xen-swiotlb: convert variables to arrays

2021-02-07 Thread Christoph Hellwig
On Thu, Feb 04, 2021 at 09:40:23AM +0100, Christoph Hellwig wrote: > So one thing that has been on my mind for a while: I'd really like > to kill the separate dma ops in Xen swiotlb. If we compare xen-swiotlb > to swiotlb the main difference seems to be: > > - additional reasons to bounce I/O

Re: [PATCH v2] staging: octeon: convert all uses of strlcpy to strscpy in ethernet-mdio.c

2021-02-07 Thread Phillip Potter
On Sun, Feb 07, 2021 at 04:35:06PM +0100, Greg KH wrote: > On Sun, Feb 07, 2021 at 03:13:20PM +, Phillip Potter wrote: > > Convert three calls to strlcpy inside the cvm_oct_get_drvinfo function > > to strscpy calls. As return values were not checked for these three > > calls before, change

Re: [PATCH] Input: synaptic - reverting dcb00fc799dc03fd320e123e4c81b3278c763ea5 because it breaks the touchpad for one guy on Reddit.

2021-02-07 Thread Jason A. Donenfeld
On Sun, Feb 7, 2021 at 5:00 AM Colton Booth wrote: > > I can't test myself since I don't have the correct hardware, BUT this change > seems to work for him. I'm thinking he has an early version of the X1E which > may use slightly different trackpad revision. > > Signed-off-by: Colton Booth >

Re: [PATCH 10/18] arm64: Introduce FIQ support

2021-02-07 Thread Hector Martin 'marcan'
On 07/02/2021 21.25, Arnd Bergmann wrote: On Sun, Feb 7, 2021 at 9:36 AM Hector Martin 'marcan' wrote: On 07/02/2021 01.22, Arnd Bergmann wrote: * In the fiq handler code, check if normal interrupts were enabled when the fiq hit. Normally they are enabled, so just proceed to handle

Re: [PATCH v2] staging: octeon: convert all uses of strlcpy to strscpy in ethernet-mdio.c

2021-02-07 Thread Greg KH
On Sun, Feb 07, 2021 at 03:13:20PM +, Phillip Potter wrote: > Convert three calls to strlcpy inside the cvm_oct_get_drvinfo function > to strscpy calls. As return values were not checked for these three > calls before, change should be safe as functionality is equivalent. > > Signed-off-by:

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-07 Thread karthek
On Sun, Feb 07, 2021 at 04:26:40PM +0100, Greg Kroah-Hartman wrote: > On Sun, Feb 07, 2021 at 08:54:49PM +0530, karthek wrote: > > On Sun, Feb 07, 2021 at 04:21:29PM +0100, Greg Kroah-Hartman wrote: > > > On Sun, Feb 07, 2021 at 08:49:46PM +0530, karthek wrote: > > > > On Sun, Feb 07, 2021 at

Re: [PATCH v2 4/4] hugetlb: Do early cow when page pinned on src mm

2021-02-07 Thread Peter Xu
On Sun, Feb 07, 2021 at 11:09:29AM +0200, Gal Pressman wrote: > On 05/02/2021 17:51, Peter Xu wrote: > > On Fri, Feb 05, 2021 at 02:58:33PM +, Zhang, Wei wrote: > >> Hi Peter, > > > > Hi, Wei, > > > >> > >> Gal and I worked together. We tested the patch v2 and can confirm it is > >> working

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-07 Thread Greg Kroah-Hartman
On Sun, Feb 07, 2021 at 08:54:49PM +0530, karthek wrote: > On Sun, Feb 07, 2021 at 04:21:29PM +0100, Greg Kroah-Hartman wrote: > > On Sun, Feb 07, 2021 at 08:49:46PM +0530, karthek wrote: > > > On Sun, Feb 07, 2021 at 04:15:59PM +0100, Greg Kroah-Hartman wrote: > > > > On Sun, Feb 07, 2021 at

Re: [PATCH] staging: octeon: convert all uses of strlcpy to strscpy in ethernet-mdio.c

2021-02-07 Thread Joe Perches
On Sun, 2021-02-07 at 15:55 +0100, Greg KH wrote: > On Sun, Feb 07, 2021 at 02:48:04PM +, Phillip Potter wrote: > > Convert three calls to strlcpy inside the cvm_oct_get_drvinfo function > > to strscpy calls. Fixes a style warning. > > Is it really safe to do this type of conversion here?

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-07 Thread karthek
On Sun, Feb 07, 2021 at 04:21:29PM +0100, Greg Kroah-Hartman wrote: > On Sun, Feb 07, 2021 at 08:49:46PM +0530, karthek wrote: > > On Sun, Feb 07, 2021 at 04:15:59PM +0100, Greg Kroah-Hartman wrote: > > > On Sun, Feb 07, 2021 at 08:41:59PM +0530, karthek wrote: > > > > On Sun, Feb 07, 2021 at

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

2021-02-07 Thread Hariprasad Kelam
Hi Jakub, > -Original Message- > From: Jakub Kicinski > Sent: Saturday, February 6, 2021 12:56 AM > To: Hariprasad Kelam > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > da...@davemloft.net; willemdebruijn.ker...@gmail.com; > and...@lunn.ch; Sunil Kovvuri Goutham ; Linu >

[PATCH] mm/list_lru.c: remove kvfree_rcu_local()

2021-02-07 Thread Shakeel Butt
The list_lru file used to have local kvfree_rcu() which was renamed by commit e0feed08ab41 ("mm/list_lru.c: Rename kvfree_rcu() to local variant") to introduce the globally visible kvfree_rcu(). Now we have global kvfree_rcu(), so remove the local kvfree_rcu_local() and just use the global one.

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-07 Thread Greg Kroah-Hartman
On Sun, Feb 07, 2021 at 08:49:46PM +0530, karthek wrote: > On Sun, Feb 07, 2021 at 04:15:59PM +0100, Greg Kroah-Hartman wrote: > > On Sun, Feb 07, 2021 at 08:41:59PM +0530, karthek wrote: > > > On Sun, Feb 07, 2021 at 03:54:09PM +0100, Greg Kroah-Hartman wrote: > > > > On Sun, Feb 07, 2021 at

[RFC PATCH v4 17/17] virtio/vsock: simplify credit update function API

2021-02-07 Thread Arseny Krasnov
'virtio_transport_send_credit_update()' has some extra args: 1) 'type' may be set in 'virtio_transport_send_pkt_info()' using type of socket. 2) This function is static and 'hdr' arg was always NULL. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/virtio_transport_common.c | 20

[RFC PATCH v4 15/17] vsock_test: add SOCK_SEQPACKET tests

2021-02-07 Thread Arseny Krasnov
This adds two tests of SOCK_SEQPACKET socket: both transfer data and then test MSG_EOR and MSG_TRUNC flags. Cases for connect(), bind(), etc. are not tested, because it is same as for stream socket. Signed-off-by: Arseny Krasnov --- tools/testing/vsock/util.c | 32 ++--

[RFC PATCH v4 16/17] loopback/vsock: setup SEQPACKET ops for transport

2021-02-07 Thread Arseny Krasnov
This adds SEQPACKET ops for loopback transport Signed-off-by: Arseny Krasnov --- net/vmw_vsock/vsock_loopback.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/vmw_vsock/vsock_loopback.c b/net/vmw_vsock/vsock_loopback.c index a45f7ffca8c5..c0da94119f74 100644 ---

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-07 Thread karthek
On Sun, Feb 07, 2021 at 04:15:59PM +0100, Greg Kroah-Hartman wrote: > On Sun, Feb 07, 2021 at 08:41:59PM +0530, karthek wrote: > > On Sun, Feb 07, 2021 at 03:54:09PM +0100, Greg Kroah-Hartman wrote: > > > On Sun, Feb 07, 2021 at 08:17:33PM +0530, karthek wrote: > > > > > > > > > > > > For some

[RFC PATCH v4 14/17] vhost/vsock: setup SEQPACKET ops for transport

2021-02-07 Thread Arseny Krasnov
This also removes ignore of non-stream type of packets. Signed-off-by: Arseny Krasnov --- drivers/vhost/vsock.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index 5e78fb719602..5c86d09e36d9 100644 ---

[RFC PATCH v4 13/17] virtio/vsock: setup SEQPACKET ops for transport

2021-02-07 Thread Arseny Krasnov
This adds SEQPACKET ops for virtio transport Signed-off-by: Arseny Krasnov --- net/vmw_vsock/virtio_transport.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c index 2700a63ab095..bd3a854bb366 100644 ---

[RFC PATCH v4 12/17] virtio/vsock: rest of SOCK_SEQPACKET support

2021-02-07 Thread Arseny Krasnov
This adds rest of logic for SEQPACKET: 1) Packet's type is now set in 'virtio_send_pkt_info()' using type of socket. 2) SEQPACKET specific functions which send SEQ_BEGIN/SEQ_END. Note that both functions may sleep to wait enough space for SEQPACKET header. 3) SEQ_BEGIN/SEQ_END to TAP

[RFC PATCH v4 10/17] virtio/vsock: fetch length for SEQPACKET record

2021-02-07 Thread Arseny Krasnov
This adds transport callback which tries to fetch record begin marker from socket's rx queue. It is called from af_vsock.c before reading data packets of record. Signed-off-by: Arseny Krasnov --- include/linux/virtio_vsock.h| 1 + net/vmw_vsock/virtio_transport_common.c | 40

[RFC PATCH v4 11/17] virtio/vsock: add SEQPACKET receive logic

2021-02-07 Thread Arseny Krasnov
This modifies current receive logic for SEQPACKET support: 1) Inserts 'SEQ_BEGIN' packet to socket's rx queue. 2) Inserts 'RW' packet to socket's rx queue, but without merging with buffer of last packet in queue. 3) Performs check for packet and socket types on receive(if mismatch, then

[RFC PATCH v4 09/17] virtio/vsock: dequeue callback for SOCK_SEQPACKET

2021-02-07 Thread Arseny Krasnov
This adds transport callback and it's logic for SEQPACKET dequeue. Callback fetches RW packets from rx queue of socket until whole record is copied(if user's buffer is full, user is not woken up). This is done to not stall sender, because if we wake up user and it leaves syscall, nobody will send

[RFC PATCH v4 08/17] af_vsock: update comments for stream sockets

2021-02-07 Thread Arseny Krasnov
This replaces 'stream' to 'connect oriented' in comments as SEQPACKET is also connect oriented. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/net/vmw_vsock/af_vsock.c

[RFC PATCH v4 06/17] af_vsock: implement send logic for SEQPACKET

2021-02-07 Thread Arseny Krasnov
This adds some logic to current stream enqueue function for SEQPACKET support: 1) Send record's begin/end marker. 2) Return value from enqueue function is whole record length or error for SOCK_SEQPACKET. Signed-off-by: Arseny Krasnov --- include/net/af_vsock.h | 2 ++

[RFC PATCH v4 07/17] af_vsock: rest of SEQPACKET support

2021-02-07 Thread Arseny Krasnov
This does rest of SOCK_SEQPACKET support: 1) Adds socket ops for SEQPACKET type. 2) Allows to create socket with SEQPACKET type. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] staging: rtl8723bs: fix block comments alignment

2021-02-07 Thread Greg Kroah-Hartman
On Sun, Feb 07, 2021 at 08:41:59PM +0530, karthek wrote: > On Sun, Feb 07, 2021 at 03:54:09PM +0100, Greg Kroah-Hartman wrote: > > On Sun, Feb 07, 2021 at 08:17:33PM +0530, karthek wrote: > > > > > > > > For some reason you sent this only to me, which is a bit rude to > > everyone else on the

[RFC PATCH v4 05/17] af_vsock: separate wait space loop

2021-02-07 Thread Arseny Krasnov
This moves loop that waits for space on send to separate function, because it will be used for SEQ_BEGIN/SEQ_END sending before and after data transmission. Waiting for SEQ_BEGIN/SEQ_END is needed because such packets carries SEQPACKET header that couldn't be fragmented by credit mechanism, so to

[RFC PATCH v4 04/17] af_vsock: implement SEQPACKET receive loop

2021-02-07 Thread Arseny Krasnov
This adds receive loop for SEQPACKET. It looks like receive loop for STREAM, but there is a little bit difference: 1) It doesn't call notify callbacks. 2) It doesn't care about 'SO_SNDLOWAT' and 'SO_RCVLOWAT' values, because there is no sense for these values in SEQPACKET case. 3) It waits

[RFC PATCH v4 03/17] af_vsock: separate receive data loop

2021-02-07 Thread Arseny Krasnov
This moves STREAM specific data receive logic to dedicated function: '__vsock_stream_recvmsg()', while checks that will be same for both types of socket are in shared function: 'vsock_connectible_recvmsg()'. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 117

[RFC PATCH v4 02/17] af_vsock: separate wait data loop

2021-02-07 Thread Arseny Krasnov
This moves wait loop for data to dedicated function, because later it will be used by SEQPACKET data receive loop. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 158 +-- 1 file changed, 86 insertions(+), 72 deletions(-) diff --git

[RFC PATCH v4 01/17] af_vsock: update functions for connectible socket

2021-02-07 Thread Arseny Krasnov
This prepares af_vsock.c for SEQPACKET support: some functions such as setsockopt(), getsockopt(), connect(), recvmsg(), sendmsg() are shared between both types of sockets, so rename them in general manner. Signed-off-by: Arseny Krasnov --- net/vmw_vsock/af_vsock.c | 64

<    1   2   3   4   5   6   >