From: agraf@suse.de (Alexander Graf)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size
Date: Wed, 11 Mar 2015 10:44:22 -0500 [thread overview]
Message-ID: <550062D6.3000101@suse.de> (raw)
In-Reply-To: <mvma8zjeixd.fsf@hawking.suse.de>
On 11.03.15 08:57, Andreas Schwab wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
>
>> On Wednesday 11 March 2015 14:35:39 Andreas Schwab wrote:
>>> +#if PAGE_SIZE > 12
>>> +asmlinkage long compat_sys_mmap2_wrapper(void);
>>> +#else
>>> +#define compat_sys_mmap2_wrapper sys_mmap_pgoff
>>> +#endif
>>>
>>
>> PAGE_SIZE is always larger than 12 ;-)
>
> s/PAGE_SIZE/PAGE_SHIFT/
Yup, that patch does make things work too. With the replacement above
Tested-by: Alexander Graf <agraf@suse.de>
Andreas, would you like to send this upstream as a proper top-level
patch or would you prefer if I do a patch set with the 2 patches (enable
CONFIG_COMPAT on 64k PAGE_SIZE and your patch)?
Alex
WARNING: multiple messages have this Message-ID (diff)
From: Alexander Graf <agraf@suse.de>
To: Andreas Schwab <schwab@suse.de>, Arnd Bergmann <arnd@arndb.de>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"Will Deacon" <will.deacon@arm.com>,
"Catalin Marinas" <Catalin.Marinas@arm.com>,
"Michael Matz" <matz@suse.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Dirk Müller" <dmueller@suse.com>,
"Suravee Suthikulanit" <suravee.suthikulpanit@amd.com>
Subject: Re: [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size
Date: Wed, 11 Mar 2015 10:44:22 -0500 [thread overview]
Message-ID: <550062D6.3000101@suse.de> (raw)
In-Reply-To: <mvma8zjeixd.fsf@hawking.suse.de>
On 11.03.15 08:57, Andreas Schwab wrote:
> Arnd Bergmann <arnd@arndb.de> writes:
>
>> On Wednesday 11 March 2015 14:35:39 Andreas Schwab wrote:
>>> +#if PAGE_SIZE > 12
>>> +asmlinkage long compat_sys_mmap2_wrapper(void);
>>> +#else
>>> +#define compat_sys_mmap2_wrapper sys_mmap_pgoff
>>> +#endif
>>>
>>
>> PAGE_SIZE is always larger than 12 ;-)
>
> s/PAGE_SIZE/PAGE_SHIFT/
Yup, that patch does make things work too. With the replacement above
Tested-by: Alexander Graf <agraf@suse.de>
Andreas, would you like to send this upstream as a proper top-level
patch or would you prefer if I do a patch set with the 2 patches (enable
CONFIG_COMPAT on 64k PAGE_SIZE and your patch)?
Alex
next prev parent reply other threads:[~2015-03-11 15:44 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 15:46 [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size Alexander Graf
2014-12-04 15:46 ` Alexander Graf
2014-12-04 18:18 ` Laura Abbott
2014-12-04 18:18 ` Laura Abbott
2014-12-04 18:20 ` Will Deacon
2014-12-04 18:20 ` Will Deacon
2014-12-04 23:37 ` Alexander Graf
2014-12-04 23:37 ` Alexander Graf
2014-12-08 13:47 ` Michael Matz
2014-12-08 13:47 ` Michael Matz
2014-12-06 17:23 ` Alexander Graf
2014-12-06 17:23 ` Alexander Graf
2014-12-08 10:10 ` Will Deacon
2014-12-08 10:10 ` Will Deacon
2014-12-08 10:47 ` Alexander Graf
2014-12-08 10:47 ` Alexander Graf
2015-03-11 11:24 ` Alexander Graf
2015-03-11 11:24 ` Alexander Graf
2015-03-11 12:43 ` Andreas Schwab
2015-03-11 12:43 ` Andreas Schwab
2015-03-11 12:47 ` Arnd Bergmann
2015-03-11 12:47 ` Arnd Bergmann
2015-03-11 13:08 ` Alexander Graf
2015-03-11 13:08 ` Alexander Graf
2015-03-11 13:35 ` Andreas Schwab
2015-03-11 13:35 ` Andreas Schwab
2015-03-11 13:51 ` Arnd Bergmann
2015-03-11 13:51 ` Arnd Bergmann
2015-03-11 13:57 ` Andreas Schwab
2015-03-11 13:57 ` Andreas Schwab
2015-03-11 15:44 ` Alexander Graf [this message]
2015-03-11 15:44 ` Alexander Graf
2015-03-11 16:09 ` Andreas Schwab
2015-03-11 16:09 ` Andreas Schwab
2015-03-11 18:11 ` Alexander Graf
2015-03-11 18:11 ` Alexander Graf
2015-03-12 9:07 ` [PATCH] arm64: fix implementation of mmap2 compat syscall Andreas Schwab
2015-03-12 9:07 ` Andreas Schwab
2015-03-16 14:16 ` [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size Christopher Covington
2015-03-16 14:16 ` Christopher Covington
2015-03-16 14:19 ` Arnd Bergmann
2015-03-16 14:19 ` Arnd Bergmann
2014-12-04 21:15 ` Olof Johansson
2014-12-04 21:15 ` Olof Johansson
2014-12-04 23:41 ` Alexander Graf
2014-12-04 23:41 ` Alexander Graf
2014-12-04 23:48 ` Olof Johansson
2014-12-04 23:48 ` Olof Johansson
2014-12-05 10:39 ` Arnd Bergmann
2014-12-05 10:39 ` Arnd Bergmann
2014-12-05 11:05 ` Catalin Marinas
2014-12-05 11:05 ` Catalin Marinas
2014-12-05 12:24 ` Arnd Bergmann
2014-12-05 12:24 ` Arnd Bergmann
2014-12-05 12:31 ` Catalin Marinas
2014-12-05 12:31 ` Catalin Marinas
2015-02-18 13:40 ` Christopher Covington
2015-02-18 13:40 ` Christopher Covington
2014-12-05 12:06 ` Alexander Graf
2014-12-05 12:06 ` Alexander Graf
2014-12-05 11:14 ` Catalin Marinas
2014-12-05 11:14 ` Catalin Marinas
2014-12-05 11:35 ` Will Deacon
2014-12-05 11:35 ` Will Deacon
2015-03-13 4:44 ` Jon Masters
2015-03-13 4:44 ` Jon Masters
2014-12-05 16:35 ` Liviu Dudau
2014-12-05 16:35 ` Liviu Dudau
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=550062D6.3000101@suse.de \
--to=agraf@suse.de \
--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.