[PATCH 6/9] perf thread-stack: Add thread_stack__br_sample_late()

2020-04-29 Thread Adrian Hunter
Add a thread stack function to create a branch stack for hardware events where the sample records get created some time after the event occurred. Signed-off-by: Adrian Hunter --- tools/perf/util/thread-stack.c | 104 + tools/perf/util/thread-stack.h | 3 + 2

[PATCH 3/9] perf intel-pt: Change branch stack support to use thread-stacks

2020-04-29 Thread Adrian Hunter
txt After: # perf script --itrace=i10usl -F+brstacksym,+addr,+flags > cmp2.txt # diff -s cmp1.txt cmp2.txt Files cmp1.txt and cmp2.txt are identical Signed-off-by: Adrian Hunter --- tools/perf/util/intel-pt.c | 141 ++--- 1 file changed, 39 insertions(+

Re: [PATCH] mmc: sdhci-pci-gli: Fix no irq handler from suspend

2020-04-29 Thread Adrian Hunter
"mmc: sdhci-pci-gli: Enable MSI interrupt for GL975x") > Co-developed-by: Renius Chen > Signed-off-by: Renius Chen > Tested-by: Dave Flogeras > Signed-off-by: Ben Chuang Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-pci-gli.c | 18 ++ >

Re: [PATCH 4/5] perf tools: Support single perf.data file directory

