writes:
> Yes, The change you did is correct and better.
Thanks for checking.
> So should I be sending a v3 for this patch ?
No need, the patch with this change is now in my pending branch and I'll
apply it to ath-next it in the next few days.
--
https://wireless.wiki.kernel.org/en/developer
Hi Eric,
> -Original Message-
> From: Shameerali Kolothum Thodi
> Sent: 30 April 2020 10:38
> To: 'Auger Eric' ; Zhangfei Gao
> ; eric.auger@gmail.com;
> io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org;
> k...@vger.kernel.org; kvm...@lists.cs.columbia.edu; w...@kernel.or
It would be useful to support the overall statistics for perf-stat
interval mode. For example, report the summary at the end of
"perf-stat -I" output.
But since perf-stat can support many aggregation modes, such as
--per-thread, --per-socket, -M and etc, we need a solution which
doesn't bring much
root@kbl-ppc:~# perf stat --per-thread -e cycles,instructions -I1000
--interval-count 2
1.004171683 perf-3696 8,747,311 cycles
...
1.004171683 perf-3696691,730 instructions
#0.08 insn per cycle
> From: Peng Fan
> Sent: Thursday, May 7, 2020 1:56 PM
>
> If memrepair root clock in CCM is disabled, the memory repair logic in HDMIMIX
> can’t work. So let's mark it as critical clock.
A small question here:
Is this clock critical for the whole system or only for HDMIMIX?
What if HDMIIX is no
Currently perf-stat supports to print counts at regular interval (-I),
but it's not very easy for user to get the overall statistics.
The patch uses 'evsel->prev_raw_counts' to get counts for summary.
Copy the counts to 'evsel->counts' after printing the interval results.
Next, we just follow the
The evsel->prev_raw_counts is updated in perf_evsel__compute_deltas:
perf_evsel__compute_deltas()
{
tmp = *perf_counts(evsel->prev_raw_counts, cpu, thread);
*perf_counts(evsel->prev_raw_counts, cpu, thread) = *count;
}
When we want to reset the evsel->prev_raw_counts in
perf_evsel
Currently perf-stat supports to print counts at regular interval (-I),
but it's not very easy for user to get the overall statistics.
With this patchset, it supports to report the summary at the end of
interval output.
For example,
root@kbl-ppc:~# perf stat -e cycles -I1000 --interval-count 2
Fix sparse warnings:
drivers/acpi/acpi_dbg.c:748:12: warning:
symbol 'acpi_aml_init' was not declared. Should it be static?
drivers/acpi/acpi_dbg.c:774:13: warning:
symbol 'acpi_aml_exit' was not declared. Should it be static?
Reported-by: Hulk Robot
Signed-off-by: Zheng Zengkai
---
drivers/
On May 6, 2020 11:18:09 PM PDT, Brian Gerst wrote:
>On Tue, May 5, 2020 at 1:47 PM Nick Desaulniers
> wrote:
>>
>> From: Sedat Dilek
>>
>> It turns out that if your config tickles __builtin_constant_p via
>> differences in choices to inline or not, this now produces invalid
>> assembly:
>>
>> $ c
On Thu, 07 May 2020 05:54:07 +0200,
Samuel Zou wrote:
>
> Fix the following coccinelle warnings:
>
> sound/ppc/pmac.c:729:57-58: WARNING: sum of probable bitmasks, consider |
> sound/ppc/pmac.c:229:37-38: WARNING: sum of probable bitmasks, consider |
>
> Reported-by: Hulk Robot
> Signed-off-by:
On Thu, 07 May 2020 08:48:55 +0200,
Samuel Zou wrote:
>
> Fix the following coccinelle warning:
>
> sound/drivers/portman2x4.c:460:34-35: WARNING: sum of probable bitmasks,
> consider |
>
> Reported-by: Hulk Robot
> Signed-off-by: Samuel Zou
Applied now. Thanks.
Takashi
==
ANNOUNCEMENT AND CALL FOR PARTICIPATION
LINUX SECURITY SUMMIT EUROPE 2020
29-30 OCTOBER
DUBLIN, IRELAN
On Wed, May 06, 2020 at 12:06:10PM -0700, Joe Perches wrote:
> On Tue, 2020-05-05 at 19:44 +0200, Christian Brauner wrote:
> > Jan reported an issue where an interaction between sign-extending clone's
> > flag argument on ppc64le and the new CLONE_INTO_CGROUP feature causes
> > clone() to consisten
Use set_current_state macro instead of current->state = TASK_RUNNING.
Signed-off-by: Xu Wang
---
drivers/block/swim.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/block/swim.c b/drivers/block/swim.c
index 4c297f69171d..dd34504382e5 100644
--- a/drivers/block/
Hi Etienne
On 5/6/20 7:48 PM, Etienne Carriere wrote:
From: Etienne Carriere
Declare PSCI v1.0 support instead of v0.1 as the former is supported
by the PSCI firmware stacks stm32mp15x relies on.
Signed-off-by: Etienne Carriere
---
arch/arm/boot/dts/stm32mp151.dtsi | 4 +---
1 file change
> On May 7, 2020, at 14:45, Greg Kroah-Hartman
> wrote:
>
> On Thu, May 07, 2020 at 02:17:55PM +0800, Kai-Heng Feng wrote:
>> Current xhci debug message doesn't always output bus number, so it's
>> hard to figure out it's from USB2 or USB3 root hub.
>>
>> In addition to that, some port numbe
Hi Chao,
On Thu, May 07, 2020 at 02:38:39PM +0800, Chao Yu wrote:
> On 2020/5/7 6:36, Gao Xiang wrote:
> > On Wed, May 06, 2020 at 12:16:13PM -0700, Eric Biggers wrote:
> >> On Wed, May 06, 2020 at 02:47:19PM +0800, Gao Xiang wrote:
> >>> On Wed, May 06, 2020 at 09:58:22AM +0800, Gao Xiang wrote:
> > I imagined that the bug report (combined with a patch) was triggered by
> > an evolving source code analysis approach which will be explained
> > in another research paper. Is such a view appropriate?
> > https://github.com/umnsec/cheq/
>
> Could you elaborate more on "university research group
When we fill up a receive VQ, try_fill_recv currently tries to count
kicks using a 64 bit stats counter. Turns out, on a 32 bit kernel that
uses a seqcount. sequence counts are "lock" constructs where you need to
make sure that writers are serialized.
In turn, this means that we mustn't run two tr
When CONFIG_SND_SOC_SOF_BAYTRAIL is not set, gcc warns:
sound/soc/sof/intel/byt.c:85:41: warning: ‘cht_debugfs’ defined but not used
[-Wunused-const-variable=]
static const struct snd_sof_debugfs_map cht_debugfs[] = {
^~~
Move the variable inside
Hello,
On 19/12/19 11:35, Juri Lelli wrote:
> Power Management and Scheduling in the Linux Kernel (OSPM-summit) IV edition
>
> May 11-13, 2019
> Scuola Superiore Sant'Anna
> Pisa, Italy
>
Quick reminder that OSPM-summit IV edition is happening next week!
Not in Pisa (for obvious reasons :-/),
On 2020-05-06 15:21:29 [-0700], Dave Hansen wrote:
> > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> > index 1197b5596d5a..8630b9fa06f5 100644
> > --- a/arch/x86/Kconfig
> > +++ b/arch/x86/Kconfig
> > @@ -1886,11 +1886,11 @@ config X86_UMIP
> > specific cases in protected and virtual-808
On Thu, May 07, 2020 at 03:15:01PM +0800, Kai-Heng Feng wrote:
>
>
> > On May 7, 2020, at 14:45, Greg Kroah-Hartman
> > wrote:
> >
> > On Thu, May 07, 2020 at 02:17:55PM +0800, Kai-Heng Feng wrote:
> >> Current xhci debug message doesn't always output bus number, so it's
> >> hard to figure ou
There are already firmware API commands that have multiple
versions. For each multiple version command, another command
to retrieve the API version is issued. This may introduce an important
overhead. The version does not change while the system is running,
so the DPRC API version can be safely cac
Prepare the dprc_scan_objects function to be used by
the VFIO mc driver code. The function is used to scan the mc
objects by the bus driver. The same functionality is
needed by the VFIO mc driver, but in this case the
interrupt configuration is delayed until the userspace
configures the interrupts.
Both DPRC driver and VFIO driver use the same initialization
code for the DPRC. Introduced a new function which groups this
initialization code. The function is exported and may be
used by VFIO as well.
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/dprc-driver.c | 78 ++
Hi Kishon,
On Thu, May 7, 2020 at 4:13 AM Kishon Vijay Abraham I wrote:
>
> Hi Prabhakar,
>
> On 5/5/2020 3:17 PM, Lad, Prabhakar wrote:
> > Hi Lorenzo,
> >
> > On Tue, May 5, 2020 at 10:44 AM Lorenzo Pieralisi
> > wrote:
> >>
> >> On Thu, Apr 30, 2020 at 09:43:20AM +0100, Lad, Prabhakar wrote:
From: Bharat Bhushan
DPRC reset is required by VFIO-mc in order to stop a device
to further generate DMA transactions.
Signed-off-by: Bharat Bhushan
Signed-off-by: Laurentiu Tudor
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/dprc.c | 71 +
drivers
Create and export a cleanup function for DPRC. The function
is used by the DPRC driver, but it will be used by the VFIO
driver as well.
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/dprc-driver.c | 52
include/linux/fsl/mc.h | 2 ++
2 files chang
The QMAN region is memory mapped, so it should be of type
IORESOURCE_MEM. The region flags bits were wrongly used to
pass additional information. Use the bus specific bits for
this purpose.
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/fsl-mc-bus.c | 7 ++-
drivers/bus/fsl-mc/fsl-m
From: Bharat Bhushan
This patch is required for vfio-fsl-mc meta driver to successfully bind
layerscape container devices for device passthrough. This patch adds
a mechanism to allow a layerscape device to specify a driver rather than
a layerscape driver provide a device match.
Example to allow
The IRQ pool handling functions can be used by both DPRC
driver and VFIO. Adapt and export those functions.
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/dprc-driver.c | 7 +++
drivers/bus/fsl-mc/fsl-mc-allocator.c | 12
drivers/bus/fsl-mc/fsl-mc-private.h | 10 ---
The vfio-mc bus driver needs some additional services to be exported by the
mc-bus driver like:
- a way to reset the DPRC container
- driver_override support
- functions to setup/tear down a DPRC
- functions for allocating the pool of interrupts. In case of VFIO the
interrupts are not configured at
From: Bharat Bhushan
In virtual machines the device-id range is defined
between 0x1-0x2. The reason for using such a
large range is to avoid overlapping with the PCI range.
Signed-off-by: Bharat Bhushan
Signed-off-by: Laurentiu Tudor
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-m
The total number of interrupts is only used for some checks
outside the dprc_scan_objects function. Furthermore, in some
situations the check is made twice. Move the bounds check inside
the function for all situations.
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/dprc-driver.c | 30 ++
Currently the DPRC scan function is used only by the bus driver.
But the same functionality will be needed by the VFIO driver.
To support this, the dprc scan function was exported and a little
bit adjusted to fit both scenarios. Also the scan mutex initialization
is done when the bus object is crea
Before destroying the mc_io, check first that it was
allocated.
Signed-off-by: Diana Craciun
---
drivers/bus/fsl-mc/mc-io.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/bus/fsl-mc/mc-io.c b/drivers/bus/fsl-mc/mc-io.c
index 6ae48ad80409..e1dfe4a76519 100644
--
On Wed, Apr 29, 2020 at 5:12 AM Benjamin Herrenschmidt
wrote:
>
> On Sat, 2020-04-25 at 13:42 +0200, Mateusz Holenko wrote:
> > From: Pawel Czarnecki
> >
> > This commit adds driver for the FPGA-based LiteX SoC
> > Controller from LiteX SoC builder.
>
> Sorry for jumping in late, Joel only just p
On Tue, May 05, 2020 at 05:22:00PM +0300, Andy Shevchenko wrote:
> On Tue, May 5, 2020 at 4:30 PM Calvin Johnson
> wrote:
> >
> > Introduce fwnode_mdiobus_register_phy() to register PHYs on the
> > mdiobus. From the compatible string, identify whether the PHY is
> > c45 and based on this create a
On 29/04/2020 21:16, Kevin Hilman wrote:
> Neil Armstrong writes:
>
>> The new Khadas VIM2, VIM3 and Edge boards embeds an on-board microcontroller
>> connected via I2C.
>>
>> This Microcontroller is present on the Khadas VIM1, VIM2, VIM3 and Edge
>> boards.
>>
>> It has multiple boot control fea
On Mon, May 04, 2020 at 02:47:52PM +0200, Christoph Hellwig wrote:
> Hi Jens,
>
> can you pick up this series?
>
> the first three patches are my take on the proposal from Yufen Yu
> to fix the use after free of the device name of the bdi device.
>
> The rest is vaguely related cleanups.
>
> Ch
From: dillon min
This patch adds I2C3 instances of the STM32F429 SoC
Signed-off-by: dillon min
---
arch/arm/boot/dts/stm32f429.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi
index d777069..257b843 10064
This patchset enable the stmpe811 touch screen on stm32f429-disco
board, tested with ts_print. as sdram memory shortage on this disco
board, so i didn't test ts_calibrate (kernel crashed at mmap in
open framebuffer)
From: Brian Gerst
> Sent: 07 May 2020 07:18
...
> > --- a/arch/x86/include/asm/bitops.h
> > +++ b/arch/x86/include/asm/bitops.h
> > @@ -54,7 +54,7 @@ arch_set_bit(long nr, volatile unsigned long *addr)
> > if (__builtin_constant_p(nr)) {
> > asm volatile(LOCK_PREFIX "orb %1,
Hi Shameer,
On 5/7/20 8:59 AM, Shameerali Kolothum Thodi wrote:
> Hi Eric,
>
>> -Original Message-
>> From: Shameerali Kolothum Thodi
>> Sent: 30 April 2020 10:38
>> To: 'Auger Eric' ; Zhangfei Gao
>> ; eric.auger@gmail.com;
>> io...@lists.linux-foundation.org; linux-kernel@vger.kerne
From: dillon min
This patch adds the pin configuration for I2C3 controller on
stm32f4.
Signed-off-by: dillon min
---
arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f4-pinctrl.dtsi
b/arch/arm/boot/dts/stm32f4-pinc
From: dillon min
As stm32f429's internal flash is 2Mbytes and compiled kernel
image bigger than 2Mbytes, so we have to load kernel image
to sdram on stm32f429-disco board which has 8Mbytes sdram space.
based on above context, as you knows kernel running on external
sdram is more slower than inte
From: dillon min
Enable the stmpe811 touch screen on stm32429-disco board.
Signed-off-by: dillon min
---
arch/arm/boot/dts/stm32f429-disco.dts | 50 +++
1 file changed, 50 insertions(+)
diff --git a/arch/arm/boot/dts/stm32f429-disco.dts
b/arch/arm/boot/dts/stm
We do not use the event variable, just remove it.
Signed-off-by: Muchun Song
---
kernel/trace/trace.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 8d2b988126250..6be74d2a7056f 100644
--- a/kernel/trace/trace.c
+++ b/kerne
On 5/6/20 11:10 PM, Bjorn Helgaas wrote:
> On Wed, May 06, 2020 at 05:41:38PM +0200, Niklas Schnelle wrote:
>> currently pci_iov_add_virtfn() scans the SR-IOV bars, adds the VF to the
>> bus and also creates the sysfs links between the newly added VF and its
>> parent PF.
>
> s/currently/Currently
On Thu, May 07, 2020 at 01:15:22PM +0800, Jia-Ju Bai wrote:
>
>
> On 2020/5/7 1:43, Greg KH wrote:
> > On Thu, May 07, 2020 at 12:48:47AM +0800, Jia-Ju Bai wrote:
> > > Yes, I agree that this issue is not new, because DMA attacks are old
> > > problems.
> > > But I am a little surprised that many
ping
On 2020/3/31 9:31, Xiaoming Ni wrote:
The function call process is as follows:
mtd_blktrans_work()
while (1)
do_blktrans_request()
mtdblock_writesect()
do_cached_write()
write_cached_data() /*if cache_state is STA
> -Original Message-
> From: Mimi Zohar [mailto:zo...@linux.ibm.com]
> Sent: Wednesday, May 6, 2020 11:10 PM
> To: Roberto Sassu ; david.saff...@gmail.com;
> v...@zeniv.linux.org.uk; jmor...@namei.org; John Johansen
>
> Cc: linux-fsde...@vger.kernel.org; linux-integr...@vger.kernel.org; li
From: Yoshihiro Kaneko
Convert the Renesas Interrupt Controller (INTC) for external pins Device
Tree binding documentation to json-schema.
Signed-off-by: Yoshihiro Kaneko
Co-developed-by: Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven
---
v3:
- Take over from Kaneko-san,
- Update li
Execute the following shell script:
C_FILES=`find drivers/md/ -name "*.c"`
for file in $C_FILES
do
#with brace
sed -i 's/(PAGE_SIZE \/ 512)/PAGE_SECTORS/g' $file
sed -i 's/(PAGE_SIZE\/512)/PAGE_SECTORS/g' $file
sed -i 's/(PAGE_SIZE >> 9)/PAGE_SECTORS/g' $file
"RESYNC_BLOCK_SIZE/512" is equal to "RESYNC_BLOCK_SIZE >> 9", replace it
with RESYNC_SECTORS.
Signed-off-by: Zhen Lei
---
drivers/md/raid10.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 948afe720fca..ac4273f804e8 100
SECTORS_PER_PAGE is equivalent to PAGE_SECTORS.
Although I prefer SECTORS_PER_PAGE better than PAGE_SECTORS, the former
is more clearer, I think. But the latter was defined in
before, rename it may impact users.
Signed-off-by: Zhen Lei
---
drivers/block/zram/zram_drv.c | 4 ++--
drivers/block/
1. Replace ">> (PAGE_SHIFT - 9)" with sectors_to_npage()
2. Replace "<< (PAGE_SHIFT - 9)" with npage_to_sectors()
Suggested-by: Matthew Wilcox
Signed-off-by: Zhen Lei
---
drivers/md/dm-table.c| 2 +-
drivers/md/raid1.c | 2 +-
drivers/md/raid10.c | 2 +-
drivers/md/raid5-cache
1. Replace "<<= (PAGE_SHIFT - 9)" with "*= PAGE_SECTORS"
2. Replace "<< (PAGE_SHIFT - 9)" with npage_to_sectors()
Suggested-by: Matthew Wilcox
Signed-off-by: Zhen Lei
---
mm/page_io.c | 4 ++--
mm/swapfile.c | 12 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/mm/
Too many duplicated PAGE_SECTORS definitions, eliminate it.
Signed-off-by: Zhen Lei
---
drivers/block/brd.c | 1 -
drivers/block/null_blk_main.c | 1 -
drivers/md/bcache/util.h | 2 --
include/linux/blkdev.h| 5 +++--
include/linux/device-mapper.h | 1 -
5 files changed, 3
The name of PAGE_SECTORS_SHIFT is quite hard to read.
1. use sectors_to_npage() to replace ">> PAGE_SECTORS_SHIFT"
2. use npage_to_sectors() to replace "<< PAGE_SECTORS_SHIFT"
Suggested-by: Matthew Wilcox
Signed-off-by: Zhen Lei
---
drivers/block/brd.c | 6 ++
drivers/block/null_b
1. Replace "1 << (PAGE_SHIFT - 9)" with PAGE_SECTORS
2. Replace ">> (PAGE_SHIFT - 9)" with sectors_to_npage()
Suggested-by: Matthew Wilcox
Signed-off-by: Zhen Lei
---
block/blk-settings.c| 6 +++---
block/partitions/core.c | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
diff --
v1 --> v2:
As Matthew Wilcox's suggestion, add sectors_to_npage()/npage_to_sectors()
helpers to eliminate SECTORS_PER_PAGE_SHIFT, because it's quite hard to read.
In further, I also eliminated PAGE_SECTORS_SHIFT.
I tried to eliminate all magic number "9" and "512", but it's too many, maybe
no one
Provide the conversion of "number of sectors"/"sector number" and
"number of pages"/"page number".
Suggested-by: Matthew Wilcox
Signed-off-by: Zhen Lei
---
include/linux/blkdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 934f31fc
The name of SECTORS_PER_PAGE_SHIFT is quite hard to read. So use
sectors_to_npage() to replace ">> SECTORS_PER_PAGE_SHIFT"
Suggested-by: Matthew Wilcox
Signed-off-by: Zhen Lei
---
drivers/block/zram/zram_drv.c | 4 ++--
drivers/block/zram/zram_drv.h | 1 -
2 files changed, 2 insertions(+), 3 de
On 07/05/20 04:14, Like Xu wrote:
> +static inline u64 vmx_get_perf_capabilities(void)
> +{
> + u64 perf_cap = 0;
> +
> + if (boot_cpu_has(X86_FEATURE_PDCM))
> + rdmsrl(MSR_IA32_PERF_CAPABILITIES, perf_cap);
> +
> + /* Currently, KVM only supports Full-Width Writes. */
> +
On May 7, 2020 12:44:44 AM PDT, David Laight wrote:
>From: Brian Gerst
>> Sent: 07 May 2020 07:18
>...
>> > --- a/arch/x86/include/asm/bitops.h
>> > +++ b/arch/x86/include/asm/bitops.h
>> > @@ -54,7 +54,7 @@ arch_set_bit(long nr, volatile unsigned long
>*addr)
>> > if (__builtin_constant_p
Fix sparse warnings:
drivers/net/phy/mdio-bcm-iproc.c:182:5: warning:
symbol 'iproc_mdio_resume' was not declared. Should it be static?
Reported-by: Hulk Robot
Signed-off-by: Zheng Zengkai
---
drivers/net/phy/mdio-bcm-iproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
> Subject: RE: [PATCH V3 10/10] clk: imx8mp: mark memrepair clock as critical
>
> > From: Peng Fan
> > Sent: Thursday, May 7, 2020 1:56 PM
> >
> > If memrepair root clock in CCM is disabled, the memory repair logic in
> > HDMIMIX can’t work. So let's mark it as critical clock.
>
> A small questi
> On May 7, 2020, at 15:31, Greg Kroah-Hartman
> wrote:
>
> On Thu, May 07, 2020 at 03:15:01PM +0800, Kai-Heng Feng wrote:
>>
>>
>>> On May 7, 2020, at 14:45, Greg Kroah-Hartman
>>> wrote:
>>>
>>> On Thu, May 07, 2020 at 02:17:55PM +0800, Kai-Heng Feng wrote:
Current xhci debug mess
Sarthak Garg (6):
dt-bindings: mmc: Add information for DLL register properties
mmc: sdhci-msm: Update dll_config_3 as per HSR
mmc: sdhci-msm: Update DDR_CONFIG as per device tree file
mmc: sdhci-msm: Read and use DLL Config property from device tree file
mmc: sdhci-msm: Introduce new ops
From: Arnd Bergmann
> Sent: 05 May 2020 16:00
...
> Yes, we usually backport trivial warning fixes to stable kernels to allow
> building those with any modern compiler version.
In this case wouldn't it be better to backport a change that disables
the specific compiler warning?
David
-
Re
Certain platforms require different settings in the
SDCC_HC_REG_DLL_CONFIG register. This setting can change from platform
to platform. So the driver should check whether a particular platform
require a different setting by reading the DT file and use it.
Also use msm_cm_dll_set_freq only when DLL
Certain platforms require different settings in the
SDCC_HC_REG_DDR_CONFIG register. This setting can change from platform
to platform. So the driver should check whether a particular platform
require a different setting by reading the device tree file and use it.
Signed-off-by: Bao D. Nguyen
Sig
Update dll_config_3 as per the host clock frequency as specified in the
DLL Hardware Reference Guide.
Signed-off-by: Sarthak Garg
---
drivers/mmc/host/sdhci-msm.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index
From: Veerabhadrarao Badiganti
With SDCC v5.1.0, additional setting needed for enabling DLL output.
The dll-user-control register need to be configured during dll
initialization for getting proper dll output.
Without this configuration, we don't get the DLL lock status properly.
Also update the
Implement dump_vendor_registers host operation to print the
vendor specific registers in addition to standard SDHC
register during error conditions.
Signed-off-by: Sahitya Tummala
Signed-off-by: Sarthak Garg
---
drivers/mmc/host/sdhci-msm.c | 31 +++
1 file changed,
Introduce new sdhci ops to dump vendor specific registers in the
sdhci_dumpregs during error.
Signed-off-by: Sahitya Tummala
Signed-off-by: Sarthak Garg
---
drivers/mmc/host/sdhci.c | 3 +++
drivers/mmc/host/sdhci.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/drivers/mmc/host/sdhci.c
I report a bug (in linux-5.7-rc1) found by syzkaller.
kernel config:
https://github.com/butterflyhack/syzkaller-fuzz/blob/master/v5.7.0-rc1.config
reproducer:
https://github.com/butterflyhack/syzkaller-fuzz/blob/master/repro.cprog
I test the reproducer in linux-5.7-rc4 and crash too.
crash log
Add information regarding DLL register properties for getting target
specific configurations. These DLL register settings may vary from
target to target.
Also new compatible string value for sm8250 target.
Signed-off-by: Sarthak Garg
---
Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 14
From: Mickaël Salaün
> Sent: 05 May 2020 16:32
>
> This fifth patch series add new kernel configurations (OMAYEXEC_STATIC,
> OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to
> configure the security policy at kernel build time. As requested by
> Mimi Zohar, I completed the series w
Hi Robert,
On 20-05-05 12:01, Robert Foss wrote:
> Add match table, enable ov8856_probe() to support both ACPI and DT modes.
>
> ACPI and DT modes are primarily distinguished from by checking for ACPI mode
> and by having resource like be NULL.
>
> Signed-off-by: Robert Foss
> ---
>
> - Change
On 07/05/20 00:26, Sean Christopherson wrote:
>> +/* Load the guest pkru state */
>> +if (static_cpu_has(X86_FEATURE_PKU) &&
>> +kvm_read_cr4_bits(vcpu, X86_CR4_PKE) &&
>> +vcpu->arch.pkru != svm->host_pkru)
>> +__write_pkru(vcpu->arch.pkru);
> This and the resto
Dear maintainers,
here I'm proposing an improvement to [0] which aimed to quickly solve
a regression. The aim is to complete [1] with regards of uswsusp needs,
at the time not considered.
Kind regards,
Domenico
[0] https://lore.kernel.org/linux-pm/20200304170646.GA31552@dumbo/
[1]
https://lor
From: Domenico Andreoli
Hibernation via snapshot device requires write permission to the swap
block device, the one that more often (but not necessarily) is used to
store the hibernation image.
With this patch, such permissions are granted iff:
1) snapshot device config option is enabled
2) swa
Hello,
> -Original Message-
> From: Uwe Kleine-König
> Sent: Tuesday, May 5, 2020 1:42 AM
> To: Sandipan Patra
> Cc: Thierry Reding ; robh...@kernel.org; Jonathan
> Hunter ; Bibek Basu ; Laxman
> Dewangan ; linux-...@vger.kernel.org;
> devicet...@vger.kernel.org; linux-te...@vger.kernel.
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/android/Makefile| 1 +
drivers/android/binder.c| 40
On Thu, Apr 30, 2020 at 9:50 PM Maninder Singh wrote:
>
> currnetly script prints stack usage for functions
> in two ways:($re and $dre)
>
> dre breaks sorting mechanism.
> 0xa00011f26f88 sunxi_mux_clk_setup.isra.0 [vmlinux]:Dynamic (0x140)
> ..
> 0xa00011f27210 sunxi_divs_clk_setup [vmlin
Hi Konrad,
On 5/7/20 12:23 AM, Konrad Dybcio wrote:
> Hi Stan,
>
> I have found some issues with the submitted GCC driver, related to
> venus, but I have to further look into them locally and work out some
> stuff. One of the things is that freq table for venus clock should be
> changed to the va
On Thu, Apr 30, 2020 at 9:50 PM Maninder Singh wrote:
>
> Add arguments support to print stacks which are greater than
> argument value only.
>
> Signed-off-by: Vaneet Narang
> Signed-off-by: Maninder Singh
> ---
> scripts/checkstack.pl | 12
> 1 file changed, 8 insertions(+), 4 de
If a metric contains the duration_time event then the event is placed
outside of the metric's group of events. Rather than split the group,
make it so the duration_time is immediately after the group.
Signed-off-by: Ian Rogers
---
tools/perf/util/metricgroup.c | 20 ++--
1 file c
A metric group contains multiple metrics. These metrics may use the same
events. If metrics use separate events then it leads to more
multiplexing and overall metric counts fail to sum to 100%.
Modify how metrics are associated with events so that if the events in
an earlier group satisfy the curre
Metric groups contain metrics. Metrics create groups of events to
ideally be scheduled together. Often metrics refer to the same events,
for example, a cache hit and cache miss rate. Using separate event
groups means these metrics are multiplexed at different times and the
counts don't sum to 100%.
Hi all,
Changes since 20200505:
My fixes tree contains:
bbefc924d0ff ("ubsan: disable UBSAN_ALIGNMENT under COMPILE_TEST")
7cb1d38f52b1 ("drm/msm: Fix undefined "rd_full" link error")
41ef83a65305 ("device_cgroup: Fix RCU list debugging warning")
d58ae1991898 ("ipmr: Add lockdep expressi
Avoid a simple memory leak.
Signed-off-by: Ian Rogers
---
tools/perf/util/metricgroup.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/perf/util/metricgroup.c b/tools/perf/util/metricgroup.c
index dcd175c05872..2356dda92a07 100644
--- a/tools/perf/util/metricgroup.c
+++ b/tools/per
When adding event groups to the group list, insert them in size order.
This performs an insertion sort on the group list. By placing the
largest groups at the front of the group list it is possible to see if a
larger group contains the same events as a later group. This can make
the later group red
Currently event groups are placed into groups_list at the same time as
the events string containing the events is built. Separate these two
operations and build the groups_list first, then the event string from
the groups_list. This adds an ability to reorder the groups_list that
will be used in a
Use a bitmap rather than an array of bools.
Signed-off-by: Ian Rogers
---
tools/perf/util/metricgroup.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/tools/perf/util/metricgroup.c b/tools/perf/util/metricgroup.c
index 2f92dbc05226..dcd175c05872 100644
--
Use a hashmap between a char* string and a double* value. While bpf's
hashmap entries are size_t in size, we can't guarantee sizeof(size_t) >=
sizeof(double). Avoid a memory allocation when gathering ids by making 0.0
a special value encoded as NULL.
Suggested by Andi Kleen:
https://lore.kernel.or
1 - 100 of 1862 matches
Mail list logo