Re: [RESEND PATCH v3 08/20] mtd: spi-nor: Split spi_nor_init_params()

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > Add functions to delimit what the chunks of code do: > > static void spi_nor_init_params() > { > spi_nor_info_init_params() > spi_nor_manufacturer_init_params() > spi_nor_sfdp_init_params() >

Re: [linux-sunxi] [PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread Code Kipper
On Tue, 27 Aug 2019 at 06:13, Chen-Yu Tsai wrote: > > On Tue, Aug 27, 2019 at 2:07 AM wrote: > > > > From: Marcus Cooper > > > > The regmap configuration is set up for the legacy block on the > > A83T whereas it uses the new block with a larger register map. > > Looking at the code Allwinner

Re: [RESEND PATCH v3 07/20] mtd: spi_nor: Move manufacturer quad_enable() in ->default_init()

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > The goal is to move the quad_enable manufacturer specific init in the > nor->manufacturer->fixups->default_init() > > The legacy quad_enable() implementation is spansion_quad_enable(), > select this method by

Re: [RFC PATCH v2 1/3] x86/mm/tlb: Change __flush_tlb_one_user interface

2019-08-26 Thread Juergen Gross
On 26.08.19 18:38, Nadav Amit wrote: On Aug 26, 2019, at 12:51 AM, Juergen Gross wrote: On 24.08.19 00:52, Nadav Amit wrote: __flush_tlb_one_user() currently flushes a single entry, and flushes it both in the kernel and user page-tables, when PTI is enabled. Change __flush_tlb_one_user() and

linux-next: build failure after merge of the phy-next tree

2019-08-26 Thread Stephen Rothwell
I have used the phy-next tree from next-20190826 for today. -- Cheers, Stephen Rothwell pgpcsCZMbwn6u.pgp Description: OpenPGP digital signature

Re: [PATCH V5 1/3] riscv: Add perf callchain support

2019-08-26 Thread Guo Ren
We need know the values of *regs, eg: regs->sepc, regs->ra, regs->fp, regs->sp, regs->tp void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs) { ... walk_stackframe(, entry); // May be we could detect error here and print the regs' value } On Mon, Aug 26,

Re: [RESEND PATCH v3 05/20] mtd: spi-nor: Add default_init() hook to tweak flash parameters

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > As of now, the flash parameters initialization logic is as following: > > a/ default flash parameters init in spi_nor_init_params() > b/ manufacturer specific flash parameters updates, split across entire >

Re: [RESEND PATCH v3 06/20] mtd: spi-nor: Add a default_init() fixup hook for gd25q256

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Boris Brezillon > > gd25q256 needs to tweak the ->quad_enable() implementation and the > ->default_init() fixup hook is the perfect place to do that. This way, > if we ever need to tweak more things for this flash, we won't have

Re: [PATCH] ext4: change the type of ext4 cache stats to percpu_counter to improve performance

2019-08-26 Thread Shaokun Zhang
Hi Theodore, On 2019/8/26 23:57, Theodore Y. Ts'o wrote: > On Mon, Aug 26, 2019 at 04:24:20PM +0800, Shaokun Zhang wrote: >>> The other problem with this patch is that it initializes >>> es_stats_cache_hits and es_stats_cache_miesses too late. They will >>> get used when the journal inode is

Re: PageBlocks and Migrate Types

2019-08-26 Thread Michal Hocko
On Mon 26-08-19 22:35:08, Pankaj Suryawanshi wrote: > On Mon, Aug 26, 2019 at 12:34 PM Michal Hocko wrote: > > > > On Thu 22-08-19 23:54:19, Pankaj Suryawanshi wrote: > > > On Thu, Aug 22, 2019 at 6:22 PM Michal Hocko wrote: > > > > > > > > On Wed 21-08-19 22:23:44, Pankaj Suryawanshi wrote: > >

Re: [RESEND PATCH v3 04/20] mtd: spi-nor: Move erase_map to 'struct spi_nor_flash_parameter'

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > All flash parameters and settings should reside inside > 'struct spi_nor_flash_parameter'. Move the SMPT parsed erase map > from 'struct spi_nor' to 'struct spi_nor_flash_parameter'. > > Please note that there

[PATCH 1/2] mm: Don't manually decrement num_poisoned_pages

2019-08-26 Thread Alastair D'Silva
From: Alastair D'Silva Use the function written to do it instead. Signed-off-by: Alastair D'Silva --- mm/sparse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mm/sparse.c b/mm/sparse.c index 72f010d9bff5..e41917a7e844 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@

[PATCH 2/2] mm: don't hide potentially null memmap pointer in sparse_remove_section

2019-08-26 Thread Alastair D'Silva
From: Alastair D'Silva By adding offset to memmap before passing it in to clear_hwpoisoned_pages, we hide a theoretically null memmap from the null check inside clear_hwpoisoned_pages. This patch passes the offset to clear_hwpoisoned_pages instead, allowing memmap to successfully perform it's

[PATCH 0/2] mm: Minor cleanup

2019-08-26 Thread Alastair D'Silva
From: Alastair D'Silva This series addresses some minor issues & obsoletes: mm: Cleanup & allow modules to hotplug memory Alastair D'Silva (2): mm: Don't manually decrement num_poisoned_pages mm: don't hide potentially null memmap pointer in sparse_remove_section mm/sparse.c | 13

Re: [RESEND PATCH v3 00/20] mtd: spi-nor: move manuf out of the core

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus [...] > > Tested on sst26vf064b with atmel-quadspi SPIMEM driver. > Tested s25fl256s, mx66l51235l with ti-qspi and s25fl512s with cadence-quadspi. n25q128a13 with legacy 1 bit SPI controller. > Boris Brezillon

[PATCH] powerpc: Perform a bounds check in arch_add_memory

2019-08-26 Thread Alastair D'Silva
From: Alastair D'Silva It is possible for firmware to allocate memory ranges outside the range of physical memory that we support (MAX_PHYSMEM_BITS). This patch adds a bounds check to ensure that any hotplugged memory is addressable. Signed-off-by: Alastair D'Silva --- arch/powerpc/mm/mem.c

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-26 Thread Masahiro Yamada
On Mon, Aug 26, 2019 at 8:35 PM Christoph Hellwig wrote: > > On Wed, Aug 21, 2019 at 06:26:58PM +0900, Masahiro Yamada wrote: > > Use the standard obj-y form to specify the sub-directories under > > arch/riscv/. No functional change intended. > > > > Signed-off-by: Masahiro Yamada > > Do you

Re: [PATCH] rpmsg: virtio_rpmsg_bus: replace "%p" with "%pK"

2019-08-26 Thread Bjorn Andersson
On Fri 09 Aug 13:25 PDT 2019, Suman Anna wrote: > Hi Bjorn, > Hi Suman > On 10/23/18 8:19 PM, Suman Anna wrote: > > The virtio_rpmsg_bus driver uses the "%p" format-specifier for > > printing the vring buffer address. This prints only a hashed > > pointer even for previliged users. Use "%pK"

[PATCH v2 2/2] macb: Update compatibility string for SiFive FU540-C000

2019-08-26 Thread Yash Shah
Update the compatibility string for SiFive FU540-C000 as per the new string updated in the binding doc. Reference: https://lore.kernel.org/netdev/caj2_jofevzqat0yprg4hem4jrrqkb72fkseqj4p8p5ka-+r...@mail.gmail.com/ Signed-off-by: Yash Shah Acked-by: Nicolas Ferre Reviewed-by: Paul Walmsley

[PATCH v2 1/2] macb: bindings doc: update sifive fu540-c000 binding

2019-08-26 Thread Yash Shah
As per the discussion with Nicolas Ferre[0], rename the compatible property to a more appropriate and specific string. [0] https://lore.kernel.org/netdev/caj2_jofevzqat0yprg4hem4jrrqkb72fkseqj4p8p5ka-+r...@mail.gmail.com/ Signed-off-by: Yash Shah Acked-by: Nicolas Ferre Reviewed-by: Paul

[PATCH v2 0/2] Update ethernet compatible string for SiFive FU540

2019-08-26 Thread Yash Shah
This patch series renames the compatible property to a more appropriate string. The patchset is based on Linux-5.3-rc6 and tested on SiFive Unleashed board Change history: Since v1: - Dropped PATCH3 because it's already merged - Change the reference url in the patch descriptions to point to a

Re: [PATCH v6 4/4] media: venus: Update core selection

2019-08-26 Thread amasule
Hi, On 2019-07-29 15:16, Stanimir Varbanov wrote: Hi, On 7/22/19 12:07 PM, Aniket Masule wrote: Present core assignment is static. Introduced load balancing across the cores. Load on earch core is calculated and core with minimum load is assigned to given instance. Signed-off-by: Aniket

Re: [PATCH v6 3/4] media: venus: Update to bitrate based clock scaling

2019-08-26 Thread amasule
Hi Stan, On 2019-07-29 17:08, Stanimir Varbanov wrote: Hi, On 7/22/19 12:07 PM, Aniket Masule wrote: Introduced clock scaling using bitrate, preavious calculations consider only the cycles per mb. Also, clock scaling is now triggered before every buffer being queued to the device. This helps

Re: [PATCH v6 2/4] media: venus: Update clock scaling

2019-08-26 Thread amasule
Hi Stan, On 2019-07-29 14:05, Stanimir Varbanov wrote: Hi Aniket, On 7/22/19 12:07 PM, Aniket Masule wrote: Current clock scaling calculations are same for vpu4 and previous versions. For vpu4, Clock scaling calculations are updated with cycles/mb. This helps in getting precise clock

[v4] rtc: pcf85363/pcf85263: fix error that failed to run hwclock -w

2019-08-26 Thread Biwen Li
Issue: - # hwclock -w hwclock: RTC_SET_TIME: Invalid argument Why: - Relative commit: 8b9f9d4dc511309918c4f6793bae7387c0c638af, this patch will always check for unwritable registers, it will compare reg with max_register in regmap_writeable. - In

Re: [RESEND PATCH v3 03/20] mtd: spi-nor: Drop quad_enable() from 'struct spi-nor'

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > All flash parameters and settings should reside inside > 'struct spi_nor_flash_parameter'. Drop the local copy of > quad_enable() and use the one from 'struct spi_nor_flash_parameter'. > > Signed-off-by: Tudor

Re: [PATCH v2 2/2] arm: Add DRM_MSM to defconfigs with ARCH_QCOM

2019-08-26 Thread Bjorn Andersson
On Thu 22 Aug 23:52 PDT 2019, Linus Walleij wrote: > On Tue, Aug 13, 2019 at 4:46 PM Jordan Crouse wrote: > > > Now that CONFIG_DRM_MSM is no longer default 'y' add it as a module to all > > ARCH_QCOM enabled defconfigs to restore the previous expected build > > behavior. > > > > Signed-off-by:

Re: [RESEND PATCH v3 02/20] mtd: spi-nor: Use nor->params

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > The Flash parameters and settings are now stored in 'struct spi_nor'. > Use this instead of the stack allocated params. > > Few functions stop passing pointer to params, as they can get it from > 'struct

RE: [PATCH 2/4] mdev: Make mdev alias unique among all mdevs

2019-08-26 Thread Parav Pandit
Hi Mark, > -Original Message- > From: Mark Bloch > Sent: Tuesday, August 27, 2019 4:32 AM > To: Parav Pandit ; alex.william...@redhat.com; Jiri > Pirko ; kwankh...@nvidia.com; coh...@redhat.com; > da...@davemloft.net > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: [PATCH v5 2/4] clk: qcom: clk-rpmh: Convert to parent data scheme

2019-08-26 Thread Bjorn Andersson
On Mon 26 Aug 10:31 PDT 2019, Vinod Koul wrote: > Convert the rpmh clock driver to use the new parent data scheme by > specifying the parent data for board clock. > > Signed-off-by: Vinod Koul Reviewed-by: Bjorn Andersson > --- > drivers/clk/qcom/clk-rpmh.c | 10 -- > 1 file

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-26 Thread Yang Shi
On 8/26/19 12:43 AM, Michal Hocko wrote: On Thu 22-08-19 08:33:40, Yang Shi wrote: On 8/22/19 1:04 AM, Michal Hocko wrote: On Thu 22-08-19 01:55:25, Yang Shi wrote: [...] And, they seems very common with the common workloads when THP is enabled. A simple run with MariaDB test of mmtest

RE: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-26 Thread Parav Pandit
> -Original Message- > From: Alex Williamson > Sent: Tuesday, August 27, 2019 7:15 AM > To: Parav Pandit > Cc: Jiri Pirko ; kwankh...@nvidia.com; > coh...@redhat.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re:

Re: [RESEND PATCH v3 01/20] mtd: spi-nor: Regroup flash parameter and settings

2019-08-26 Thread Vignesh Raghavendra
On 26/08/19 5:38 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > The scope is to move all [FLASH-SPECIFIC] parameters and settings > from 'struct spi_nor' to 'struct spi_nor_flash_parameter'. > > 'struct spi_nor_flash_parameter' describes the hardware capabilities > and

Re: [linux-sunxi] [PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread Chen-Yu Tsai
On Tue, Aug 27, 2019 at 2:07 AM wrote: > > From: Marcus Cooper > > The regmap configuration is set up for the legacy block on the > A83T whereas it uses the new block with a larger register map. Looking at the code Allwinner previously released [1], that doesn't seem to be the case. Keep in

Re: [RESEND, PATCH v13 09/12] soc: mediatek: cmdq: define the instruction struct

2019-08-26 Thread Bibby Hsieh
On Fri, 2019-08-23 at 15:50 +0200, Matthias Brugger wrote: > > On 20/08/2019 10:49, Bibby Hsieh wrote: > > Define an instruction structure for gce driver to append command. > > This structure can make the client's code more readability. > > > > Signed-off-by: Bibby Hsieh > > Reviewed-by: CK Hu

Re: [RESEND, PATCH v13 10/12] soc: mediatek: cmdq: add polling function

2019-08-26 Thread Bibby Hsieh
On Fri, 2019-08-23 at 16:05 +0200, Matthias Brugger wrote: > > On 20/08/2019 10:49, Bibby Hsieh wrote: > > add polling function in cmdq helper functions > > > > Signed-off-by: Bibby Hsieh > > Reviewed-by: CK Hu > > --- > > drivers/soc/mediatek/mtk-cmdq-helper.c | 28

Re: [PATCH] platform/chrome: cros_ec_rpmsg: Add host command AP sleep state support

2019-08-26 Thread Pi-Hsun Shih
Tested that with this patch, SCP does receive host command from AP while AP goes to suspend and back. Tested-by: Pi-Hsun Shih On Fri, Aug 23, 2019 at 3:36 AM Enric Balletbo i Serra wrote: > > Hi, > > On 14/8/19 10:17, Yilun Lin wrote: > > Add EC host command to inform EC of AP suspend/resume

[PATCH v2 2/3] mtd: spi-nor: cadence-quadspi: disable DMA and DAC for Intel LGM

2019-08-26 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan on Intel's Lightning Mountain(LGM) SoCs QSPI controller do not use Direct Memory Access(DMA) and Direct Access Controller(DAC). This patch introduces to properly disable the DMA and DAC for data transfer instead it uses indirect data transfer. Signed-off-by:

[PATCH v2 3/3] mtd: spi-nor: cadence-quadspi: disable the auto-poll for Intel LGM

2019-08-26 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan On Intel's Lightning Mountain(LGM) SoC QSPI controller do not auto-poll. This patch introduces to properly disable the auto-polling feature to improve the performance of cadence-quadspi. Signed-off-by: Ramuthevar Vadivel Murugan ---

Re: [RESEND, PATCH v13 11/12] soc: mediatek: cmdq: add cmdq_dev_get_client_reg function

2019-08-26 Thread Bibby Hsieh
On Fri, 2019-08-23 at 16:21 +0200, Matthias Brugger wrote: > > On 20/08/2019 10:49, Bibby Hsieh wrote: > > GCE cannot know the register base address, this function > > can help cmdq client to get the cmdq_client_reg structure. > > > > Signed-off-by: Bibby Hsieh > > Reviewed-by: CK Hu > > --- >

[PATCH v2 1/3] dt-bindings: mtd: cadence-qspi:add support for Intel lgm-qspi

2019-08-26 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add new vendor specific compatible string to check Intel's Lightning Mountain(LGM) QSPI features enablement in cadence-quadspi driver. Signed-off-by: Ramuthevar Vadivel Murugan --- Documentation/devicetree/bindings/mtd/cadence-quadspi.txt | 1 + 1 file

[PATCH v2 0/3] dt-bindings: mtd: cadence-qspi:add support for Intel lgm-qspi

2019-08-26 Thread Ramuthevar,Vadivel MuruganX
mtd: spi-nor: cadence-quadspi: disable DMA and DAC for Intel LGM mtd: spi-nor: cadence-quadspi: disable the auto-poll for Intel LGM changes from V1: - many thanks to Vignesh for review comments. - split 2 patches one for DMA and DAC and other one is disable the auto-poll - removed

[PATCH] ASoC: imx-audmix: register the card on a proper dev

2019-08-26 Thread Shengjiu Wang
This platform device is registered from "fsl_audmix", which is its parent device. If use pdev->dev.parent for the priv->card.dev, the value set by dev_set_drvdata in parent device will be covered by the value in child device. Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine driver")

Re: [PATCH 4/4] iio: adc: ina2xx: Use label proper for device identification

2019-08-26 Thread Phil Reid
On 26/08/2019 02:07, Jonathan Cameron wrote: On Wed, 21 Aug 2019 11:12:00 +0200 Michal Simek wrote: On 21. 08. 19 4:11, Phil Reid wrote: On 20/08/2019 22:11, Michal Simek wrote: Add support for using label property for easier device identification via iio framework. Signed-off-by: Michal

Re: [PATCH] net: intel: Cleanup e1000 - add space between }}

2019-08-26 Thread Joe Perches
On Mon, 2019-08-26 at 01:03 -0700, Jeff Kirsher wrote: > On Fri, 2019-08-23 at 19:14 +, Forrest Fleming wrote: > > suggested by checkpatch > > > > Signed-off-by: Forrest Fleming > > --- > > .../net/ethernet/intel/e1000/e1000_param.c| 28 +-- > > 1 file changed, 14

Re: [PATCH] clk: Evict unregistered clks from parent caches

2019-08-26 Thread Sai Prakash Ranjan
On 2019-08-27 05:13, Stephen Boyd wrote: We leave a dangling pointer in each clk_core::parents array that has an unregistered clk as a potential parent when that clk_core pointer is freed by clk{_hw}_unregister(). It is impossible for the true parent of a clk to be set with clk_set_parent() once

RE: [PATCH 3/4] mdev: Expose mdev alias in sysfs tree

2019-08-26 Thread Parav Pandit
> -Original Message- > From: Alex Williamson > Sent: Tuesday, August 27, 2019 7:24 AM > To: Parav Pandit > Cc: Jiri Pirko ; kwankh...@nvidia.com; > coh...@redhat.com; da...@davemloft.net; k...@vger.kernel.org; linux- > ker...@vger.kernel.org; net...@vger.kernel.org > Subject: Re:

RE: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-26 Thread Anson Huang
Hi, Rui > On Tue, 2019-08-27 at 01:51 +, Anson Huang wrote: > > > On 7/30/2019 5:31 AM, anson.hu...@nxp.com wrote: > > > > From: Anson Huang > > > > > > > > Some platforms like i.MX8MQ has clock control for this module, > > > > need to add clock operations to make sure the driver is working

Re: NVME timeout causing system hangs

2019-08-26 Thread Ashton Holmes
I tried looking around for the firmware online but couldn't find it, contacting adata ended up dead ending me, they said I can't find it because there hasn't ever been an firmware updates for this drive and am recommending I RMA it. Is there anything I can do to further troubleshoot this and

[GIT PULL] SOC: TI soc updates for 5.4

2019-08-26 Thread Santosh Shilimkar
The following changes since commit 609488bc979f99f805f34e9a32c1e3b71179d10b: Linux 5.3-rc2 (2019-07-28 12:47:02 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git tags/drivers_soc_for_5.4 for you to fetch changes up to

[PATCH -next] net: mlx5: Kconfig: Fix MLX5_CORE_EN dependencies

2019-08-26 Thread Mao Wenan
When MLX5_CORE_EN=y and PCI_HYPERV_INTERFACE is not set, below errors are found: drivers/net/ethernet/mellanox/mlx5/core/en_main.o: In function `mlx5e_nic_enable': en_main.c:(.text+0xb649): undefined reference to `mlx5e_hv_vhca_stats_create' drivers/net/ethernet/mellanox/mlx5/core/en_main.o: In

Re: [PATCH v2 3/3] dwc: PCI: intel: Intel PCIe RC controller driver

2019-08-26 Thread Chuan Hua, Lei
Hi Martin, Thanks for your feedback. Please check the comments below. On 8/27/2019 5:15 AM, Martin Blumenstingl wrote: Hello, On Mon, Aug 26, 2019 at 5:31 AM Chuan Hua, Lei wrote: Hi Martin, Thanks for your valuable comments. I reply some of them as below. you're welcome [...] +config

Re: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-26 Thread Zhang Rui
On Tue, 2019-08-27 at 01:51 +, Anson Huang wrote: > > On 7/30/2019 5:31 AM, anson.hu...@nxp.com wrote: > > > From: Anson Huang > > > > > > Some platforms like i.MX8MQ has clock control for this module, > > > need to > > > add clock operations to make sure the driver is working properly. > >

Re: [tip: x86/cpu] x86/cpu/intel: Fix rename fallout

2019-08-26 Thread kbuild test robot
Hi tip-bot2, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190826] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

[PATCH 2/2] reiserfs: remove set but not used variable in do_balan.c

2019-08-26 Thread Jason Yan
Fix the following gcc warning: fs/reiserfs/do_balan.c: In function balance_leaf_insert_right: fs/reiserfs/do_balan.c:629:6: warning: variable ret set but not used [-Wunused-but-set-variable] Signed-off-by: Jason Yan --- fs/reiserfs/do_balan.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH 1/2] reiserfs: remove set but not used variable in journal.c