2019-10-21 Thread Adrian Hunter
On 7/10/19 3:06 PM, Adrian Hunter wrote: > On 7/10/19 2:20 PM, Jiri Olsa wrote: >> On Fri, Oct 04, 2019 at 11:31:20AM +0300, Adrian Hunter wrote: >> >> SNIP >> >>> u8 pad[8] = {0}; >>> >>> - if (!perf_data__is_pipe(data) && !p

[tip: perf/urgent] perf tools: Fix mode setting in copyfile_mode_ns()

2019-10-21 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/urgent branch of tip: Commit-ID: 5a0baf5123236362fda4e9772cc63b7faa16a0df Gitweb: https://git.kernel.org/tip/5a0baf5123236362fda4e9772cc63b7faa16a0df Author:Adrian Hunter AuthorDate:Mon, 07 Oct 2019 10:02:21 +03:00

Re: [RFC] mmc: cqhci: commit descriptors before setting the doorbell

2019-10-18 Thread Adrian Hunter
On 18/10/19 10:22 AM, Faiz Abbas wrote: > Adrian, > > On 16/10/19 5:46 PM, Faiz Abbas wrote: >> Adrian, >> >> On 15/10/19 7:15 PM, Adrian Hunter wrote: >>> On 15/10/19 10:55 AM, Faiz Abbas wrote: >>>> Hi, >>>> >>>> On 15/10

Re: [PATCH] MAINTAINERS: mtd/ubi/ubifs: Remove inactive maintainers

2019-10-18 Thread Adrian Hunter
t; > For this same reason, let’s trim the maintainers list with the > actually active ones over the past two years. > > [1] http://laforge.gnumonks.org/blog/20180307-mchardy-gpl/ > > Cc: David Woodhouse > Cc: Brian Norris > Cc: Artem Bityutskiy > Cc: Adrian Hunter >

Re: [RFC] mmc: cqhci: commit descriptors before setting the doorbell

2019-10-15 Thread Adrian Hunter
On 15/10/19 10:55 AM, Faiz Abbas wrote: > Hi, > > On 15/10/19 12:08 AM, Faiz Abbas wrote: >> Add a write memory barrier to make sure that descriptors are actually >> written to memory before ringing the doorbell. >> >> Signed-off-by: Faiz Abbas >> --- >> >> This patch fixes a very infrequent

[tip: perf/core] perf scripts python: exported-sql-viewer.py: Add ability for Call tree to open at a specified task and time

2019-10-14 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: e69d5df75d74da14cbc8c96bbc1d9e86cc91ad0b Gitweb: https://git.kernel.org/tip/e69d5df75d74da14cbc8c96bbc1d9e86cc91ad0b Author:Adrian Hunter AuthorDate:Wed, 21 Aug 2019 11:32:15 +03:00

[tip: perf/core] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-10-14 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: b3700f21c2ede55aeab3aba728bce434051ec631 Gitweb: https://git.kernel.org/tip/b3700f21c2ede55aeab3aba728bce434051ec631 Author:Adrian Hunter AuthorDate:Wed, 21 Aug 2019 11:32:16 +03:00

[tip: perf/core] perf scripts python: exported-sql-viewer.py: Add global time range calculations

2019-10-14 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: 9a9dae36556e8f7689f68f05d169ac6c132c5f15 Gitweb: https://git.kernel.org/tip/9a9dae36556e8f7689f68f05d169ac6c132c5f15 Author:Adrian Hunter AuthorDate:Wed, 21 Aug 2019 11:32:13 +03:00

[tip: perf/core] perf scripts python: exported-sql-viewer.py: Add HBoxLayout and VBoxLayout

2019-10-14 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: 42c303ff9a25c4b95a75f8f10d08661183497d41 Gitweb: https://git.kernel.org/tip/42c303ff9a25c4b95a75f8f10d08661183497d41 Author:Adrian Hunter AuthorDate:Wed, 21 Aug 2019 11:32:12 +03:00

[tip: perf/core] perf scripts python: exported-sql-viewer.py: Add LookupModel()

2019-10-14 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: 181ea40a24af9a60c2ee75d4f271980f6453f585 Gitweb: https://git.kernel.org/tip/181ea40a24af9a60c2ee75d4f271980f6453f585 Author:Adrian Hunter AuthorDate:Wed, 21 Aug 2019 11:32:11 +03:00

[tip: perf/core] perf scripts python: exported-sql-viewer.py: Tidy up Call tree call_time

2019-10-14 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: da4264f5cf8a6b798bf5494e08a5dae85a61c4c3 Gitweb: https://git.kernel.org/tip/da4264f5cf8a6b798bf5494e08a5dae85a61c4c3 Author:Adrian Hunter AuthorDate:Wed, 21 Aug 2019 11:32:14 +03:00

Re: [PATCH v1 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM SDXC

2019-10-08 Thread Adrian Hunter
l's LGM > SDXC PHY with arasan-sdhc controller to configure the PHY. > > Signed-off-by: Ramuthevar Vadivel Murugan > Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-of-arasan.c | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/drivers/mmc

Re: [PATCH 5/5] perf record: Put a copy of kcore into the perf.data directory

2019-10-07 Thread Adrian Hunter
On 7/10/19 2:20 PM, Jiri Olsa wrote: > On Fri, Oct 04, 2019 at 11:31:21AM +0300, Adrian Hunter wrote: > > SNIP > >> bool strict_freq; >> bool sample_id; >> bool no_bpf_event; >> +bool kcore; >>

Re: [PATCH 5/5] perf record: Put a copy of kcore into the perf.data directory

2019-10-07 Thread Adrian Hunter
On 7/10/19 2:20 PM, Jiri Olsa wrote: > On Fri, Oct 04, 2019 at 11:31:21AM +0300, Adrian Hunter wrote: > > SNIP > >> +} >> + >> static int record__mmap_evlist(struct record *rec, >> struct evlist *evlist) >> { >> @@ -1

Re: [PATCH 4/5] perf tools: Support single perf.data file directory

2019-10-07 Thread Adrian Hunter
On 7/10/19 2:20 PM, Jiri Olsa wrote: > On Fri, Oct 04, 2019 at 11:31:20AM +0300, Adrian Hunter wrote: > > SNIP > >> u8 pad[8] = {0}; >> >> -if (!perf_data__is_pipe(data) && !perf_data__is_dir(data)) { >> +if (!perf_data__is_

[PATCH] perf session: Fix indent in perf_session__new()

2019-10-07 Thread Adrian Hunter
Minor white space fix. Reported-by: Jiri Olsa Signed-off-by: Adrian Hunter --- tools/perf/util/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 061bb4d6a3f5..5b7a85224cee 100644 --- a/tools/perf/util

[PATCH] perf tools: Fix mode setting in copyfile_mode_ns()

2019-10-07 Thread Adrian Hunter
cache directory /home/ahunter/.debug/[kernel.kcore]/37e340b1b5a7cf4f57ba8de2bc777359588a957f/2019100709562289 Signed-off-by: Adrian Hunter --- tools/perf/util/copyfile.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/copyfile.c b/tools/perf/util

Re: [PATCH 0/6] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-10-04 Thread Adrian Hunter
On 3/10/19 4:43 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 03, 2019 at 10:25:31AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Thu, Oct 03, 2019 at 02:01:16PM +0300, Adrian Hunter escreveu: >>> On 6/09/19 11:57 AM, Adrian Hunter wrote: >>>> On 21/08/19

[PATCH 1/5] perf data: Correctly identify directory data files

2019-10-04 Thread Adrian Hunter
In order to rename the "header" file to "data" without conflicting, correctly identify the non-header files as starting with "data." Signed-off-by: Adrian Hunter --- tools/perf/util/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools

[PATCH 3/5] perf data: Rename directory "header" file to "data"

2019-10-04 Thread Adrian Hunter
In preparation to support a single file directory format, rename "header" to "data" because "header" is a mis-leading name when there is only 1 file. Note, in the multi-file case, the "header" file also contains data. Signed-off-by: Adrian Hunter --- t

[PATCH 2/5] perf data: Move perf_dir_version into data.h

2019-10-04 Thread Adrian Hunter
perf_dir_version belongs to struct perf_data which is declared in data.h. To allow its use in inline perf_data functions, move perf_dir_version to data.h Signed-off-by: Adrian Hunter --- tools/perf/util/data.h | 4 tools/perf/util/header.h | 4 2 files changed, 4 insertions(+), 4

[PATCH 5/5] perf record: Put a copy of kcore into the perf.data directory

2019-10-04 Thread Adrian Hunter
: a3019232 check_memory_region+0x52 (vmlinux) Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-record.txt | 3 ++ .../perf.data-directory-format.txt| 35 + tools/perf/builtin-record.c | 52 +++ tools/perf/util/data.c

[PATCH 0/5] perf record: Put a copy of kcore into the perf.data directory

2019-10-04 Thread Adrian Hunter
:2457397 cycles: a3019232 check_memory_region+0x52 (vmlinux) Adrian Hunter (5): perf data: Correctly identify directory data files perf data: Move perf_dir_version into data.h perf data: Rename directory "header" file to "data" perf tools: Supp

[PATCH 4/5] perf tools: Support single perf.data file directory

2019-10-04 Thread Adrian Hunter
rmat above. Presently there is no 'perf record' option to output a directory. This is preparation for adding support for putting a copy of /proc/kcore in the directory. Signed-off-by: Adrian Hunter --- .../perf.data-directory-format.txt| 28 +++ tools/perf/builti

Re: [PATCH 0/6] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-10-03 Thread Adrian Hunter
On 6/09/19 11:57 AM, Adrian Hunter wrote: > On 21/08/19 11:32 AM, Adrian Hunter wrote: >> Hi >> >> These patches to exported-sql-viewer.py, add a time chart based on context >> switch information. Context switch information was added to the database >> export f

Re: [PATCH v1 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM SDXC

2019-10-03 Thread Adrian Hunter
On 3/10/19 7:00 AM, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > The current arasan sdhci PHY configuration isn't compatible > with the PHY on Intel's LGM(Lightning Mountain) SoC devices. > > Therefore, add a new compatible, to adapt the Intel's LGM > SDXC PHY with

Re: [PATCH v3 0/3] Add MMC software queue support

2019-09-26 Thread Adrian Hunter
On 26/09/19 12:43 PM, Baolin Wang wrote: > Hi Adrian and Ulf, > > On Thu, 19 Sep 2019 at 13:59, Baolin Wang wrote: >> >> Hi All, >> >> Now the MMC read/write stack will always wait for previous request is >> completed by mmc_blk_rw_wait(), before sending a new request to hardware, >> or queue a

Re: [PATCH RFC 1/2] perf tools: Support single perf.data file directory

2019-09-24 Thread Adrian Hunter
On 24/09/19 2:12 PM, Jiri Olsa wrote: > On Tue, Sep 24, 2019 at 12:12:25PM +0300, Adrian Hunter wrote: >> On 24/09/19 12:34 AM, Jiri Olsa wrote: >>> On Mon, Sep 16, 2019 at 11:56:45AM +0300, Adrian Hunter wrote: >>>> Support directory output that con

Re: [PATCH RFC 1/2] perf tools: Support single perf.data file directory

2019-09-24 Thread Adrian Hunter
On 24/09/19 12:34 AM, Jiri Olsa wrote: > On Mon, Sep 16, 2019 at 11:56:45AM +0300, Adrian Hunter wrote: >> Support directory output that contains a regular perf.data file. This is >> preparation for adding support for putting a copy of /proc/kcore in that >> directo

Re: [PATCH 1/2] mmc: sdhci: Check card status after reset

2019-09-23 Thread Adrian Hunter
ile a reset was in progress. > > Signed-off-by: Raul E Rangel Should have Acked this ages ago, sorry :-( Acked-by: Adrian Hunter > --- > Sorry this took me so long to send out. I tested out the patch set on > 5.3-rc5 with multiple devices. > > This patch was proposed here

Re: [PATCH 2/2] mmc: tegra: Implement ->set_dma_mask()

2019-09-23 Thread Adrian Hunter
> Signed-off-by: Nicolin Chen > [tred...@nvidia.com: provide more background in commit message] > Signed-off-by: Thierry Reding And again with inux->mmc -> linux-mmc Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-tegra.c | 48 -- >

Re: [PATCH 2/2] mmc: tegra: Implement ->set_dma_mask()

2019-09-23 Thread Adrian Hunter
igned-off-by: Nicolin Chen > [tred...@nvidia.com: provide more background in commit message] > Signed-off-by: Thierry Reding Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-tegra.c | 48 -- > 1 file changed, 28 insertions(+), 20 deletion

Re: [PATCH V9 5/5] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-09-18 Thread Adrian Hunter
s after set 1.8V signal enable for GL9750/ >> GL9755. Fix the value of SDHCI_MAX_CURRENT register and use the vendor >> tuning flow for GL9750. > It is OK by me: Acked-by: Adrian Hunter

[PATCH RFC 2/2] perf record: Put a copy of kcore into the perf.data directory

2019-09-16 Thread Adrian Hunter
cycles: a2cae0c9 unwind_next_frame.part.5+0x79 (vmlinux) uname 19058 506778.424430:2457397 cycles: a3019232 check_memory_region+0x52 (vmlinux) Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-record.txt | 3 ++ tools/perf/builtin-record.c

[PATCH RFC 1/2] perf tools: Support single perf.data file directory

2019-09-16 Thread Adrian Hunter
Support directory output that contains a regular perf.data file. This is preparation for adding support for putting a copy of /proc/kcore in that directory. Distinguish the multiple file case from the regular (single) perf.data file case by adding data->is_multi_file. Signed-off-by: Adr

[PATCH RFC 0/2] perf record: Put a copy of kcore into the perf.data directory

2019-09-16 Thread Adrian Hunter
Hi Here are 2 patches to add an option to 'perf record' to put a copy of kcore into a directory with perf.data. Refer to patch 2 for an example. Adrian Hunter (2): perf tools: Support single perf.data file directory perf record: Put a copy of kcore into the perf.data directory

Re: Tracing text poke / kernel self-modifying code (Was: Re: [RFC v2 0/6] x86: dynamic indirect branch promotion)

2019-09-12 Thread Adrian Hunter
On 29/08/19 2:46 PM, Peter Zijlstra wrote: > On Thu, Aug 29, 2019 at 12:40:56PM +0300, Adrian Hunter wrote: >> Can you expand on "and ensure the poke_handler preserves the existing >> control flow"? Whatever the INT3-handler does will be traced normally so >> lon

Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Adrian Hunter
On 9/09/19 3:16 PM, Baolin Wang wrote: > Hi Adrian, > > On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote: >> >> On 6/09/19 6:52 AM, Baolin Wang wrote: >>> Now the MMC read/write stack will always wait for previous request is >>> completed by mmc_blk_

Re: [PATCH 4/4] mmc: host: sdhci: Add virtual command queue support

2019-09-09 Thread Adrian Hunter
On 6/09/19 6:52 AM, Baolin Wang wrote: > Add cqhci_virt_finalize_request() to help to complete a request > from virtual command queue. > > Signed-off-by: Baolin Wang > --- > drivers/mmc/host/sdhci.c |7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH 2/4] mmc: Add virtual command queue support

2019-09-09 Thread Adrian Hunter
On 6/09/19 6:52 AM, Baolin Wang wrote: > Now the MMC read/write stack will always wait for previous request is > completed by mmc_blk_rw_wait(), before sending a new request to hardware, > or queue a work to complete request, that will bring context switching > overhead, especially for high I/O

Re: [PATCH v2 09/11] mmc: sdhci: Drop redundant check in sdhci_ack_sdio_irq()

2019-09-09 Thread Adrian Hunter
Signed-off-by: Ulf Hansson Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c > index d814dc004bad..efa6cda8c991 100644 > --- a/drivers/mm

Re: [PATCH 0/6] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-09-06 Thread Adrian Hunter
On 21/08/19 11:32 AM, Adrian Hunter wrote: > Hi > > These patches to exported-sql-viewer.py, add a time chart based on context > switch information. Context switch information was added to the database > export fairly recently, so the chart menu option will only appear if &

Re: [PATCH V7 5/5] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-09-04 Thread Adrian Hunter
On 4/09/19 3:58 AM, Ben Chuang wrote: > On Tue, Sep 3, 2019 at 6:05 AM Andy Shevchenko > wrote: >> >> On Fri, Aug 30, 2019 at 5:28 AM Ben Chuang wrote: >>> >>> From: Ben Chuang >>> >>> Add support for the GL9750 and GL9755 chipsets. >>> >>> Enable v4 mode and wait 5ms after set 1.8V signal

Re: [PATCH V9 2/3] mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue

2019-09-04 Thread Adrian Hunter
On 29/08/19 8:40 PM, Shirley Her (SC) wrote: > Move functions in preparation to fix DLL lock phase shift issue > > Signed-off-by: Shirley Her Acked-by: Adrian Hunter So that is all 3 patches acked now. > --- > change in V9: > 1. modify subject and commit message

Re: [PATCH v2] mmc: tegra: Implement enable_dma() to set dma_mask

2019-09-04 Thread Adrian Hunter
On 16/08/19 2:16 AM, Nicolin Chen wrote: > On Thu, Aug 15, 2019 at 02:48:20PM +0300, Adrian Hunter wrote: >> On 14/08/19 3:57 AM, Nicolin Chen wrote: >>> [ Integrated the change and commit message made by Thierry Reding ] >>> >>> The SDHCI controller found in ea

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-09-04 Thread Adrian Hunter
On 2/09/19 5:15 PM, Leo Yan wrote: > Hi Adrian, > > On Mon, Aug 26, 2019 at 08:51:05PM +0800, Leo Yan wrote: >> Hi Adrian, >> >> On Fri, Aug 16, 2019 at 04:00:02PM +0300, Adrian Hunter wrote: >>> On 16/08/19 4:45 AM, Leo Yan wrote: >>>> Hi Adri

Re: [PATCH V6 5/5] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-08-29 Thread Adrian Hunter
On 28/08/19 4:47 PM, Michael K. Johnson wrote: > On Wed, Aug 28, 2019 at 04:13:03PM +0300, Adrian Hunter wrote: >> On 27/08/19 3:33 AM, Ben Chuang wrote: >> Looks good, one minor comment > ... >>> +#ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS >> >> Argua

Re: [PATCH v2] mmc: sdhci: use lower/upper_32_bits() macros for DMA addresses

2019-08-29 Thread Adrian Hunter
t; > I introduced a new helper, sdhci_set_adma_addr() to avoid the code > duplication. > > Signed-off-by: Masahiro Yamada Even better, thanks! Acked-by: Adrian Hunter > --- > > Changes in v2: > - Another way to reduce linu wrapping > > drivers/mmc/host/s

Re: [PATCH 3/3] mmc: sdhci-cadence: override spec version

2019-08-29 Thread Adrian Hunter
n it integrated the IP into the SoCs. > So, it is working as SDHCI v3. > > It is not a real problem because there is no difference in the program > flow in sdhci.c between SDHCI_SPEC_300/400, but set the real version > just in case. > > Signed-off-by: Masahiro Yamada Acked-by:

Re: [PATCH 2/3] mmc: sdhci: constify references of parameters to __sdhci_read_caps()

2019-08-29 Thread Adrian Hunter
On 29/08/19 1:49 PM, Masahiro Yamada wrote: > __sdhci_read_caps() does not modify *ver, *caps, or *caps1. > > Probably, the caller of this function will want to constifythe > parameters passed in. > > Signed-off-by: Masahiro Yamada Acked-by: Adrian Hunter > --- > >

Re: [PATCH V8 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock phase shift issue

2019-08-29 Thread Adrian Hunter
; Shirley > > -Original Message- > From: Adrian Hunter [mailto:adrian.hun...@intel.com] > Sent: Wednesday, August 28, 2019 1:38 AM > To: Shirley Her (SC) ; ulf.hans...@linaro.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Cc: Chevron Li (WH) ; Shaper Liu (

Re: [PATCH V8 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock phase shift issue

2019-08-29 Thread Adrian Hunter
On 21/08/19 9: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 Acked-by: Adrian Hunter > --- > change in V8: > 1. fix patch format error > > change in V7: > 1.

Re: Tracing text poke / kernel self-modifying code (Was: Re: [RFC v2 0/6] x86: dynamic indirect branch promotion)

2019-08-29 Thread Adrian Hunter
On 29/08/19 11:53 AM, Peter Zijlstra wrote: > On Thu, Aug 29, 2019 at 11:23:52AM +0300, Adrian Hunter wrote: >> On 9/01/19 12:35 PM, Peter Zijlstra wrote: >>> On Tue, Jan 08, 2019 at 12:47:42PM -0800, Nadav Amit wrote: >>> >>>> A general solution is mor

Tracing text poke / kernel self-modifying code (Was: Re: [RFC v2 0/6] x86: dynamic indirect branch promotion)

2019-08-29 Thread Adrian Hunter
On 9/01/19 12:35 PM, Peter Zijlstra wrote: > On Tue, Jan 08, 2019 at 12:47:42PM -0800, Nadav Amit wrote: > >> A general solution is more complicated, however, due to the racy nature of >> cross-modifying code. There would need to be TSC recording of the time >> before the modifications start and

Re: [PATCH V6 5/5] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-08-28 Thread Adrian Hunter
On 27/08/19 3:33 AM, Ben Chuang wrote: > From: Ben Chuang > > Add support for the GL9750 and GL9755 chipsets. > > Enable v4 mode and wait 5ms after set 1.8V signal enable for GL9750/ > GL9755. Fix the value of SDHCI_MAX_CURRENT register and use the vendor > tuning flow for GL9750. Looks good,

Re: [PATCH] mmc: sdhci: use lower/upper_32_bits() macros for DMA addresses

2019-08-28 Thread Adrian Hunter
On 28/08/19 2:14 PM, Masahiro Yamada wrote: > Currently, the DMA addresses are casted to (u64) for the upper 32bits > to avoid "right shift count >= width of type" warning. > > provides macros to address this, and the macro names > are self-documenting. > > Signed-off-by: Masahiro Yamada > ---

Re: [PATCH V6 4/5] mmc: sdhci: Export sdhci_abort_tuning function symbol

2019-08-28 Thread Adrian Hunter
On 27/08/19 3:33 AM, Ben Chuang wrote: > From: Ben Chuang > > Export sdhci_abort_tuning() function symbols which are used by other SD Host > controller driver modules. > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Jo

Re: [PATCH V8 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock phase shift issue

2019-08-28 Thread Adrian Hunter
On 21/08/19 9: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 2 comments below: > --- > change in V8: > 1. fix patch format error > > change in V7: > 1. change subject > 2. change the

Re: [PATCH V8 2/3] mmc: sdhci-pci-o2micro: Modify get CD status function

2019-08-28 Thread Adrian Hunter
On 21/08/19 9:39 PM, Shirley Her (SC) wrote: > Modify get CD status function You have lost the V7 changes to the subject and commit message. > > Signed-off-by: Shirley Her > --- > change in V8: > 1. fix patch format error > > change in V7: > 1. change subject to match the patch > 2. move

Re: [PATCH V8 1/3] mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name

2019-08-28 Thread Adrian Hunter
On 21/08/19 9:38 PM, Shirley Her (SC) wrote: > Change O2 Host PLL and DLL register name > > Signed-off-by: Shirley Her Acked-by: Adrian Hunter > --- > change in V8: > 1. fix patch format error > > change in V7: > 1. change subject > > change in V6: >

[tip: perf/core] perf evsel: Add comment for 'idx' member in 'struct perf_sample_id

2019-08-22 Thread tip-bot2 for Adrian Hunter
The following commit has been merged into the perf/core branch of tip: Commit-ID: 3c84e65a533dbaa1a29bfd847deca73704b675eb Gitweb: https://git.kernel.org/tip/3c84e65a533dbaa1a29bfd847deca73704b675eb Author:Adrian Hunter AuthorDate:Mon, 12 Aug 2019 12:09:35 +03:00

Re: [PATCH V5 4/4] mmc: host: sdhci-pci: Add Genesys Logic GL975x support

2019-08-21 Thread Adrian Hunter
On 20/08/19 5:07 AM, Ben Chuang wrote: > From: Ben Chuang > > Add support for the GL9750 and GL9755 chipsets. > > The patches enable v4 mode and wait 5ms after set 1.8V signal enable for > GL9750/GL9755. It fixed the value of SDHCI_MAX_CURRENT register and uses > the vendor tuning flow for

Re: [PATCH V5 3/4] PCI: Add Genesys Logic, Inc. Vendor ID

2019-08-21 Thread Adrian Hunter
On 20/08/19 5:06 AM, Ben Chuang wrote: > From: Ben Chuang > > Add the Genesys Logic, Inc. vendor ID to pci_ids.h. > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Johnson Acked-by: Adrian Hunter > --- > include/linux

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

2019-08-21 Thread Adrian Hunter
> Version 4.20. > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Johnson Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci.c | 23 +++ > drivers/mmc/host/sdhci.h | 1 + > 2 files changed, 24 i

Re: [PATCH V5 1/4] mmc: sdhci: Change timeout of loop for checking internal clock stable

2019-08-21 Thread Adrian Hunter
huang > Co-developed-by: Michael K Johnson > Signed-off-by: Michael K Johnson Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c

Re: Subject: [PATCH V7 3/3] mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-21 Thread Adrian Hunter
On 20/08/19 1:11 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 Please do not prefix the subject by "Subject: " Please put a space after Signed-off-by: > --- > change in V7: > 1. change subject > 2. change

Re: Subject: [PATCH V7 1/3] mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name

2019-08-21 Thread Adrian Hunter
On 20/08/19 1:08 AM, Shirley Her (SC) wrote: > Change O2 Host PLL and DLL register name > > Signed-off-by:Shirley Her Please do not prefix the subject by "Subject: " Please put a space after Signed-off-by: > --- > change in v7: > 1. change subject > > change in V6: > 1. change subject and

Re: Subject: [PATCH V7 2/3] mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue

2019-08-21 Thread Adrian Hunter
On 20/08/19 1:09 AM, Shirley Her (SC) wrote: > Move functions in preparation to fix DLL lock phase shift issue > > Signed-off-by:Shirley Her Please do not prefix the subject by "Subject: " Please put a space after Signed-off-by: > --- > change in V7: > 1. change subject to match the patch >

[PATCH 1/6] perf scripts python: exported-sql-viewer.py: Add LookupModel()

2019-08-21 Thread Adrian Hunter
Add LookupModel() to find a model in the model cache without creating it. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/exported-sql-viewer.py | 9 + 1 file changed, 9 insertions(+) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf/scripts/python

[PATCH 2/6] perf scripts python: exported-sql-viewer.py: Add HBoxLayout and VBoxLayout

2019-08-21 Thread Adrian Hunter
Add layout classes HBoxLayout and VBoxLayout. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 41 ++- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf/scripts/python

[PATCH 3/6] perf scripts python: exported-sql-viewer.py: Add global time range calculations

2019-08-21 Thread Adrian Hunter
Add calculations to determine a time range that encompasses all data. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 113 +- 1 file changed, 109 insertions(+), 4 deletions(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b

[PATCH 5/6] perf scripts python: exported-sql-viewer.py: Add ability for Call tree to open at a specified task and time

2019-08-21 Thread Adrian Hunter
Add ability for Call tree to open at a specified task and time. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 44 ++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf

[PATCH 0/6] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-08-21 Thread Adrian Hunter
Viewer Help option for more information about the chart. Adrian Hunter (6): perf scripts python: exported-sql-viewer.py: Add LookupModel() perf scripts python: exported-sql-viewer.py: Add HBoxLayout and VBoxLayout perf scripts python: exported-sql-viewer.py: Add global time range

[PATCH 4/6] perf scripts python: exported-sql-viewer.py: Tidy up Call tree call_time

2019-08-21 Thread Adrian Hunter
Record call_time on tree nodes and re-name the misnamed "count" parameter. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/exported-sql-viewer.py | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/tools/perf/scripts/python/exported-sql-vi

[PATCH 6/6] perf scripts python: exported-sql-viewer.py: Add Time chart by CPU

2019-08-21 Thread Adrian Hunter
the chart. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 1333 - 1 file changed, 1331 insertions(+), 2 deletions(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py b/tools/perf/scripts/python/exported-sql-viewer.py index a5af52f422e6

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-08-16 Thread Adrian Hunter
On 16/08/19 4:45 AM, Leo Yan wrote: > Hi Adrian, > > On Thu, Aug 15, 2019 at 02:45:57PM +0300, Adrian Hunter wrote: > > [...] > >>>> How come you cannot use kallsyms to get the information? >>> >>> Thanks for pointing out this. Sorry I skipp

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

2019-08-15 Thread Adrian Hunter
On 15/08/19 3:04 PM, Michael K. Johnson wrote: > On Thu, Aug 15, 2019 at 02:27:44PM +0300, Adrian Hunter wrote: >> On 13/08/19 1:56 AM, Michael K. Johnson wrote: >>> The GL9750 and GL9755 chipsets, and possibly others, require PLL Enable >>> setup as part of the intern

Re: [PATCH v1 4/4] mmc: sdhci-of-esdhc: add erratum A011334 support in ls1028a 1.0 SoC

2019-08-15 Thread Adrian Hunter
On 14/08/19 10:26 AM, Yinbo Zhu wrote: > This patch is to add erratum A011334 support in ls1028a 1.0 SoC > > Signed-off-by: Yinbo Zhu Acked-by: Adrian Hunter > --- > drivers/mmc/host/sdhci-of-esdhc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/m

Re: [PATCH v2] mmc: tegra: Implement enable_dma() to set dma_mask

2019-08-15 Thread Adrian Hunter
On 14/08/19 3:57 AM, Nicolin Chen wrote: > [ Integrated the change and commit message made by Thierry Reding ] > > The SDHCI controller found in early Tegra SoCs (from Tegra20 through > Tegra114) used an AHB interface to the memory controller, which allowed > only 32 bits of memory to be

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-08-15 Thread Adrian Hunter
On 15/08/19 2:32 PM, Leo Yan wrote: > Hi Adrian, > > On Thu, Aug 15, 2019 at 11:54:54AM +0300, Adrian Hunter wrote: > > [...] > >>> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config >>> index e4988f49ea79..d7ff839d8b20 100644 >>&g

Re: [PATCH v3 2/3] PCI: Add Genesys Logic, Inc. Vendor ID

2019-08-15 Thread Adrian Hunter
On 13/08/19 1:57 AM, Michael K. Johnson wrote: > Add the Genesys Logic, Inc. verndor ID to pci_ids.h. verndor -> vendor > > Signed-off-by: Ben Chuang > Co-developed-by: Michael K Johnson Did you mean for this patch to be "From:" Ben Chuang because otherwise "Co-developed-by" the author is

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

2019-08-15 Thread Adrian Hunter
On 13/08/19 1:56 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 V6 3/3] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-15 Thread Adrian Hunter
On 9/08/19 8:38 PM, Shirley Her (SC) wrote: > Fix data read/write error in HS200 mode due to chip DLL lock phase shift Please change subject to: mmc: sdhci-pci-o2micro: Fix O2 Host data read/write DLL Lock Phase shift issue > > Signed-off-by:Shirley Her > --- > change in V6: > 1. define

Re: [PATCH V6 2/3] mmc: sdhci: Modify get CD status function

2019-08-15 Thread Adrian Hunter
On 9/08/19 8:38 PM, Shirley Her (SC) wrote: > Modify get CD status function Please change the subject to: mmc: sdhci-pci-o2micro: Move functions in preparation to fix DLL lock phase shift issue Please change the commit message accordingly. Also this patch should not make any changes except

Re: [PATCH V6 1/3] mmc: sdhci: Change O2 Host PLL and DLL register name

2019-08-15 Thread Adrian Hunter
On 9/08/19 8:37 PM, Shirley Her (SC) wrote: > Change register name O2_PLL_WDT_CONTROL1 to O2_PLL_DLL_WDT_CONTROL1 > > Signed-off-by:Shirley Her Please change the subject to: mmc: sdhci-pci-o2micro: Change O2 Host PLL and DLL register name > --- > change in V6: > 1. change subject and commit

[tip:perf/core] perf intel-pt: Add brief documentation for PEBS via Intel PT

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 243384dd25c8ea721c5c82a229eaf33cbd1bfd52 Gitweb: https://git.kernel.org/tip/243384dd25c8ea721c5c82a229eaf33cbd1bfd52 Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:06 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf intel

[tip:perf/core] perf tools: Add aux-output config term

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 1b9921546a9641aefc4a52c1c635b96b67142993 Gitweb: https://git.kernel.org/tip/1b9921546a9641aefc4a52c1c635b96b67142993 Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:05 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf tools

[tip:perf/core] perf tools: Add itrace option 'o' to synthesize aux-output events

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 181ebb5e23a5e480f6d6aa2816a9c4aaa65afa59 Gitweb: https://git.kernel.org/tip/181ebb5e23a5e480f6d6aa2816a9c4aaa65afa59 Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf tools

[tip:perf/core] perf intel-pt: Process options for PEBS event synthesis

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 9e64cefe4335b0f2799956d3f3cca8bb652d950f Gitweb: https://git.kernel.org/tip/9e64cefe4335b0f2799956d3f3cca8bb652d950f Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:04 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf intel

[tip:perf/core] perf tools: Add aux_output attribute flag

2019-08-15 Thread tip-bot for Adrian Hunter
Commit-ID: 5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f Gitweb: https://git.kernel.org/tip/5a4b58e5d64ac7ebca175ffd8d74ca1b5cb0a01f Author: Adrian Hunter AuthorDate: Tue, 6 Aug 2019 11:46:02 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 14 Aug 2019 10:59:59 -0300 perf tools

Re: [PATCH v5] perf machine: arm/arm64: Improve completeness for kernel address space

2019-08-15 Thread Adrian Hunter
0 [unknown] > 0008a14c bpf_prog_e470211b846088d5_sys_enter > 0 [unknown] >0008a180 bpf_prog_e470211b846088d5_sys_enter >[...] > > Cc: Mathieu Poirier > Cc: Alexander Shishkin > Cc: Jiri Olsa > Cc: Namhyung Kim >

[PATCH] scsi: ufs: Fix NULL pointer dereference in ufshcd_config_vreg_hpm()

2019-08-14 Thread Adrian Hunter
in commit 60f0187031c0 ("scsi: ufs: disable vccq if it's not needed by UFS device") which in turn was reverted by commit 730679817d83 ("Revert "scsi: ufs: disable vccq if it's not needed by UFS device""). So fix applies v3.18 to v4.5 and v5.1+ Signed-off-by: Adrian Hunter

Re: [PATCH v1] Revert "mmc: sdhci-tegra: drop ->get_ro() implementation"

2019-08-12 Thread Adrian Hunter
on") > Signed-off-by: Dmitry Osipenko Acked-by: Adrian Hunter

Re: [RFC] perf_sample_id::idx

2019-08-12 Thread Adrian Hunter
461ff83d9d Mon Sep 17 00:00:00 2001 From: Adrian Hunter Date: Mon, 12 Aug 2019 12:06:31 +0300 Subject: [PATCH] perf tools: Add comment for idx in struct perf_sample_id 'idx' was added as preparation for AUX area sampling. Add a comment to describe why. Signed-off-by: Adrian Hunter --- tools/

Re: [PATCH v1] Revert "mmc: sdhci-tegra: drop ->get_ro() implementation"

2019-08-12 Thread Adrian Hunter
On 9/08/19 1:24 AM, Dmitry Osipenko wrote: > The WRITE_PROTECT bit is always in a "protected mode" on Tegra and > WP-GPIO state need to be used instead. In a case of the GPIO absence, > write-enable should be assumed. External SD is writable once again as > a result of this patch because the

Re: [PATCH] mmc: sdhci-cadence: use struct_size() helper

2019-08-12 Thread Adrian Hunter
+ sizeof(priv->phy_params[0]) * nr_phy_params > > with: > > struct_size(priv, phy_params, nr_phy_params) > > Also, notice that, in this case, variable priv_size is not necessary, > hence it is removed. > > This code was detected with the help of Coccinelle. > > Si

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

2019-08-12 Thread Adrian Hunter
On 12/08/19 10:02 AM, Leo Yan wrote: > On Mon, Aug 12, 2019 at 09:37:33AM +0300, Adrian Hunter wrote: >> 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

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