Re: simplify gendisk lookup and remove struct block_device aliases v4

2020-11-10 Thread Christoph Hellwig
Jens, can you take a look and possibly pick this series up? On Thu, Oct 29, 2020 at 03:58:23PM +0100, Christoph Hellwig wrote: > Hi all, > > this series removes the annoying struct block_device aliases, which can > happen for a bunch of old floppy drivers (and z2ram). In that case > multiple str

[PATCH] drm/msm/dp: remove duplicate include statement

2020-11-10 Thread Tian Tao
linux/rational.h is included more than once, Remove the one that isn't necessary. Signed-off-by: Tian Tao --- drivers/gpu/drm/msm/dp/dp_catalog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c b/drivers/gpu/drm/msm/dp/dp_catalog.c index b15b4ce..105fa65 1

Re: [PATCH 1/6] seq_file: add seq_read_iter

2020-11-10 Thread Christoph Hellwig
On Tue, Nov 10, 2020 at 11:20:28PM +, Al Viro wrote: > On Tue, Nov 10, 2020 at 09:35:11PM +, Al Viro wrote: > > On Tue, Nov 10, 2020 at 09:32:53PM +, Al Viro wrote: > > > > > AFAICS, not all callers want that semantics, but I think it's worth > > > a new primitive. I'm not saying it s

Re: BUG: KASAN: global-out-of-bounds in soc_device_match on arm

2020-11-10 Thread Vignesh Raghavendra
;> >> [ 32.127451] BUG: KASAN: global-out-of-bounds in soc_device_match+0x64/0xe4 >> [ 32.127485] Read of size 4 at addr c21701f8 by task swapper/0/1 >> [ 32.127508] >> [ 32.127549] CPU: 0 PID: 1 Comm: swapper/0 Tainted: GW >> 5.10.0-rc3-next-20201

Re: [PATCH v8 09/26] memory: tegra30: Support interconnect framework

2020-11-10 Thread Viresh Kumar
On 11-11-20, 10:32, Dmitry Osipenko wrote: > 11.11.2020 09:18, Viresh Kumar пишет: > > On 11-11-20, 09:14, Dmitry Osipenko wrote: > >> The dev_pm_opp_of_add_table() will produce a error message which doesn't > >> give a clue about what's wrong, i.e. that device-tree needs to be updated. > > > > If

Re: [PATCH] ASoC: pcm512x: Add support for data formats RJ and LJ