2019-08-26 Thread Jason Yan
Fix the following gcc warning: fs/reiserfs/journal.c: In function flush_used_journal_lists: fs/reiserfs/journal.c:1791:6: warning: variable ret set but not used [-Wunused-but-set-variable] Signed-off-by: Jason Yan --- fs/reiserfs/journal.c | 7 +++ 1 file changed, 3 insertions(+), 4

[PATCH] dt-bindings: Clarify interrupts-extended usage

2019-08-26 Thread Stephen Boyd
Reading the description about when to use interrupts-extended leads some developers to think that it shouldn't be used unless a device has interrupts from more than one interrupt controller. This isn't true. We should encourage devicetree writers to use this property in situations where it isn't

Re: kernel/bpf/core.o: warning: objtool: ___bpf_prog_run.cold()+0x7: call without frame pointer save/setup

2019-08-26 Thread He Zhe
On 8/26/19 11:11 PM, Greg KH wrote: > On Mon, Aug 26, 2019 at 10:42:53PM +0800, He Zhe wrote: >> Hi All, >> >> Since 3193c0836f20 ("bpf: Disable GCC -fgcse optimization for >> ___bpf_prog_run()"), >> We have got the following warning, >> kernel/bpf/core.o: warning: objtool:

Re: [PATCH] sched/fair: don't assign runtime for throttled cfs_rq

