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=-11.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 4E2D8C433DB for ; Mon, 4 Jan 2021 23:16:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 24D4222525 for ; Mon, 4 Jan 2021 23:16:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727314AbhADXQS (ORCPT ); Mon, 4 Jan 2021 18:16:18 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:44848 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727230AbhADXQS (ORCPT ); Mon, 4 Jan 2021 18:16:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609802091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4x3lXJdyPdQU4TGNRz3ba3RWfFt5IfZSTXq4TSow9u0=; b=fAQWOwuo9WZrNbye1PAa5iWf3CGwtu1OQdkXKrfuOegahjhe3+e/2pMiByaWpdy3mYuwaG 1SlZ+zfDehYbcmG46IS7bi2z6+un7WQL/M5+qqeDzKBDtzT5V17RlnUx2Mthsny7kZTZ3p /juECayu88s1sd2Ii2LDXzPAUgjjkIU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-566-QvYDd2EPO9WwA1FZ66iwlg-1; Mon, 04 Jan 2021 18:14:49 -0500 X-MC-Unique: QvYDd2EPO9WwA1FZ66iwlg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 62BF115720; Mon, 4 Jan 2021 23:14:48 +0000 (UTC) Received: from treble (ovpn-113-48.rdu2.redhat.com [10.10.113.48]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9BEC21001281; Mon, 4 Jan 2021 23:14:47 +0000 (UTC) Date: Mon, 4 Jan 2021 17:14:42 -0600 From: Josh Poimboeuf To: Peter Zijlstra Cc: Andrew Morton , linux-kernel@vger.kernel.org, Randy Dunlap , x86@kernel.org Subject: Re: [PATCH] x86/compat: Pull huge_encode_dev() outside of UACCESS Message-ID: <20210104231442.s4fdemacapnsqxse@treble> References: <984353b44a4484d86ba9f73884b7306232e25e30.1608737428.git.jpoimboe@redhat.com> <20210104122825.GM3021@hirez.programming.kicks-ass.net> <20210104153127.e44uchjhlgg3hq2g@treble> <20210104155347.GC3040@hirez.programming.kicks-ass.net> <20210104172423.guiqwovibivcrqum@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210104172423.guiqwovibivcrqum@treble> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 04, 2021 at 11:24:23AM -0600, Josh Poimboeuf wrote: > On Mon, Jan 04, 2021 at 04:53:47PM +0100, Peter Zijlstra wrote: > > On Mon, Jan 04, 2021 at 09:31:27AM -0600, Josh Poimboeuf wrote: > > > Peter, care to submit a proper patch? > > > > Here goes.. > > > > --- > > Subject: x86/compat: Pull huge_encode_dev() outside of UACCESS > > From: Peter Zijlstra > > Date: Mon, 4 Jan 2021 13:28:25 +0100 > > > > Fixes the following warning: > > > > arch/x86/kernel/sys_ia32.o: warning: objtool: cp_stat64()+0xd8: call to new_encode_dev() with UACCESS enabled > > > > Reported-by: Randy Dunlap > > Signed-off-by: Peter Zijlstra (Intel) > > Acked-by: Josh Poimboeuf Actually the other patch was already merged into Linus' tree. Maybe add a revert of the other patch to this one? -- Josh