Re: [PATCH] [RFC] arm64: enable HAVE_LD_DEAD_CODE_DATA_ELIMINATION

2021-03-10 Thread Sedat Dilek
On Wed, Mar 10, 2021 at 10:47 PM Nicolas Pitre wrote: ... > > With CONFIG_TRIM_UNUSED_KSYMS=y I see a 3x-loops of building .version > > and folowing steps - got no answer if this is intended. > > Yes it is intended. I explained it here: > > https://lkml.org/lkml/2021/3/9/1099 > Ah, cool. Thanks f

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-05 Thread Sedat Dilek
On Fri, Mar 5, 2021 at 8:54 PM Sedat Dilek wrote: > > On Fri, Mar 5, 2021 at 8:47 PM Alan Stern wrote: > > > > On Fri, Mar 05, 2021 at 08:41:40PM +0100, Sedat Dilek wrote: > > > On Fri, Mar 5, 2021 at 8:30 PM Alan Stern > > > wrote: > > > > >

Re: Linux 5.12-rc1

2021-03-05 Thread Sedat Dilek
On Mon, Mar 1, 2021 at 10:34 PM Linus Torvalds wrote: > > On Mon, Mar 1, 2021 at 12:35 AM Sedat Dilek wrote: > > > > I wondered why there was approx. for 6 days no commits and got an > > answer from an LWN posting "5.12 Merge window delayed". > > Unsure, i

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 5:58 PM Alan Stern wrote: > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > > No, with Debian-Kernel 5.10.19-1 there are no xhci-resets: > > Is the kernel the only thing that is different? The rest of the > operating system and envir

