From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] lib/decompress_unxz.c: removing all memory helper functions
Date: Tue, 12 Jun 2012 03:16:02 +0000 [thread overview]
Message-ID: <4FD6B472.7040609@zytor.com> (raw)
In-Reply-To: <1339470307-28223-1-git-send-email-tmac@hp.com>
On 06/11/2012 08:05 PM, T Makphaibulchoke wrote:
> Cleaning up the file lib/decompress_unxz.c, moving all memory helper functions,
> e.g. memmove, to a new common source file, lib/boot/mem.c.
>
> In additon to including the decompressor, any architecture supporting the XZ
> decompression needs to also include this new source file.
>
> Also moving some other duplicated memory helper functions to this new source
> file from the arm, s390, sh and x86 preboot environments. All 4 architectures
> build without error when using any compression.
>
> Adding a new file lib/boot/mem.c, containing memory helper functions required
> by different compression types.
>
> Adding memcmp declaration workaround and removing the memmove and memcpy
> defines workaround from arch/arm/boot/compressed/decompress.c
>
> Removing the common functions, memmove, memcmp and memset, and adding the new
> source file include to arch/arm/boot/compressed/string.c.
>
> Removing the memcpy and memmove functions and adding the new source file
> include to arch/s390/boot/compressed/misc.c.
>
> Removing the memset function and adding the new source file include to
> arch/sh/boot/compressed/misc.c
>
> Removing the memset function from arch/x86/boot/compressed/misc.c and move
> the memcpy function to the file arch/x86/boot/compressed/string.c
>
> Adding the memcpy function and the new source file include to
> arch/x86/boot/compressed/string.c
>
I can take this if Russell, Martin or Heiko, and Paul are willing to ack it.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
WARNING: multiple messages have this Message-ID (diff)
From: hpa@zytor.com (H. Peter Anvin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] lib/decompress_unxz.c: removing all memory helper functions
Date: Mon, 11 Jun 2012 20:16:02 -0700 [thread overview]
Message-ID: <4FD6B472.7040609@zytor.com> (raw)
In-Reply-To: <1339470307-28223-1-git-send-email-tmac@hp.com>
On 06/11/2012 08:05 PM, T Makphaibulchoke wrote:
> Cleaning up the file lib/decompress_unxz.c, moving all memory helper functions,
> e.g. memmove, to a new common source file, lib/boot/mem.c.
>
> In additon to including the decompressor, any architecture supporting the XZ
> decompression needs to also include this new source file.
>
> Also moving some other duplicated memory helper functions to this new source
> file from the arm, s390, sh and x86 preboot environments. All 4 architectures
> build without error when using any compression.
>
> Adding a new file lib/boot/mem.c, containing memory helper functions required
> by different compression types.
>
> Adding memcmp declaration workaround and removing the memmove and memcpy
> defines workaround from arch/arm/boot/compressed/decompress.c
>
> Removing the common functions, memmove, memcmp and memset, and adding the new
> source file include to arch/arm/boot/compressed/string.c.
>
> Removing the memcpy and memmove functions and adding the new source file
> include to arch/s390/boot/compressed/misc.c.
>
> Removing the memset function and adding the new source file include to
> arch/sh/boot/compressed/misc.c
>
> Removing the memset function from arch/x86/boot/compressed/misc.c and move
> the memcpy function to the file arch/x86/boot/compressed/string.c
>
> Adding the memcpy function and the new source file include to
> arch/x86/boot/compressed/string.c
>
I can take this if Russell, Martin or Heiko, and Paul are willing to ack it.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
WARNING: multiple messages have this Message-ID (diff)
From: "H. Peter Anvin" <hpa@zytor.com>
To: T Makphaibulchoke <tmac@hp.com>
Cc: linux@arm.linux.org.uk, schwidefsky@de.ibm.com,
heiko.carstens@de.ibm.com, linux390@de.ibm.com,
lethal@linux-sh.org, tglx@linutronix.de, mingo@redhat.com,
x86@kernel.org, kaloz@openwrt.org, nicolas.pitre@linaro.org,
jj@chaosbits.net, matt.fleming@intel.com,
lasse.collin@tukaani.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
linux-sh@vger.kernel.org
Subject: Re: [PATCH v2] lib/decompress_unxz.c: removing all memory helper functions
Date: Mon, 11 Jun 2012 20:16:02 -0700 [thread overview]
Message-ID: <4FD6B472.7040609@zytor.com> (raw)
In-Reply-To: <1339470307-28223-1-git-send-email-tmac@hp.com>
On 06/11/2012 08:05 PM, T Makphaibulchoke wrote:
> Cleaning up the file lib/decompress_unxz.c, moving all memory helper functions,
> e.g. memmove, to a new common source file, lib/boot/mem.c.
>
> In additon to including the decompressor, any architecture supporting the XZ
> decompression needs to also include this new source file.
>
> Also moving some other duplicated memory helper functions to this new source
> file from the arm, s390, sh and x86 preboot environments. All 4 architectures
> build without error when using any compression.
>
> Adding a new file lib/boot/mem.c, containing memory helper functions required
> by different compression types.
>
> Adding memcmp declaration workaround and removing the memmove and memcpy
> defines workaround from arch/arm/boot/compressed/decompress.c
>
> Removing the common functions, memmove, memcmp and memset, and adding the new
> source file include to arch/arm/boot/compressed/string.c.
>
> Removing the memcpy and memmove functions and adding the new source file
> include to arch/s390/boot/compressed/misc.c.
>
> Removing the memset function and adding the new source file include to
> arch/sh/boot/compressed/misc.c
>
> Removing the memset function from arch/x86/boot/compressed/misc.c and move
> the memcpy function to the file arch/x86/boot/compressed/string.c
>
> Adding the memcpy function and the new source file include to
> arch/x86/boot/compressed/string.c
>
I can take this if Russell, Martin or Heiko, and Paul are willing to ack it.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
next prev parent reply other threads:[~2012-06-12 3:16 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-12 3:05 [PATCH v2] lib/decompress_unxz.c: removing all memory helper functions T Makphaibulchoke
2012-06-12 3:05 ` T Makphaibulchoke
2012-06-12 3:05 ` T Makphaibulchoke
2012-06-12 3:16 ` H. Peter Anvin [this message]
2012-06-12 3:16 ` H. Peter Anvin
2012-06-12 3:16 ` H. Peter Anvin
2012-06-12 14:35 ` Russell King - ARM Linux
2012-06-12 14:35 ` Russell King - ARM Linux
2012-06-12 14:35 ` Russell King - ARM Linux
2012-06-14 13:47 ` Russell King - ARM Linux
2012-06-14 13:47 ` Russell King - ARM Linux
2012-06-14 13:47 ` Russell King - ARM Linux
2012-06-14 14:35 ` H. Peter Anvin
2012-06-14 14:35 ` H. Peter Anvin
2012-06-14 14:35 ` H. Peter Anvin
2012-06-14 15:44 ` Russell King - ARM Linux
2012-06-14 15:44 ` Russell King - ARM Linux
2012-06-14 15:44 ` Russell King - ARM Linux
2012-06-14 16:15 ` H. Peter Anvin
2012-06-14 16:15 ` H. Peter Anvin
2012-06-14 16:15 ` H. Peter Anvin
2012-06-13 9:32 ` Martin Schwidefsky
2012-06-13 9:32 ` Martin Schwidefsky
2012-06-13 9:32 ` Martin Schwidefsky
2012-06-14 18:23 ` Russell King - ARM Linux
2012-06-14 18:23 ` Russell King - ARM Linux
2012-06-14 18:23 ` Russell King - ARM Linux
2012-06-12 3:27 ` Paul Mundt
2012-06-12 3:27 ` Paul Mundt
2012-06-12 3:27 ` Paul Mundt
2012-06-12 16:18 ` Lasse Collin
2012-06-12 16:18 ` Lasse Collin
2012-06-12 16:18 ` Lasse Collin
2012-06-12 17:26 ` Nicolas Pitre
2012-06-12 17:26 ` Nicolas Pitre
2012-06-12 17:26 ` Nicolas Pitre
2012-06-12 17:30 ` H. Peter Anvin
2012-06-12 17:30 ` H. Peter Anvin
2012-06-12 17:30 ` H. Peter Anvin
2012-06-12 17:40 ` Joe Perches
2012-06-12 17:40 ` Joe Perches
2012-06-12 17:40 ` Joe Perches
2012-06-12 19:45 ` Thavatchai Makphaibulcboke
2012-06-12 19:45 ` Thavatchai Makphaibulcboke
2012-06-12 19:45 ` Thavatchai Makphaibulcboke
2012-06-12 17:44 ` Nicolas Pitre
2012-06-12 17:44 ` Nicolas Pitre
2012-06-12 17:44 ` Nicolas Pitre
2012-06-12 17:48 ` H. Peter Anvin
2012-06-12 17:48 ` H. Peter Anvin
2012-06-12 17:48 ` H. Peter Anvin
2012-06-12 17:49 ` H. Peter Anvin
2012-06-12 17:49 ` H. Peter Anvin
2012-06-12 17:49 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FD6B472.7040609@zytor.com \
--to=hpa@zytor.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.