2019-08-26 Thread Liangyan
On 19/8/27 上午1:38, bseg...@google.com wrote: Valentin Schneider writes: On 23/08/2019 21:00, bseg...@google.com wrote: [...] Could you mention in the message that this a throttled cfs_rq can have account_cfs_rq_runtime called on it because it is throttled before idle_balance, and the

[PATCH] tracing: Fix histogram referencing a variable

2019-08-26 Thread Steven Rostedt
From: Steven Rostedt (VMware) I performed a three way histogram with the following commands: echo 'irq_lat u64 lat pid_t pid' > synthetic_events echo 'wake_lat u64 lat u64 irqlat pid_t pid' >> synthetic_events echo 'hist:keys=common_pid:irqts=common_timestamp.usecs if function ==

Re: [PATCH v2 1/2] ASoC: es8316: fix headphone mixer volume table

2019-08-26 Thread Daniel Drake
On Mon, Aug 26, 2019 at 11:39 PM Katsuhiro Suzuki wrote: > > This patch fix setting table of Headphone mixer volume. > Current code uses 4 ... 7 values but these values are prohibited. > > Correct settings are the following: > -12dB > 0001 -10.5dB > 0010 -9dB > 0011 -7.5dB > 0100

Re: [PATCH v2 2/2] ASoC: es8316: fix inverted L/R of headphone mixer volume

