Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1186012rwb; Thu, 6 Oct 2022 09:29:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4BvtdSwK99pZ/SrJoTXOodLQtn6VDrQSBB1m4nAlq2vhXlJKeg4KrPnucDmq4V++tQ2822 X-Received: by 2002:a63:e00a:0:b0:43c:7f5c:822b with SMTP id e10-20020a63e00a000000b0043c7f5c822bmr543144pgh.307.1665073743151; Thu, 06 Oct 2022 09:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665073743; cv=none; d=google.com; s=arc-20160816; b=fSu4WV6DfHfGDqofuYu79ggirYYnczK35BhHPLjfPkrf8kIkjoX13cYspjwJh8d+M3 JqVIoPXIL7MSpQccrMpJ7f5gj8mwN/uNcnRIwQi/V8HJosGzwzJm9cWDZWjy7oaLDDaq OnWYQE1Rz0j82iaYScQfPaqtYK6AYN48AAqcwhXo1XVU6pYLArU/8OQbkCMsamQSizH7 s0uZboUi0fd3dRfg5bZv1RNR2lPgbZhF9ccZut7nGkoNVFz7U+si5IvT2Qhmk9TwOUct rImx2GJAF3REESI4ljQQj3jZAEeHj9CbI40eqpr9Cud0sq2yj0gJVL92TRhZyqwE0Yn1 zcbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mhfplkt4int0OXXl6rOA5hvgku7UzcUaHFHCqkD9WDQ=; b=oRXjFY83CJIlnvS3VzKYduYZL/vSq9TrnqP4Ui1z0D2q5ENuMXI1AoqA1iCIY3lacp MnKuEkjIwxXPhPp3WQrAsucJmZfbaZ6F/zKf4F6t9l6zphChoWYbkBiEbBtkwIILpwnd mEM0oJ8uGmkSaBhaEjpJj3j0r1U6ZXAizuG8v2cKabCokvffWCPeqlZziw8za1O67sgu 8+CgFAzxqM+NWbNho2hMoyOoO6tnaH7vKdbmUU95+GKOUD7rbNXXOkFM7o+dxKafts0c 805RI0GPBxF97Pc0Ma7Ekgdib2wjwg/0ZDeXXqzIp8d+R0XT05IahAY0JBJ4LmZppvAh lPQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=d1DWscyg; 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 w64-20020a638243000000b00452446ee1cdsi11013730pgd.527.2022.10.06.09.28.48; Thu, 06 Oct 2022 09:29:03 -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=20210112 header.b=d1DWscyg; 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 S231969AbiJFP6u (ORCPT + 99 others); Thu, 6 Oct 2022 11:58:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231295AbiJFP6r (ORCPT ); Thu, 6 Oct 2022 11:58:47 -0400 Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D3469F762 for ; Thu, 6 Oct 2022 08:58:46 -0700 (PDT) Received: by mail-io1-xd2d.google.com with SMTP id p186so1603318iof.5 for ; Thu, 06 Oct 2022 08:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mhfplkt4int0OXXl6rOA5hvgku7UzcUaHFHCqkD9WDQ=; b=d1DWscygXlo3PoeyVccQSrzoJHOnje53fYTZ1t8qmkHliszq11Knz6TMRtygq5OelH 7ddkvAXtmLywBKK6M72UXjyXLuaFwGc62wwx8UOk/7g88tIG1YCuDvoF11y94OBsIHEE k7VSzZXsnargQ5mWsTpL3RhLbX7p/0sdW+M17PJm/wh49hfzTLo73hgmbZUCLMnZXPDS IoEaL6rt5HrqGbroAL4K7pXBC7iNi6P1aAcakC4O/ZIE2zSgFo+NuXv+/aRCeMOUEM5S Os5OgrpB9zfd0zDnW6BskEbT7IkiS4LWYppu+fyX32n9U4PDrFkLhQ3BX03mpH2aUSj8 G2Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=mhfplkt4int0OXXl6rOA5hvgku7UzcUaHFHCqkD9WDQ=; b=0GdCVS7FbY256ZsZuYzCBJ1h7y/1mnjQin36+hJg2M9SGM4/tOpuctOs8fhk3uNoU6 HE4JCtbR4MNJPYWbfwaizA5WwQjPhovpiqIj7dIiZEqRzYJwug5ZfuLGLL037eOkE9DJ WPKXVxfjUOItOW3LuFUbzyhP8SBdrleL6iLqyaqBWB07ePTCfIqx/4BcRxfQozdhAAEZ pJtebx0kqGhHKDj4q6Aa7q6Mb5G6CDPxpJ+mXknM6eChhYgIQKudYFshWCBv1nug7Lue XYdJplH6qN08KonwODIPDAYjZ+Z8DFZUf2r9an2xYQ1ivI2R1Cj5OYCgSkcLYiMaqPMp 11MA== X-Gm-Message-State: ACrzQf1iARVUyyohPCmj4b6J5nqIjhMRgT2mDUXEAkQmMn9hK38qA39G GgZ/+wSGFNGBf+xwbeOlOsKvP3i11rV6O5IL/KoWWQ== X-Received: by 2002:a6b:691a:0:b0:6bb:635f:b615 with SMTP id e26-20020a6b691a000000b006bb635fb615mr230925ioc.56.1665071925610; Thu, 06 Oct 2022 08:58:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jann Horn Date: Thu, 6 Oct 2022 17:58:09 +0200 Message-ID: Subject: Re: ptep_get_lockless() on 32-bit x86/mips/sh looks wrong To: Jason Gunthorpe Cc: Linux-MM , Peter Zijlstra , Christoph Hellwig , kernel list , David Hildenbrand Content-Type: text/plain; charset="UTF-8" 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, 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 Thu, Oct 6, 2022 at 5:55 PM Jann Horn wrote: > A: returns physical address 0x000100020x00010000, which was never > actually in the PTE Sorry, typo, that was supposed to be 0x0001000200010000.