From: Thomas Huth <thuth@redhat.com>
To: Claudio Imbrenda <imbrenda@linux.ibm.com>, kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org, david@redhat.com,
frankja@linux.ibm.com, cohuck@redhat.com, pmorel@linux.ibm.com
Subject: Re: [kvm-unit-tests PATCH v1 1/4] libcflat: add SZ_1M and SZ_2G
Date: Tue, 9 Feb 2021 16:21:19 +0100 [thread overview]
Message-ID: <bc698e30-883f-495f-c3c3-11cdffaf4152@redhat.com> (raw)
In-Reply-To: <20210209143835.1031617-2-imbrenda@linux.ibm.com>
On 09/02/2021 15.38, Claudio Imbrenda wrote:
> Add SZ_1M and SZ_2G to libcflat.h
>
> s390x needs those for large/huge pages
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> ---
> lib/libcflat.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/lib/libcflat.h b/lib/libcflat.h
> index 460a1234..8dac0621 100644
> --- a/lib/libcflat.h
> +++ b/lib/libcflat.h
> @@ -157,7 +157,9 @@ extern void setup_vm(void);
> #define SZ_8K (1 << 13)
> #define SZ_16K (1 << 14)
> #define SZ_64K (1 << 16)
> +#define SZ_1M (1 << 20)
> #define SZ_2M (1 << 21)
> #define SZ_1G (1 << 30)
> +#define SZ_2G (1ul << 31)
>
> #endif
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2021-02-09 15:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-09 14:38 [kvm-unit-tests PATCH v1 0/4] s390: Add support for large pages Claudio Imbrenda
2021-02-09 14:38 ` [kvm-unit-tests PATCH v1 1/4] libcflat: add SZ_1M and SZ_2G Claudio Imbrenda
2021-02-09 15:21 ` Thomas Huth [this message]
2021-02-09 14:38 ` [kvm-unit-tests PATCH v1 2/4] s390x: lib: fix and improve pgtable.h Claudio Imbrenda
2021-02-11 9:09 ` Thomas Huth
2021-02-09 14:38 ` [kvm-unit-tests PATCH v1 3/4] s390x: mmu: add support for large pages Claudio Imbrenda
2021-02-11 10:06 ` Thomas Huth
2021-02-11 10:30 ` Claudio Imbrenda
2021-02-09 14:38 ` [kvm-unit-tests PATCH v1 4/4] s390x: edat test Claudio Imbrenda
2021-02-11 11:35 ` Thomas Huth
2021-02-11 12:18 ` Claudio Imbrenda
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=bc698e30-883f-495f-c3c3-11cdffaf4152@redhat.com \
--to=thuth@redhat.com \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=frankja@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pmorel@linux.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).