[PATCH v5 10/21] perf arm_spe: Fixup top byte for data virtual address

2020-10-29 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 v5 07/21] perf arm-spe: Refactor packet header parsing

2020-10-29 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 v5 08/21] perf arm-spe: Add new function arm_spe_pkt_desc_addr()

2020-10-29 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 | 50 --- 1 file cha

[PATCH v5 09/21] perf arm-spe: Refactor address packet handling

2020-10-29 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 v5 11/21] perf arm-spe: Refactor context packet handling

2020-10-29 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 v5 13/21] perf arm-spe: Refactor counter packet handling

2020-10-29 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 v5 17/21] perf arm-spe: Add new function arm_spe_pkt_desc_op_type()

2020-10-29 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 v5 20/21] perf arm_spe: Decode memory tagging properties

2020-10-29 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

[PATCH v5 14/21] perf arm-spe: Add new function arm_spe_pkt_desc_event()

2020-10-29 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 | 66 +++ 1 file changed, 38 insertions(+), 28 deletions(-) d

[PATCH v5 12/21] perf arm-spe: Add new function arm_spe_pkt_desc_counter()

2020-10-29 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 | 48 +++ 1 file changed, 29 insertions(+), 19 deleti

[PATCH v5 19/21] perf arm-spe: Add more sub classes for operation packet

2020-10-29 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

linux-next: Tree for Oct 29

2020-10-29 Thread Stephen Rothwell
Hi all, Changes since 20201028: The samsung-krzk-fixes tree gained a conflict against the arm-soc-fixes tree. The drm-misc tree gained a conflict against the drm-misc-fixes tree. The phy-next tree gained a conflict against the regulator-fixes tree. The staging tree gained a conflict against th

Re: [PATCH] ext4: Use generic casefolding support

2020-10-29 Thread Theodore Y. Ts'o
On Wed, Oct 28, 2020 at 05:08:20AM +, Daniel Rosenberg wrote: > This switches ext4 over to the generic support provided in libfs. > > Since casefolded dentries behave the same in ext4 and f2fs, we decrease > the maintenance burden by unifying them, and any optimizations will > immediately appl

GIT PULL] ext4 fixes for 5.10-rc2

2020-10-29 Thread Theodore Y. Ts'o
The following changes since commit 96485e4462604744d66bf4301557d996d80b85eb: Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2020-10-22 10:31:08 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.g

Re: [PATCH] [v2] x86: apic: avoid -Wshadow warning in header

2020-10-29 Thread Paolo Bonzini
On 28/10/20 22:20, Arnd Bergmann wrote: > Avoid this by renaming the global 'apic' variable to the more descriptive > 'x86_system_apic'. It was originally called 'genapic', but both that > and the current 'apic' seem to be a little overly generic for a global > variable. The 'apic' affects only th

[PATCH v5 16/21] perf arm-spe: Remove size condition checking for events

2020-10-29 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 v5 18/21] perf arm-spe: Refactor operation packet handling

2020-10-29 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

Re: [PATCH 20/33] docs: ABI: testing: make the files compatible with ReST output

2020-10-29 Thread Mauro Carvalho Chehab
Hi Richard, Em Wed, 28 Oct 2020 10:44:27 -0700 Richard Cochran escreveu: > On Wed, Oct 28, 2020 at 03:23:18PM +0100, Mauro Carvalho Chehab wrote: > > > diff --git a/Documentation/ABI/testing/sysfs-uevent > > b/Documentation/ABI/testing/sysfs-uevent > > index aa39f8d7bcdf..d0893dad3f38 100644 >

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

2020-10-29 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 v5 15/21] perf arm-spe: Refactor event type handling

2020-10-29 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

Re: [PATCH] char: misc: increase DYNAMIC_MINORS value

2020-10-29 Thread Greg KH
On Thu, Oct 29, 2020 at 03:28:55PM +0900, Sangmoon Kim wrote: > DYNAMIC_MINORS value has been set to 64. > Due to this reason, we are facing a module loading fail problem of > device driver like below. > > [ 45.712771] pdic_misc_init - return error : -16 > > We need to increase this value for