2019-08-26 Thread Daniel Drake
On Mon, Aug 26, 2019 at 11:39 PM Katsuhiro Suzuki wrote: > > This patch fixes inverted Left-Right channel of headphone mixer > volume by wrong shift_left, shift_right values. > > Signed-off-by: Katsuhiro Suzuki Agrees with the spec Reviewed-by: Daniel Drake

Re: [PATCH v2] RISC-V: Fix FIXMAP area corruption on RV32 systems

2019-08-26 Thread Anup Patel
On Tue, Aug 27, 2019 at 5:43 AM Paul Walmsley wrote: > > Hello Anup, > > On Mon, 19 Aug 2019, Anup Patel wrote: > > > Currently, various virtual memory areas of Linux RISC-V are organized > > in increasing order of their virtual addresses is as follows: > > 1. User space area (This is lowest area

Re: [PATCH v2] ACPI / CPPC: do not require the _PSD method when using CPPC

2019-08-26 Thread Al Stone
On 8/26/19 5:02 PM, Rafael J. Wysocki wrote: > On Tue, Aug 27, 2019 at 12:30 AM Al Stone wrote: >> >> According to the ACPI 6.3 specification, the _PSD method is optional >> when using CPPC. The underlying assumption is that each CPU can change >> frequency independently from all other CPUs;

Re: [PATCH v2 2/2] reset: Reset controller driver for Intel LGM SoC

2019-08-26 Thread Chuan Hua, Lei
Hi Martin, Please check the reply below. On 8/27/2019 5:49 AM, Martin Blumenstingl wrote: Hi, On Mon, Aug 26, 2019 at 6:01 AM Chuan Hua, Lei wrote: Hi Martin, Thanks for your comment. thank you for the quick reply On 8/25/2019 5:11 AM, Martin Blumenstingl wrote: Hi Dilip, Add driver

Re: [PATCH] powerpc/time: use feature fixup in __USE_RTC() instead of cpu feature.

2019-08-26 Thread Michael Ellerman
Christophe Leroy writes: > Le 26/08/2019 à 13:41, Michael Ellerman a écrit : >> Christophe Leroy writes: >>> sched_clock(), used by printk(), calls __USE_RTC() to know >>> whether to use realtime clock or timebase. >>> >>> __USE_RTC() uses cpu_has_feature() which is initialised by >>>

Re: [PATCH] powerpc/time: use feature fixup in __USE_RTC() instead of cpu feature.

2019-08-26 Thread Michael Ellerman
Benjamin Herrenschmidt writes: > On Mon, 2019-08-26 at 21:41 +1000, Michael Ellerman wrote: >> Christophe Leroy writes: >> > sched_clock(), used by printk(), calls __USE_RTC() to know >> > whether to use realtime clock or timebase. >> > >> > __USE_RTC() uses cpu_has_feature() which is

Re: [PATCH] media: uvcvideo: Use streaming DMA APIs to transfer buffers

2019-08-26 Thread Tomasz Figa
On Fri, Aug 2, 2019 at 10:12 PM Shik Chen wrote: > > Similar to the commit 1161db6776bd ("media: usb: pwc: Don't use coherent > DMA buffers for ISO transfer") [1] for the pwc driver. Use streaming DMA > APIs to transfer buffers and sync them explicitly, because accessing > buffers allocated by

Re: [tip: x86/cpu] x86/cpu/intel: Fix rename fallout

2019-08-26 Thread kbuild test robot
Hi tip-bot2, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190826] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

