Re: PROPOSAL: Extend inline asm syntax with size spec

2018-12-26 Thread Masahiro Yamada
| 2 +- > net/decnet/dn_route.c | 2 +- > net/decnet/dn_table.c | 4 +-- > net/ipv4/igmp.c| 2 +- > net/ipv6/af_inet6.c| 2 +- > net/ipv6/icmp.c| 4 +-- > net/ipv6/udp.c | 4 +-- > net/lapb/lapb_iface.c | 4 +-- > net/llc/llc_input.c| 2 +- > scripts/checkpatch.pl | 8 ++--- > scripts/genksyms/keywords.c| 4 +-- > scripts/kernel-doc | 4 +-- > sound/sparc/amd7930.c | 6 ++-- > 165 files changed, 547 insertions(+), 547 deletions(-) -- Best Regards Masahiro Yamada ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH v3 00/12] x86, kbuild: revert macrofying inline assembly code

2018-12-19 Thread Masahiro Yamada
On Wed, Dec 19, 2018 at 9:44 PM Ingo Molnar wrote: > > > * Masahiro Yamada wrote: > > > This series reverts the in-kernel workarounds for inlining issues. > > > > The commit description of 77b0bf55bc67 mentioned > > "We also hope that GCC will eventually

Re: [PATCH v3 00/12] x86, kbuild: revert macrofying inline assembly code

2018-12-19 Thread Masahiro Yamada
On Wed, Dec 19, 2018 at 5:26 AM Nadav Amit wrote: > > > On Dec 17, 2018, at 8:03 AM, Masahiro Yamada > > wrote: > > > > This series reverts the in-kernel workarounds for inlining issues. > > > > The commit description of 77b0bf55bc67 mentioned > &g

[PATCH v3 00/12] x86, kbuild: revert macrofying inline assembly code

2018-12-19 Thread Masahiro Yamada
nto per-commit revert (per Nadav Amit) - Add some cleanups with preprocessor approach Changes in v2: - Revive clean-ups made by 5bdcd510c2ac (per Peter Zijlstra) - Fix commit quoting style (per Peter Zijlstra) Masahiro Yamada (12): Revert "x86/jump-labels: Macrofy inline assembly code to w

[PATCH v3 04/12] Revert "x86/paravirt: Work around GCC inlining bugs when compiling paravirt ops"

2018-12-19 Thread Masahiro Yamada
This reverts commit 494b5168f2de009eb80f198f668da374295098dd. The in-kernel workarounds will be replaced with GCC's new "asm inline" syntax. Signed-off-by: Masahiro Yamada --- arch/x86/include/asm/paravirt_types.h | 56 ++- arch/x86/

Re: [PATCH v2] x86, kbuild: revert macrofying inline assembly code

2018-12-19 Thread Masahiro Yamada
On Sun, Dec 16, 2018 at 12:29 PM Nadav Amit wrote: > > > On Dec 15, 2018, at 6:50 PM, Masahiro Yamada > > wrote: > > > > Revert the following 9 commits: > > > > [1] 5bdcd510c2ac ("x86/jump-labels: Macrofy inline assembly code to > >w

[PATCH] kbuild, x86: revert macros in extended asm workarounds

2018-12-15 Thread Masahiro Yamada
ntally, we cannot build external modules after 'make clean') Patching around the build system would make the code even uglier. Given that this issue will be solved in a cleaner way sooner or later, let's revert the in-kernel workarounds, and wait for GCC 9. Reported-by: Logan Gu

[PATCH v2] x86, kbuild: revert macrofying inline assembly code

2018-12-15 Thread Masahiro Yamada
et's revert the in-kernel workarounds, and wait for GCC 9. Reported-by: Logan Gunthorpe # distcc Reported-by: Sedat Dilek # deb/rpm package Signed-off-by: Masahiro Yamada Cc: Nadav Amit Cc: Segher Boessenkool --- Please consider this for v4.20 release. Currently, distro package build is b

Re: PROPOSAL: Extend inline asm syntax with size spec

2018-12-10 Thread Masahiro Yamada
s counted as minimum cost for inlining. It implements this for C and C++, making "inline" another asm-qualifier (supplementing "volatile" and "goto"). -- Best Regards Masahiro Yamada ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: PROPOSAL: Extend inline asm syntax with size spec

2018-11-29 Thread Masahiro Yamada
ifying Makefiles. I wrote a patch to fix the external module building and packages, and now have it in hand locally. But, I'd like to ask if x86 people want to keep this macros.s approach. Revert 77b0bf55bc675 right now assuming the compiler will eventually solve the issue? Do you have ideas? Comments? -- Best Regards Masahiro Yamada ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile

2017-05-17 Thread Masahiro Yamada
Many Makefiles needed to add -Iinclude/drm as an include path, but the right thing to do is to include headers in the form #include This series fixes the source files, then rip off -Iinclude/drm flags. V3: rebased on commit bb2af9bda33 (drm-misc-next) Masahiro Yamada (16): drm/vc4: fix

[PATCH v3 02/16] drm/virtio: fix include notation and remove -Iinclude/drm flag

2017-05-17 Thread Masahiro Yamada
Include instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada --- Changes in v3: None drivers/gpu/drm/virtio/Makefile | 2 -- drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +- drivers/gpu/drm/virtio/virtgpu_drv.c

[PATCH] treewide: remove redundant #include

2016-09-17 Thread Masahiro Yamada
These two are used for host programs. Signed-off-by: Masahiro Yamada --- I thought including from a host tool is weird. I am planning to fix it later. arch/arm/include/asm/trusted_foundations.h | 1 - arch/arm64/include/asm/alternative.h | 1 - arch/mips/include/asm/mach