Re: [PATCH 0/3] KVM: x86/mmu: Add macro for hugepage GFN mask

2020-10-29 Thread Paolo Bonzini
On 28/10/20 16:29, Sean Christopherson wrote: > The naming and usage also aligns with the kernel, which defines PAGE, PMD and > PUD masks, and has near identical usage patterns. > > #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) > #define PAGE_MASK (~(PAGE_SIZE-1)) >

[PATCH v12 00/10] TCPM support for FRS and AutoDischarge Disconnect

2020-10-29 Thread Badhri Jagan Sridharan
Hi all, Addressed two comments in the series 1. From Rob Herring: Maxim parts are generally named 'maxim,max[0-9]+' https://lkml.org/lkml/2020/10/26/503 Changed all occurences of maxim,33359 to maxim,max33359. 2. Added a new patch to address warnings reported by Kernel test robot. https:

Re: [PATCH] Add devices for HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE

2020-10-29 Thread Greg KH
On Wed, Oct 28, 2020 at 04:51:13PM -0700, FirstName LastName wrote: > Kernel 5.4 introduces HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE, devices > need to be set explicitly with this flag. > > Signed-off-by: Chris Ye Your email client needs to be fixed, as your "name" up there is very odd :)

[PATCH 1/1] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

2020-10-29 Thread Anand K Mistry
On AMD CPUs which have the feature X86_FEATURE_AMD_STIBP_ALWAYS_ON, STIBP is set to on and 'spectre_v2_user_stibp == SPECTRE_V2_USER_STRICT_PREFERRED'. At the same time, IBPB can be set to conditional. However, this leads to the case where it's impossible to turn on IBPB for a process because in th

RE: [PATCH v2] ath10k: Fix the parsing error in service available event

2020-10-29 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Thursday, October 29, 2020 12:15 AM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; LKML ; Abhishek > Kumar ; Brian Norris > Subject: Re: [PATCH v2] ath10k: Fix the parsing error in service available > ev

Re: For review: seccomp_user_notif(2) manual page

2020-10-29 Thread Jann Horn
On Thu, Oct 29, 2020 at 3:13 AM Tycho Andersen wrote: > > > Consider the following scenario (with supervisor "S" and target "T"; S > > > wants to wait for events on two file descriptors seccomp_fd and > > > other_fd): > > > > > > S: starts poll() to wait for events on seccomp_fd and other_fd > > >

