This series updates the parsing of Kconfig files within checkpatch.pl
to the current state, as discussed previously.
Third iteration fixes patch 3 and adds one new patch.
Patch 5 adds a new waring regarding the indentation of a Kconfig block
Nicolai Fischer (5):
checkpatch: kconfig: replace '-
Currently checkpatch displays a warning if it detects a help text
of a Kconfig option which is too short. However the warning does
not contain any further information.
This adds the expected and currently detected number of lines
to the warning, which makes it more obvious why checkpatch
is warning
Kconfig parsing does not recognise all type attributes.
This adds the missing 'int', 'string' and 'hex' types.
Co-developed-by: Johannes Czekay
Signed-off-by: Johannes Czekay
Signed-off-by: Nicolai Fischer
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
Adds a new warning to checkpatch in case a new Kconfig block
is not indented one sigle tab more than the keyword which
starts it.
Co-developed-by: Johannes Czekay
Signed-off-by: Johannes Czekay
Signed-off-by: Nicolai Fischer
---
scripts/checkpatch.pl | 13 +++--
1 file changed, 11 inse
Adds a new warning in case the indentation level of the
first line of a Kconfig help message is not at least two spaces
higher than the keyword itself.
Blank lines between the message and the help keyword
are ignored.
Co-developed-by: Johannes Czekay
Signed-off-by: Johannes Czekay
Signed-off-by:
All '---help---' lines have been replaced by just 'help'.
Therefore it is no longer necessary to include '---' in the regex.
Co-developed-by: Johannes Czekay
Signed-off-by: Johannes Czekay
Signed-off-by: Nicolai Fischer
Acked-by: Joe Perches
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1
Greetings
I was searching through a local business directory when I found your
profile. I am Soliciting On-Behalf of my private client who is interested in
given out big loans to high profile individuals who are interested in a serious
business investment or has a valid business, investment or
On 30/11/20 1:45 pm, Andrew Donnellan wrote:
LCA2021 Kernel Miniconf - Online - 2021-01-23
-
LCA Kernel Miniconf submissions now open! (Ever wanted to present at
LCA, but couldn't justify flying to Australia? Well, 2021 is your chance
- we're going o
Hello,
syzbot found the following issue on:
HEAD commit:d7a03a44 Add linux-next specific files for 20201223
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=155fb7b750
kernel config: https://syzkaller.appspot.com/x/.config?x=ea251547cbb170c5
dashboard
Hello,
syzbot found the following issue on:
HEAD commit:73d62e81 kmsan: random: prevent boot-time reports in _mix_..
git tree: https://github.com/google/kmsan.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=17e7a0eb50
kernel config: https://syzkaller.appspot.co
Thanks for the patch.
Acked-by: Vidya Sagar
On 12/31/2020 8:55 AM, Wesley Sheng wrote:
External email: Use caution opening links or attachments
In config PCIE_TEGRA194_EP the mode incorrectly referred to
host mode.
Signed-off-by: Wesley Sheng
---
drivers/pci/controller/dwc/Kconfig | 2 +-
kasan_remove_zero_shadow() shall use original virtual address, start
and size, instead of shadow address.
Fixes: 0207df4fa1a86 ("kernel/memremap, kasan: make ZONE_DEVICE with work with
KASAN")
Signed-off-by: Lecopzer Chen
---
mm/kasan/init.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(
On Sun, Jan 3, 2021 at 5:14 AM Valdis Klētnieks wrote:
>
> Consider the following own goal I just discovered I scored:
>
> [~] zgrep -i fq_codel /proc/config.gz
> CONFIG_NET_SCH_FQ_CODEL=m
> CONFIG_DEFAULT_FQ_CODEL=y
> CONFIG_DEFAULT_NET_SCH="fq_codel"
>
> Obviously, fq_codel didn't get set as the
> On 2021/1/3 12:08, dinghao@zju.edu.cn wrote:
> >> Hi,
> >>
> >> On 2021/1/2 17:50, Dinghao Liu wrote:
> >>> When irq_domain_get_irq_data() or irqd_cfg() fails
> >>> meanwhile i == 0, data allocated by kzalloc() has not
> >>> been freed before returning, which leads to memleak.
> >>>
> >>> Fix
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 3516bd729358a2a9b090c1905bd2a3fa926e24c6
commit: 894fa235eb4ca0bfa692dbe4932c2f940cdc8c1e powerpc: inline iomap accessors
date: 4 weeks ago
config: powerpc64-randconfig-r031-20210103 (attached as .config)
c
Tested these patches on Samsung Galaxy S5 along with other patches that
add panel driver and enable vram carve-out option on this device.
Tested-by: Alexey Minnekhanov
On 12/30/20 6:51 PM, Iskren Chernev wrote:
From: Brian Masney
Add support for the a3xx GPU
Signed-off-by: Brian Masney
--
Hi Dmitry,
I have one more question below.
Could you take a look?
On Sat, Jan 2, 2021 at 8:53 PM Philip Chen wrote:
>
> Hi Dmitry,
>
> I see.
> I'll update these patch sets shortly based on your suggestion.
> Thanks.
>
> On Sat, Jan 2, 2021 at 1:04 PM Dmitry Torokhov
> wrote:
> >
> > On Sat, Ja
Tested these patches on Samsung Galaxy S5 along with other patches that
add panel driver and enable GPU support on this device.
Tested-by: Alexey Minnekhanov
On 12/30/20 6:29 PM, Iskren Chernev wrote:
From: Craig Tatlor
vram.size is needed when binding a gpu without an iommu and is defined
This indeed fixes device freeze+reboot issue when display powers off.
Tested-by: Alexey Minnekhanov
On 12/30/20 6:51 PM, Iskren Chernev wrote:
s1 and l12 regulators are used for the memory and cache on the Samsung
S5 (klte). If they are turned off the phone shuts down. So mark them as
always-o
Tested this on Samsung Galaxy S5 along with other patches that enable
GPU support on this device.
Tested-by: Alexey Minnekhanov
On 12/30/20 6:17 PM, Iskren Chernev wrote:
From: Samuel Pascua
This panel is used on the Samsung Galaxy S5 (klte).
Signed-off-by: Samuel Pascua
---
drivers/gpu
On 2021/1/3 12:08, dinghao@zju.edu.cn wrote:
Hi,
On 2021/1/2 17:50, Dinghao Liu wrote:
When irq_domain_get_irq_data() or irqd_cfg() fails
meanwhile i == 0, data allocated by kzalloc() has not
been freed before returning, which leads to memleak.
Fixes: b106ee63abccb ("irq_remapping/vt-d: En
Hi Dmitry,
I see.
I'll update these patch sets shortly based on your suggestion.
Thanks.
On Sat, Jan 2, 2021 at 1:04 PM Dmitry Torokhov
wrote:
>
> On Sat, Jan 02, 2021 at 11:39:34AM -0800, Philip Chen wrote:
> > Hi Dmitry,
> >
> > Thanks for reviewing my patch over the holiday season.
> > Please
Hi Hao,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 3516bd729358a2a9b090c1905bd2a3fa926e24c6
commit: eaa6bcb71ef6ed3dc18fc525ee7e293b06b4882b bpf: Introduce
bpf_per_cpu_ptr()
date: 3 months ago
config: powerpc
> Hi,
>
> On 2021/1/2 17:50, Dinghao Liu wrote:
> > When irq_domain_get_irq_data() or irqd_cfg() fails
> > meanwhile i == 0, data allocated by kzalloc() has not
> > been freed before returning, which leads to memleak.
> >
> > Fixes: b106ee63abccb ("irq_remapping/vt-d: Enhance Intel IR driver to
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/devfreq/devfreq.c | 66 +--
include/linux/devfreq.h | 23 --
2 files changed, 1 insertion(+), 88 deletions(-)
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/devfreq/imx-bus.c | 14 +++---
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c
index 4f38455ad742..ff26ef049b1b 100644
--- a/drivers/devfreq/
Use devm_pm_opp_* API to simplify code, and remove opp_table
from exynos_bus.
Signed-off-by: Yangtao Li
---
drivers/devfreq/exynos-bus.c | 42
1 file changed, 9 insertions(+), 33 deletions(-)
diff --git a/drivers/devfreq/exynos-bus.c b/drivers/devfreq/exynos
Use devm_pm_opp_* API to simplify code, and remove opp_table
from tegra_devfreq.
Signed-off-by: Yangtao Li
---
drivers/devfreq/tegra30-devfreq.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/drivers/devfreq/tegra30-devfreq.c
b/drivers/devfreq/tegra30
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/devfreq/imx8m-ddrc.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/drivers/devfreq/imx8m-ddrc.c b/drivers/devfreq/imx8m-ddrc.c
index bc82d3653bff..9383d6e5538b 100644
--- a/driver
Use devm_pm_opp_* API to simplify code.
Signed-off-by: Yangtao Li
---
drivers/memory/tegra/tegra30-emc.c | 29 +
1 file changed, 9 insertions(+), 20 deletions(-)
diff --git a/drivers/memory/tegra/tegra30-emc.c
b/drivers/memory/tegra/tegra30-emc.c
index 44ac155936aa.
Use devm_pm_opp_* API to simplify code. Since devres release
can guarantee the order, let's remove
devm_devfreq_unregister_opp_notifier().
Signed-off-by: Yangtao Li
---
drivers/devfreq/rk3399_dmc.c | 22 +++---
1 file changed, 3 insertions(+), 19 deletions(-)
diff --git a/driver
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 3516bd729358a2a9b090c1905bd2a3fa926e24c6
commit: 00b5aac59966ec3d608dc150aba552121e7de4f0 ptp: ptp_ines: convert to
devm_platform_ioremap_resource
date: 8 months ago
config: s390-randconfig-r021-20210103 (
Hello,
On Fri, 1 Jan 2021 at 01:50, Rob Herring wrote:
>
> On Sun, Dec 20, 2020 at 07:58:42PM +0300, Dmitry Baryshkov wrote:
> > Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part
> > being controlled through the UART and WiFi being present on PCIe bus.
> > Both blocks share comm
Newer ideapads (e.g.: Yoga 14s, 720S 14) come with ELAN0634 touchpad do not
use EC to switch touchpad.
Reading VPCCMD_R_TOUCHPAD will return zero thus touchpad may be blocked
unexpectedly.
Writing VPCCMD_W_TOUCHPAD may cause a spurious key press.
Add has_touchpad_switch to workaround these machin
Hi,
On Tue, Dec 29, 2020 at 07:31:20PM +0200, Cristian Ciocaltea wrote:
> This driver provides poweroff and reboot support for a system through
> the ATC2603C and ATC2609A chip variants of the Actions Semi ATC260x
> family of PMICs.
>
> Signed-off-by: Cristian Ciocaltea
> ---
> Changes in v4:
>
do_IRQ has been replaced by common_interrupt in
commit fa5e5c409213 ("x86/entry: Use idtentry for interrupts")
Remove its declaration.
Signed-off-by: Hao Lee
---
arch/x86/include/asm/irq.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq
Newer ideapads (e.g.: Yoga 14s, 720S 14) come with ELAN0634 touchpad do not
use EC to switch touchpad.
Reading VPCCMD_R_TOUCHPAD will return zero thus touchpad may be blocked
unexpectedly.
Writing VPCCMD_W_TOUCHPAD may cause a spurious key press.
Add has_touchpad_switch to workaround these machin
The string buf will be stripped in cgroup_procs_write_start() before it
is converted to int, so remove this unnecessary call to strstrip().
Signed-off-by: Hao Lee
---
kernel/cgroup/cgroup.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index
Hello!
On Sunday 03 January 2021 03:25:23 Thomas Schreiber wrote:
> Hi Pali,
> I have a CarlitoxxPro module and I reported an issue about RX_LOS pin
> to the manufacturer.
> It looks to me that the module asserts "inverted LOS" through EEPROM
> but does not implement it.
So, it is broken :-( But
Hi,
On 2021/1/2 17:50, Dinghao Liu wrote:
When irq_domain_get_irq_data() or irqd_cfg() fails
meanwhile i == 0, data allocated by kzalloc() has not
been freed before returning, which leads to memleak.
Fixes: b106ee63abccb ("irq_remapping/vt-d: Enhance Intel IR driver to support
hierarchical irq
Hi Pali,
I have a CarlitoxxPro module and I reported an issue about RX_LOS pin
to the manufacturer.
It looks to me that the module asserts "inverted LOS" through EEPROM
but does not implement it. Consequently, the SFP state machine of my
host router stays in check los state and link is not set up f
On Sun, Jan 03, 2021 at 12:20:26AM +0200, Andy Shevchenko wrote:
> On Sat, Jan 2, 2021 at 4:32 AM Kent Gibson wrote:
> >
> > The GPIO mockup selftests are overly complicated with separate
> > implementations of the tests for sysfs and cdev uAPI, and with the cdev
> > implementation being dependent
Hi Andrew,
On Sun, Jan 3, 2021 at 3:09 AM Andrew Lunn wrote:
>
> On Sun, Jan 03, 2021 at 02:25:43AM +0100, Martin Blumenstingl wrote:
> > Enable GSWIP_MII_CFG_EN also for internal PHYs to make traffic flow.
> > Without this the PHY link is detected properly and ethtool statistics
> > for TX are i
On Sun, Jan 03, 2021 at 02:25:43AM +0100, Martin Blumenstingl wrote:
> Enable GSWIP_MII_CFG_EN also for internal PHYs to make traffic flow.
> Without this the PHY link is detected properly and ethtool statistics
> for TX are increasing but there's no RX traffic coming in.
>
> Fixes: 14fceff4771e51
Hi,
On Wed, Dec 30, 2020 at 08:52:15PM +, Timon Baetz wrote:
> Register for extcon notification and set charging current depending on
> the detected cable type. Current values are taken from vendor kernel,
> where most charger types end up setting 650mA [0].
>
> Also enable and disable the CH
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 3516bd729358a2a9b090c1905bd2a3fa926e24c6
commit: 0cd1ad2d7fd41e0de4969fd1dd0aa846c99830d1 iwlwifi: move all
bus-independent TX functions to common code
date: 3 months ago
config: powerpc-randconfig-r001-20
On 1/3/21 2:25 AM, Martin Blumenstingl wrote:
There is one GSWIP_MII_CFG register for each switch-port except the CPU
port. The register offset for the first port is 0x0, 0x02 for the
second, 0x04 for the third and so on.
Update the driver to not only restrict the GSWIP_MII_CFG registers to
port
On 1/3/21 2:25 AM, Martin Blumenstingl wrote:
Enable GSWIP_MII_CFG_EN also for internal PHYs to make traffic flow.
Without this the PHY link is detected properly and ethtool statistics
for TX are increasing but there's no RX traffic coming in.
Fixes: 14fceff4771e51 ("net: dsa: Add Lantiq / Intel
Kind reminder that MSM8974, 8994, 8992 and friends are held back by the lack of
IOMMU support upstream. There has been an attempt back in 2014(!) [1], but it
was either overlooked or forgotten about ever since. I'd be more than happy to
see someone look into this, as I have some other bits (almo
Hi Ricardo,
On Wed, Dec 30, 2020 at 05:01:16PM -0600, Ricardo Rivera-Matos wrote:
> The BQ256XX family of devices are highly integrated buck chargers
> for single cell batteries.
>
> Signed-off-by: Ricardo Rivera-Matos
>
> v5 - adds power_supply_put_battery_info() and devm_add_action_or_rest()
Enable GSWIP_MII_CFG_EN also for internal PHYs to make traffic flow.
Without this the PHY link is detected properly and ethtool statistics
for TX are increasing but there's no RX traffic coming in.
Fixes: 14fceff4771e51 ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Cc: sta...@vger.kernel.
There is one GSWIP_MII_CFG register for each switch-port except the CPU
port. The register offset for the first port is 0x0, 0x02 for the
second, 0x04 for the third and so on.
Update the driver to not only restrict the GSWIP_MII_CFG registers to
ports 0, 1 and 5. Handle ports 0..5 instead but skip
While testing the lantiq_gswip driver in OpenWrt at least one board had
a non-working Ethernet port connected to an internal 100Mbit/s PHY22F
GPHY. The problem which could be observed:
- the PHY would detect the link just fine
- ethtool stats would see the TX counter rise
- the RX counter in ethtoo
From: Christophe JAILLET
A call to dma_alloc_coherent() is wrapped by sonic_alloc_descriptors().
This is correctly freed in the remove function, but not in the error
handling path of the probe function. Fix this by adding the missing
dma_free_coherent() call.
While at it, rename a label in orde
Hi Sumera,
Thanks for your patch.
Please see some comments below.
On 01/02, Sumera Priyadarsini wrote:
> Currently, data for the device instance is held by vkms_device.
> Add a separate type, vkms_config to contain configuration details
> for the device and various modes to be later used by confi
PATH for the root on Debian is
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Note that /sbin is now just a symlink to /usr/sbin on Debian since 10 (Buster)
as per FHS[1][2].
[1] https://wiki.linuxfoundation.org/lsb/fhs
[2]
https://arstechnica.com/information-technology/2019/09
Hi All,
This patch was sent in September and subsequently resent in November. I've
since learned that the maintainer has been ill. What's the best way
forward for fixes like this?
Regards,
Finn
On Fri, 20 Nov 2020, Finn Thain wrote:
> Unloading the falconide module results in a crash:
>
> Un
Hello,
syzbot found the following issue on:
HEAD commit:cb4d9b52 usb: dwc3: drd: Improve dwc3_get_extcon() style
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
usb-testing
console output: https://syzkaller.appspot.com/x/log.txt?x=131bf58f50
kernel config:
Hi Greg,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: 3516bd729358a2a9b090c1905bd2a3fa926e24c6
commit: 239a5791ffd5559f51815df442c4dbbe7fc21ade dynamic_debug: allow to work
if debugfs is disabled
date: 11 month
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
master
head: eda809aef53426d044b519405d25d9da55319b76
commit: 7fd70c65faacd39628ba5f670be6490010c8132f ARM: irqstat: Get rid of
duplicated declaration
date: 6 weeks ago
config: arm-randconfig-p001-20210103 (attached as
syzbot suspects this issue was fixed by commit:
commit 15a8d68e9dc23dc9def4bd7e9563db60f4f86580
Author: Wei Yang
Date: Tue Oct 13 23:56:33 2020 +
mm/hugetlb: a page from buddy is not on any list
bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=13612350d0
start commit:
On Sat, Jan 02, 2021 at 02:25:34PM -0800, Andrii Nakryiko wrote:
SNIP
> >
> > so your .config has
> > CONFIG_CRYPTO_DEV_BCM_SPU=y
> >
> > and that defines 'struct device_private' which
> > clashes with the same struct defined in drivers/base/base.h
> >
> > so several networking structs will be
On Sat, Jan 02, 2021 at 08:12:56PM +0100, Donald Buczek wrote:
> On 31.12.20 22:59, Dave Chinner wrote:
> > On Thu, Dec 31, 2020 at 12:48:56PM +0100, Donald Buczek wrote:
> > > On 30.12.20 23:16, Dave Chinner wrote:
> > One could argue that, but one should also understand the design
> > constraint
Greetings My Dear Friend,
Before I introduce myself, I wish to inform you that this letter is
not a hoax mail and I urge you to treat it serious.This letter must
come to you as a big surprise, but I believe it is only a day that
people meet and become great friends and business partners. Please I
On Wed, Dec 30, 2020 at 5:28 AM Jiri Olsa wrote:
>
> On Wed, Dec 30, 2020 at 10:03:37AM +0100, Jiri Olsa wrote:
> > On Tue, Dec 29, 2020 at 11:28:35PM +, Qais Yousef wrote:
> > > Hi Jiri
> > >
> > > On 12/29/20 18:34, Jiri Olsa wrote:
> > > > On Tue, Dec 29, 2020 at 03:13:52PM +, Qais Yous
On Sat, Jan 2, 2021 at 4:32 AM Kent Gibson wrote:
>
> The GPIO mockup selftests are overly complicated with separate
> implementations of the tests for sysfs and cdev uAPI, and with the cdev
> implementation being dependent on tools/gpio and libmount.
>
> Rework the test implementation to provide
On Fri, Dec 18, 2020 at 11:57:07AM +0100, matthias@kernel.org wrote:
> From: Matthias Brugger
>
> When trying to disable the block we bitwise or the control
> register with value zero. This is confusing as using bitwise or with
> value zero doesn't have any effect at all. Drop this as we alre
On Fri, Dec 18, 2020 at 11:57:08AM +0100, matthias@kernel.org wrote:
> From: Matthias Brugger
>
> We are calling the same code for enable and disable the block in various
> parts of the driver. Put that code into a new function to reduce code
> duplication.
>
> Signed-off-by: Matthias Brugge
On Sat, Dec 19, 2020 at 08:52:07AM +0100, Christophe JAILLET wrote:
> In case of error, we should call 'clk_disable_unprepare()' to undo a
> previous 'clk_prepare_enable()' call, as already done in the remove
> function.
>
> Fixes: 406346d22278 ("hwrng: ingenic - Add hardware TRNG for Ingenic X183
On Mon, Dec 14, 2020 at 08:02:24PM +, Corentin Labbe wrote:
> Hello
>
> For help testing on "crypto: sun4i-ss - Fix sparse endianness markers",
> I have added "stats" support like other allwinner's crypto drivers.
> Seeing stats showed a clear problem, the ciphers function were not used
> at a
Adding man page for perf-daemon usage.
Signed-off-by: Jiri Olsa
---
tools/perf/Documentation/perf-config.txt | 14 ++
tools/perf/Documentation/perf-daemon.txt | 187 +++
2 files changed, 201 insertions(+)
diff --git a/tools/perf/Documentation/perf-config.txt
b/tools/perf/D
Adding test for perf daemon ping command. The tests
verifies the ping command gets proper answer from
sessions.
Signed-off-by: Jiri Olsa
---
tools/perf/tests/shell/daemon.sh | 40
1 file changed, 40 insertions(+)
diff --git a/tools/perf/tests/shell/daemon.sh b/t
Adding test for daemon reconfiguration. The test changes
the configuration file and checks that the session is
changed properly.
Signed-off-by: Jiri Olsa
---
tools/perf/tests/shell/daemon.sh | 70
1 file changed, 70 insertions(+)
diff --git a/tools/perf/tests/sh
Adding test for perf daemon signal command. The test
sends a signal to configured sessions and verifies
the perf data files were generated accordingly.
Signed-off-by: Jiri Olsa
---
tools/perf/tests/shell/daemon.sh | 40
1 file changed, 40 insertions(+)
diff --gi
Adding test for basic perf daemon listing via the CSV
output mode (-x option).
Checking that configured sessions display expected values.
Signed-off-by: Jiri Olsa
---
tools/perf/tests/shell/daemon.sh | 184 +++
1 file changed, 184 insertions(+)
create mode 100755 to
Adding test for perf daemon stop command. The test
stops the daemon and verifies all the configured
sessions are properly terminated.
Signed-off-by: Jiri Olsa
---
tools/perf/tests/shell/daemon.sh | 54
1 file changed, 54 insertions(+)
diff --git a/tools/perf/tes
It's not used outside config.c object.
Signed-off-by: Jiri Olsa
---
tools/perf/util/config.c | 2 +-
tools/perf/util/config.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/perf/util/config.c b/tools/perf/util/config.c
index 6969f82843ee..20be0504fb95 100644
--- a/too
Display up time for both daemon and sessions.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[session-sched]
run = -m 20M -e sched:* --overwrite --switch-output -a
Starting the daemon:
# perf daem
Add 'lock' file under daemon base and flock it, so only one
perf daemon can run on top of it.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[session-sched]
run = -m 20M -e sched:* --overwrite --switc
Setup control fifos for session and add --control
option to session arguments.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[session-sched]
run = -m 20M -e sched:* --overwrite --switch-output -a
St
Using 'stop' control command to stop perf record session.
If that fails, falling back to current SIGTERM/SIGKILL pair.
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-daemon.c | 56 ++---
1 file changed, 46 insertions(+), 10 deletions(-)
diff --git a/tools/perf/b
Adding ping command to verify the perf record session
is up and operational.
It's used in following patches via test code to make
sure perf record is ready to receive signals.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite
Using signalfd fd for tracking SIGCHLD signals as
notification for perf session termination.
Suggested-by: Alexei Budankov
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-daemon.c | 142 ++--
1 file changed, 137 insertions(+), 5 deletions(-)
diff --git a/tools/p
Adding daemon command that allows to run record sessions
on background. Each session represents one perf record
process and is configured in config file.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[
Adding support to detect daemon's config file changes
and re-read the configuration when that happens.
Using inotify file descriptor pluged into the main
fdarray object for polling.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --over
Allow perf daemon to send SIGUSR2 to all running sessions
or just to a specific session.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[session-sched]
run = -m 20M -e sched:* --overwrite --switch-out
Add 'perf daemon stop' command to stop daemon process
and all running sessions.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[session-sched]
run = -m 20M -e sched:* --overwrite --switch-output -a
S
Making perf_config_system global, it will be used
outside the config.c object in following patches.
Signed-off-by: Jiri Olsa
---
tools/perf/util/config.c | 2 +-
tools/perf/util/config.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/config.c b/tools/perf/ut
Factor out the perf_home_perfconfig, that looks for
.perfconfig in home directory including check for
PERF_CONFIG_NOGLOBAL and for proper permission.
Signed-off-by: Jiri Olsa
---
tools/perf/util/config.c | 89
tools/perf/util/config.h | 1 +
2 files chan
Making perf_config_global global, it will be used
outside the config.c object in following patches.
Signed-off-by: Jiri Olsa
---
tools/perf/util/config.c | 2 +-
tools/perf/util/config.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/config.c b/tools/perf/ut
Allow to display time in perf debug output via new
debug_set_display_time function.
It will be used in perf daemon command to get verbose
output into log file.
The debug time format is:
[2020-12-03 18:25:31.822152] affinity: SYS
[2020-12-03 18:25:31.822164] mmap flush: 1
[2020-12-03 18:25:
Add interface to load config set from custom file
by using perf_config_set__load_file function.
It will be used in perf daemon command to process
custom config file.
Signed-off-by: Jiri Olsa
---
tools/perf/util/config.c | 28 +++-
tools/perf/util/config.h | 3 +++
2 fil
hi,
we were asked for possibility to be able run record
sessions on background.
This patchset adds support to configure and run record
sessions on background via new 'perf daemon' command.
Please check below the example on usage.
The patchset is based on following control changes:
https://lore
On Thu, Dec 10, 2020 at 02:03:14PM -0600, Rob Herring wrote:
> PicoXcell has had nothing but treewide cleanups for at least the last 8
> years and no signs of activity. The most recent activity is a yocto vendor
> kernel based on v3.0 in 2015.
>
> Cc: Jamie Iles
> Cc: Herbert Xu
> Cc: "David S.
On Mon, Dec 07, 2020 at 05:55:20PM +0100, Krzysztof Kozlowski wrote:
> E-mails to Kamil Konieczny to his Samsung address bounce with 550 (User
> unknown). Kamil no longer takes care about Samsung S5P SSS driver so
> remove the invalid email address from:
> - mailmap,
> - bindings maintainer entr
On Mon, Dec 07, 2020 at 03:58:42PM +0800, Vic Wu wrote:
> The crypto mediatek driver has been replaced by the inside-secure
> driver now. Remove this driver to avoid having duplicate drivers.
>
> Signed-off-by: Vic Wu
> Acked-by: Ryder Lee
> ---
> drivers/crypto/Kconfig | 15 -
RTL8723DS could be handled by btrtl-driver, so add ability to bind it
using device tree.
Signed-off-by: John-Eric Kamps
---
drivers/bluetooth/hci_h5.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index 7be16a7f653b..fb9817f97d45 10
Add binding documentation for bluetooth part of RTL8723DS
Signed-off-by: John-Eric Kamps
---
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
b/Docum
On Thu, Dec 24, 2020 at 02:08:25PM +0800, Meng Yu wrote:
> Move elliptic curves definition to 'include/crypto/ecc_curve_defs.h',
> so all can use it,
>
> Signed-off-by: Meng Yu
> Reviewed-by: Zaibo Xu
> ---
> crypto/ecc.c| 1 -
> crypto/ecc.h| 37 +--
On Fri, Dec 18, 2020 at 10:30:22PM -0500, Thara Gopinath wrote:
> Export and import interfaces save and restore partial transformation
> states. The partial states were being stored and restored in struct
> sha1_state for sha1/hmac(sha1) transformations and sha256_state for
> sha256/hmac(sha256) tr
1 - 100 of 186 matches
Mail list logo