RE: [PATCH v3 3/4] perf: Use CAP_SYSLOG with kptr_restrict checks

2019-08-26 Thread Lubashev, Igor
On Tue, August 20, 2019 at 1:14 PM Arnaldo Carvalho de Melo wrote: > > Arnaldo, once we decide what the right fix is, I am happy to post the > update (options 1, 1+2) as a patch series. > > I think you should get the checks for ref_reloc_sym in place so as to make the > code overall more

Re: [PATCH 3/4] mdev: Expose mdev alias in sysfs tree

2019-08-26 Thread Alex Williamson
On Mon, 26 Aug 2019 15:41:18 -0500 Parav Pandit wrote: > Expose mdev alias as string in a sysfs tree so that such attribute can > be used to generate netdevice name by systemd/udev or can be used to > match other kernel objects based on the alias of the mdev. > > Signed-off-by: Parav Pandit >

Re: [tip: x86/cpu] x86/cpu/intel: Aggregate big core client naming

2019-08-26 Thread kbuild test robot
Hi tip-bot2, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190826] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-26 Thread Alex Williamson
On Mon, 26 Aug 2019 19:44:56 -0600 Alex Williamson wrote: > On Mon, 26 Aug 2019 15:41:16 -0500 > Parav Pandit wrote: > > > Whenever a parent requests to generate mdev alias, generate a mdev > > alias. > > It is an optional attribute that parent can request to generate > > for each of its child