Re: [f2fs-dev] [PATCH v5 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-10-29 Thread Chao Yu
On 2020/10/29 12:15, Daeho Jeong wrote: From: Daeho Jeong Added a new F2FS_IOC_SET_COMPRESS_OPTION ioctl to change file compression option of a file. struct f2fs_comp_option { u8 algorithm; => compression algorithm => 0:lzo, 1:lz4, 2:zstd, 3:lzorle

Re: [PATCH v5 3/3] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-10-29 Thread kernel test robot
Hi Pavana, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on net-next/master net/master linus/master sparc-next/master v5.10-rc1 next-20201028] [If your patch is applied to the wrong git tree, kindly drop us a note. And

[PATCH] drm/hisilicon: Adding a const declaration to an invariant construct

2020-10-29 Thread Tian Tao
Some constructs cannot be changed after being assigned a value, so add const declarations to invariant constructs. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 2 +- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +- 2 files changed, 2 insertions(+), 2 delet

Re: [PATCH] pipe: fix potential inode leak in create_pipe_files()

2020-10-29 Thread Al Viro
On Wed, Oct 28, 2020 at 11:03:52AM +0800, Zhiqiang Liu wrote: > > In create_pipe_files(), if alloc_file_clone() fails, we will call > put_pipe_info to release pipe, and call fput() to release f. > However, we donot call iput() to free inode. Huh? Have you actually tried to trigger that failure e

[PATCH v5 3/6] spi: cadence-quadspi: Add multi-chipselect support for Intel LGM SoC

2020-10-29 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add multiple chipselect support for Intel LGM SoCs, currently QSPI-NOR and QSPI-NAND supported. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/spi/spi-cadence-quadspi.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/spi/sp

[PATCH v12 03/10] usb: typec: tcpm: Refactor logic for new-source-frs-typec-current

2020-10-29 Thread Badhri Jagan Sridharan
New source's current capability is now defined as string based device tree property through new-source-frs-typec-current. Refactor tcpm code to parse new-source-frs-typec-current and infer local port's new source current capability during frs. Signed-off-by: Badhri Jagan Sridharan --- v9 is the f

[PATCH] ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi

2020-10-29 Thread Dylan Hung
The HVI3C shall be a group of I3C function, not an independent function. Correct the function name from "HVI3C" to "I3C". Signed-off-by: Dylan Hung --- arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-g6-pin

Re: [f2fs-dev] [PATCH v5 1/2] f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl

2020-10-29 Thread Chao Yu
On 2020/10/29 12:15, Daeho Jeong wrote: From: Daeho Jeong Added a new F2FS_IOC_GET_COMPRESS_OPTION ioctl to get file compression option of a file. struct f2fs_comp_option { u8 algorithm; => compression algorithm => 0:lzo, 1:lz4, 2:zstd, 3:lzorle u8

Re: net/can/isotp.c:1240:13: sparse: sparse: incorrect type in initializer (different address spaces)

2020-10-29 Thread Marc Kleine-Budde
Hello, looks like sh is missing the some __user annotations so that sparse spwes these warnings. Adding sh maintainers to Cc. regards, Marc On 10/29/20 12:01 AM, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 23859ae44402

[PATCH v5 2/6] spi: cadence-quadspi: Disable the DAC for Intel LGM SoC

2020-10-29 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan On Intel Lightning Mountain(LGM) SoCs QSPI controller do not use Direct Access Controller(DAC). This patch adds a quirk to disable the Direct Access Controller for data transfer instead it uses indirect data transfer. Signed-off-by: Ramuthevar Vadivel Murugan

[PATCH v5 6/6] dt-bindings: spi: Add compatible for Intel LGM SoC

2020-10-29 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add compatible for Intel LGM SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- Documentation/devicetree/bindings/spi/cadence-quadspi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/cadence-quadspi.yaml b/Documen

Re: [PATCH v6 2/4] net: phy: Add 5GBASER interface mode

2020-10-29 Thread Marek Behun
On Thu, 29 Oct 2020 15:42:00 +1000 Pavana Sharma wrote: > Add new mode supported by MV88E6393 family. > This commit message isn't ideal. It infers that the Amethyst is first such device to implement this mode, which is not true. The 5gbase-r mode is supported by various other hardware, for exam

[PATCH v5 00/21] perf arm-spe: Refactor decoding & dumping flow

2020-10-29 Thread Leo Yan
This is patch set v5 for refactoring Arm SPE trace decoding and dumping. It follows Dave's suggestions to implement a cumulative error for function arm_spe_pkt_snprintf(); and fixed the patch 10 "perf arm_spe: Fixup top byte for data virtual address" for detecting kernel address with bits [55:52].

Re: [PATCH] cpufreq: schedutil: set sg_policy->next_freq to the final cpufreq

2020-10-29 Thread Viresh Kumar
Your mail client is screwing the "In-reply-to" field of the message and that prevents it to appear properly in the thread in mailboxes of other people, please fix that. On 29-10-20, 09:43, zhuguangqing83 wrote: > > diff --git a/kernel/sched/cpufreq_schedutil.c > > b/kernel/sched/cpufreq_schedutil

Re: [PATCH v2 0/5] Fix the gate2 and make it more flexible

2020-10-29 Thread Sascha Hauer
On Wed, Oct 28, 2020 at 02:58:57PM +0200, Abel Vesa wrote: > First version here: https://lkml.org/lkml/2020/10/26/988 > > Changes since v1: > * split the work in multiple iterative patches > > Abel Vesa (5): > clk: imx: gate2: Remove the IMX_CLK_GATE2_SINGLE_BIT special case > clk: imx: gate

Re: [PATCH] powerpc/eeh_cache: Fix a possible debugfs deadlock

2020-10-29 Thread Oliver O'Halloran
On Thu, Oct 29, 2020 at 2:27 AM Qian Cai wrote: > > Lockdep complains that a possible deadlock below in > eeh_addr_cache_show() because it is acquiring a lock with IRQ enabled, > but eeh_addr_cache_insert_dev() needs to acquire the same lock with IRQ > disabled. Let's just make eeh_addr_cache_show

############# Funding Projects / Investments

2020-10-29 Thread mr. Simsek Kadir
You have Funds available to invest into a Company or Individual that needs funds for a given percentage returns annually, Are you looking for funding or do you know a reliable Company/individual that need investment or project funding? If you have an existing or new investment project that needs f

Re: [PATCH v2 net] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-10-29 Thread Vishwanath Pai
On 10/28/20 10:37 PM, Yunsheng Lin wrote: > On 2020/10/29 4:04, Vishwanath Pai wrote: >> On 10/28/20 1:47 PM, Cong Wang wrote: >>> On Wed, Oct 28, 2020 at 8:37 AM Pai, Vishwanath wrote: Hi, We noticed some problems when testing the latest 5.4 LTS kernel and traced it back t

[PATCH v12 02/10] usb: typec: tcpci_maxim: Fix the compatible string

2020-10-29 Thread Badhri Jagan Sridharan
Changing compatible string to include the part number. Signed-off-by: Badhri Jagan Sridharan --- V11 is the first version of the patch. Introduced to add chip number to the compatible property to address Rob Herring's comment on dt-binding patch. Change since v11: Changed compatible property fro

mips-linux-ld: arch/mips/boot/compressed/decompress.c:(.text.LZ4_decompress_safe_withSmallPrefix+0xdc): undefined reference to `ftrace_likely_update'

2020-10-29 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 23859ae44402f4d935b9ee548135dd1e65e2cbf4 commit: ff487d41036035376e47972c7c522490b839ab37 MIPS: Truncate link address into 32bit for 32bit kernel date: 6 months ago config: mips-randconfig-c004-20201029

Re: [PATCH v2 3/4] dm: add support for passing through inline crypto support

2020-10-29 Thread Satya Tangirala
On Tue, Oct 27, 2020 at 05:17:31PM -0700, Eric Biggers wrote: > On Tue, Oct 27, 2020 at 11:58:47PM +, Satya Tangirala wrote: > > > > +/** > > > > + * blk_ksm_update_capabilities() - Update the restrictions of a KSM to > > > > those of > > > > + *another KSM > >

[PATCH v12 01/10] dt-bindings: usb: Maxim type-c controller device tree binding document

2020-10-29 Thread Badhri Jagan Sridharan
Add device tree binding document for Maxim 33359 Type-C chip driver Signed-off-by: Badhri Jagan Sridharan Reviewed-by: Rob Herring --- Changes since v1: - Changing patch version to v6 to fix version number confusion. Changes since v6: - Migrated to yaml format. Changes since v7: - Rebase on us

[PATCH V2 0/4] Enhancements to Tegra194 PCIe driver

2020-10-29 Thread Vidya Sagar
This series of patches do some enhancements and some bug fixes to the Tegra194 PCIe platform driver like - Fixing Vendor-ID corruption - Mapping DBI space correctly - Updating DWC IP version - Handling error conditions properly V2; * Addressed Rob's comments. Changed 'Strongly Ordered' to 'nGnRnE'

[PATCH V2 4/4] PCI: tegra: Handle error conditions properly

2020-10-29 Thread Vidya Sagar
Currently the driver checks for error value of different APIs during the uninitialization sequence. It just returns from there if there is any error observed for one of those calls. Comparatively it is better to continue the uninitialization sequence irrespective of whether some of them are returni

[PATCH v5 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-10-29 Thread Daeho Jeong
From: Daeho Jeong Added a new F2FS_IOC_SET_COMPRESS_OPTION ioctl to change file compression option of a file. struct f2fs_comp_option { u8 algorithm; => compression algorithm => 0:lzo, 1:lz4, 2:zstd, 3:lzorle u8 log_cluster_size; => log scale cluster si

[PATCH v5 04/21] perf arm-spe: Refactor arm_spe_get_events()

2020-10-29 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,

Re: [PATCH v6 3/4] net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell

2020-10-29 Thread Marek Behun
On Thu, 29 Oct 2020 15:42:29 +1000 Pavana Sharma wrote: > The Marvell 88E6393X device is a single-chip integration of a 11-port > Ethernet switch with eight integrated Gigabit Ethernet (GbE) transceivers > and three 10-Gigabit interfaces. > > This patch adds functionalities specific to mv88e6393

[PATCH v5 05/21] perf arm-spe: Fix packet length handling

2020-10-29 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: [PATCH v1 2/3] iommu: Fix an issue in iommu_page_response() flags check

2020-10-29 Thread Yi Sun
On 20-10-28 10:13:56, Jean-Philippe Brucker wrote: > Hi, > > On Wed, Oct 28, 2020 at 09:36:57AM +0800, Yi Sun wrote: > > From: Jacob Pan > > > > original code fails when LAST_PAGE is set in flags. > > LAST_PAGE is not documented to be a valid flags for page_response. > So isn't failing the righ

[PATCH v5 03/21] perf arm-spe: Refactor payload size calculation

2020-10-29 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

[PATCH v12 10/10] usb: typec: tcpci_maxim: Fix uninitialized return variable

2020-10-29 Thread Badhri Jagan Sridharan
New smatch warnings: drivers/usb/typec/tcpm/tcpci_maxim.c:324 max_tcpci_irq() error: uninitialized symbol 'irq_return'. drivers/usb/typec/tcpm/tcpci_maxim.c:407 max_tcpci_probe() warn: passing zero to 'PTR_ERR' The change fixes the above warnings by initializing irq_return and replacing IS_ERR_O

Re: [PATCH] opp: Reduce the size of critical section in _opp_table_kref_release()

2020-10-29 Thread Viresh Kumar
On 28-10-20, 16:32, Stephen Boyd wrote: > Quoting Viresh Kumar (2020-10-27 00:57:06) > > There is a lot of stuff here which can be done outside of the big > > opp_table_lock, do that. This helps avoiding few circular dependency > > lockdeps around debugfs and interconnects. > > > > Reported-by: Ro

[PATCH v5 4/6] spi: Move cadence-quadspi.txt to Documentation/devicetree/bindings/spi

2020-10-29 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Move the Documentation/devicetree/bindings/mtd/cadence-quadspi.txt to Documentation/devicetree/bindings/spi/ Signed-off-by: Ramuthevar Vadivel Murugan Acked-by: Rob Herring --- Documentation/devicetree/bindings/{mtd => spi}/cadence-quadspi.txt | 0 1 file cha

[PATCH v12 06/10] usb: typec: tcpci_maxim: Fix vbus stuck on upon diconnecting sink

2020-10-29 Thread Badhri Jagan Sridharan
Occasionally, POWER_STATUS.sourcing_vbus takes a while to clear after writing to MAX_BUCK_BOOST_OP register. This causes vbus to turn back on while disconnecting the sink. Overcome this issue by writing into MAX_BUCK_BOOST_OP during frs while sourcing vbu, instead of always into the register whene

[PATCH v5 1/6] spi: cadence-quadspi: Add QSPI support for Intel LGM SoC

2020-10-29 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add QSPI controller support for Intel LGM SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/spi/Kconfig | 2 +- drivers/spi/spi-cadence-quadspi.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig

Re: [RFC PATCH] irqchip/sifive-plic: Fix getting wrong chip_data when interrupt is hierarchy

2020-10-29 Thread Anup Patel
On Thu, Oct 29, 2020 at 8:07 AM Greentime Hu wrote: > > This oops is caused by a wrong chip_data and it is because plic_irq_unmask > uses irq_get_chip_data(irq_data->irq) to get the chip_data. However it may > get another irq_data with the same irq_data->irq if it is hierarchy. > > In this case, i

Re: [RFC PATCH kernel 1/2] irq: Add reference counting to IRQ mappings

2020-10-29 Thread Alexey Kardashevskiy
On 28/10/2020 03:09, Marc Zyngier wrote: Hi Alexey, On 2020-10-27 09:06, Alexey Kardashevskiy wrote: PCI devices share 4 legacy INTx interrupts from the same PCI host bridge. Device drivers map/unmap hardware interrupts via irq_create_mapping()/ irq_dispose_mapping(). The problem with that t

[PATCH v5 5/6] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2020-10-29 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Convert the cadence-quadspi.txt documentation to cadence-quadspi.yaml remove the cadence-quadspi.txt from Documentation/devicetree/bindings/spi/ Signed-off-by: Ramuthevar Vadivel Murugan --- .../devicetree/bindings/spi/cadence-quadspi.txt| 67 - .

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

2020-10-29 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,

Re: [PATCH 0/3] warn and suppress irqflood

2020-10-29 Thread Pingfan Liu
On Wed, Oct 28, 2020 at 12:58:41PM +0100, Thomas Gleixner wrote: > On Wed, Oct 28 2020 at 14:02, Pingfan Liu wrote: > > On Tue, Oct 27, 2020 at 3:59 AM Thomas Gleixner wrote: > >> Also Liu's patch only works if: > >> > >> 1) CONFIG_IRQ_TIME_ACCOUNTING is enabled > > > > I wonder whether it can n

[PATCH] power: supply: olpc_battery: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- arch/x86/platform/olpc/olpc-xo15-sci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo15-sci.c b/arch/x86/platform/olpc/olpc-xo15-sci.c index 85f4638764d6..716eefd73

linux-next: build failure after merge of the akpm-current tree

2020-10-29 Thread Stephen Rothwell
Hi all, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: lib/math/div64.c: In function 'mul_u64_u64_div_u64': lib/math/div64.c:202:6: error: implicit declaration of function 'ilog2' [-Werror=implicit-function-declaration] 202 | if (ilog

Re: [PATCH 0/4] Add sustainable OPP concept

2020-10-29 Thread Viresh Kumar
On 28-10-20, 14:08, Lukasz Luba wrote: > Hi all, > > This patch set introduces a concept of sustainable OPP, which then can be used > by kernel frameworks or governors for estimating system sustainable system > state. This kind of estimation is done e.g. in thermal governor Intelligent > Power All

Re: For review: seccomp_user_notif(2) manual page [v2]

2020-10-29 Thread Jann Horn
On Thu, Oct 29, 2020 at 3:04 AM Tycho Andersen wrote: > On Thu, Oct 29, 2020 at 02:42:58AM +0100, Jann Horn wrote: > > On Mon, Oct 26, 2020 at 10:55 AM Michael Kerrisk (man-pages) > > wrote: > > >static bool > > >getTargetPathname(struct seccomp_notif *req, int notifyFd, > > >

Re: [External] Re: [PATCH v2 07/19] mm/hugetlb: Free the vmemmap pages associated with each hugetlb page

2020-10-29 Thread Muchun Song
On Thu, Oct 29, 2020 at 7:42 AM Mike Kravetz wrote: > > On 10/26/20 7:51 AM, Muchun Song wrote: > > When we allocate a hugetlb page from the buddy, we should free the > > unused vmemmap pages associated with it. We can do that in the > > prep_new_huge_page(). > > > > Signed-off-by: Muchun Song >

Re: [f2fs-dev] [PATCH v5 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-10-29 Thread Daeho Jeong
f2fs_cops is a static variable. Do you wanna change this to global variable (extern)? 2020년 10월 29일 (목) 오후 4:29, Chao Yu 님이 작성: > > On 2020/10/29 12:15, Daeho Jeong wrote: > > From: Daeho Jeong > > > > Added a new F2FS_IOC_SET_COMPRESS_OPTION ioctl to change file > > compression option of a file.

[PATCH 0/1] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

2020-10-29 Thread Anand K Mistry
When attempting to do some performance testing of IBPB on and AMD platform, I noticed the IBPB instruction was never being issued, even though it was conditionally on and various seccomp protected processes were force enabling it. Turns out, on those AMD CPUs, STIBP is set to always-on and this was

[PATCH v5 02/21] perf arm-spe: Fix a typo in comment

2020-10-29 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 v12 05/10] usb: typec: tcpci: frs sourcing vbus callback

2020-10-29 Thread Badhri Jagan Sridharan
During FRS hardware autonomously starts to source vbus. Provide callback to perform chip specific operations. Signed-off-by: Badhri Jagan Sridharan Reviewed-by: Heikki Krogerus --- v9 is the first version of this patch in the series. Added to fix occasional bug of vbus turning back on when disco

Re: [PATCH v6 0/4] Add support for mv88e6393x family of Marvell

2020-10-29 Thread Marek Behun
On Thu, 29 Oct 2020 15:40:25 +1000 Pavana Sharma wrote: > Updated patchset. > > Split the patch to separate mv88e6393 changes from refactoring > serdes_get_lane. > Update Documentation before adding new mode. Pavana, the patch adding support for Amethyst has to be the last in the series. The pa

Re: [PATCH v2 net] net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc

2020-10-29 Thread Yunsheng Lin
On 2020/9/18 3:26, Cong Wang wrote: > On Fri, Sep 11, 2020 at 1:13 AM Yunsheng Lin wrote: >> >> On 2020/9/11 4:07, Cong Wang wrote: >>> On Tue, Sep 8, 2020 at 4:06 AM Yunsheng Lin wrote: Currently there is concurrent reset and enqueue operation for the same lockless qdisc when ther

Re: [PATCH RFC v2 4/4] Documentation: Change doc for split_lock_detect parameter

2020-10-29 Thread Randy Dunlap
On 10/28/20 1:28 PM, Fenghua Yu wrote: > Since #DB for bus lock detect changes the split_lock_detect parameter, > update the documentation for the changes. > > Signed-off-by: Fenghua Yu > Reviewed-by: Tony Luck > --- > .../admin-guide/kernel-parameters.txt | 47 +++ > 1

[PATCH v5 06/21] perf arm-spe: Refactor printing string to buffer

2020-10-29 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 v12 04/10] usb: typec: tcpm: frs sourcing vbus callback

2020-10-29 Thread Badhri Jagan Sridharan
During FRS hardware autonomously starts to source vbus. Provide callback to perform chip specific operations. Signed-off-by: Badhri Jagan Sridharan Reviewed-by: Heikki Krogerus --- Introduced in v9. Changes since v10: Added Reviewed-by: Heikki Krogerus Changes since v11: none --- drivers/usb/

Re: [External] Re: [PATCH 4/5] mm: memcg/slab: Fix root memcg vmstats

2020-10-29 Thread Muchun Song
On Thu, Oct 29, 2020 at 8:14 AM Roman Gushchin wrote: > > On Wed, Oct 28, 2020 at 10:56:20AM +0800, Muchun Song wrote: > > On Wed, Oct 28, 2020 at 2:48 AM Roman Gushchin wrote: > > > > > > On Tue, Oct 27, 2020 at 04:02:55PM +0800, Muchun Song wrote: > > > > If we reparent the slab objects to the

Re: [PATCH v2 1/2] bpf: don't rely on GCC __attribute__((optimize)) to disable GCSE

2020-10-29 Thread Arvind Sankar
On Wed, Oct 28, 2020 at 04:20:01PM -0700, Alexei Starovoitov wrote: > On Thu, Oct 29, 2020 at 12:10:52AM +0100, Ard Biesheuvel wrote: > > On Wed, 28 Oct 2020 at 23:59, Alexei Starovoitov > > wrote: > > > > > > On Wed, Oct 28, 2020 at 11:15:04PM +0100, Ard Biesheuvel wrote: > > > > On Wed, 28 Oct 2

[PATCH 10/25] ASoC: tegra: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/tegra/tegra30_i2s.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c index db5a8587bfa4..df55b90c3cf4 100644 --- a/sound

[PATCH 15/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_sai.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai.c b/sound/soc/stm/stm32_sai.c index 058757c721f0..40c9e554a3d7 100644 --- a/sound/soc/stm/stm

[rcu:dev.2020.10.26b 81/97] include/linux/srcutree.h:127:13: error: '___srcu_struct_ptrs' undeclared here (not in a function)

2020-10-29 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.10.26b head: 387807f02923dd87ad097a4245ddbd9d8079687d commit: c1370c128cf49147f1d4c670b7101134231b3dc5 [81/97] srcu: Avoid escaped section names config: x86_64-rhel (attached as .config) compiler: gcc-9 (Debi

[PATCH 11/25] ASoC: hdac: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/intel/skylake/skl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c index 8b993722f74e..da32d68080be 100644 --- a/sound

The Ultimate Takeover? (Fair Pay)

2020-10-29 Thread Ywe Cærlyn
The ultimate sales pitch seems to be the reconciliation of Arabic Script Quran, and Latin Script translation, with consideration to anti-synesthesia. This should give fair pay basis, and optimal business for the whole world, east and west. And the best thing ever for bitstreaming and indie OS

[rcu:dev.2020.10.26b] BUILD REGRESSION 387807f02923dd87ad097a4245ddbd9d8079687d

2020-10-29 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.10.26b branch HEAD: 387807f02923dd87ad097a4245ddbd9d8079687d kcsan: Fix encoding masks and regain address bit Error/Warning reports: https://lore.kernel.org/lkml/202010291100.dorngfyr-...@intel.com p

[PATCH 12/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_sai_sub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 3aa1cf262402..38dd7e30af1b 100644 --- a/sound

[PATCH 13/25] ASoC: stm32: spdifrx: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_spdifrx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c index 1bfa3b2ba974..40262ff0c588 100644 --- a/sound

[PATCH 17/25] ASoC: hdac_hdmi: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/hdac_hdmi.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/hdac_hdmi.c b/sound/soc/codecs/hdac_hdmi.c index 2c1305bf0572..92111561a041 100644 --- a/sound/

[PATCH 14/25] ASoC: stm32: i2s: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/stm/stm32_i2s.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_i2s.c b/sound/soc/stm/stm32_i2s.c index 7c4d63c33f15..138acfb26882 100644 --- a/sound/soc/stm/stm

[PATCH 16/25] ASoC: sirf: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/sirf/sirf-usp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/sirf/sirf-usp.c b/sound/soc/sirf/sirf-usp.c index 2af0c6f14ee6..ae2890827414 100644 --- a/sound/soc/sirf/si

[PATCH 18/25] ASoC: codecs: max98373: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/max98373-i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98373-i2c.c b/sound/soc/codecs/max98373-i2c.c index 92921e34f948..f847e7e76635 100644 --- a

[PATCH 19/25] ASoC: sirf-audio: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/sirf-audio-codec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/sirf-audio-codec.c b/sound/soc/codecs/sirf-audio-codec.c index a061d78473ac..b6a101ec6e7c

[PATCH 23/25] ASoC: ts3a227e: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/ts3a227e.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c index 3ed3b45fa7ba..95d17cf7695a 100644 --- a/sound/soc/c

Re: [PATCH 2/2] usb: dwc3: gadget: Preserve UDC max speed setting

2020-10-29 Thread Thinh Nguyen
Thinh Nguyen wrote: > Wesley Cheng wrote: >> On 10/28/2020 5:43 PM, Thinh Nguyen wrote: >>> Hi, >>> >>> Wesley Cheng wrote: The USB gadget/UDC driver can restrict the DWC3 controller speed using dwc3_gadget_set_speed(). Store this setting into a variable, in order for this setting t

[PATCH 22/25] ASoC: max98927: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/max98927.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 8b206ee77709..48c6aa78a410 100644 --- a/sound/soc/c

[PATCH 24/25] ASoC: wm8994: remove unnecessary CONFIG_PM_SLEEP

2020-10-29 Thread Coiby Xu
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/wm8994.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index fc9ea198ac79..9294ad06f76d 100644 --- a/sound/soc/codecs/

  1   2   3   4   5   6   7   8   9   10   >