2020-11-10 Thread Kirill Marinushkin
Hello Peter, than you for your review! > The bus format and > >> switch (pcm512x->fmt & SND_SOC_DAIFMT_MASTER_MASK) { > >> case SND_SOC_DAIFMT_CBS_CFS: >> ret = regmap_update_bits(pcm512x->regmap, > > the clock generation role should be set in pcm512x_set_fmt(), in that > w

Re: [PATCH] mm/rmap: always do TTU_IGNORE_ACCESS

2020-11-10 Thread Hugh Dickins
On Fri, 6 Nov 2020, Shakeel Butt wrote: > On Thu, Nov 5, 2020 at 7:00 PM Hugh Dickins wrote: > > > > I don't know why this was addressed to me in particular (easy to imagine > > I've made a mod at some time that bears on this, but I haven't found it); > > but have spent longer considering the patc

Re: [PATCH v4 bpf-next 5/5] tools/bpftool: add support for in-kernel and named BTF in `btf show`

2020-11-10 Thread Song Liu
> On Nov 10, 2020, at 8:19 PM, Andrii Nakryiko > wrote: > > On Tue, Nov 10, 2020 at 5:15 PM Song Liu wrote: >> >> >> >>> On Nov 9, 2020, at 5:19 PM, Andrii Nakryiko wrote: >> >> [...] >> >>> ... >>> >>> Tested-by: Alan Maguire >>> Signed-off-by: Andrii Nakryiko >> >> Acked-by: Song

linux-next boot error: BUG: unable to handle kernel NULL pointer dereference in mempool_init_node

2020-11-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3e14f70c Add linux-next specific files for 2020 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12e6af6250 kernel config: https://syzkaller.appspot.com/x/.config?x=d6f4c7e100b61b76 dashboard

drivers/watchdog/pcwd_usb.c:375:37: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-11-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eccc876724927ff3b9ff91f36f7b6b159e948f0c commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 months ago config: sh-randconfig-s032-2020 (attache

Re: [RESEND PATCH v3] fuse: Abort waiting for a response if the daemon receives a fatal signal

2020-11-10 Thread Eric W. Biederman
Miklos Szeredi writes: > On Mon, Nov 9, 2020 at 7:54 PM Eric W. Biederman > wrote: >> >> Miklos Szeredi writes: >> >> > On Mon, Nov 9, 2020 at 1:48 PM Alexey Gladkov >> > wrote: >> >> >> >> This patch removes one kind of the deadlocks inside the fuse daemon. The >> >> problem appear when the

Re: [PATCH v21 06/19] mm/rmap: stop store reordering issue on page->mapping

2020-11-10 Thread Hugh Dickins
On Fri, 6 Nov 2020, Alex Shi wrote: > > updated for comments change from Johannes > > > From 2fd278b1ca6c3e260ad249808b62f671d8db5a7b Mon Sep 17 00:00:00 2001 > From: Alex Shi > Date: Thu, 5 Nov 2020 11:38:24 +0800 > Subject: [PATCH v21 06/19] mm/rmap: stop store reordering issue on > page->ma

Re: [RFC PATCH 1/9] cxl/acpi: Add an acpi_cxl module for the CXL interconnect

2020-11-10 Thread Verma, Vishal L
On Wed, 2020-11-11 at 07:34 +, h...@infradead.org wrote: > On Wed, Nov 11, 2020 at 07:30:34AM +, Verma, Vishal L wrote: > > Hi Christpph, > > > > I thought 100 col. lines were acceptable now. > > Quote from the coding style document: > > "The preferred limit on the length of a single lin

[PATCH v3] tcp: fix race condition when creating child sockets from syncookies

2020-11-10 Thread Ricardo Dias
When the TCP stack is in SYN flood mode, the server child socket is created from the SYN cookie received in a TCP packet with the ACK flag set. The child socket is created when the server receives the first TCP packet with a valid SYN cookie from the client. Usually, this packet corresponds to the

Re: [RFC PATCH 1/9] cxl/acpi: Add an acpi_cxl module for the CXL interconnect

2020-11-10 Thread h...@infradead.org
On Wed, Nov 11, 2020 at 07:30:34AM +, Verma, Vishal L wrote: > Hi Christpph, > > I thought 100 col. lines were acceptable now. Quote from the coding style document: "The preferred limit on the length of a single line is 80 columns. Statements longer than 80 columns should be broken into sen

Re: [PATCH v13 3/3] binder: add transaction latency tracer

2020-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 11, 2020 at 11:02:44AM +0800, Frankie Chang wrote: > From: "Frankie.Chang" > > Record start/end timestamp for binder transaction. > When transaction is completed or transaction is free, > it would be checked if transaction latency over threshold > (default 2 sec), if yes, printing rel

Re: [PATCH v13] binder: add transaction latency tracer

2020-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 11, 2020 at 11:02:41AM +0800, Frankie Chang wrote: > > Frankie.Chang (3): > binder: move structs from core file to header file > binder: add trace at free transaction. > binder: add transaction latency tracer > > drivers/android/Kconfig | 8 + > drivers/androi

Re: [PATCH v8 09/26] memory: tegra30: Support interconnect framework

2020-11-10 Thread Dmitry Osipenko
11.11.2020 09:18, Viresh Kumar пишет: > On 11-11-20, 09:14, Dmitry Osipenko wrote: >> 11.11.2020 08:53, Viresh Kumar пишет: +static int tegra_emc_opp_table_init(struct tegra_emc *emc) +{ + struct opp_table *reg_opp_table = NULL, *clk_opp_table, *hw_opp_table; + u32 hw_version

Re: [RFC PATCH 1/9] cxl/acpi: Add an acpi_cxl module for the CXL interconnect

2020-11-10 Thread Verma, Vishal L
On Wed, 2020-11-11 at 07:10 +, Christoph Hellwig wrote: > On Tue, Nov 10, 2020 at 09:43:48PM -0800, Ben Widawsky wrote: > > +menuconfig CXL_BUS > > + tristate "CXL (Compute Express Link) Devices Support" > > + help > > + CXL is a bus that is electrically compatible with PCI-E, but layer

Re: [PATCH v20 08/20] mm: page_idle_get_page() does not need lru_lock

2020-11-10 Thread Hugh Dickins
On Mon, 2 Nov 2020, Johannes Weiner wrote: > On Thu, Oct 29, 2020 at 06:44:53PM +0800, Alex Shi wrote: > > From: Hugh Dickins > > > > It is necessary for page_idle_get_page() to recheck PageLRU() after > > get_page_unless_zero(), but holding lru_lock around that serves no > > useful purpose, and

Re: [PATCH v8 17/18] scsi: megaraid_sas: Added support for shared host tagset for cpuhotplug

2020-11-10 Thread Sumit Saxena
On Tue, Nov 10, 2020 at 11:12 PM John Garry wrote: > > On 09/11/2020 14:05, John Garry wrote: > > On 09/11/2020 13:39, Qian Cai wrote: > >>> I suppose I could try do this myself also, but an authentic version > >>> would be nicer. > >> The closest one I have here is: > >> https://cailca.coding.net

RE: [PATCH] platform/x86: dell-privacy: Add support for new privacy driver

2020-11-10 Thread Yuan, Perry
> -Original Message- > From: Hans de Goede > Sent: Monday, November 9, 2020 7:16 PM > To: Yuan, Perry; mgr...@linux.intel.com; mj...@srcf.ucam.org; > p...@kernel.org > Cc: linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; > Limonciello, Mario > Subject: Re: [PATCH] platf

Re: [PATCH] platform/x86: dell-privacy: Add support for new privacy driver

2020-11-10 Thread Matthew Garrett
On Wed, Nov 11, 2020 at 07:21:07AM +, Yuan, Perry wrote: > > > +status = acpi_evaluate_object(NULL, ACPI_PRIVACY_EC_ACK, NULL, > > NULL); > > > +if (ACPI_FAILURE(status)) { > > > +dev_err(led_cdev->dev, "Error setting privacy audio EC ack > > value: %d\n",status); > > > +

[PATCH v8 01/22] perf arm-spe: Include bitops.h for BIT() macro

2020-11-10 Thread Leo Yan
Include header linux/bitops.h, directly use its BIT() macro and remove the self defined macros. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/perf/util/arm-spe-decoder/arm-spe-decoder.c | 5 + tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 3 +-- 2 files changed,

Corporate and Personal Loan *

2020-11-10 Thread Investment Corporate
Hello linux-kernel@vger.kernel.org We are Base Investment Company offering Corporate and Personal Loan at 3% Interest Rate for a duration of 10Years. We also pay 1% commission to brokers, who introduce project owners for finance or other opportunities. Please get back to me if you are inter

Re: [RFC PATCH 3/9] cxl/mem: Add a driver for the type-3 mailbox

2020-11-10 Thread Christoph Hellwig
On Tue, Nov 10, 2020 at 09:43:50PM -0800, Ben Widawsky wrote: > +config CXL_MEM > +tristate "CXL.mem Device Support" > +depends on PCI && CXL_BUS_PROVIDER != n depend on PCI && CXL_BUS_PROVIDER > +default m if CXL_BUS_PROVIDER Please don't set weird defaults for new code.

[PATCH v8 08/22] perf arm-spe: Refactor packet header parsing

2020-11-10 Thread Leo Yan
The packet header parsing uses the hard coded values and it uses nested if-else statements. To improve the readability, this patch refactors the macros for packet header format so it removes the hard coded values. Furthermore, based on the new mask macros it reduces the nested if-else statements

[PATCH v8 07/22] perf arm-spe: Consolidate arm_spe_pkt_desc()'s return value

2020-11-10 Thread Leo Yan
arm_spe_pkt_desc() returns the length of consumed the buffer for the success case; otherwise, it delivers the return value from arm_spe_pkt_snprintf(), and returns the last return value if there have multiple calling arm_spe_pkt_snprintf(). Since arm_spe_pkt_snprintf() has the same semantics with

[PATCH v8 09/22] perf arm-spe: Add new function arm_spe_pkt_desc_addr()

2020-11-10 Thread Leo Yan
This patch moves out the address parsing code from arm_spe_pkt_desc() and uses the new introduced function arm_spe_pkt_desc_addr() to process address packet. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 64 +++ 1 file cha

Re: [PATCH 1/3] md: improve variable names in md_flush_request()

2020-11-10 Thread Pankaj Gupta
Hi Paul, > > This patch improves readability by using better variable names > > in flush request coalescing logic. > > Please do not indent the commit message. o.k > > > Signed-off-by: Pankaj Gupta > > --- > > drivers/md/md.c | 8 > > drivers/md/md.h | 6 +++--- > > 2 files cha

[PATCH v8 11/22] perf arm_spe: Fixup top byte for data virtual address

2020-11-10 Thread Leo Yan
To establish a valid address from the address packet payload and finally the address value can be used for parsing data symbol in DSO, current code uses 0xff to replace the tag in the top byte of data virtual address. So far the code only fixups top byte for the memory layouts with 4KB pages, it m

[PATCH v3 net-next 00/13] Add ethtool ntuple filters support

2020-11-10 Thread Naveen Mamindlapalli
This patch series adds support for ethtool ntuple filters, unicast address filtering, VLAN offload and SR-IOV ndo handlers. All of the above features are based on the Admin Function(AF) driver support to install and delete the low level MCAM entries. Each MCAM entry is programmed with the packet fi

[PATCH v8 12/22] perf arm-spe: Refactor context packet handling

2020-11-10 Thread Leo Yan
Minor refactoring to use macro for index mask. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 2 +- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/

[PATCH v8 16/22] perf arm-spe: Refactor event type handling

2020-11-10 Thread Leo Yan
Move the enums of event types to arm-spe-pkt-decoder.h, thus function arm_spe_pkt_desc() can them for bitmasks. Suggested-by: Andre Przywara Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../util/arm-spe-decoder/arm-spe-decoder.h| 17 -- .../arm-spe-decoder/arm-spe-pkt

[PATCH v8 14/22] perf arm-spe: Refactor counter packet handling

2020-11-10 Thread Leo Yan
This patch defines macros for counter packet header, and uses macros to replace hard code values in functions arm_spe_get_counter() and arm_spe_pkt_desc(). In the function arm_spe_get_counter(), adds a new line for more readable. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/per

[PATCH v8 13/22] perf arm-spe: Add new function arm_spe_pkt_desc_counter()

2020-11-10 Thread Leo Yan
This patch moves out the counter packet parsing code from arm_spe_pkt_desc() to the new function arm_spe_pkt_desc_counter(). Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 43 --- 1 file changed, 28 insertions(+), 15 deleti

[PATCH v8 15/22] perf arm-spe: Add new function arm_spe_pkt_desc_event()

2020-11-10 Thread Leo Yan
This patch moves out the event packet parsing from arm_spe_pkt_desc() to the new function arm_spe_pkt_desc_event(). Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 63 +++ 1 file changed, 37 insertions(+), 26 deletions(-) d

Re: linux-next: Fixes tag needs some work in the omap-fixes tree

2020-11-10 Thread Tony Lindgren
* Stephen Rothwell [201110 21:16]: > Hi all, > > In commit > > e4b5575da267 ("ARM: OMAP2+: Manage MPU state properly for > omap_enter_idle_coupled()") > > Fixes tag > > Fixes: 8ca5ee624b4c ("ARM: OMAP2+: Restore MPU power domain if > cpu_cluster_pm_enter() fails") > > has these problem(

RE: [PATCH] platform/x86: dell-privacy: Add support for new privacy driver

2020-11-10 Thread Yuan, Perry
> -Original Message- > From: Matthew Garrett > Sent: Wednesday, November 4, 2020 9:49 AM > To: Yuan, Perry > Cc: hdego...@redhat.com; mgr...@linux.intel.com; p...@kernel.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; Limonciello, > Mario > Subject: Re: [PATCH] p

Re: [PATCH] drm/panel: add missing platform_driver_unregister() on error path

2020-11-10 Thread Sam Ravnborg
Hi Yang, On Wed, Nov 11, 2020 at 02:44:25PM +0800, Yang Yingliang wrote: > If mipi_dsi_driver_register() failed, platform_driver_unregister() > need be called. > > Fixes: 210fcd9d9cf1 ("drm/panel: Add support for Panasonic VVX10F004B0") > Reported-by: Hulk Robot > Signed-off-by: Yang Yingliang

RE: [PATCH v4 06/17] PCI: add SIOV and IMS capability detection

2020-11-10 Thread Tian, Kevin
> From: Raj, Ashok > Sent: Tuesday, November 10, 2020 10:13 PM > > Thomas, > > With all these interrupt message storms ;-), I'm missing how to move > towards > an end goal. > > On Tue, Nov 10, 2020 at 11:27:29AM +0100, Thomas Gleixner wrote: > > Ashok, > > > > On Mon, Nov 09 2020 at 21:14, Asho

[PATCH v3 net-next 05/13] octeontx2-pf: Add support for ethtool ntuple filters

2020-11-10 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep This patch adds support for adding and deleting ethtool ntuple filters. The filters for ether, ipv4, ipv6, tcp, udp and sctp are supported. The mask is also supported. The supported actions are drop and direct to a queue. Additionally we support FLOW_EXT field vlan_tci and

[PATCH v3 net-next 01/13] octeontx2-af: Modify default KEX profile to extract TX packet fields

2020-11-10 Thread Naveen Mamindlapalli
From: Stanislaw Kardach The current default Key Extraction(KEX) profile can only use RX packet fields while generating the MCAM search key. The profile can't be used for matching TX packet fields. This patch modifies the default KEX profile to add support for extracting TX packet fields into MCAM

[PATCH v3 net-next 03/13] octeontx2-af: Generate key field bit mask from KEX profile

2020-11-10 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Key Extraction(KEX) profile decides how the packet metadata such as layer information and selected packet data bytes at each layer are placed in MCAM search key. This patch reads the configured KEX profile parameters to find out the bit position and bit mask for each field

[PATCH v8 17/22] perf arm-spe: Remove size condition checking for events

2020-11-10 Thread Leo Yan
In the Armv8 ARM (ARM DDI 0487F.c), chapter "D10.2.6 Events packet", it describes the event bit is valid with specific payload requirement. For example, the Last Level cache access event, the bit is defined as: E[8], byte 1 bit [0], when SZ == 0b01 , when SZ == 0b10 , or wh

[PATCH v8 18/22] perf arm-spe: Add new function arm_spe_pkt_desc_op_type()

2020-11-10 Thread Leo Yan
The operation type packet is complex and contains subclass; the parsing flow causes deep indentation; for more readable, this patch introduces a new function arm_spe_pkt_desc_op_type() which is used for operation type parsing. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-d

[PATCH v3 net-next 04/13] octeontx2-af: Add mbox messages to install and delete MCAM rules

2020-11-10 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Added new mailbox messages to install and delete MCAM rules. These mailbox messages will be used for adding/deleting ethtool n-tuple filters by NIX PF. The installed MCAM rules are stored in a list that will be traversed later to delete the MCAM entries when the interface

Re: [PATCH -next] treewide: Remove stringification from __alias macro definition

2020-11-10 Thread Ard Biesheuvel
(+ Russell) On Thu, 22 Oct 2020 at 18:20, Joe Perches wrote: > > On Thu, 2020-10-22 at 09:33 +0200, Peter Zijlstra wrote: > > On Wed, Oct 21, 2020 at 11:58:25AM -0700, Joe Perches wrote: > > > Like the __section macro, the __alias macro uses > > > macro # stringification to create quotes around >

[PATCH v3 net-next 08/13] octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries

2020-11-10 Thread Naveen Mamindlapalli
From: Vamsi Attunuru This patch modifies the existing nix_vtag_config mailbox message to allocate and free TX VTAG entries as requested by a NIX PF. The TX VTAG entries are global resource that shared by all PFs and each entry specifies the size of VTAG to insert and the VTAG header data to inser

[PATCH v3 net-next 09/13] octeontx2-pf: Implement ingress/egress VLAN offload

2020-11-10 Thread Naveen Mamindlapalli
From: Hariprasad Kelam This patch implements egress VLAN offload by appending NIX_SEND_EXT_S header to NIX_SEND_HDR_S. The VLAN TCI information is specified in the NIX_SEND_EXT_S. The VLAN offload in the ingress path is implemented by configuring the NIX_RX_VTAG_ACTION_S to strip and capture the

[PATCH v3 net-next 07/13] octeontx2-af: Add debugfs entry to dump the MCAM rules

2020-11-10 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Add debugfs support to dump the MCAM rules installed using NPC_INSTALL_FLOW mbox message. Debugfs file can display mcam entry, counter if any, flow type and counter hits. Ethtool will dump the ntuple flows related to the PF only. The debugfs file gives systemwide view of

[PATCH v3 net-next 06/13] octeontx2-pf: Add support for unicast MAC address filtering

2020-11-10 Thread Naveen Mamindlapalli
From: Hariprasad Kelam Add unicast MAC address filtering support using install flow message. Total of 8 MCAM entries are allocated for adding unicast mac filtering rules. If the MCAM allocation fails, the unicast filtering support will not be advertised. Signed-off-by: Hariprasad Kelam Signed-o

[PATCH v8 19/22] perf arm-spe: Refactor operation packet handling

2020-11-10 Thread Leo Yan
Defines macros for operation packet header and formats (support sub classes for 'other', 'branch', 'load and store', etc). Uses these macros for operation packet decoding and dumping. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 26

[PATCH v3 net-next 10/13] octeontx2-pf: Add support for SR-IOV management functions

2020-11-10 Thread Naveen Mamindlapalli
This patch adds support for ndo_set_vf_mac, ndo_set_vf_vlan and ndo_get_vf_config handlers. The traffic redirection based on the VF mac address or vlan id is done by installing MCAM rules. Reserved RX_VTAG_TYPE7 in each NIXLF for VF VLAN which strips the VLAN tag from ingress VLAN traffic. The NIX

[PATCH v8 22/22] perf arm-spe: Add support for ARMv8.3-SPE

2020-11-10 Thread Leo Yan
From: Wei Li This patch is to support Armv8.3 extension for SPE, it adds alignment field in the Events packet and it supports the Scalable Vector Extension (SVE) for Operation packet and Events packet with two additions: - The vector length for SVE operations in the Operation Type packet; -

[PATCH v8 20/22] perf arm-spe: Add more sub classes for operation packet

2020-11-10 Thread Leo Yan
For the operation type packet payload with load/store class, it misses to support these sub classes: - A load/store targeting the general-purpose registers; - A load/store targeting unspecified registers; - The ARMv8.4 nested virtualisation extension can redirect system register accesses

[PATCH v3 net-next 12/13] octeontx2-af: Add new mbox messages to retrieve MCAM entries

2020-11-10 Thread Naveen Mamindlapalli
This patch introduces new mailbox mesages to retrieve a given MCAM entry or base flow steering rule of a VF installed by its parent PF. This helps while updating the existing MCAM rules with out re-framing the whole mailbox request again. The INSTALL FLOW mailbox consumer can read-modify-write the

[PATCH v3 net-next 13/13] octeontx2-af: Delete NIX_RXVLAN_ALLOC mailbox message

2020-11-10 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep Since mailbox message for installing flows is in place, remove the RXVLAN_ALLOC mbox message which is redundant. Signed-off-by: Subbaraya Sundeep Signed-off-by: Sunil Goutham Signed-off-by: Naveen Mamindlapalli --- drivers/net/ethernet/marvell/octeontx2/af/mbox.h |

[PATCH v8 21/22] perf arm_spe: Decode memory tagging properties

2020-11-10 Thread Leo Yan
From: Andre Przywara When SPE records a physical address, it can additionally tag the event with information from the Memory Tagging architecture extension. Decode the two additional fields in the SPE event payload. [leoy: Refined patch to use predefined macros] Signed-off-by: Andre Przywara

Re: [PATCH 01/30] drm/radeon/evergreen: Add comment for 'evergreen_page_flip()'s 'async' param

2020-11-10 Thread Lee Jones
On Tue, 10 Nov 2020, Alex Deucher wrote: > On Tue, Nov 10, 2020 at 2:31 PM Lee Jones wrote: > > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/gpu/drm/radeon/evergreen.c: In function ‘evergreen_gpu_init’: > > drivers/gpu/drm/radeon/evergreen.c:1419: warning: Function param

[PATCH v3 net-next 11/13] octeontx2-af: Handle PF-VF mac address changes

2020-11-10 Thread Naveen Mamindlapalli
From: Hariprasad Kelam This patch handles the VF mac address changes as given below. 1. mac addr configrued by VF will be retained until VF module unload. 2. mac addr configred by PF for VF will be retained until power cycle. 3. mac addr confgired by PF for its VF can't be overwritten

[PATCH v3 net-next 02/13] octeontx2-af: Verify MCAM entry channel and PF_FUNC

2020-11-10 Thread Naveen Mamindlapalli
From: Subbaraya Sundeep This patch adds support to verify the channel number sent by mailbox requester before writing MCAM entry for Ingress packets. Similarly for Egress packets, verifying the PF_FUNC sent by the mailbox user. Signed-off-by: Subbaraya Sundeep Signed-off-by: Kiran Kumar K Sign

[PATCH v8 10/22] perf arm-spe: Refactor address packet handling

2020-11-10 Thread Leo Yan
This patch is to refactor address packet handling, it defines macros for address packet's header and payload, these macros are used by decoder and the dump flow. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../util/arm-spe-decoder/arm-spe-decoder.c| 29 --- .../arm-sp

[PATCH v8 06/22] perf arm-spe: Refactor printing string to buffer

2020-11-10 Thread Leo Yan
When outputs strings to the decoding buffer with function snprintf(), SPE decoder needs to detects if any error returns from snprintf() and if so needs to directly bail out. If snprintf() returns success, it needs to update buffer pointer and reduce the buffer length so can continue to output the

[PATCH v8 04/22] perf arm-spe: Refactor arm_spe_get_events()

2020-11-10 Thread Leo Yan
In function arm_spe_get_events(), the event packet's 'index' is assigned as payload length, but the flow is not directive: it firstly gets the packet length from the return value of arm_spe_get_payload(), the value includes header length (1) and payload length: int ret = arm_spe_get_payload(buf,

[PATCH v8 02/22] perf arm-spe: Fix a typo in comment

2020-11-10 Thread Leo Yan
Fix a typo: s/iff/if. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c b/tools/perf/util/arm-spe-decoder/arm-spe

[PATCH v8 03/22] perf arm-spe: Refactor payload size calculation

2020-11-10 Thread Leo Yan
This patch defines macro to extract "sz" field from header, and renames the function payloadlen() to arm_spe_payload_len(). Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../util/arm-spe-decoder/arm-spe-pkt-decoder.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions

Re: [PATCH v4 bpf-next 4/5] bpf: load and verify kernel module BTFs

2020-11-10 Thread kernel test robot
Hi Andrii, I love your patch! Perhaps something to improve: [auto build test WARNING on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Andrii-Nakryiko/Integrate-kernel-module-BTF-support/20201110-095309 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git

Re: [PATCH 19/25] soc: qcom: smp2p: Remove unused struct attribute provide another

2020-11-10 Thread Lee Jones
On Tue, 10 Nov 2020, Bjorn Andersson wrote: > On Tue 03 Nov 09:28 CST 2020, Lee Jones wrote: > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/soc/qcom/smp2p.c:74: warning: Function parameter or member 'flags' > > not described in 'smp2p_smem_item' > > drivers/soc/qcom/sm

[PATCH v8 00/22] perf arm-spe: Refactor decoding & dumping flow

2020-11-10 Thread Leo Yan
This is patch set v8 for refactoring Arm SPE trace decoding and dumping. This version addresses Andre's comment to pass parameter '&buf_len' at the last call arm_spe_pkt_snprintf() in the function arm_spe_pkt_desc(). This patch set is cleanly applied on the top of perf/core branch with commit 644

[PATCH v4] hwmon: Add driver for STMicroelectronics PM6764 Voltage Regulator

2020-11-10 Thread Charles
Add the pmbus driver for the STMicroelectronics pm6764 voltage regulator. the output voltage use the MFR_READ_VOUT 0xD4 vout value returned is linear11 Signed-off-by: Charles Hsu --- v4:  - Add pm6764tr to Documentation/hwmon/index.rst. v3:  - Add Documentation(Documentation/hwmon/pm6764tr.rst

[PATCH v8 05/22] perf arm-spe: Fix packet length handling

2020-11-10 Thread Leo Yan
When processing address packet and counter packet, if the packet contains extended header, it misses to account the extra one byte for header length calculation, thus returns the wrong packet length. To correct the packet length calculation, one possible fixing is simply to plus extra 1 for extend

Re: [RFC PATCH 1/9] cxl/acpi: Add an acpi_cxl module for the CXL interconnect

2020-11-10 Thread Christoph Hellwig
On Tue, Nov 10, 2020 at 09:43:48PM -0800, Ben Widawsky wrote: > +menuconfig CXL_BUS > + tristate "CXL (Compute Express Link) Devices Support" > + help > + CXL is a bus that is electrically compatible with PCI-E, but layers > + three protocols on that signalling (CXL.io, CXL.cach

Re: [PATCH v4 1/1] applesmc: Re-work SMC comms

2020-11-10 Thread Brad Campbell
On 11/11/20 4:56 pm, Guenter Roeck wrote: > On 11/10/20 7:38 PM, Brad Campbell wrote: >> Commit fff2d0f701e6 ("hwmon: (applesmc) avoid overlong udelay()") >> introduced an issue whereby communication with the SMC became >> unreliable with write errors like : >> >> [ 120.378614] applesmc: send_byte

[PATCH v9 4/6] Bluetooth: Handle active scan case

2020-11-10 Thread Howard Chung
This patch adds code to handle the active scan during interleave scan. The interleave scan will be canceled when users start active scan, and it will be restarted after active scan stopped. Signed-off-by: Howard Chung Reviewed-by: Alain Michaud Reviewed-by: Manish Mandlik --- (no changes since

[PATCH v9 5/6] Bluetooth: Refactor read default sys config for various types

2020-11-10 Thread Howard Chung
Refactor read default system configuration function so that it's capable of returning different types than u16 Signed-off-by: Howard Chung --- (no changes since v8) Changes in v8: - Update the commit title and message net/bluetooth/mgmt_config.c | 140 +--- 1 f

[PATCH v9 6/6] Bluetooth: Add toggle to switch off interleave scan

2020-11-10 Thread Howard Chung
This patch add a configurable parameter to switch off the interleave scan feature. Reviewed-by: Alain Michaud Signed-off-by: Howard Chung --- Changes in v9: - Update and rename the macro TLV_GET_LE8 Changes in v7: - Fix bt_dev_warn arguemnt type warning Changes in v6: - Set EnableAdvMonInterl

[PATCH v9 3/6] Bluetooth: Handle system suspend resume case

2020-11-10 Thread Howard Chung
This patch adds code to handle the system suspension during interleave scan. The interleave scan will be canceled when the system is going to sleep, and will be restarted after waking up. Signed-off-by: Howard Chung Reviewed-by: Alain Michaud Reviewed-by: Manish Mandlik Reviewed-by: Abhishek Pa

[PATCH v9 2/6] Bluetooth: Interleave with allowlist scan

2020-11-10 Thread Howard Chung
This patch implements the interleaving between allowlist scan and no-filter scan. It'll be used to save power when at least one monitor is registered and at least one pending connection or one device to be scanned for. The durations of the allowlist scan and the no-filter scan are controlled by MG

[PATCH v9 1/6] Bluetooth: Replace BT_DBG with bt_dev_dbg in HCI request

2020-11-10 Thread Howard Chung
This replaces the BT_DBG function to bt_dev_dbg as it is cleaner to show the controller index in the debug message. Signed-off-by: Howard Chung --- Changes in v9: - Fix compile warning on patch 6/6 Changes in v8: - Simplified logic in __hci_update_interleaved_scan - Remove hdev->name when calli

Re: [PATCH 2/3] arm: introduce IRQ stacks

2020-11-10 Thread Tony Lindgren
* Arnd Bergmann [201110 13:35]: > On Tue, Nov 10, 2020 at 1:06 PM Tony Lindgren wrote: > > > > Are these actually ARMv6? Most ARM11 cores you'd come across > > > in practice are ARMv6K (ARM1136r1, ARM1167, ARM11MPCore), > > > in particular every SoC that has any mainline support except for > > >

Re: [PATCH] mm/zsmalloc: include sparsemem.h for MAX_PHYSMEM_BITS

2020-11-10 Thread Mike Rapoport
Hi, On Tue, Nov 10, 2020 at 03:36:20PM -0800, Minchan Kim wrote: > On Tue, Nov 10, 2020 at 06:21:55PM +0200, Mike Rapoport wrote: > > On Tue, Nov 10, 2020 at 12:21:11PM +0100, Arnd Bergmann wrote: > > > On Tue, Nov 10, 2020 at 10:58 AM Mike Rapoport wrote: > > > > > > > > > > > > asm/sparsemem.h

Re: [PATCH 1/3] md: improve variable names in md_flush_request()

2020-11-10 Thread Paul Menzel
Dear Pankaj, Thank you for the cleanups. Am 11.11.20 um 06:16 schrieb Pankaj Gupta: From: Pankaj Gupta This patch improves readability by using better variable names in flush request coalescing logic. Please do not indent the commit message. Signed-off-by: Pankaj Gupta --- drivers

Re: [PATCH -V2 2/2] autonuma: Migrate on fault among multiple bound nodes

2020-11-10 Thread Huang, Ying
Hi, Mel, Mel Gorman writes: > On Wed, Nov 04, 2020 at 01:36:58PM +0800, Huang, Ying wrote: >> > I've no specific objection to the patch or the name change. I can't >> > remember exactly why I picked the name, it was 8 years ago but I think it >> > was because the policy represented the most basi

[PATCH] clocksource/drivers/orion: add missing clk_disable_unprepare() on error path

2020-11-10 Thread Yang Yingliang
After calling clk_prepare_enable(), clk_disable_unprepare() need be called on error path. Fixes: fbe4b3566ddc ("clocksource/drivers/orion: Convert init function...") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/clocksource/timer-orion.c | 11 --- 1 file changed, 8 i

linux-next: Tree for Nov 11

2020-11-10 Thread Stephen Rothwell
Hi all, Changes since 20201110: New tree: stm32 The drivers-memory tree still had its build failure. The mac80211-next tree gained a build failure, so I used the version from next-20201110. The drm-misc tree lost its build failure. The akpm tree gained a build failure for which I applied a

[PATCH] drm/panel: add missing platform_driver_unregister() on error path

2020-11-10 Thread Yang Yingliang
If mipi_dsi_driver_register() failed, platform_driver_unregister() need be called. Fixes: 210fcd9d9cf1 ("drm/panel: Add support for Panasonic VVX10F004B0") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/gpu/drm/panel/panel-simple.c | 4 +++- 1 file changed, 3 insertions(+), 1

arch/sh/kernel/cpu/sh3/clock-sh7712.c:23:21: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-10 Thread kernel test robot
Hi Luc, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eccc876724927ff3b9ff91f36f7b6b159e948f0c commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 month

Re: [PATCHv7 2/7] iommu/arm-smmu: Add domain attribute for system cache

2020-11-10 Thread Sai Prakash Ranjan
On 2020-11-10 17:48, Will Deacon wrote: On Fri, Oct 30, 2020 at 02:53:09PM +0530, Sai Prakash Ranjan wrote: Add iommu domain attribute for using system cache aka last level cache by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache. Signed

Re: BUG: KASAN: global-out-of-bounds in soc_device_match on arm

2020-11-10 Thread Stephen Rothwell
32.127485] Read of size 4 at addr c21701f8 by task swapper/0/1 > [ 32.127508] > [ 32.127549] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W > 5.10.0-rc3-next-20201110 #2 > [ 32.127577] Hardware name: Generic DRA74X (Flattened Device Tree) > [ 32.127604] Backtrace: >

[RFC -V4] autonuma: Migrate on fault among multiple bound nodes

2020-11-10 Thread Huang Ying
Now, AutoNUMA can only optimize the page placement among the NUMA nodes if the default memory policy is used. Because the memory policy specified explicitly should take precedence. But this seems too strict in some situations. For example, on a system with 4 NUMA nodes, if the memory of an appli

[PATCH v2] Bluetooth: Enforce key size of 16 bytes on FIPS level

2020-11-10 Thread Archie Pusaka
From: Archie Pusaka According to the spec Ver 5.2, Vol 3, Part C, Sec 5.2.2.8: Device in security mode 4 level 4 shall enforce: 128-bit equivalent strength for link and encryption keys required using FIPS approved algorithms (E0 not allowed, SAFER+ not allowed, and P-192 not allowed; encryption k

fs/binfmt_flat.c:402:9: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-11-10 Thread kernel test robot
Hi Luc, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: eccc876724927ff3b9ff91f36f7b6b159e948f0c commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 2 month

[RFC PATCH 3/3] KVM: x86: Load guest fpu state when accessing MSRs managed by XSAVES

2020-11-10 Thread Yang Weijiang
From: Sean Christopherson When feature MSRs supported in XSS are passed through to the guest they are saved and restored by XSAVES/XRSTORS, i.e. in the guest's FPU state. Load the guest's FPU state if userspace is accessing MSRs whose values are managed by XSAVES so that the MSR helper, e.g. vmx

[RFC PATCH 1/3] KVM: x86: Add helpers for {set|clear} bits in supported_xss

2020-11-10 Thread Yang Weijiang
From: Sean Christopherson KVM supported XSS feature bits are designated in supported_xss, bits could be set/cleared dynamically, add helpers to facilitate the operation. Also add MSR_IA32_XSS to the list of MSRs reported to userspace if supported_xss is non-zero, i.e. KVM supports at least one XS

[RFC PATCH 0/3] Get supported_xss ready for XSS dependent

2020-11-10 Thread Yang Weijiang
Although supported_xss was added long time ago, yet it doesn't get ready for XSS dependent new features usage, e.g., when guest update XSS MSRs, it's necessary to update guest CPUID to reflect the correct info. So post this patchset to get things ready, or at least as a hint to maintainers that the

[RFC PATCH 2/3] KVM: x86: Refresh CPUID when guest modifies MSR_IA32_XSS

2020-11-10 Thread Yang Weijiang
Updated CPUID.0xD.0x1, which reports the current required storage size of all features enabled via XCR0 | XSS, when the guest's XSS is modified. Note, KVM does not yet support any XSS based features, i.e. supported_xss is guaranteed to be zero at this time. Co-developed-by: Zhang Yi Z Signed-off

BUG: KASAN: global-out-of-bounds in soc_device_match on arm

2020-11-10 Thread Naresh Kamboju
Comm: swapper/0 Tainted: GW 5.10.0-rc3-next-20201110 #2 [ 32.127577] Hardware name: Generic DRA74X (Flattened Device Tree) [ 32.127604] Backtrace: [ 32.127670] [] (dump_backtrace) from [] (show_stack+0x20/0x24) [ 32.127717] r9:0080 r8:c4208000 r7:c3023060 r6:4093 r5

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

2020-11-10 Thread Stephen Rothwell
Hi David, On Wed, 21 Oct 2020 12:47:33 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the notifications tree got conflicts in: > > arch/alpha/kernel/syscalls/syscall.tbl > arch/arm/tools/syscall.tbl > arch/arm64/include/asm/unistd32.h > arch/ia64/kernel/syscalls/syscall.t

[PATCH v15 3/9] ptp: Reorganize ptp_kvm module to make it arch-independent.

2020-11-10 Thread Jianyong Wu
Currently, ptp_kvm modules implementation is only for x86 which includes large part of arch-specific code. This patch moves all of this code into a new arch related file in the same directory. Signed-off-by: Jianyong Wu --- drivers/ptp/Makefile| 1 + drivers/ptp/ptp_kvm

  1   2   3   4   5   6   7   8   9   10   >