Re: [PATCH v2 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Jiri Slaby
by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/zo5yx5jfoggi%2f...@bombadil.infradead.org/) Remove sentinel from tty_table Signed-off-by: Joel Granados Reviewed-by: Jiri Slaby thanks, -- js suse labs

Re: [PATCH 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-10-02 Thread Jiri Slaby
On 28. 09. 23, 15:21, Joel Granados via B4 Relay wrote: From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by

Re: [PATCH 08/11] sysctl: Add size to register_sysctl_init

2023-06-21 Thread Jiri Slaby
On 21. 06. 23, 15:11, Joel Granados wrote: On Wed, Jun 21, 2023 at 11:56:03AM +0200, Jiri Slaby wrote: On 21. 06. 23, 11:09, Joel Granados wrote: In order to remove the end element from the ctl_table struct arrays, we explicitly define the size when registering the targes. We add a size

Re: [PATCH 08/11] sysctl: Add size to register_sysctl_init

2023-06-21 Thread Jiri Slaby
On 21. 06. 23, 15:15, Joel Granados wrote: On Wed, Jun 21, 2023 at 12:47:58PM +0200, Greg Kroah-Hartman wrote: On Wed, Jun 21, 2023 at 11:09:57AM +0200, Joel Granados wrote: static int __init random_sysctls_init(void) { - register_sysctl_init("kernel/random", random_table); +

Re: [PATCH 08/11] sysctl: Add size to register_sysctl_init

2023-06-21 Thread Jiri Slaby
On 21. 06. 23, 11:09, Joel Granados wrote: In order to remove the end element from the ctl_table struct arrays, we explicitly define the size when registering the targes. We add a size argument to the register_sysctl_init call and pass an ARRAY_SIZE for all the callers. Hi, I am missing here

[PATCH 15/46] x86/xen, lto: Mark xen_vcpu_stolen() as __visible

2022-11-14 Thread Jiri Slaby (SUSE)
() as __visible. Cc: Juergen Gross Cc: Stefano Stabellini Cc: Oleksandr Tyshchenko Cc: Signed-off-by: Andi Kleen Signed-off-by: Martin Liska Signed-off-by: Jiri Slaby --- drivers/xen/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/xen/time.c b/drivers/xen

Re: [PATCH v2] xen/hvc: replace BUG_ON() with negative return value

2021-07-07 Thread Jiri Slaby
On 07. 07. 21, 12:40, Juergen Gross wrote: And btw, since I've got puzzled by the linuxppc-dev@ in the recipients list, I did look up relevant entries in ./MAINTAINERS. Shouldn't the file be part of "XEN HYPERVISOR INTERFACE"? I wouldn't mind. Greg, Jiri, what do you think? /me concurs.

[Xen-devel] [tip: x86/asm] x86/asm/64: Add ENDs to some functions and relabel with SYM_CODE_*

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: 4aec216b93dd8e3597124f41369ec835ff18dbd0 Gitweb: https://git.kernel.org/tip/4aec216b93dd8e3597124f41369ec835ff18dbd0 Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:51:02 +02:00 Committer

[Xen-devel] [tip: x86/asm] x86/asm: Change all ENTRY+ENDPROC to SYM_FUNC_*

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: 6dcc5627f6aec4cb1d1494d06a48d8061db06a04 Gitweb: https://git.kernel.org/tip/6dcc5627f6aec4cb1d1494d06a48d8061db06a04 Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:51:04 +02:00 Committer

[Xen-devel] [tip: x86/asm] linkage: Introduce new macros for assembler symbols

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: ffedeeb780dc554eff3d3b16e6a462a26a41d7ec Gitweb: https://git.kernel.org/tip/ffedeeb780dc554eff3d3b16e6a462a26a41d7ec Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:50:41 +02:00 Committer

[Xen-devel] [tip: x86/asm] x86/asm: Annotate aliases

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: e9b9d020c4873d5e90d9986cfd137afbafbc5bfa Gitweb: https://git.kernel.org/tip/e9b9d020c4873d5e90d9986cfd137afbafbc5bfa Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:50:49 +02:00 Committer

[Xen-devel] [tip: x86/asm] xen/pvh: Annotate data appropriately

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: 1de5bdce0c3f8294d0aabc48fb5497814589422f Gitweb: https://git.kernel.org/tip/1de5bdce0c3f8294d0aabc48fb5497814589422f Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:50:54 +02:00 Committer

[Xen-devel] [tip: x86/asm] x86/asm: Make some functions local

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: ef1e03152cb027d5925646d4d1772ced7595292f Gitweb: https://git.kernel.org/tip/ef1e03152cb027d5925646d4d1772ced7595292f Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:51:00 +02:00 Committer

[Xen-devel] [tip: x86/asm] x86/asm/32: Add ENDs to some functions and relabel with SYM_CODE_*

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: 78762b0e79bc1dd01347be061abdf505202152c9 Gitweb: https://git.kernel.org/tip/78762b0e79bc1dd01347be061abdf505202152c9 Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:51:05 +02:00 Committer

[Xen-devel] [tip: x86/asm] x86/asm/64: Change all ENTRY+END to SYM_CODE_*

2019-10-18 Thread tip-bot2 for Jiri Slaby
The following commit has been merged into the x86/asm branch of tip: Commit-ID: bc7b11c04ee9c9b0451ebf85bf64e0de69fdbb17 Gitweb: https://git.kernel.org/tip/bc7b11c04ee9c9b0451ebf85bf64e0de69fdbb17 Author:Jiri Slaby AuthorDate:Fri, 11 Oct 2019 13:51:03 +02:00 Committer

[Xen-devel] [PATCH v9 01/28] linkage: Introduce new macros for assembler symbols

2019-10-11 Thread Jiri Slaby
ects. All users of the old macros in x86 are converted to use these in further patches. Signed-off-by: Jiri Slaby Cc: Andrew Morton Cc: Boris Ostrovsky Cc: h...@zytor.com Cc: Ingo Molnar Cc: jpoim...@redhat.com Cc: Juergen Gross Cc: Len Brown Cc: Linus Torvalds Cc: linux-ker...@vger.kernel.org

[Xen-devel] [PATCH v9 20/28] x86/asm: Make some functions local

2019-10-11 Thread Jiri Slaby
on whether ENDPROC or END was used for a particular function before. Signed-off-by: Jiri Slaby Cc: Borislav Petkov Cc: "H. Peter Anvin" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: x...@kernel.org Cc: Matt Fleming Cc: Ard Biesheuvel Cc: linux-...@vger.kernel.org Cc: xen-devel@lists.xenp

[Xen-devel] [PATCH v9 22/28] x86_64/asm: Add ENDs to some functions and relabel with SYM_CODE_*

2019-10-11 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So they are annotated using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END appropriately too. Signed-off-by: Jiri Slaby Reviewed-by: Boris

[Xen-devel] [PATCH v9 24/28] x86_64/asm: Change all ENTRY+ENDPROC to SYM_FUNC_*

2019-10-11 Thread Jiri Slaby
These are all functions which are invoked from elsewhere, so annotate them as global using the new SYM_FUNC_START. And their ENDPROC's by SYM_FUNC_END. And make sure ENTRY/ENDPROC is not defined on X86_64, given these were the last users. Signed-off-by: Jiri Slaby Reviewed-by: Rafael J. Wysocki

[Xen-devel] [PATCH v9 09/28] x86/asm: Annotate aliases

2019-10-11 Thread Jiri Slaby
as it avoid nesting and double symbols. Signed-off-by: Jiri Slaby Cc: Herbert Xu Cc: "David S. Miller" Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Cc: Boris Ostrovsky Reviewed-by: Juergen Gross [xen parts] Cc: Cc: --- arch/x86/cryp

[Xen-devel] [PATCH v9 25/28] x86_32/asm: Add ENDs to some functions and relabel with SYM_CODE_*

2019-10-11 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So they are annotated using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriately. Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky

[Xen-devel] [PATCH v9 14/28] xen/pvh: Annotate data appropriately

2019-10-11 Thread Jiri Slaby
DEFAULT6 early_stack Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: xen-devel@lists.xenproject.org --- arch/x86/platform/pvh/h

[Xen-devel] [PATCH v9 23/28] x86_64/asm: Change all ENTRY+END to SYM_CODE_*

2019-10-11 Thread Jiri Slaby
Here, all assembly code which is marked using END (and not ENDPROC) is changed. All these are switched to appropriate new markings SYM_CODE_START and SYM_CODE_END. Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky [xen bits] Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: &q

Re: [Xen-devel] [PATCH v8 01/28] linkage: new macros for assembler symbols

2019-08-29 Thread Jiri Slaby
On 12. 08. 19, 19:06, Borislav Petkov wrote: >> + Again, every ``SYM_CODE_START*`` **shall** be coupled by ``SYM_CODE_END``. > > Btw, this coupling: I haven't gone through the whole patchset but do we > have automatic checking which makes sure a starting macro is coupled > with the correct

[Xen-devel] [PATCH v8 20/28] x86/asm: make some functions local

2019-08-08 Thread Jiri Slaby
on whether ENDPROC or END was used for a particular function before. Signed-off-by: Jiri Slaby Cc: "H. Peter Anvin" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: x...@kernel.org Cc: Matt Fleming Cc: Ard Biesheuvel Cc: linux-...@vger.kernel.org Cc: xen-devel@lists.xenproject.org --- arch

[Xen-devel] [PATCH v8 14/28] xen/pvh: annotate data appropriatelly

2019-08-08 Thread Jiri Slaby
DEFAULT6 early_stack Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: xen-devel@lists.xenproject.org --- arch/x86/platform/pvh/head.S | 14 +++-

[Xen-devel] [PATCH v8 24/28] x86_64/asm: change all ENTRY+ENDPROC to SYM_FUNC_*

2019-08-08 Thread Jiri Slaby
These are all functions which are invoked from elsewhere, so we annotate them as global using the new SYM_FUNC_START. And their ENDPROC's by SYM_FUNC_END. And make sure ENTRY/ENDPROC is not defined on X86_64, given these were the last users. Signed-off-by: Jiri Slaby Reviewed-by: Rafael J

[Xen-devel] [PATCH v8 22/28] x86_64/asm: add ENDs to some functions and relabel with SYM_CODE_*

2019-08-08 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END appropriatelly too. Signed-off-by: Jiri Slaby Reviewed-by: Boris

[Xen-devel] [PATCH v8 09/28] x86/asm: annotate aliases

2019-08-08 Thread Jiri Slaby
. Signed-off-by: Jiri Slaby Cc: Herbert Xu Cc: "David S. Miller" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Cc: Boris Ostrovsky Cc: Juergen Gross Reviewed-by: Juergen Gross [xen parts] Cc: Cc: --- arch/x86/crypto/aesni-intel_asm.S | 5 ++--- arch

[Xen-devel] [PATCH v8 01/28] linkage: new macros for assembler symbols

2019-08-08 Thread Jiri Slaby
use lkml.kernel.org for links * link the docs from index.rst (by bpetkov) * fixed typos on the docs Signed-off-by: Jiri Slaby Cc: Andrew Morton Cc: Boris Ostrovsky Cc: h...@zytor.com Cc: Ingo Molnar Cc: jpoim...@redhat.com Cc: Juergen Gross Cc: Len Brown Cc: Linus Torvalds Cc: linux-ker..

[Xen-devel] [PATCH v8 25/28] x86_32/asm: add ENDs to some functions and relabel with SYM_CODE_*

2019-08-08 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriatelly. Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky

[Xen-devel] [PATCH v8 23/28] x86_64/asm: change all ENTRY+END to SYM_CODE_*

2019-08-08 Thread Jiri Slaby
Here, we change all assembly code which is marked using END (and not ENDPROC). We switch all these to appropriate new markings SYM_CODE_START and SYM_CODE_END. Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky [xen bits] Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin&qu

Re: [Xen-devel] [PATCH v7 01/28] linkage: new macros for assembler symbols

2019-02-01 Thread Jiri Slaby
On 31. 01. 19, 17:00, Borislav Petkov wrote: >> Documentation/asm-annotations.rst | 217 ++ > > I guess you wanna integrate that into the doc hierarchy. Hunk ontop: > > --- > diff --git a/Documentation/index.rst b/Documentation/index.rst > index c858c2e66e36..754055d9565c

[Xen-devel] [PATCH v7 01/28] linkage: new macros for assembler symbols

2019-01-30 Thread Jiri Slaby
* rebased on the top of current code Signed-off-by: Jiri Slaby Cc: Andrew Morton Cc: Boris Ostrovsky Cc: h...@zytor.com Cc: Ingo Molnar Cc: jpoim...@redhat.com Cc: Juergen Gross Cc: Len Brown Cc: Linus Torvalds Cc: linux-ker...@vger.kernel.org Cc: linux...@vger.kernel.org Cc: mi...@redhat.com

[Xen-devel] [PATCH v7 14/28] xen/pvh: annotate data appropriatelly

2019-01-30 Thread Jiri Slaby
DEFAULT6 early_stack Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky Cc: Boris Ostrovsky Cc: Juergen Gross Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: xen-devel@lists.xenproject.org --- arch/x86/platform/pvh/head.S | 14 +++-

[Xen-devel] [PATCH v7 25/28] x86_32/asm: add ENDs to some functions and relabel with SYM_CODE_*

2019-01-30 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriatelly. Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky

[Xen-devel] [PATCH v7 09/28] x86/asm: annotate aliases

2019-01-30 Thread Jiri Slaby
. Signed-off-by: Jiri Slaby Cc: Herbert Xu Cc: "David S. Miller" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Cc: Boris Ostrovsky Cc: Juergen Gross Reviewed-by: Juergen Gross [xen parts] Cc: Cc: --- arch/x86/crypto/aesni-intel_asm.S | 5 ++--- arch

[Xen-devel] [PATCH v7 23/28] x86_64/asm: change all ENTRY+END to SYM_CODE_*

2019-01-30 Thread Jiri Slaby
Here, we change all assembly code which is marked using END (and not ENDPROC). We switch all these to appropriate new markings SYM_CODE_START and SYM_CODE_END. Signed-off-by: Jiri Slaby Reviewed-by: Boris Ostrovsky [xen bits] Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin&qu

[Xen-devel] [PATCH v7 20/28] x86/asm: make some functions local

2019-01-30 Thread Jiri Slaby
on whether ENDPROC or END was used for a particular function before. Signed-off-by: Jiri Slaby Cc: "H. Peter Anvin" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: x...@kernel.org Cc: Matt Fleming Cc: Ard Biesheuvel Cc: linux-...@vger.kernel.org Cc: xen-devel@lists.xenproject.org --- arch

Re: [Xen-devel] [PATCH] xen-netfront: wait xenbus state change when load module manually

2018-09-07 Thread Jiri Slaby
On 08/24/2018, 04:26 PM, Boris Ostrovsky wrote: > On 08/24/2018 07:26 AM, Juergen Gross wrote: >> On 24/08/18 13:12, Jiri Slaby wrote: >>> On 07/30/2018, 10:18 AM, Xiao Liang wrote: >>>> On 07/29/2018 11:30 PM, David Miller wrote: >>>>> From: Xiao Liang

Re: [Xen-devel] [PATCH] xen-netfront: wait xenbus state change when load module manually

2018-08-24 Thread Jiri Slaby
On 07/30/2018, 10:18 AM, Xiao Liang wrote: > On 07/29/2018 11:30 PM, David Miller wrote: >> From: Xiao Liang >> Date: Fri, 27 Jul 2018 17:56:08 +0800 >> >>> @@ -1330,6 +1331,11 @@ static struct net_device >>> *xennet_create_dev(struct xenbus_device *dev) >>>   netif_carrier_off(netdev); >>>  

[Xen-devel] [PATCH v6 09/28] x86/asm: annotate aliases

2018-05-18 Thread Jiri Slaby
. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: Herbert Xu <herb...@gondor.apana.org.au> Cc: "David S. Miller" <da...@davemloft.net> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin" <h...@zytor.com>

[Xen-devel] [PATCH v6 25/28] x86_32/asm: add ENDs to some functions and relabel with SYM_CODE_*

2018-05-18 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriatelly. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Re

[Xen-devel] [PATCH v6 20/28] x86/asm: make some functions local

2018-05-18 Thread Jiri Slaby
on whether ENDPROC or END was used for a particular function before. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: "H. Peter Anvin" <h...@zytor.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: x...@kernel.org Cc: Matt Fleming &

[Xen-devel] [PATCH v6 23/28] x86_64/asm: change all ENTRY+END to SYM_CODE_*

2018-05-18 Thread Jiri Slaby
Here, we change all assembly code which is marked using END (and not ENDPROC). We switch all these to appropriate new markings SYM_CODE_START and SYM_CODE_END. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com> [xen bits] Cc: Thomas

[Xen-devel] [PATCH v6 24/28] x86_64/asm: change all ENTRY+ENDPROC to SYM_FUNC_*

2018-05-18 Thread Jiri Slaby
These are all functions which are invoked from elsewhere, so we annotate them as global using the new SYM_FUNC_START. And their ENDPROC's by SYM_FUNC_END. And make sure ENTRY/ENDPROC is not defined on X86_64, given these were the last users. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Re

[Xen-devel] [PATCH v6 01/28] linkage: new macros for assembler symbols

2018-05-18 Thread Jiri Slaby
derivates of _FUNC_ macros [v5] * drop "SIMPLE" from data annotations * switch NOALIGN and ALIGN variants of inner labels * s/visibility/linkage/; s@SYM_V_@SYM_L_@ * add Documentation [v6] * fixed typos found by Randy Dunlap * remove doubled INNER_LABEL macros, one pair was unused Signe

[Xen-devel] [PATCH v6 22/28] x86_64/asm: add ENDs to some functions and relabel with SYM_CODE_*

2018-05-18 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END appropriatelly too. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Re

[Xen-devel] [PATCH v6 14/28] xen/pvh: annotate data appropriatelly

2018-05-18 Thread Jiri Slaby
DEFAULT6 early_stack Signed-off-by: Jiri Slaby <jsl...@suse.cz> Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar &l

Re: [Xen-devel] [PATCH -resend 01/27] linkage: new macros for assembler symbols

2018-05-14 Thread Jiri Slaby
On 05/14/2018, 05:04 AM, Randy Dunlap wrote: > HTH. Definitely, thanks for proof-reading. -- js suse labs ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH -resend 01/27] linkage: new macros for assembler symbols

2018-05-10 Thread Jiri Slaby
N and ALIGN variants of inner labels * s/visibility/linkage/; s@SYM_V_@SYM_L_@ * add Documentation Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: h...@zytor.com Cc: Ingo Molnar <mi.

[Xen-devel] [PATCH -resend 23/27] x86_64: assembly, change all ENTRY+ENDPROC to SYM_FUNC_*

2018-05-10 Thread Jiri Slaby
These are all functions which are invoked from elsewhere, so we annotate them as global using the new SYM_FUNC_START. And their ENDPROC's by SYM_FUNC_END. And make sure ENTRY/ENDPROC is not defined on X86_64, given these were the last users. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Re

[Xen-devel] [PATCH -resend 08/27] x86: assembly, annotate aliases

2018-05-10 Thread Jiri Slaby
. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: Herbert Xu <herb...@gondor.apana.org.au> Cc: "David S. Miller" <da...@davemloft.net> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin" <h...@zytor.com>

[Xen-devel] [PATCH -resend 22/27] x86_64: assembly, change all ENTRY+END to SYM_CODE_*

2018-05-10 Thread Jiri Slaby
Here, we change all code which is not marked as functions. In other words, this code has been using END, not ENDPROC. So switch all of this to appropriate new markings SYM_CODE_START and SYM_CODE_END. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Reviewed-by: Boris Ostrovsky <bor

[Xen-devel] [PATCH -resend 24/27] x86_32: assembly, add ENDs to some functions and relabel with SYM_CODE_*

2018-05-10 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them (as global) using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriatelly. Signed-off-by: Jiri Slaby <jsl...@suse

[Xen-devel] [PATCH -resend 21/27] x86_64: assembly, add ENDs to some functions and relabel with SYM_CODE_*

2018-05-10 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them (as global) using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriatelly. Signed-off-by: Jiri Slaby <jsl...@suse

[Xen-devel] [PATCH -resend 19/27] x86: assembly, make some functions local

2018-05-10 Thread Jiri Slaby
NDPROC/END for a particular function (C or non-C). Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: "H. Peter Anvin" <h...@zytor.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: x...@kernel.org Cc: Matt Fleming <m...@codeblueprint.co.uk

[Xen-devel] [PATCH -resend 13/27] x86: xen-pvh, annotate data appropriatelly

2018-05-10 Thread Jiri Slaby
early_stack Signed-off-by: Jiri Slaby <jsl...@suse.cz> Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@re

[Xen-devel] [PATCH v5 21/27] x86_64: assembly, add ENDs to some functions and relabel with SYM_CODE_*

2017-11-30 Thread Jiri Slaby
All these are functions which are invoked from elsewhere, but they are not typical C functions. So we annotate them (as global) using the new SYM_CODE_START. All these were not balanced with any END, so mark their ends by SYM_CODE_END, appropriatelly. Signed-off-by: Jiri Slaby <jsl...@suse

[Xen-devel] [PATCH v5 13/27] x86: xen-pvh, annotate data appropriatelly

2017-11-30 Thread Jiri Slaby
early_stack Signed-off-by: Jiri Slaby <jsl...@suse.cz> Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: Juergen Gross <jgr...@suse.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@re

[Xen-devel] [PATCH v5 23/27] x86_64: assembly, change all ENTRY+ENDPROC to SYM_FUNC_*

2017-11-30 Thread Jiri Slaby
These are all functions which are invoked from elsewhere, so we annotate them as global using the new SYM_FUNC_START. And their ENDPROC's by SYM_FUNC_END. And make sure ENTRY/ENDPROC is not defined on X86_64, given these were the last users. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Re

[Xen-devel] [PATCH v5 01/27] linkage: new macros for assembler symbols

2017-11-30 Thread Jiri Slaby
N and ALIGN variants of inner labels * s/visibility/linkage/; s@SYM_V_@SYM_L_@ * add Documentation Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: Andrew Morton <a...@linux-foundation.org> Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> Cc: h...@zytor.com Cc: Ingo Molnar <mi.

[Xen-devel] [PATCH v5 19/27] x86: assembly, make some functions local

2017-11-30 Thread Jiri Slaby
NDPROC/END for a particular function (C or non-C). Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: "H. Peter Anvin" <h...@zytor.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: x...@kernel.org Cc: Matt Fleming <m...@codeblueprint.co.uk

[Xen-devel] [PATCH v5 08/27] x86: assembly, annotate aliases

2017-11-30 Thread Jiri Slaby
. Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: Herbert Xu <herb...@gondor.apana.org.au> Cc: "David S. Miller" <da...@davemloft.net> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin" <h...@zytor.com>