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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3D1CC001DB for ; Mon, 7 Aug 2023 18:34:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229622AbjHGSer (ORCPT ); Mon, 7 Aug 2023 14:34:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230491AbjHGSeq (ORCPT ); Mon, 7 Aug 2023 14:34:46 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5E07171A for ; Mon, 7 Aug 2023 11:34:45 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6878db91494so842616b3a.0 for ; Mon, 07 Aug 2023 11:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1691433285; x=1692038085; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OECn+am/LewRayTS88fBEgRVYxDCKffgScy8WxICR0w=; b=ue3v5PBcMa/B4CFh+dHduMx1Gi9OD0vHTz7eoUnuPvrlS2rP4yDBU6H3we/+sUUpWY QAR2o22f/eWLwQt5RNM+HvJIITn/UmLMBP9PxGbrP3IvSI7AIsJPLlXZmSo7YybF/ZsF Vpw2rTplXRL4kVL90ikN0SZpCuDLUCwkPsT7tArf+KujAWQg4RgRlb7aVg2Lz9YihN4E P2UUOHkyjjNqVPXHoAXcGcMkUfNhbY9wnGdCmcfbnvkcU/UrJFh36xpQiLoXf7j4vJvC 6WIaSi5apzltQeRji6/+qfKE5B2NX90EOclrb0mpc+Ykb0aVdqjCi/QxbT+LC+Ibk8EM XBgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691433285; x=1692038085; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OECn+am/LewRayTS88fBEgRVYxDCKffgScy8WxICR0w=; b=IFJ0f849GF6tpZVDJx99820rV2f18LRvtEyT3hjEiSRUlcmQZMysrjrSz380domyFN P7TLp4ia2KjikBA/d2yc8Fc/xUWTq7/C2GlJOmljJc1MNTYH6V+Rb6zCV07bvmG9nKrR yGLlvFQN+eXBPM46H7TYxMzvRKDx6IZrA2jqvAFaXbwmZWNAhjn00QwU4TQdcfX6pUA0 qZ6RYE+E64stq6tqBDFAD+7QOUIeq3tYxsmEq0TTyk+kjtQlc4+1gq0UBGq4rkTdYveb GXISrMrfigyaxwEFTPxJ43mBT1z3qLbcXfnYcozgjFNciKcQIe3fyt6p1e32TnWSJ5B1 xePA== X-Gm-Message-State: ABy/qLZ6e7SvxriUVpflK3SmszspIH8xm5hcx4LRFa5ucbWNJjNpl1Bj pHROttAfobI1XOXhdGKwgmAfXLThDKAog8iRAxM= X-Google-Smtp-Source: APBJJlEzsMvpuL1eJZRumUutR3OzsveAPgXXGognoiy+piCkKK/IK94O6EXlkrPgK20kw6yRt7LEXg== X-Received: by 2002:a05:6a20:3c8c:b0:13f:65ca:52a2 with SMTP id b12-20020a056a203c8c00b0013f65ca52a2mr18262758pzj.5.1691433285339; Mon, 07 Aug 2023 11:34:45 -0700 (PDT) Received: from [127.0.0.1] ([12.221.160.50]) by smtp.gmail.com with ESMTPSA id s8-20020aa78d48000000b0065a1b05193asm6501756pfe.185.2023.08.07.11.34.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 11:34:44 -0700 (PDT) From: Jens Axboe To: Christoph Biedl , linux-parisc@vger.kernel.org, io-uring@vger.kernel.org, Helge Deller Cc: Mike Rapoport , Vlastimil Babka In-Reply-To: References: <1691003952@msgid.manchmal.in-ulm.de> <1691349294@msgid.manchmal.in-ulm.de> Subject: Re: [PATCH] io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc Message-Id: <169143328422.48417.10714588491936026372.b4-ty@kernel.dk> Date: Mon, 07 Aug 2023 12:34:44 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-034f2 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Mon, 07 Aug 2023 20:04:09 +0200, Helge Deller wrote: > The changes from commit 32832a407a71 ("io_uring: Fix io_uring mmap() by > using architecture-provided get_unmapped_area()") to the parisc > implementation of get_unmapped_area() broke glibc's locale-gen > executable when running on parisc. > > This patch reverts those architecture-specific changes, and instead > adjusts in io_uring_mmu_get_unmapped_area() the pgoff offset which is > then given to parisc's get_unmapped_area() function. This is much > cleaner than the previous approach, and we still will get a coherent > addresss. > > [...] Applied, thanks! [1/1] io_uring/parisc: Adjust pgoff in io_uring mmap() for parisc commit: ce11a0688e67aae1e9ba6c8843d7e8b7dd791ead Best regards, -- Jens Axboe