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 C08D4EB64DC for ; Fri, 21 Jul 2023 15:42:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232154AbjGUPmM (ORCPT ); Fri, 21 Jul 2023 11:42:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbjGUPmH (ORCPT ); Fri, 21 Jul 2023 11:42:07 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB32A30E3 for ; Fri, 21 Jul 2023 08:42:05 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id ca18e2360f4ac-78706966220so20466539f.1 for ; Fri, 21 Jul 2023 08:42:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1689954125; x=1690558925; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dObwGqoxfn0zimr0wdO/4SBh1zMRtbhNsBHhz0MLDzw=; b=2FWZE2aB6Z/FJ6s5jSl/vuG+28YUbsgZ+LEyC0uhfPi6fAKFovFHvSDiD1usgK8H/X ZCsvc/YxsFtJxX3fKyscqRmLJYh8j0K0QO+cikg2KkVGePk6IN1dYdTPU4aIOg0z/H6w F4ESfCL3Cp2bQ8KgeeAYJiTwulzoTatZ6KbRCeED1TB1jOAkdfOLa+lyYd+bqo0ETjEk zYJtxEM5VFMy+xJS03J0Y8sJmW2Lz6qN2m6TJkn+ZwjxGySElH3sY2NmrUTaKVm41T3R PnyqJtCG3dAefcjn9mo7k+OBsndBqD8oz7YDSiKZSk7Gp6/MdDsZBZAvX7dJQH4T8v3K VMmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689954125; x=1690558925; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dObwGqoxfn0zimr0wdO/4SBh1zMRtbhNsBHhz0MLDzw=; b=QtoNiKBrLTw8aYR82KvkX2IL8KWCfA5liAYphpAfkOoNMBgrzrG2fU/Lh9aXVK2MJC H65miak16pKGird2eJIfVpxatntX5lfCT8R5LsH4iZTjqQtnQcSMJ6xOohjoQfKOnRlN zQh6ft417QVMGBdvL5k7kB2RvDHQ2oSg054UQzET013yGV+2zvPcMr78wPRIDP18Sjmf TD4HIq8mAvWB1AQ+xvTk5NqhjH1Mp1isf7kpLTrm6iYt7wtMCg8Tdaab01ZfaYbS2qux oMEtiGDccbotZmHllq00zzhPEmPQGI0ZV8hRrWC+h185xA32J1i9CTP07Ki7gl0Nh5FU lxPw== X-Gm-Message-State: ABy/qLaQUIcnEDPWKKf/mH7D7YS7RVLqWhH49ogz+sa342zTO72w6TlS Cmcv1l9w7LvGOzuz8e6Bb5AmcEC+/2ngaw0Apj4= X-Google-Smtp-Source: APBJJlFE6xGFomolvZxfUuSweJgejGgiLIvJNnNRPuwqwAQYkSVBAXacPMELocxsefhIkVhobjLZPg== X-Received: by 2002:a05:6602:8c9:b0:787:16ec:2699 with SMTP id h9-20020a05660208c900b0078716ec2699mr1940972ioz.2.1689954125126; Fri, 21 Jul 2023 08:42:05 -0700 (PDT) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id g20-20020a0566380bd400b0042b0a6d899fsm1107825jad.60.2023.07.21.08.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:42:04 -0700 (PDT) From: Jens Axboe To: linux-kernel@vger.kernel.org, io-uring@vger.kernel.org, linux-ia64@vger.kernel.org, Jiri Slaby , linux-parisc@vger.kernel.org, Helge Deller In-Reply-To: <20230721152432.196382-1-deller@gmx.de> References: <20230721152432.196382-1-deller@gmx.de> Subject: Re: [PATCH 0/2] io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area() Message-Id: <168995412429.284551.12005520905700806146.b4-ty@kernel.dk> Date: Fri, 21 Jul 2023 09:42:04 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-099c9 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Fri, 21 Jul 2023 17:24:30 +0200, Helge Deller wrote: > Fix io_uring on IA64 (and x86-32?) which was broken since commit > d808459b2e31 ("io_uring: Adjust mapping wrt architecture aliasing > requirements"). > The fix is to switch back to the get_unmapped_area() which is provided by > each architecture. > > Patch 1 switches io_uring back to use per-arch get_unmapped_area(). > Patch 2 (for IA64) is an independend cleanup. > > [...] Applied, thanks! [1/2] io_uring: Fix io_uring mmap() by using architecture-provided get_unmapped_area() commit: 32832a407a7178eec3215fad9b1a3298c14b0d69 [2/2] ia64: mmap: Consider pgoff when searching for free mapping commit: 07e981137f17e5275b6fa5fd0c28b0ddb4519702 Best regards, -- Jens Axboe