Re: [PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 8:48 PM Hugh Dickins wrote: > > There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: > move the CONFIG_IWLMVM guard up before the problematic SnJ workaround > to fix the build breakage. > > Fixes: 930be4e76f26 ("iwlwifi: add support for SnJ with Jf devices")

Re: [PATCH 2/2] iwlwifi: fix DVM boot regression in 5.12-rc

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 8:50 PM Hugh Dickins wrote: > > No time_point op has been provided for DVM: check for NULL before > calling, to fix the oops (blank screen booting non-modular kernel). > > Fixes: d01293154c0a ("iwlwifi: dbg: add op_mode callback for collecting debug > data.") > Signed-off-b

Re: [PATCH 1/2] iwlwifi: fix DVM build regression in 5.12-rc

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:27 PM Hugh Dickins wrote: > > On Sat, 6 Mar 2021, Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 8:48 PM Hugh Dickins wrote: > > > > > > There is no iwl_so_trans_cfg if CONFIG_IWLDVM but not CONFIG_IWLMVM: > > > move the CONFIG_IWL

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern wrote: > > > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > > > No, with Debian-Kernel 5.10.19-1 there are no xhci-resets: > > > > Is the

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:38 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern wrote: > > > > > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > > > > No

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:49 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 9:38 PM Sedat Dilek wrote: > > > > On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > > > > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern > > > wrote: > > > >

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:56 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 9:49 PM Sedat Dilek wrote: > > > > On Sat, Mar 6, 2021 at 9:38 PM Sedat Dilek wrote: > > > > > > On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > > > &

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-07 Thread Sedat Dilek
On Sun, Mar 7, 2021 at 4:46 PM Alan Stern wrote: > > On Sat, Mar 06, 2021 at 09:49:00PM +0100, Sedat Dilek wrote: > > > For testing purposes, I stopped these systemd services: > > > > 1. systemctl stop smartmontools.service > > > > 2. systemctl stop udisk

Re: [PATCH] MAINTAINERS: adjust to clang-version.sh removal

2021-01-21 Thread Sedat Dilek
t; tag with commit hash-id of "kbuild: check the minimum compiler version in Kconfig" - this missed that move. Maybe Masahiro does a respin and can fold this into above commit? That's not my decision. Reviewed-by: Sedat Dilek - Sedat - [1] https://git.kernel.org/pub/scm

Re: [PATCH] MAINTAINERS: adjust to clang-version.sh removal

2021-01-21 Thread Sedat Dilek
On Thu, Jan 21, 2021 at 5:16 PM Nathan Chancellor wrote: > > On Thu, Jan 21, 2021 at 05:01:15PM +0100, Lukas Bulwahn wrote: > > Commit 6c8ad4427f6e ("kbuild: check the minimum compiler version in > > Kconfig") removed ./scripts/clang-version.sh and moved its content to > > ./scripts/cc-version.sh.

Re: [PATCH v2 00/20] objtool: vmlinux.o and CLANG LTO support

2021-01-21 Thread Sedat Dilek
On Thu, Jan 21, 2021 at 10:29 PM Josh Poimboeuf wrote: > > v2: > - fix commit description for why xen hypervisor page contents don't > matter [Juergen] > - annotate indirect jumps as safe instead of converting them to > retpolines [Andrew, Juergen] > - drop patch 1 - fake jumps no longer exist

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-21 Thread Sedat Dilek
On Thu, Jan 21, 2021 at 3:03 AM Sedat Dilek wrote: > > On Mon, Jan 18, 2021 at 10:56 PM Bill Wendling wrote: > > > > On Mon, Jan 18, 2021 at 9:26 AM Sedat Dilek wrote: > > > > > > On Mon, Jan 18, 2021 at 1:39 PM Sedat Dilek wrote: > > > > >

Re: [PATCH RFC] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:04 AM Andrii Nakryiko wrote: > > On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, Sedat Dilek wrote: > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > &g

Re: [PATCH v6] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-21 Thread Sedat Dilek
On Thu, Jan 21, 2021 at 9:25 AM 'Bill Wendling' via Clang Built Linux wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data is

Re: [PATCH RFC] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:12 AM Sedat Dilek wrote: > > On Fri, Jan 22, 2021 at 1:04 AM Andrii Nakryiko > wrote: > > > > On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > > > > > On Sat, Jan 16, 2021 at 10:54:04AM +0100, Sedat Dilek wrote: > > >

Re: [PATCH RFC] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:21 AM Sedat Dilek wrote: > > On Fri, Jan 22, 2021 at 1:12 AM Sedat Dilek wrote: > > > > On Fri, Jan 22, 2021 at 1:04 AM Andrii Nakryiko > > wrote: > > > > > > On Wed, Jan 20, 2021 at 2:36 PM Jiri Olsa wrote: > > >

[PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-21 Thread Sedat Dilek
Linux v5.11-rc4. I hope to get some feedback from especially Linux-bpf folks. Acked-by: Jiri Olsa # tools/build and tools/perf Signed-off-by: Sedat Dilek --- Changelog RFC v1->v2: - Add Jiri's ACK - Adapt to fit Linux v5.11-rc4 tools/bpf/bpftool/Makefile | 2 -- tools

Re: [PATCH v6] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:14 AM Sedat Dilek wrote: > > On Thu, Jan 21, 2021 at 9:25 AM 'Bill Wendling' via Clang Built Linux > wrote: > > > > From: Sami Tolvanen > > > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a

Re: [PATCH] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 2:34 AM Nick Desaulniers wrote: > > On Wed, Jan 20, 2021 at 6:21 PM Sedat Dilek wrote: > > > > Hi, > > > > When I looked through the code I wondered why we do not add a > > "CONFIG_PGO_CLANG_PROFDATA" which can be

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 2:43 AM Nick Desaulniers wrote: > > On Wed, Jan 20, 2021 at 6:03 PM Sedat Dilek wrote: > > > > On Mon, Jan 18, 2021 at 10:56 PM Bill Wendling wrote: > > > > > > On Mon, Jan 18, 2021 at 9:26 AM Sedat Dilek wrote: > > > &g

Re: [PATCH v6] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-21 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 2:44 AM Nick Desaulniers wrote: > > On Thu, Jan 21, 2021 at 2:35 AM Sedat Dilek wrote: > > > > Thanks for v6. > > > > Small Changelog nits: > > * Can you reverse-order the changelog - latest v6 first. > > * v4: s/Makfile c

Re: [PATCH v7] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-22 Thread Sedat Dilek
ing our > own popcount implementation, based on Nick Desaulniers's comment. > v5: - Correct padding calculation, discovered by Nathan Chancellor. > v6: - Add better documentation about the locking scheme and other things. > - Rename macros to better match the same macr

Re: [PATCH v9 0/3] Kbuild: DWARF v5 support

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 9:22 PM Nick Desaulniers wrote: > > DWARF v5 is the latest standard of the DWARF debug info format. > > DWARF5 wins significantly in terms of size and especially so when mixed > with compression (CONFIG_DEBUG_INFO_COMPRESSED). > > Link: http://www.dwarfstd.org/doc/DWARF5.pdf

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 10:10 PM Nick Desaulniers wrote: > > > Hi, > > > > when building with pahole v1.20 and binutils v2.35.2 plus Clang > > v12.0.0-rc1 and DWARF-v5 I see: > > ... > > + info BTF .btf.vmlinux.bin.o > > + [ != silent_ ] > > + printf %-7s %s\n BTF .btf.vmlinux.bin.o > > BTF

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 3:37 PM Sedat Dilek wrote: > > Hi, > > when building with pahole v1.20 and binutils v2.35.2 plus Clang > v12.0.0-rc1 and DWARF-v5 I see: > ... > + info BTF .btf.vmlinux.bin.o > + [ != silent_ ] > + printf %-7s %s\n BTF .btf.vmlinux.bin.o &g

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 10:40 PM Nick Desaulniers wrote: > > On Fri, Feb 5, 2021 at 1:17 PM Sedat Dilek wrote: > > > > On Fri, Feb 5, 2021 at 10:10 PM Nick Desaulniers > > wrote: > > > > > > > Hi, > > > > > > > > when building

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 4:28 PM Arnaldo Carvalho de Melo wrote: > > Em Fri, Feb 05, 2021 at 04:23:59PM +0100, Sedat Dilek escreveu: > > On Fri, Feb 5, 2021 at 3:41 PM Sedat Dilek wrote: > > > > > > On Fri, Feb 5, 2021 at 3:37 PM Sedat Dilek wrote: > >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 3:41 PM Sedat Dilek wrote: > > On Fri, Feb 5, 2021 at 3:37 PM Sedat Dilek wrote: > > > > Hi, > > > > when building with pahole v1.20 and binutils v2.35.2 plus Clang > > v12.0.0-rc1 and DWARF-v5 I see: > > ... > > +

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > On 2/5/21 12:31 PM, Sedat Dilek wrote: > > On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > >> > >> > >> > >> On 2/5/21 11:24 AM, Arnaldo Carvalho de Melo wrote: > &g

Re: [PATCH] Makefile: reuse CC_VERSION_TEXT

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 2:49 AM Masahiro Yamada wrote: > > On Sat, Feb 6, 2021 at 7:01 AM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > I noticed we're invoking $(CC) via $(shell) more than once to check the > > version. Let's reuse the first string captured in $CC_VERSION_TEXT. > > >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > > > > > On 2/5/21 12:31 PM, Sedat Dilek wrote: > > > On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > > >> > > >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 6:44 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > > > > > > > > > On 2/5/21 12:31 PM, Sedat Dilek wrote: >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 6:53 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 6:44 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > > > > > On Fri, Feb 5, 2021 at 10:54 PM Yonghong Song wrote: > > > > > &g

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 7:26 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 6:53 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 6:44 AM Sedat Dilek wrote: > > > > > > On Sat, Feb 6, 2021 at 4:34 AM Sedat Dilek wrote: > > > > > > &g

Re: [PATCH] MAINTAINERS/.mailmap: Use my @kernel.org address

2021-02-05 Thread Sedat Dilek
On Wed, Jan 27, 2021 at 7:48 AM Sedat Dilek wrote: > > On Wed, Jan 27, 2021 at 6:07 AM Lukas Bulwahn wrote: > > > > On Tue, Jan 26, 2021 at 10:27 PM Nathan Chancellor > > wrote: > > > > > > Use my @kernel.org for all points of contact so that I am a

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-05 Thread Sedat Dilek
On Fri, Feb 5, 2021 at 9:03 PM Yonghong Song wrote: > > > > On 2/5/21 11:24 AM, Arnaldo Carvalho de Melo wrote: > > Em Fri, Feb 05, 2021 at 11:10:08AM -0800, Yonghong Song escreveu: > >> On 2/5/21 11:06 AM, Sedat Dilek wrote: > >>> On Fri, Feb 5, 2021 at 7:5

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 9:27 AM Yonghong Song wrote: > > > > On 2/5/21 10:52 PM, Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 7:26 AM Sedat Dilek wrote: > >> > >> On Sat, Feb 6, 2021 at 6:53 AM Sedat Dilek wrote: > >>> > >>> On Sat,

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 9:32 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 9:27 AM Yonghong Song wrote: > > > > > > > > On 2/5/21 10:52 PM, Sedat Dilek wrote: > > > On Sat, Feb 6, 2021 at 7:26 AM Sedat Dilek wrote: > > >> >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 10:32 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 9:32 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 9:27 AM Yonghong Song wrote: > > > > > > > > > > > > On 2/5/21 10:52 PM, Sedat Dilek wrote: > > &g

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 10:32 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 9:32 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 9:27 AM Yonghong Song wrote: > > > > > > > > > > > > On 2/5/21 10:52 PM, Sedat Dilek wrote: > > &g

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 10:48 AM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 10:32 AM Sedat Dilek wrote: > > > > On Sat, Feb 6, 2021 at 9:32 AM Sedat Dilek wrote: > > > > > > On Sat, Feb 6, 2021 at 9:27 AM Yonghong Song wrote: > > > > > &g

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
[ SNIP ] > > > > > Please help do a test. I can submit a formal patch tomorrow. > > > > > > > > Thanks for the patch. > > > > > > > > Can you attach the diff as Gmail has totally truncated/malformed it? > > > > > > > > For the Linux breakage - you will need some additional Clang specific > > > >

Re: [PATCH v9 0/3] Kbuild: DWARF v5 support

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 1:05 PM Masahiro Yamada wrote: > > On Sat, Feb 6, 2021 at 6:00 AM Sedat Dilek wrote: > > > > On Fri, Feb 5, 2021 at 9:22 PM Nick Desaulniers > > wrote: > > > > > > DWARF v5 is the latest standard of the DWARF debug info format

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
Some post-mortem: LLVM_DWARF_BIN="/opt/llvm-toolchain/bin/llvm-dwarfdump" module="drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko" Module has DW_ATE_unsigned_160 and DW_ATE_unsigned_1: $LLVM_DWARF_BIN $module | grep DW_AT_name | grep DW_ATE_ | sort -u DW_AT_name ("DW_AT

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 6:53 PM Yonghong Song wrote: > > > > On 2/6/21 8:24 AM, Mark Wieelard wrote: > > Hi, > > > > On Sat, Feb 06, 2021 at 12:26:44AM -0800, Yonghong Song wrote: > >> With the above vmlinux, the issue appears to be handling > >> DW_ATE_signed_1, DW_ATE_unsigned_{1,24,40}. > >> > >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 8:17 PM Yonghong Song wrote: > > > > On 2/6/21 10:10 AM, Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 6:53 PM Yonghong Song wrote: > >> > >> > >> > >> On 2/6/21 8:24 AM, Mark Wieelard wrote: > >>> Hi, &

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 8:22 PM Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 8:17 PM Yonghong Song wrote: > > > > > > > > On 2/6/21 10:10 AM, Sedat Dilek wrote: > > > On Sat, Feb 6, 2021 at 6:53 PM Yonghong Song wrote: > > >> > >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 8:33 PM Yonghong Song wrote: > > > > On 2/6/21 11:28 AM, Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 8:22 PM Sedat Dilek wrote: > >> > >> On Sat, Feb 6, 2021 at 8:17 PM Yonghong Song wrote: > >>> > >>> >

Re: ERROR: INT DW_ATE_unsigned_1 Error emitting BTF type

2021-02-06 Thread Sedat Dilek
On Sat, Feb 6, 2021 at 9:13 PM Yonghong Song wrote: > > > > On 2/6/21 11:44 AM, Sedat Dilek wrote: > > On Sat, Feb 6, 2021 at 8:33 PM Yonghong Song wrote: > >> > >> > >> > >> On 2/6/21 11:28 AM, Sedat Dilek wrote: > >>> On Sat, Fe

[Linux v5.11-rc7] x86: entry: Leftover of _TIF_SINGLESTEP define?

2021-02-07 Thread Sedat Dilek
Hi, congrats to Linux v5.11-rc7. after commit 6342adcaa683 ("entry: Ensure trap after single-step on system call return"): $ git grep '\_TIF_SINGLESTEP' arch/x86/ arch/x86/include/asm/thread_info.h:#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) Is this a leftover and can be removed (now)? Than

Re: [Linux v5.11-rc7] x86: entry: Leftover of _TIF_SINGLESTEP define?

2021-02-07 Thread Sedat Dilek
On Mon, Feb 8, 2021 at 12:27 AM Bhaskar Chowdhury wrote: > > On 00:08 Mon 08 Feb 2021, Sedat Dilek wrote: > >Hi, > > > >congrats to Linux v5.11-rc7. > > > >after commit 6342adcaa683 ("entry: Ensure trap after single-step on > >system call return&q

Re: [Linux v5.11-rc7] x86: entry: Leftover of _TIF_SINGLESTEP define?

2021-02-07 Thread Sedat Dilek
On Mon, Feb 8, 2021 at 12:25 AM Kyle Huey wrote: > > On Sun, Feb 7, 2021 at 3:09 PM Sedat Dilek wrote: > > > > Hi, > > > > congrats to Linux v5.11-rc7. > > > > after commit 6342adcaa683 ("entry: Ensure trap after single-step on > > system call

Re: ANNOUNCE: pahole v1.20 (gcc11 DWARF5's default, lots of ELF sections, BTF)

2021-02-07 Thread Sedat Dilek
On Thu, Feb 4, 2021 at 11:07 PM Arnaldo Carvalho de Melo wrote: > > Hi, > > The v1.20 release of pahole and its friends is out, mostly > addressing problems related to gcc 11 defaulting to DWARF5 for -g, > available at the usual places: > > Main git repo: > >git://git.kernel.org/pub/sc

Re: ANNOUNCE: pahole v1.20 (gcc11 DWARF5's default, lots of ELF sections, BTF)

2021-02-08 Thread Sedat Dilek
On Mon, Feb 8, 2021 at 1:32 PM Arnaldo Carvalho de Melo wrote: > > Em Mon, Feb 08, 2021 at 03:44:54AM +0100, Sedat Dilek escreveu: > > On Thu, Feb 4, 2021 at 11:07 PM Arnaldo Carvalho de Melo > > wrote: > > > > > > Hi, > > > > > >

Re: [PATCH] MAINTAINERS/.mailmap: Use my @kernel.org address

2021-01-26 Thread Sedat Dilek
On Wed, Jan 27, 2021 at 6:07 AM Lukas Bulwahn wrote: > > On Tue, Jan 26, 2021 at 10:27 PM Nathan Chancellor wrote: > > > > Use my @kernel.org for all points of contact so that I am always > > accessible. > > > > Signed-off-by: Nathan Chancellor > > Congrats, Nathan. You deserve it for all the wa

Re: Linux 5.11-rc1

2021-01-01 Thread Sedat Dilek
On Fri, Jan 1, 2021 at 5:14 PM Pavel Machek wrote: > > Hi! > > > > > > > $ dpkg -L kmod | grep bin | grep depmod > > > > /sbin/depmod > > > > > > > > $ which depmod > > > > [ empty ] > > > > > > > > $ echo $PATH > > > > /opt/proxychains-ng/bin:/home/dileks/bin:/usr/local/bin:/usr/bin:/bin:/usr/loc

Re: Linux 5.11-rc1

2021-01-01 Thread Sedat Dilek
On Fri, Jan 1, 2021 at 7:55 PM Sedat Dilek wrote: > > On Fri, Jan 1, 2021 at 5:14 PM Pavel Machek wrote: > > > > Hi! > > > > > > > > > $ dpkg -L kmod | grep bin | grep depmod > > > > > /sbin/depmod > > > > > &g

Re: Linux 5.11-rc1

2021-01-02 Thread Sedat Dilek
On Sat, Jan 2, 2021 at 8:52 AM Masahiro Yamada wrote: > > On Sat, Jan 2, 2021 at 3:55 AM Sedat Dilek wrote: > > > > On Fri, Jan 1, 2021 at 5:14 PM Pavel Machek wrote: > > > > > > Hi! > > > > > > > > > >

Re: Linux 5.11-rc1

2021-01-02 Thread Sedat Dilek
On Sat, Jan 2, 2021 at 12:05 PM Bernd Petrovitsch wrote: > > On Sat, 2021-01-02 at 10:13 +0100, Sedat Dilek wrote: > [...] > > To be honest I wondered why there were no more reports on this. > > Perhaps I'm not the only one who has /sbin and /usr/sbin in the > $PAT

Re: Linux 5.11-rc1

2021-01-02 Thread Sedat Dilek
> > IMHO users should not need to fix their environment. > > ( The discussion is a bit obsolete as we now have a fix. ) > > FWIW, I have no (and don't see any) problems simply appending > /sbin:/usr/sbin to the $PATH in/for the kernel's scripts. > Another workaround is to pass DEPMOD=/path/to/depm

Re: [PATCH] powerpc: Handle .text.{hot,unlikely}.* in linker script

2021-01-04 Thread Sedat Dilek
On Mon, Jan 4, 2021 at 9:49 PM Nathan Chancellor wrote: > > Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input > sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM > change [1]. > > After another LLVM change [2], these sections are seen in some PowerPC > builds, where

Re: [PATCH 00/21] objtool: vmlinux.o and CLANG LTO support

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 5:51 AM Sedat Dilek wrote: > > On Thu, Jan 14, 2021 at 8:40 PM Josh Poimboeuf wrote: > > > > Add support for proper vmlinux.o validation, which will be needed for > > Sami's upcoming x86 LTO set. (And vmlinux validation is the future for

Re: [PATCH 00/21] objtool: vmlinux.o and CLANG LTO support

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 4:30 PM Sedat Dilek wrote: > > On Fri, Jan 15, 2021 at 5:51 AM Sedat Dilek wrote: > > > > On Thu, Jan 14, 2021 at 8:40 PM Josh Poimboeuf wrote: > > > > > > Add support for proper vmlinux.o validation, which will be needed for >

Re: [PATCH 00/21] objtool: vmlinux.o and CLANG LTO support

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 8:52 PM Josh Poimboeuf wrote: > > On Thu, Jan 14, 2021 at 04:41:28PM -0800, Sami Tolvanen wrote: > > Hi Josh, > > > > On Thu, Jan 14, 2021 at 11:40 AM Josh Poimboeuf wrote: > > > > > > Add support for proper vmlinux.o validation, which will be needed for > > > Sami's upcom

Re: [PATCH 00/21] objtool: vmlinux.o and CLANG LTO support

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 9:59 PM Josh Poimboeuf wrote: > > On Fri, Jan 15, 2021 at 09:19:16PM +0100, Sedat Dilek wrote: > > > > vmlinux.o: warning: objtool: balance_leaf_when_delete()+0x17d4: stack > > > > state mismatch: cfa1=7+192 cfa2=7+176 >

Re: [PATCH v5 2/3] Kbuild: make DWARF version a choice

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 10:06 PM Nick Desaulniers wrote: > > Modifies CONFIG_DEBUG_INFO_DWARF4 to be a member of a choice. Adds an > explicit CONFIG_DEBUG_INFO_DWARF2, which is the default. Does so in a > way that's forward compatible with existing configs, and makes adding > future versions more

Re: [PATCH v5 3/3] Kbuild: implement support for DWARF v5

2021-01-15 Thread Sedat Dilek
bled for now if CONFIG_DEBUG_INFO_BTF is set; pahole doesn't yet > recognize the new additions to the DWARF debug info. Thanks to Sedat for > the report. > > Link: http://www.dwarfstd.org/doc/DWARF5.pdf > Reported-by: Sedat Dilek > Suggested-by: Arvind Sankar > Sug

Re: [PATCH v5 1/3] Remove $(cc-option,-gdwarf-4) dependency from CONFIG_DEBUG_INFO_DWARF4

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 10:06 PM Nick Desaulniers wrote: > > From: Masahiro Yamada > > The -gdwarf-4 flag is supported by GCC 4.5+, and also by Clang. > > You can see it at https://godbolt.org/z/6ed1oW > > For gcc 4.5.3 pane,line 37:.value 0x4 > For clang 10.0.1 pane, line 117: .sho

Re: [PATCH v5 0/3] Kbuild: DWARF v5 support

2021-01-15 Thread Sedat Dilek
ne of the above prevents the warning spew. Maybe we'll need a v6. > En plus, I encountered breakage with GCC v10.2.1 and LLVM=1 and CONFIG_DEBUG_INFO_DWARF4. So might be good to add a "depends on !DEBUG_INFO_BTF" in this combination. I had some other small nits commented in t

Re: [PATCH v5 3/3] Kbuild: implement support for DWARF v5

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 10:49 PM Nick Desaulniers wrote: > > On Fri, Jan 15, 2021 at 1:46 PM Sedat Dilek wrote: > > > > On Fri, Jan 15, 2021 at 10:06 PM Nick Desaulniers > > wrote: > > > > > > DWARF v5 is the latest standard of the DWARF debug inf

Re: [PATCH v5 1/3] Remove $(cc-option,-gdwarf-4) dependency from CONFIG_DEBUG_INFO_DWARF4

2021-01-15 Thread Sedat Dilek
On Fri, Jan 15, 2021 at 11:00 PM Fangrui Song wrote: > > On 2021-01-15, Nick Desaulniers wrote: > >From: Masahiro Yamada > > > >The -gdwarf-4 flag is supported by GCC 4.5+, and also by Clang. > > > >You can see it at https://godbolt.org/z/6ed1oW > > > > For gcc 4.5.3 pane,line 37:.value

Re: [PATCH v4] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-15 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 1:13 AM Nick Desaulniers wrote: > > > On Wed, Jan 13, 2021 at 8:07 PM Nick Desaulniers > > wrote: > > > > > > On Wed, Jan 13, 2021 at 12:55 PM Nathan Chancellor > > > wrote: > > > > > > > > However, I see an issue with actually using the data: > > > > > > > > $ sudo -s >

Re: [PATCH v4] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-15 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 1:13 AM Nick Desaulniers wrote: > > > On Wed, Jan 13, 2021 at 8:07 PM Nick Desaulniers > > wrote: > > > > > > On Wed, Jan 13, 2021 at 12:55 PM Nathan Chancellor > > > wrote: > > > > > > > > However, I see an issue with actually using the data: > > > > > > > > $ sudo -s >

Re: [PATCH v4] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-15 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 6:07 AM Sedat Dilek wrote: > > On Sat, Jan 16, 2021 at 1:13 AM Nick Desaulniers > wrote: > > > > > On Wed, Jan 13, 2021 at 8:07 PM Nick Desaulniers > > > wrote: > > > > > > > > On Wed, Jan 13, 2021 at 12:55 PM Nath

[PATCH RFC] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-16 Thread Sedat Dilek
Linux v5.11-rc3. I hope to get some feedback from especially Linux-bpf folks. Signed-off-by: Sedat Dilek --- tools/bpf/bpftool/Makefile | 2 -- tools/bpf/runqslower/Makefile | 3 --- tools/build/feature/Makefile| 4 ++-- tools/perf/Makefile

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-16 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 10:44 AM 'Bill Wendling' via Clang Built Linux wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data i

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-16 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 6:38 PM Sedat Dilek wrote: > > On Sat, Jan 16, 2021 at 10:44 AM 'Bill Wendling' via Clang Built Linux > wrote: > > > > From: Sami Tolvanen > > > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 9:23 PM Bill Wendling wrote: > > On Sat, Jan 16, 2021 at 9:39 AM Sedat Dilek wrote: > > On Sat, Jan 16, 2021 at 10:44 AM 'Bill Wendling' via Clang Built Linux > > wrote: > > > > > > From: Sami Tolvanen > > > > &

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sun, Jan 17, 2021 at 11:44 AM Sedat Dilek wrote: > > On Sat, Jan 16, 2021 at 9:23 PM Bill Wendling wrote: > > > > On Sat, Jan 16, 2021 at 9:39 AM Sedat Dilek wrote: > > > On Sat, Jan 16, 2021 at 10:44 AM 'Bill Wendling' via Clang Built Linux > > &g

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sun, Jan 17, 2021 at 11:53 AM Sedat Dilek wrote: > > On Sun, Jan 17, 2021 at 11:44 AM Sedat Dilek wrote: > > > > On Sat, Jan 16, 2021 at 9:23 PM Bill Wendling wrote: > > > > > > On Sat, Jan 16, 2021 at 9:39 AM Sedat Dilek wrote: > > > > On S

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sun, Jan 17, 2021 at 12:23 PM Sedat Dilek wrote: > > On Sun, Jan 17, 2021 at 11:53 AM Sedat Dilek wrote: > > > > On Sun, Jan 17, 2021 at 11:44 AM Sedat Dilek wrote: > > > > > > On Sat, Jan 16, 2021 at 9:23 PM Bill Wendling wrote: > > > > >

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sun, Jan 17, 2021 at 12:42 PM Sedat Dilek wrote: > > On Sun, Jan 17, 2021 at 12:23 PM Sedat Dilek wrote: > > > > On Sun, Jan 17, 2021 at 11:53 AM Sedat Dilek wrote: > > > > > > On Sun, Jan 17, 2021 at 11:44 AM Sedat Dilek > > > wrote: > &g

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sun, Jan 17, 2021 at 1:05 PM Sedat Dilek wrote: > > On Sun, Jan 17, 2021 at 12:58 PM Sedat Dilek wrote: > > > > On Sun, Jan 17, 2021 at 12:42 PM Sedat Dilek wrote: > > > > > > On Sun, Jan 17, 2021 at 12:23 PM Sedat Dilek > > > wrote: > >

Re: [PATCH v4] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-17 Thread Sedat Dilek
On Sat, Jan 16, 2021 at 1:13 AM Nick Desaulniers wrote: > > > On Wed, Jan 13, 2021 at 8:07 PM Nick Desaulniers > > wrote: > > > > > > On Wed, Jan 13, 2021 at 12:55 PM Nathan Chancellor > > > wrote: > > > > > > > > However, I see an issue with actually using the data: > > > > > > > > $ sudo -s >

Re: [PATCH v2 00/20] objtool: vmlinux.o and CLANG LTO support

2021-01-22 Thread Sedat Dilek
On Sat, Jan 23, 2021 at 3:26 AM Josh Poimboeuf wrote: > > On Fri, Jan 22, 2021 at 05:32:43PM -0800, Nick Desaulniers wrote: > > > In this specific case, find_func_by_offset returns NULL for > > > .text..L.cfi.jumptable.43 at addend 0x8, because Clang doesn't emit > > > jump table symbols for stati

Re: [PATCH] MAINTAINERS: adjust to clang-version.sh removal

2021-01-22 Thread Sedat Dilek
On Fri, Jan 22, 2021 at 1:34 PM Dan Carpenter wrote: > > On Thu, Jan 21, 2021 at 05:15:56PM +0100, Sedat Dilek wrote: > > On Thu, Jan 21, 2021 at 5:01 PM Lukas Bulwahn > > wrote: > > > > > > Commit 6c8ad4427f6e ("kbuild: check the minimum compiler ver

Re: [PATCH v2 00/20] objtool: vmlinux.o and CLANG LTO support

2021-01-22 Thread Sedat Dilek
On Sat, Jan 23, 2021 at 3:46 AM Josh Poimboeuf wrote: > > On Sat, Jan 23, 2021 at 03:31:20AM +0100, Sedat Dilek wrote: > > On Sat, Jan 23, 2021 at 3:26 AM Josh Poimboeuf wrote: > > > > > > On Fri, Jan 22, 2021 at 05:32:43PM -0800, Nick Desaulniers wrote: &

Re: [PATCH v4] x86: Treat R_386_PLT32 as R_386_PC32

2021-01-27 Thread Sedat Dilek
func > diagnostic. > > Link: https://github.com/ClangBuiltLinux/linux/issues/1210 > Reported-by: Arnd Bergmann > Signed-off-by: Fangrui Song > Reviewed-by: Nick Desaulniers > Reviewed-by: Nathan Chancellor > Tested-by: Nick Desaulniers > Tested-by: Nathan Chancellor >

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko wrote: > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > > > > When dealing with BPF/BTF/pahole and DWARF v5 I wanted to build bpftool. > > > > While looking into the source code I found duplicate assignments

[PATCH bpf-next] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
bpf-next. CC: b...@vger.kernel.org Acked-by: Andrii Nakryiko Acked-by: Jiri Olsa # tools/build and tools/perf Signed-off-by: Sedat Dilek --- tools/bpf/bpftool/Makefile | 2 -- tools/bpf/runqslower/Makefile | 3 --- tools/build/feature/Makefile

Re: [PATCH RFC v2] tools: Factor Clang, LLC and LLVM utils definitions

2021-01-27 Thread Sedat Dilek
On Thu, Jan 28, 2021 at 2:41 AM Andrii Nakryiko wrote: > > On Wed, Jan 27, 2021 at 5:30 PM Sedat Dilek wrote: > > > > On Thu, Jan 28, 2021 at 2:27 AM Andrii Nakryiko > > wrote: > > > > > > On Thu, Jan 21, 2021 at 4:32 PM Sedat Dilek wrote: > >

Re: linux-next: build failure after merge of the tty tree

2013-10-31 Thread Sedat Dilek
On Thu, Oct 31, 2013 at 8:40 AM, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/tty/serial/omap-serial.c: In function 'serial_omap_probe': > drivers/tty/serial/omap-serial.c:1724:22: error: expect

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Sedat Dilek
On Mon, Jan 20, 2014 at 4:51 AM, Stephen Rothwell wrote: > On Sat, 18 Jan 2014 10:46:06 +0100 Mike Galbraith wrote: >> >> I hope it doesn't look quite like that, next-20140117 is -ENOBOOT on >> Q6600 box. See below for an alternative. >> >> idle: kill unnecessary mwait_idle() resched IPIs > > OK

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Sedat Dilek
On Mon, Jan 20, 2014 at 9:42 AM, Sedat Dilek wrote: > On Mon, Jan 20, 2014 at 4:51 AM, Stephen Rothwell > wrote: >> On Sat, 18 Jan 2014 10:46:06 +0100 Mike Galbraith >> wrote: >>> >>> I hope it doesn't look quite like that, next-20140117 is -EN

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Sedat Dilek
On Mon, Jan 20, 2014 at 10:17 AM, Mike Galbraith wrote: > On Mon, 2014-01-20 at 09:42 +0100, Sedat Dilek wrote: >> On Mon, Jan 20, 2014 at 4:51 AM, Stephen Rothwell >> wrote: >> > On Sat, 18 Jan 2014 10:46:06 +0100 Mike Galbraith >> > wrote: >> >>

Re: linux-next: build failure after merge of the tip tree

2014-01-20 Thread Sedat Dilek
On Mon, Jan 20, 2014 at 2:10 PM, Stephen Rothwell wrote: > Hi Sedat, > > On Mon, 20 Jan 2014 09:46:55 +0100 Sedat Dilek wrote: >> >> On Mon, Jan 20, 2014 at 9:42 AM, Sedat Dilek wrote: >> > On Mon, Jan 20, 2014 at 4:51 AM, Stephen Rothwell >> > wrote: &

<    4   5   6   7   8   9   10   11   12   13   >