RE: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-26 Thread Anson Huang
> On 7/30/2019 5:31 AM, anson.hu...@nxp.com wrote: > > From: Anson Huang > > > > Some platforms like i.MX8MQ has clock control for this module, need to > > add clock operations to make sure the driver is working properly. > > > > Signed-off-by: Anson Huang > > Reviewed-by: Guido Günther > >

Re: [PATCH v2] powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB

2019-08-26 Thread Michael Ellerman
"Alastair D'Silva" writes: > From: Alastair D'Silva > > The upstream commit: > 22e9c88d486a ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") > has a similar effect, but since it is a rewrite of the assembler to C, is > too invasive for stable. This patch is a minimal fix to

Re: [PATCH 1/4] mdev: Introduce sha1 based mdev alias

2019-08-26 Thread Alex Williamson
On Mon, 26 Aug 2019 15:41:16 -0500 Parav Pandit wrote: > Whenever a parent requests to generate mdev alias, generate a mdev > alias. > It is an optional attribute that parent can request to generate > for each of its child mdev. > mdev alias is generated using sha1 from the mdev name. > >

Re: poisoned pages do not play well in the buddy allocator

2019-08-26 Thread Naoya Horiguchi
On Mon, Aug 26, 2019 at 12:41:50PM +0200, Oscar Salvador wrote: > Hi, > > When analyzing a problem reported by one of our customers, I stumbbled upon > an issue > that origins from the fact that poisoned pages end up in the buddy allocator. > > Let me break down the stepts that lie to the

