Re: Request to backport "Documentation: Document arm64 kpti control"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/27/20 7:51 AM, Greg Kroah-Hartman wrote:
> On Sun, Jan 26, 2020 at 08:52:33AM -0500, Sasha Levin wrote:
>> On Sat, Jan 25, 2020 at 08:03:25PM -0800, Florian Fainelli wrote:
>>> Hi Greg, Sasha,
>>>
>>> Could you backport upstream commit
>>> de19055564c8f8f9d366f8db3395836da0b2176c ("Documentation: Document arm64
>>> kpti control") to the stable 4.9, 4.14 and 4.19 kernels since they all
>>> support the command line parameter.
>>
>> Hey Florian,
>>
>> We don't normally take documentation patches into stable trees.
> 
> Normally we do not, but this is simple enough I've queued it up for 4.19
> and 4.14.  Are you sure it is ok for 4.9?  If so, Florian, can you
> provide a backported version of it?

Yes, I am positive this parameter is relevant for the stable-4.9 tree, too:

git show linux-stable/linux-4.9.y

static int __init parse_kpti(char *str)
{
        bool enabled;
        int ret = strtobool(str, &enabled);

        if (ret)
                return ret;

        __kpti_forced = enabled ? 1 : -1;
        return 0;
}
early_param("kpti", parse_kpti);

I will be sending you a targeted patch in a short while.
-- 
Florian



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux