Re: [PATCH v4 1/2] perf machine: Support arch's specific kernel start address

2019-08-12 Thread Adrian Hunter
On 10/08/19 10:21 AM, Leo Yan wrote: > machine__get_kernel_start() gives out the kernel start address; some > architectures need to tweak the start address so that can reflect the > kernel start address correctly. This is not only for x86_64 arch, but > it is also required by other architectures,

[tip:perf/urgent] perf db-export: Fix thread__exec_comm()

2019-08-08 Thread tip-bot for Adrian Hunter
Commit-ID: 3de7ae0b2a1d86dbb23d0cb135150534fdb2e836 Gitweb: https://git.kernel.org/tip/3de7ae0b2a1d86dbb23d0cb135150534fdb2e836 Author: Adrian Hunter AuthorDate: Thu, 8 Aug 2019 09:48:23 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 8 Aug 2019 15:41:10 -0300 perf db

Re: [PATCH 1/2] mmc: sdhci-of-at91: add quirk for broken HS200

2019-08-08 Thread Adrian Hunter
il, > and the eMMC initialization will fail. > > Signed-off-by: Eugen Hristev Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-of-at91.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-of-at91.c > b/drivers/mmc/host/sdhci-of-at91.c > i

Re: [PATCH 2/2] ARM: dts: at91: sama5d27_som1_ek: add mmc capabilities for SDMMC0

2019-08-08 Thread Adrian Hunter
On 8/08/19 3:42 PM, Ludovic Desroches wrote: > On Thu, Aug 08, 2019 at 10:35:43AM +0200, Eugen Hristev - M18282 wrote: >> From: Eugen Hristev >> >> Add mmc capabilities for SDMMC0 for this board. >> With this enabled, eMMC connected card is detected as: >> >> mmc0: new DDR MMC card at address

Re: [PATCH V5 3/3] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-08 Thread Adrian Hunter
On 8/08/19 12:10 AM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift > > Signed-off-by:Shirley Her > --- > change in V5: > 1. split 2 patches into 3 patches > 2. make dll_adjust_count start from 0 > 3. fix ret overwritten issue > 4. use

Re: [PATCH V5 1/3] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-08 Thread Adrian Hunter
On 8/08/19 12:09 AM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift Please change the patch subject and commit message to match what the patch actually does. > > Signed-off-by:Shirley Her > --- > change in V5: > 1. split 2 patches into 3

Re: [PATCH V5 2/3] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-08 Thread Adrian Hunter
On 8/08/19 12:09 AM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift Please change the patch subject and commit message to match what the patch actually does. > > Signed-off-by:Shirley Her > --- > change in V5: > 1. split 2 patches into 3

[PATCH] perf db-export: Fix thread__exec_comm()

2019-08-08 Thread Adrian Hunter
11481163 27 kworker/2: 25 17988 17988 28 kworker/0: 26 13478 13478 Signed-off-by: Adrian Hunter Fixes: 65de51f93ebf ("perf tools: Identify which comms are from exec") Cc: sta...@vger.kernel.org --- tools/perf/util/thread.c | 12 ++

Re: [PATCH v2 2/2] mmc: sdhci: sdhci-pci-core: Add Genesis Logic GL975x support

2019-08-07 Thread Adrian Hunter
On 26/07/19 5:07 AM, Michael K. Johnson wrote: > Add support for the GL9750 and GL9755 chipsets. > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Johnson > > diff --git a/drivers/mmc/host/sdhci-gli.h b/drivers/mmc/host/sdhci-gli.h I suggest

Re: [PATCH v2 1/2] mmc: sdhci: Add PLL Enable support to internal clock setup

2019-08-07 Thread Adrian Hunter
On 26/07/19 5:07 AM, Michael K. Johnson wrote: > The GL9750 and GL9755 chipsets, and possibly others, require PLL Enable > setup as part of the internal clock setup as described in 3.2.1 Internal > Clock Setup Sequence of SD Host Controller Simplified Specification > Version 4.20. This changes

Re: [PATCH v1] perf record: Add an option to take an AUX snapshot on exit

2019-08-07 Thread Adrian Hunter
85 MB perf.data ] > > Signed-off-by: Alexander Shishkin > Co-developed-by: Adrian Hunter checkpatch says: WARNING: Co-developed-by: must be immediately followed by Signed-off-by > --- > tools/perf/Documentation/perf-record.txt | 11 +--- > tools/perf/builtin-record.c

Re: [PATCH V2 1/1] mmc: sdhci: Fix O2 Host data read/write DLL lock Phase shift issue