[PATCH 0/5] perf: Treat perf_event_paranoid and kptr_restrict like the kernel does it

2019-08-26 Thread Igor Lubashev
This is a follow up series to the ensure perf treats perf_event_paranoid and kptr_restrict in a way that is similar to the kernel's. That includes use of capabilities instead of euid==0, when possible, as well as adjusting the logic and fixing bugs. Prior discussion:

[PATCH 1/5] perf event: Check ref_reloc_sym before using it

2019-08-26 Thread Igor Lubashev
Check for ref_reloc_sym before using it instead of checking symbol_conf.kptr_restrict and relying solely on that check. Signed-off-by: Igor Lubashev Reported-by: Mathieu Poirier --- tools/perf/util/event.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH 3/5] perf util: kernel profiling is disallowed only when perf_event_paranoid > 1

2019-08-26 Thread Igor Lubashev
Perf was too restrictive about sysctl kernel.perf_event_paranoid. The kernel only disallows profiling when perf_event_paranoid > 1. Make perf do the same. Signed-off-by: Igor Lubashev --- tools/perf/util/evsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/5] perf tools: Use CAP_SYS_ADMIN with perf_event_paranoid checks

2019-08-26 Thread Igor Lubashev
The kernel is using CAP_SYS_ADMIN instead of euid==0 to override perf_event_paranoid check. Make perf do the same. Signed-off-by: Igor Lubashev Acked-by: Jiri Olsa Cc: Alexander Shishkin Cc: Alexey Budankov Cc: James Morris Cc: Mathieu Poirier Cc: Namhyung Kim Cc: Peter Zijlstra Cc:

[PATCH 5/5] perf: warn that perf_event_paranoid can restrict kernel symbols

2019-08-26 Thread Igor Lubashev
Warn that /proc/sys/kernel/perf_event_paranoid can also restrict kernel symbols. Signed-off-by: Igor Lubashev --- tools/perf/builtin-record.c | 2 +- tools/perf/builtin-top.c| 2 +- tools/perf/builtin-trace.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 4/5] perf symbols: Use CAP_SYSLOG with kptr_restrict checks

