From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED5FBC433EF for ; Tue, 21 Sep 2021 14:27:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0AC461168 for ; Tue, 21 Sep 2021 14:27:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233548AbhIUO3R (ORCPT ); Tue, 21 Sep 2021 10:29:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233059AbhIUO3M (ORCPT ); Tue, 21 Sep 2021 10:29:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5DEC061574 for ; Tue, 21 Sep 2021 07:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TjymtK4Uye3NIhYBiQcIsrxWTzAB+926rKoA7a0oIl4=; b=nJH/ZHUc056KnYDUhZ79RhbyLH 9b9XF3BRAv73fmIPFatTDQN/Y3+AaF2XHCtLDbKzj6FbO2ov3tvsT+OdPk3/yHS6WxO4wIzW+3rlj DxZLVOH5Z5yM1Wor9ga6Hnwqtdulifue2U8D0QDs8X1A8fgMq3MzNBsgiXLNff+E7sKQIH+YpzcWd xL1DQpyfeIyWByjCxv9UAdajFUR4xdK6tT8AK4LrI5qv8Av+XvAmKLSVK9idzgSfBdXOX8bgQrCVL a/y6Kqv8wUzoxdRJ3BpG7Ely0F1WICsadHA6fbxSwfNP0l4hgKyluHmIN2JFr29DA4t/7tO7ttxwx s11nPe6w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSgcQ-003s8S-WF; Tue, 21 Sep 2021 14:19:47 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id B137C3000A9; Tue, 21 Sep 2021 16:19:31 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9EA762019DA07; Tue, 21 Sep 2021 16:19:31 +0200 (CEST) Date: Tue, 21 Sep 2021 16:19:31 +0200 From: Peter Zijlstra To: Kees Cook Cc: sxwjean@me.com, x86@kernel.org, linux-mm@kvack.org, Xiongwei Song , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Andy Lutomirski , Gabriel Krisman Bertazi , "Chang S. Bae" , Al Viro , Arvind Sankar , Alexey Dobriyan , Oleg Nesterov , Balbir Singh , Jens Axboe , Lai Jiangshan , Dave Hansen , Andrew Morton , Arnd Bergmann , "David S. Miller" , Kim Phillips , Yazen Ghannam , Davidlohr Bueso , Stefan Metzmacher , Marco Elver , "Eric W. Biederman" , Christophe Leroy , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Use generic code for virtual address of randomization of x86 Message-ID: References: <20210921110252.2593542-1-sxwjean@me.com> <4EB3D825-264D-447A-8C55-FA0CE8BC31F6@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EB3D825-264D-447A-8C55-FA0CE8BC31F6@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 21, 2021 at 06:24:07AM -0700, Kees Cook wrote: > > > On September 21, 2021 4:02:50 AM PDT, sxwjean@me.com wrote: > >From: Xiongwei Song > > > >Hello, > > > >The two patches are to use generic code for randomization of virtual > >address of x86. Since the basic code logic of x86 is same as generic > >code, so no need to implement these functions on x86, please see the > >details in comments of patch 2. > > Hi! > > The other patches do not seem to have arrived; I only see 0/2. They were only sent to the list for some weird raisin. Operator error perhaps.