Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6307438rwd; Mon, 19 Jun 2023 05:37:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ47MZmhX22RUEZ/Cj+CGVgV6CVA8xTjy7fdYiWTr3lQjUJMdtu4WM5q9shIG+17xxG52kI1 X-Received: by 2002:a05:6a00:170e:b0:666:e1f4:5153 with SMTP id h14-20020a056a00170e00b00666e1f45153mr5250420pfc.0.1687178247201; Mon, 19 Jun 2023 05:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687178247; cv=none; d=google.com; s=arc-20160816; b=xlZCbC3L1UqxRK76DksiwPnyANJjhUeEkK1wY9oZ6ZnDF72ROTAX3biyhiI0HMzNn5 j7R9gljkjYOgwvVTjlg6YxlRENXU2j0FCm0RuqQzQuzyjchmIOAU6uhewj1ckz5WXsmQ KRG0ZFeXsek/9DH3PZC0rQIbWE/1oy0ZjMluH5pX9Sa0JQtslghT1sblwPIbdLqmrhhT RKo6AGj87Zxc8ZQbdDOoARbZlepozLWNVSJIBZqpV+S1iN89iJbr2ljj0+BJRU68Z/E0 S8yQI+5flQ5awCpzdmXHNJVKmgHDTpOPiJsA/zhJ67uzj+omA4JwYXdy25ggcDLJ2/F4 UOdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DOMu/GoOKUNylJ87WTGXaTB/TIyKGKcRgnbuyigXjqA=; b=dxBBp81+bJ/3v5GA0YpDT07nNQA5nShp/s4i30ApiHS1onj5NAQAAv/SKOhffnbqW0 2zRuk+QzjBvRZEk4vTANz0hWXsewKZQq9ljFzGh5Z2SyQKiB19Verv7HCok5Sr/WdGWk iZXxCnU+WwO2ocHITA4IUKEeF6qgGvlt3/FdcoZ592KVuCeSJAp8s9hXqXtacA7Y1YK3 5OjPNl7rK2JGSZ+8SjpZ7MmfZFD1MFeCw7UxOfshiwDCcYngcUA7rTFFGmgk3Q+YpxbD KZZlC2l8I5Q0c2BVHM2bPn1vjXAVKINzNIhBVRsFTjS6h0PutC0KnQtZQwXfdI5rkaHm 40Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=XMEITXhL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a638c4b000000b00553b783ad7fsi2756779pgn.116.2023.06.19.05.37.15; Mon, 19 Jun 2023 05:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=XMEITXhL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230146AbjFSMEj (ORCPT + 99 others); Mon, 19 Jun 2023 08:04:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjFSMEi (ORCPT ); Mon, 19 Jun 2023 08:04:38 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F0D211D for ; Mon, 19 Jun 2023 05:04:37 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-77e364a9a87so82189839f.3 for ; Mon, 19 Jun 2023 05:04:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687176276; x=1689768276; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DOMu/GoOKUNylJ87WTGXaTB/TIyKGKcRgnbuyigXjqA=; b=XMEITXhL8B3NpDSyIT7ZdBmeZRa1+gRv75L81ek3oTq1YoaaWUxtUVJpseJLRwEJeV bYeoeozkOepKTQ6IfhnvxwE/QdC20nva3r007BbU++2QhHw3b1Ha2zcZbAcOjt0GuKPA 9tNXWMHflxiBdKMsoc2whlEdo+uvj1Td7+7eBJbANrMMO4YKQk7NlQpB33UYWPfALILO w/sV3p41FgIXVI2alcSTqa2eXqorjhbRae/CcSF1LyarYnaDY9y5KpnZX6WwDfhGSjBA K6DmQiAjcJ3ixuhueejSmv5rlGrcaQ7icweIvtKGrdfBgwaP+43560KkeNM9wN+JYdBM 2dVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687176276; x=1689768276; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DOMu/GoOKUNylJ87WTGXaTB/TIyKGKcRgnbuyigXjqA=; b=jzju9JQkd42BQ0XvT0XlqB5ASbfuTZEAbhGNif+f+x/toCxcdFrzAgZNW2lKQP4oFP xF0XN1UozyDj0WAMtQ+/yqv1eGp8ohIKhtGQfrOPPBhBO6k3uxvUg7JZLuECssco6Bcl lP9ipW9hKUBp3h62GQOxgJ7/xbuJjVw6MjMX3ciWIP9uzbaTRBoYctIzWfY7WtooWJov H551mFL7IUiqh4yn6sWV3A6/t/dDWFgXu2itpzRcun6NG1LJucE7BXSwM7qcmyPMvOFR dGTkL2Hai0BfdiwZg9wTP5aPZ2NZD2tJYwLCJWlH9ui/BCUVjpOBgQkymbpUL5iIT3g/ 7s3A== X-Gm-Message-State: AC+VfDwHyrY33q2ue8T1lPR+808+zawJUq4rkIs/I1boTzfe8QkGSJnI J2pMbLPLgbHJySeoUqXecR2qpQZ0fpBOo8HYBE3BYEwVEoZO6fo5w3h+5g== X-Received: by 2002:a05:6602:2995:b0:777:a581:e0b4 with SMTP id o21-20020a056602299500b00777a581e0b4mr9621245ior.14.1687176276467; Mon, 19 Jun 2023 05:04:36 -0700 (PDT) MIME-Version: 1.0 References: <20230616084715.2140984-1-glider@google.com> In-Reply-To: From: Alexander Potapenko Date: Mon, 19 Jun 2023 14:03:59 +0200 Message-ID: Subject: Re: [GIT PULL] x86/mm for 6.4 To: Linus Torvalds Cc: dave.hansen@linux.intel.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, peterz@infradead.org, x86@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 16, 2023 at 6:22=E2=80=AFPM Linus Torvalds wrote: > > On Fri, 16 Jun 2023 at 01:47, Alexander Potapenko wro= te: > > > > Shouldn't ex_handler_copy() be fixed in the same way? > > I don't think ex_handler_copy() is actually reachable any more. > > The only thing ex_handler_copy() did was to set %ax to the fault type. > > It was used by the strange copy_user_generic_unrolled() that had > special machine check case for "don't do the tail if we get > X86_TRAP_MC". Oh, I see, thanks! I am using a downstream kernel (way before 034ff37d3407) that still has _ASM_EXTABLE_CPY. Looks like I just need to adjust ex_handler_copy() in my code.