2019-08-26 Thread Igor Lubashev
The kernel is using CAP_SYSLOG capability instead of uid==0 and euid==0 when checking kptr_restrict. Make perf do the same. Also, the kernel is a more restrictive than "no restrictions" in case of kptr_restrict==0, so add the same logic to perf. Signed-off-by: Igor Lubashev Cc: Jiri Olsa Cc:

[PATCH 19/33] libperf: Add PERF_RECORD_COMM 'struct comm_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Moving comm_event event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc:

[PATCH 10/33] perf augmented_raw_syscalls: Postpone tmp map lookup to after pid_filter

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo No sense in doing that lookup before figuring out if it will be used, i.e. if the pid is being filtered that tmp space lookup will be useless. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link:

[PATCH 29/33] libperf: Rename the PERF_RECORD_ structs to have a "perf" suffix

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Even more, to have a "perf_record_" prefix, so that they match the PERF_RECORD_ enum they map to. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-qbabmcz2a0pkzt72liyuz...@git.kernel.org Signed-off-by: Arnaldo Carvalho de

[PATCH 31/33] perf tools: Rename perf_event::bpf_event to perf_event::bpf

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Just like all the other meta events, that extra _event suffix is just redundant, ditch it. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Song Liu Link: https://lkml.kernel.org/n/tip-505qwpaizq1k0t6pk13v1...@git.kernel.org Signed-off-by: Arnaldo Carvalho

[PATCH 32/33] perf tool: Rename perf_tool::bpf_event to bpf

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo No need for that _event suffix, do just like all the other meta event handlers and suppress that suffix. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Song Liu Link: https://lkml.kernel.org/n/tip-03spzxtqafbabbbmnm7y4...@git.kernel.org Signed-off-by:

[PATCH 33/33] perf evsel: Rename perf_missing_features::bpf_event to ::bpf

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo No need for that _event suffix, do just like all the other meta events and do away with that. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Song Liu Link: https://lkml.kernel.org/n/tip-bvc83f380dva83wlg52yd...@git.kernel.org Signed-off-by: Arnaldo

[PATCH 20/33] libperf: Add PERF_RECORD_NAMESPACES 'struct namespaces_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the namespaces_event event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung

[PATCH 16/33] perf script: Fix memory leaks in list_scripts()

2019-08-26 Thread Arnaldo Carvalho de Melo
From: "Gustavo A. R. Silva" In case memory resources for *buf* and *paths* were allocated, jump to *out* and release them before return. Signed-off-by: Gustavo A. R. Silva Cc: Alexander Shishkin Cc: Andi Kleen Cc: Gustavo A. R. Silva Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra

[PATCH 25/33] libperf: Add PERF_RECORD_THROTTLE 'struct throttle_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the PERF_RECORD_THROTTLE event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Perf added 'u*' types mainly to ease up printing __u64 values as stated in the

[PATCH 22/33] libperf: Add PERF_RECORD_LOST 'struct lost_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the lost_event event definition to libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Perf added 'u*' types mainly to ease up printing __u64 values as stated in the linux/types.h

[PATCH 26/33] libperf: Add PERF_RECORD_KSYMBOL 'struct ksymbol_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the PERF_RECORD_KSYMBOL event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Perf added 'u*' types mainly to ease up printing __u64 values as stated in the

[PATCH 23/33] libperf: Add PERF_RECORD_LOST_SAMPLES 'struct lost_samples_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the PERF_RECORD_LOST_SAMPLES event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Perf added 'u*' types mainly to ease up printing __u64 values as stated in

[PATCH 27/33] libperf: Add PERF_RECORD_BPF_EVENT 'struct bpf_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the PERF_RECORD_BPF_EVENT event definition to libperf's event.h. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung Kim Cc:

[PATCH 28/33] libperf: Add PERF_RECORD_SAMPLE 'struct sample_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the PERF_RECORD_SAMPLE event definition to libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Michael Petlan Cc: Namhyung

[PATCH 18/33] libperf: Add PERF_RECORD_MMAP2 'struct mmap2_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Moving mmap2_event event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Perf added 'u*' types mainly to ease up printing __u64 values as stated in the

[PATCH 30/33] perf tools: Rename perf_event::ksymbol_event to perf_event::ksymbol

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Just like all the other meta events, that extra _event suffix is just redundant, ditch it. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Song Liu Link: https://lkml.kernel.org/n/tip-0q8b2xnfs17q0g523oej7...@git.kernel.org Signed-off-by: Arnaldo Carvalho

[PATCH 21/33] libperf: Add PERF_RECORD_FORK 'struct fork_event' to perf/event.h

2019-08-26 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the fork_event event definition into libperf's event.h header include. In order to keep libperf simple, we switch 'u64/u32/u16/u8' types used events to their generic '__u*' versions. Perf added 'u*' types mainly to ease up printing __u64 values as stated in the

  1   2   3   4   5   6   7   8   9   10   >