2019-08-06 Thread Adrian Hunter
e it in > mmc_blk_mq_rw_recovery, how to acquire it in execute_tuning. > > Looking forward to your reply! > > Thanks, > Chevron > > > -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: 2019年7月29日 20:13 > To: Shirley Her (S

Re: [PATCH V4 2/2] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-06 Thread Adrian Hunter
On 2/08/19 8:40 PM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift > > Signed-off-by:Shirley Her > --- > change in V4: > 1. add a bug fix for V3 > > change in V3: > 1. add more explanation in dll_recovery and execute_tuning function > 2.

Re: [PATCH V4 1/2] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-06 Thread Adrian Hunter
On 2/08/19 8:39 PM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift > > Signed-off-by:Shirley Her > --- > change in V4: > 1. add a bug fix in V3 > > change in V3: > 1. add more explanation in dll_recovery and execute_tuning function > 2. move

Re: [RFC PATCH 1/2] mmc: sdhci: Manually check card status after reset

2019-08-05 Thread Adrian Hunter
On 5/08/19 7:49 PM, Raul Rangel wrote: > On Fri, Aug 02, 2019 at 07:58:20AM +0300, Adrian Hunter wrote: >> >> You seem not to have answered to my suggestion for a change to >> sdhci_reinit() here: >> >> >> https://lore.kernel.org/lkml/fcdf6cc4-2729-a

Re: [PATCH v4 2/2] mmc: Add support for the ASPEED SD controller

2019-08-05 Thread Adrian Hunter
ned-off-by: Ryan Chen > Signed-off-by: Andrew Jeffery One minor comment otherwise: Acked-by: Adrian Hunter > > --- > v3: No change > v2: > * Add AST2600 compatible > * Drop SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN > * Ensure slot number is valid > * Fix bui

Re: [RFC PATCH 1/2] mmc: sdhci: Manually check card status after reset

2019-08-01 Thread Adrian Hunter
On 1/08/19 6:16 PM, Raul Rangel wrote: > On Wed, Jun 19, 2019 at 08:56:25AM -0600, Raul Rangel wrote: >> Your patch looks good. I tried it out and got over 57k insertion/removal >> iterations. Do you want me to send out your patch, or do you want to do >> it? >> >> Just to recap, the patch you

Re: Issue with sequence to switch to HS400

2019-07-30 Thread Adrian Hunter
On 26/07/19 12:37 AM, Alan Cooper wrote: > That's an even better solution and it gets my HS400 mode working. > Will you add this change or should I? You, if you wouldn't mind. > > Thanks > Al > > On Thu, Jul 25, 2019 at 3:33 AM Adrian Hunter wrote: >> >> On 23

Re: [PATCH 3/3] Fix insn.c misaligned address error

2019-07-30 Thread Adrian Hunter
On 30/07/19 3:47 AM, Masami Hiramatsu wrote: > On Mon, 29 Jul 2019 11:22:34 +0300 > Adrian Hunter wrote: > >> On 27/07/19 12:46 PM, Masami Hiramatsu wrote: >>> On Fri, 26 Jul 2019 16:38:06 -0300 >>> Arnaldo Carvalho de Melo wrote: >>> >>>

Re: [PATCH 3/3] Fix insn.c misaligned address error

2019-07-30 Thread Adrian Hunter
On 29/07/19 10:32 PM, Ian Rogers wrote: > On Mon, Jul 29, 2019 at 1:24 AM Adrian Hunter wrote: >> >> On 27/07/19 12:46 PM, Masami Hiramatsu wrote: >>> On Fri, 26 Jul 2019 16:38:06 -0300 >>> Arnaldo Carvalho de Melo wrote: >>> >>>> Em Wed,

Re: [PATCH V2 1/1] mmc: sdhci: Fix O2 Host data read/write DLL lock Phase shift issue

2019-07-29 Thread Adrian Hunter
On 26/07/19 9:48 PM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift More explanation is needed. See comment below where sdhci_o2_error_recovery() is called. > > Signed-off-by:Shirley Her > --- > change in V2: > 1. Use usleep_range instead

Re: [PATCH 3/3] Fix insn.c misaligned address error

2019-07-29 Thread Adrian Hunter
On 27/07/19 12:46 PM, Masami Hiramatsu wrote: > On Fri, 26 Jul 2019 16:38:06 -0300 > Arnaldo Carvalho de Melo wrote: > >> Em Wed, Jul 24, 2019 at 11:45:12AM -0700, Numfor Mbiziwo-Tiapo escreveu: >>> The ubsan (undefined behavior sanitizer) version of perf throws an >>> error on the 'x86

Re: [PATCH] mmc: sdhci-s3c: Mark expected switch fall-through

2019-07-28 Thread Adrian Hunter
statement may fall through > [-Wimplicit-fallthrough=] >host->mmc->caps |= MMC_CAP_8_BIT_DATA; > drivers/mmc/host/sdhci-s3c.c:614:2: note: here > case 4: > ^~~~ > > Reported-by: Stephen Rothwell > Signed-off-by: Gustavo A. R. Silva Acked-by: Adrian Hunter >

Re: [PATCH v2 2/2] mmc: Add support for the ASPEED SD controller

2019-07-25 Thread Adrian Hunter
On 26/07/19 3:52 AM, Andrew Jeffery wrote: > On Thu, 25 Jul 2019, at 22:49, Adrian Hunter wrote: >> On 12/07/19 6:32 AM, Andrew Jeffery wrote: >>> +static int aspeed_sdhci_probe(struct platform_device *pdev) >>> +{ >>> + struct sdhci_pltfm_host *pltfm_ho

Re: [PATCH v2 2/2] mmc: Add support for the ASPEED SD controller

2019-07-25 Thread Adrian Hunter
On 12/07/19 6:32 AM, Andrew Jeffery wrote: > Add a minimal driver for ASPEED's SD controller, which exposes two > SDHCIs. > > The ASPEED design implements a common register set for the SDHCIs, and > moves some of the standard configuration elements out to this common > area (e.g. 8-bit mode, and

Re: Issue with sequence to switch to HS400

2019-07-25 Thread Adrian Hunter
On 23/07/19 3:34 PM, Alan Cooper wrote: > On Tue, Jul 23, 2019 at 1:21 AM Adrian Hunter wrote: >> >> On 23/07/19 1:31 AM, Alan Cooper wrote: >>> I'm having a problem with a new SD/MMC controller and PHY in our >>> latest SoC's. The issue I'm seeing is that I

Re: [PATCH] mmc: sdhci-pci: Use dev_get_drvdata

2019-07-24 Thread Adrian Hunter
On 23/07/19 3:47 PM, Chuhong Yuan wrote: > Instead of using to_pci_dev + pci_get_drvdata, > use dev_get_drvdata to make code simpler. > > Signed-off-by: Chuhong Yuan Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-pci-core.c | 12 > 1 file change

Re: [PATCH v4] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-24 Thread Adrian Hunter
On 24/07/19 5:21 AM, Baolin Wang wrote: > On Tue, 23 Jul 2019 at 20:39, Ulf Hansson wrote: >> >> On Tue, 23 Jul 2019 at 05:05, Baolin Wang wrote: >>> >>> Hi Ulf, >>> >>> On Mon, 22 Jul 2019 at 19:54, Ulf Hansson wrote: On Wed, 17 Jul 2019 at 04:29, Baolin Wang wrote: > > In

Re: Issue with sequence to switch to HS400

2019-07-22 Thread Adrian Hunter
On 23/07/19 1:31 AM, Alan Cooper wrote: > I'm having a problem with a new SD/MMC controller and PHY in our > latest SoC's. The issue I'm seeing is that I can't switch into HS400 > mode. This looks like something the driver is doing that doesn't meet > the JEDEC spec. In the "HS400 timing mode

[tip:perf/urgent] perf scripts python: export-to-postgresql.py: Export switch events

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 56789f3dc127d4f8c07ce2bb48629ba75e8ef16c Gitweb: https://git.kernel.org/tip/56789f3dc127d4f8c07ce2bb48629ba75e8ef16c Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:10 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 13:05:12 -0300 perf

[tip:perf/urgent] perf scripts python: export-to-sqlite.py: Export switch events

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 37c1f991b1bcdbe268b99b22e265738f4209f4f4 Gitweb: https://git.kernel.org/tip/37c1f991b1bcdbe268b99b22e265738f4209f4f4 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:09 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:37:35 -0300 perf

[tip:perf/urgent] perf db-export: Export switch events

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: abde8722d9b0a317935506d9824e26f1aef6c24a Gitweb: https://git.kernel.org/tip/abde8722d9b0a317935506d9824e26f1aef6c24a Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:08 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:35:38 -0300 perf db

[tip:perf/urgent] perf db-export: Factor out db_export__threads()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: b3694e6c0a05383891546c6e3cdef8659d50b653 Gitweb: https://git.kernel.org/tip/b3694e6c0a05383891546c6e3cdef8659d50b653 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:07 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:35:18 -0300 perf db

[tip:perf/urgent] perf scripts python: exported-sql-viewer.py: Use new 'has_calls' column

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 26c11206f433ea507a7541f48cb472b85870577e Gitweb: https://git.kernel.org/tip/26c11206f433ea507a7541f48cb472b85870577e Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:05 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:31:25 -0300 perf

[tip:perf/urgent] perf script: Add scripting operation process_switch()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 5bf83c29a0ad2e78683c318b607539dbadbf7a3b Gitweb: https://git.kernel.org/tip/5bf83c29a0ad2e78683c318b607539dbadbf7a3b Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:06 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:34:09 -0300 perf script

[tip:perf/urgent] perf scripts python: exported-sql-viewer.py: Remove redundant semi-colons

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 266887291cac7f4020b5c83d2af9a13aece44a74 Gitweb: https://git.kernel.org/tip/266887291cac7f4020b5c83d2af9a13aece44a74 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:04 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:31:01 -0300 perf

[tip:perf/urgent] perf scripts python: export-to-postgresql.py: Add has_calls column to comms table

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: d9efc1d25214da500d6592095b542b32c15459df Gitweb: https://git.kernel.org/tip/d9efc1d25214da500d6592095b542b32c15459df Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:25:05 -0300 perf

[tip:perf/urgent] perf scripts python: export-to-sqlite.py: Add has_calls column to comms table

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: ecc8c9984dae9812a10936cb9c74957b68075e07 Gitweb: https://git.kernel.org/tip/ecc8c9984dae9812a10936cb9c74957b68075e07 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:02 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:23:55 -0300 perf

[tip:perf/urgent] perf db-export: Also export thread's current comm

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 4650c7bed79582c74452d284e45d5b76987c0ef3 Gitweb: https://git.kernel.org/tip/4650c7bed79582c74452d284e45d5b76987c0ef3 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:01 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:14:07 -0300 perf db

[tip:perf/urgent] perf db-export: Factor out db_export__comm()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 80859c947a1eb170927d03e713abf7550a3d8766 Gitweb: https://git.kernel.org/tip/80859c947a1eb170927d03e713abf7550a3d8766 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:58:00 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:13:51 -0300 perf db

[tip:perf/urgent] perf scripts python: export-to-postgresql.py: Export comm details

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 8534b5de81802a82b13fe05acc3e749e3baf980e Gitweb: https://git.kernel.org/tip/8534b5de81802a82b13fe05acc3e749e3baf980e Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:59 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:13:36 -0300 perf

[tip:perf/urgent] perf scripts python: export-to-sqlite.py: Export comm details

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 41085f2bdd5882632e7dd88d1e5b59b7eac2a2a9 Gitweb: https://git.kernel.org/tip/41085f2bdd5882632e7dd88d1e5b59b7eac2a2a9 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:58 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:13:26 -0300 perf

[tip:perf/urgent] perf db-export: Export comm details

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50 Gitweb: https://git.kernel.org/tip/8ebf5cc0f6ce469d65ba2e8ce519dae34f0b3f50 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:57 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:13:08 -0300 perf db

[tip:perf/urgent] perf db-export: Fix a white space issue in db_export__sample()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: a5defb2f3984e0f056e4113b54c461782796c7be Gitweb: https://git.kernel.org/tip/a5defb2f3984e0f056e4113b54c461782796c7be Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:56 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:12:56 -0300 perf db

[tip:perf/urgent] perf db-export: Move export__comm_thread into db_export__sample()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 1ed119589834e25c130fdaa911ca8b0e3fd1cddf Gitweb: https://git.kernel.org/tip/1ed119589834e25c130fdaa911ca8b0e3fd1cddf Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:55 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:12:45 -0300 perf db

[tip:perf/urgent] perf db-export: Export comm before exporting thread

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 6319790bcf825bcc4cd9bf01f01ae404a2fb7da8 Gitweb: https://git.kernel.org/tip/6319790bcf825bcc4cd9bf01f01ae404a2fb7da8 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:54 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:12:25 -0300 perf db

[tip:perf/urgent] perf db-export: Export main_thread in db_export__sample()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 19207d86940db9dad5f2e0a270a2490f7da451e3 Gitweb: https://git.kernel.org/tip/19207d86940db9dad5f2e0a270a2490f7da451e3 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:53 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:12:05 -0300 perf db

[tip:perf/urgent] perf db-export: Pass main_thread to db_export__thread()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: ed5c0a16feb9f1a4347f109d5e9607f6f38688a0 Gitweb: https://git.kernel.org/tip/ed5c0a16feb9f1a4347f109d5e9607f6f38688a0 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:52 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:11:04 -0300 perf db

[tip:perf/urgent] perf db-export: Rename db_export__comm() to db_export__exec_comm()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: 208032fef13b68cf1eefc945dafb82efc88c6b8f Gitweb: https://git.kernel.org/tip/208032fef13b68cf1eefc945dafb82efc88c6b8f Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:51 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:10:27 -0300 perf db

[tip:perf/urgent] perf db-export: Get rid of db_export__deferred()

2019-07-17 Thread tip-bot for Adrian Hunter
Commit-ID: fead24e52383c3f8eb25b5426d52b430b84a8194 Gitweb: https://git.kernel.org/tip/fead24e52383c3f8eb25b5426d52b430b84a8194 Author: Adrian Hunter AuthorDate: Wed, 10 Jul 2019 11:57:50 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 10 Jul 2019 12:07:40 -0300 perf db

Re: [PATCH v4] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-17 Thread Adrian Hunter
uring > runtime suspend, we should not do software reset for all. To fix this > issue, adding a specific reset operation that adds one condition to validate > the power mode to decide if we can do software reset for all or just reset > command and data lines. > > Signed-off-b

Re: [PATCH v3] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-16 Thread Adrian Hunter
On 16/07/19 11:39 AM, Baolin Wang wrote: > In sdhci_runtime_resume_host() function, we will always do software reset > for all, which will cause Spreadtrum host controller work abnormally after > resuming. > > Thus for Spreadtrum platform that do not power down the SD/eMMC card during > runtime

Re: [PATCH v2] mmc: host: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming

2019-07-16 Thread Adrian Hunter
On 16/07/19 10:31 AM, Baolin Wang wrote: > In sdhci_runtime_resume_host() function, we will always do software reset > for all, which will cause Spreadtrum host controller work abnormally after > resuming. > > Thus for Spreadtrum platform that do not power down the SD/eMMC card during > runtime

Re: [PATCH] mmc: host: sdhci: Fix the incorrect soft reset operation when runtime resuming

2019-07-15 Thread Adrian Hunter
On 15/07/19 2:37 PM, Baolin Wang wrote: > Hi Adrian, > > On Mon, 15 Jul 2019 at 19:20, Adrian Hunter wrote: >> >> On 15/07/19 1:58 PM, Baolin Wang wrote: >>> In sdhci_runtime_resume_host() function, we will always do software reset >>> for all, but accordin

Re: [PATCH] mmc: host: sdhci-sprd: Fix the missing pm_runtime_put_noidle()

2019-07-15 Thread Adrian Hunter
gt; > Thus add the pm_runtime_put_noidle() in error path to make the PM runtime > counter balance, which can make the SD host device's PM runtime work well. > > Signed-off-by: Baolin Wang Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-sprd.c |1 + > 1 file changed, 1 insertion(+

Re: [PATCH] mmc: host: sdhci: Fix the incorrect soft reset operation when runtime resuming

2019-07-15 Thread Adrian Hunter
On 15/07/19 1:58 PM, Baolin Wang wrote: > In sdhci_runtime_resume_host() function, we will always do software reset > for all, but according to the specification, we should issue reset command > and reinitialize the SD/eMMC card. Where does it say that? >

[tip:perf/urgent] perf scripts python: export-to-sqlite.py: Fix DROP VIEW power_events_view

2019-07-13 Thread tip-bot for Adrian Hunter
Commit-ID: 1334bb94cd8a21217cb0c186925f9bc9d47adafc Gitweb: https://git.kernel.org/tip/1334bb94cd8a21217cb0c186925f9bc9d47adafc Author: Adrian Hunter AuthorDate: Mon, 8 Jul 2019 08:52:32 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 9 Jul 2019 10:13:28 -0300 perf scripts

[tip:perf/urgent] perf scripts python: export-to-postgresql.py: Fix DROP VIEW power_events_view

2019-07-13 Thread tip-bot for Adrian Hunter
Commit-ID: d8d051df9f906232715282cc0570c94273b197bc Gitweb: https://git.kernel.org/tip/d8d051df9f906232715282cc0570c94273b197bc Author: Adrian Hunter AuthorDate: Mon, 8 Jul 2019 08:52:31 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 9 Jul 2019 10:13:27 -0300 perf scripts

Re: [PATCH v2 00/11] Arasan SDHCI enhancements and ZynqMP Tap Delays Handling

2019-07-10 Thread Adrian Hunter
> drivers/firmware/xilinx/zynqmp.c | 48 +++ > drivers/mmc/host/sdhci-of-arasan.c | 453 > - > include/linux/firmware/xlnx-zynqmp.h | 15 +- > 5 files changed, 540 insertions(+), 29 deletions(-) > For SDHCI: Acked-by: Adrian Hunter

[PATCH 02/21] perf db-export: Rename db_export__comm() to db_export__exec_comm()

2019-07-10 Thread Adrian Hunter
Rename db_export__comm() to db_export__exec_comm() to better reflect what it does and add explanatory comments. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 22 +++--- tools/perf/util/db-export.h | 4 ++-- 2 files changed, 21 insertions(+), 5 deletions

[PATCH 01/21] perf db-export: Get rid of db_export__deferred()

2019-07-10 Thread Adrian Hunter
erred(). Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 61 +-- tools/perf/util/db-export.h | 2 - .../scripting-engines/trace-event-python.c| 4 +- 3 files changed, 2 insertions(+), 65 deletions(-) diff --git a/tools/perf/util

[PATCH 07/21] perf db-export: Fix a white space issue in db_export__sample()

2019-07-10 Thread Adrian Hunter
Fix a white space issue in db_export__sample() Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db-export.c index 31986c8c4ad2..aad322a90863 100644 --- a/tools/perf/util

[PATCH 11/21] perf db-export: Factor out db_export__comm()

2019-07-10 Thread Adrian Hunter
In preparation for exporting the current comm for a thread, factor out db_export__comm(). Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 30 +++--- tools/perf/util/db-export.h | 2 ++ 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/tools

[PATCH 04/21] perf db-export: Export main_thread in db_export__sample()

2019-07-10 Thread Adrian Hunter
Export main_thread in db_export__sample() because it makes the code easier to understand, and prepares db_export__thread() for further simplification. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions

[PATCH 06/21] perf db-export: Move export__comm_thread into db_export__sample()

2019-07-10 Thread Adrian Hunter
Move call to db_export__comm_thread() from db_export__thread() into db_export__sample() because it makes the code easier to understand, and add explanatory comments. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 35 +-- tools/perf/util/db

[PATCH 03/21] perf db-export: Pass main_thread to db_export__thread()

2019-07-10 Thread Adrian Hunter
is being traced it will have been created already. - If it is not being traced, there will be no other information about it, and it will never get deleted because there will be no EXIT event. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 29 - tools/perf

[PATCH 10/21] perf scripts python: export-to-postgresql.py: Export comm details

2019-07-10 Thread Adrian Hunter
Add table columns for thread id, comm start time and exec flag. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-postgresql.py | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf

[PATCH 19/21] perf db-export: Export switch events

2019-07-10 Thread Adrian Hunter
Export details of switch events including the threads and their current comms. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 89 +++ tools/perf/util/db-export.h | 8 ++ .../scripting-engines/trace-event-python.c| 41

[PATCH 05/21] perf db-export: Export comm before exporting thread

2019-07-10 Thread Adrian Hunter
Export comm before exporting the non-main thread because db_export__thread() also exports the comm_thread. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util

[PATCH 12/21] perf db-export: Also export thread's current comm

2019-07-10 Thread Adrian Hunter
Currently, the initial comm of the main thread is exported. Export also a thread's current comm. That better supports the tracing of multi-threaded applications that set different comms for different threads to make it easier to distinguish them. Signed-off-by: Adrian Hunter --- tools/perf/util

[PATCH 17/21] perf script: Add scripting operation process_switch()

2019-07-10 Thread Adrian Hunter
Add scripting operation process_switch() to process switch events. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 8 +++- tools/perf/util/trace-event.h | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin

[PATCH 09/21] perf scripts python: export-to-sqlite.py: Export comm details

2019-07-10 Thread Adrian Hunter
Add table columns for thread id, comm start time and exec flag. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-sqlite.py | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/perf/scripts/python/export-to-sqlite.py b/tools/perf/scripts

[PATCH 14/21] perf scripts python: export-to-postgresql.py: Add has_calls column to comms table

2019-07-10 Thread Adrian Hunter
with calls. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-postgresql.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/scripts/python/export-to-postgresql.py b/tools/perf/scripts/python/export-to-postgresql.py index 01f37877f5bb..13205e4e5b3b 100644

[PATCH 21/21] perf scripts python: export-to-postgresql.py: Export switch events

2019-07-10 Thread Adrian Hunter
Export switch events to a new table 'context_switches' and create a view 'context_switches_view'. The table and view will show automatically in the exported-sql-viewer.py script. If the table ends up empty, then it and the view are dropped. Signed-off-by: Adrian Hunter --- .../scripts/python

[PATCH 20/21] perf scripts python: export-to-sqlite.py: Export switch events

2019-07-10 Thread Adrian Hunter
Export switch events to a new table 'context_switches' and create a view 'context_switches_view'. The table and view will show automatically in the exported-sql-viewer.py script. If the table ends up empty, then it and the view are dropped. Signed-off-by: Adrian Hunter --- tools/perf/scripts

[PATCH 15/21] perf scripts python: exported-sql-viewer.py: Remove redundant semi-colons

2019-07-10 Thread Adrian Hunter
Remove redundant semi-colons added inadvertently. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 24 +-- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf/scripts

[PATCH 18/21] perf db-export: Factor out db_export__threads()

2019-07-10 Thread Adrian Hunter
In preparation for exporting switch events, factor out db_export__threads(). Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 82 ++--- 1 file changed, 48 insertions(+), 34 deletions(-) diff --git a/tools/perf/util/db-export.c b/tools/perf/util/db

[PATCH 08/21] perf db-export: Export comm details

2019-07-10 Thread Adrian Hunter
In preparation for exporting the current comm for a thread, export comm thread id, start time and exec flag. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c| 2 +- tools/perf/util/db-export.h| 3 ++- tools/perf/util/scripting

[PATCH 16/21] perf scripts python: exported-sql-viewer.py: Use new 'has_calls' column

2019-07-10 Thread Adrian Hunter
If the new 'has_calls' column is present, use it with the call graph and call tree to select only comms that have calls. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/exported-sql-viewer.py | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/perf

[PATCH 13/21] perf scripts python: export-to-sqlite.py: Add has_calls column to comms table

2019-07-10 Thread Adrian Hunter
with calls. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-sqlite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/scripts/python/export-to-sqlite.py b/tools/perf/scripts/python/export-to-sqlite.py index 97aa66dd2fe1..9156f6a1e5f0 100644 --- a/tools/perf

[PATCH 00/21] perf db-export: Comm tidy-up and export switch events

2019-07-10 Thread Adrian Hunter
process_switch() perf db-export: Factor out db_export__threads() perf db-export: Export switch events perf scripts python: export-to-sqlite.py: Export switch events perf scripts python: export-to-postgresql.py: Export switch events Adrian Hunter (21): perf db-export: Get

Re: [PATCH v2 3/4] perf intel-pt: Smatch: Fix potential NULL pointer dereference

2019-07-09 Thread Adrian Hunter
n I have your > acked-by? Yes they are good. For both: Acked-by: Adrian Hunter > > - Arnaldo > >> tools/perf/util/intel-pt.c:3200 >> intel_pt_process_auxtrace_info() error: we previously assumed >> 'session->itrace_synth_opts' could be null (

[PATCH 1/2] perf scripts python: export-to-postgresql.py: Fix DROP VIEW power_events_view

2019-07-07 Thread Adrian Hunter
PostgreSQL can error if power_events_view is not dropped before its dependent tables e.g. Exception: Query failed: ERROR: cannot drop table mwait because other objects depend on it DETAIL: view power_events_view depends on table mwait Signed-off-by: Adrian Hunter Fixes: aba44287a224

[PATCH 2/2] perf scripts python: export-to-sqlite.py: Fix DROP VIEW power_events_view

2019-07-07 Thread Adrian Hunter
Drop power_events_view before its dependent tables. SQLite does not seem to mind but the fix was needed for PostgreSQL (export-to-postgresql.py script), so do the same fix for the SQLite. It is more logical and keeps the 2 scripts following the same approach. Signed-off-by: Adrian Hunter Fixes

[PATCH 0/2] perf scripts python: export-to-postgresql/sqlite.py: Fix DROP VIEW power_events_view

2019-07-07 Thread Adrian Hunter
Hi Here is a small fix to the export-to-postgresql.py script. The export-to-sqlite.py script had the same issue but SQLite did not seem to mind. However I made the fix anyway for good measure. Adrian Hunter (2): perf scripts python: export-to-postgresql.py: Fix DROP VIEW

[tip:perf/core] perf scripts python: export-to-postgresql.py: Export Intel PT power and ptwrite events

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: aba44287a224dfcfdd99ba885ca9d9acc4de0c17 Gitweb: https://git.kernel.org/tip/aba44287a224dfcfdd99ba885ca9d9acc4de0c17 Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:48 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf

[tip:perf/core] perf scripts python: export-to-sqlite.py: Export Intel PT power and ptwrite events

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: 5130c6e55531b9bbcdeb8b327711ff204bc4835f Gitweb: https://git.kernel.org/tip/5130c6e55531b9bbcdeb8b327711ff204bc4835f Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:47 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf

[tip:perf/core] perf db-export: Export synth events

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: b9322cab17a1092e2aa7ee2505ecceb0cd5fd685 Gitweb: https://git.kernel.org/tip/b9322cab17a1092e2aa7ee2505ecceb0cd5fd685 Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:46 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf db

[tip:perf/core] perf intel-pt: Synthesize CBR events when last seen value changes

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: 5fe2cf7d19c48f2b53b57e6a5786972bc1b8d738 Gitweb: https://git.kernel.org/tip/5fe2cf7d19c48f2b53b57e6a5786972bc1b8d738 Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:45 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf intel

[tip:perf/core] perf intel-pt: Add CBR value to decoder state

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: 51b091861828f5801207a00211ea4e94102389c3 Gitweb: https://git.kernel.org/tip/51b091861828f5801207a00211ea4e94102389c3 Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:44 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf intel

[tip:perf/core] perf intel-pt: Cater for CBR change in PSB+

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: 91de8684f1cff6944634bfb9098dc3a2583f798c Gitweb: https://git.kernel.org/tip/91de8684f1cff6944634bfb9098dc3a2583f798c Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:43 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf intel

[tip:perf/core] perf intel-pt: Decoder to output CBR changes immediately

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: abe5a1d3e4bee361bd3b21b8909c8421e46911d1 Gitweb: https://git.kernel.org/tip/abe5a1d3e4bee361bd3b21b8909c8421e46911d1 Author: Adrian Hunter AuthorDate: Sat, 22 Jun 2019 12:32:42 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf intel

[tip:perf/core] perf thread-stack: Eliminate code duplicating thread_stack__pop_ks()

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: eb5d854456f5a4ccec6f9681b7196cf056df8cfa Gitweb: https://git.kernel.org/tip/eb5d854456f5a4ccec6f9681b7196cf056df8cfa Author: Adrian Hunter AuthorDate: Wed, 19 Jun 2019 09:44:29 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf thread

[tip:perf/core] perf thread-stack: Fix thread stack return from kernel for kernel-only case

2019-07-03 Thread tip-bot for Adrian Hunter
Commit-ID: 97860b483c5597663a174ff7405be957b4838391 Gitweb: https://git.kernel.org/tip/97860b483c5597663a174ff7405be957b4838391 Author: Adrian Hunter AuthorDate: Wed, 19 Jun 2019 09:44:28 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 25 Jun 2019 08:47:10 -0300 perf thread

Re: [PATCH v1 10/11] perf intel-pt: Smatch: Fix potential NULL pointer dereference

2019-07-02 Thread Adrian Hunter
On 3/07/19 4:35 AM, Leo Yan wrote: > Hi Adrian, > > On Tue, Jul 02, 2019 at 02:07:40PM +0300, Adrian Hunter wrote: >> On 2/07/19 1:34 PM, Leo Yan wrote: >>> Based on the following report from Smatch, fix the potential >>> NULL pointer dereference check. >>

Re: [PATCH v1 10/11] perf intel-pt: Smatch: Fix potential NULL pointer dereference

2019-07-02 Thread Adrian Hunter
On 2/07/19 1:34 PM, Leo Yan wrote: > Based on the following report from Smatch, fix the potential > NULL pointer dereference check. It never is NULL. Remove the NULL test if you want: - if (session->itrace_synth_opts && session->itrace_synth_opts->set) { + if

Re: [PATCH v2] mmc: sdhci-msm: fix mutex while in spinlock

2019-07-02 Thread Adrian Hunter
sequence") > Cc: sta...@vger.kernel.org > Signed-off-by: Jorge Ramirez-Ortiz > Reviewed-by: Bjorn Andersson Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-msm.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/drivers/mmc/host/sdhci-msm.c b/

Re: [PATCH 1/3] mmc: sdhci-sprd: Add start_signal_voltage_switch ops

2019-07-01 Thread Adrian Hunter
d Spreadtrum specific voltage switch ops to change > voltage instead of using standard SD host registers. > > Signed-off-by: Baolin Wang Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-sprd.c | 24 > 1 file changed, 24 insertions(+) > >

Re: [PATCH 3/3] mmc: sdhci-sprd: Add pin control support for voltage switch

2019-07-01 Thread Adrian Hunter
aolin Wang Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-sprd.c | 54 > + > 1 file changed, 54 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-sprd.c b/drivers/mmc/host/sdhci-sprd.c > index 8b23c88..6ee340a 10064

[PATCH 4/7] perf intel-pt: Synthesize CBR events when last seen value changes

2019-06-22 Thread Adrian Hunter
that changes. Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 65 -- 1 file changed, 41 insertions(+), 24 deletions(-) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index 550db6e77968..470aaae9d930 100644 --- a/tools/perf

<    1   2   3   4   5   6   7   8   9   10   >