Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3388433img; Mon, 25 Mar 2019 09:16:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqEK0oW6NbPNbotS3lHKBJBxrbKRqMvyCP4HcGXCW6GWrH+1wajLkLZCQMBu8MsYCAlQZo X-Received: by 2002:a17:902:d24:: with SMTP id 33mr25910378plu.246.1553530577223; Mon, 25 Mar 2019 09:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553530577; cv=none; d=google.com; s=arc-20160816; b=Frq+4E6pLuHto/zFw+qMvMAbGWgnTkJYthhy/rO434187qqdGu/eYrwhrAT6MquTrV UsbVFxWpgEKxR74roWm17R8QZBEPhIvPkgf8/FCaOs6RN+63J3EuTJPlCz3xAExaW17O h1rxVmXF1jqbPgjhX17/qrd/EH1UDGIUbRGlaxZf9+X/9vgy0sbl84B06hBI/9vPMqdt LSnR5SpHUx+1nanGQPIO8onN9Y+O1cQu2wOPlcKD4a5tqLUDEjrwWnjP5mUZ756bwV/c DMwBoR163BhBwqwbStK6kx0BYJAulSqAuGoIZHpXRCaY9uUxBV5CXy6usFdxAoU/D0ZA mNJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=pqYUKVKMwv5YvhQa8I/3FZP8NUyCezJ/K6L0O0AKUWg=; b=mmqEtdtQAp7/uRNjNXe++mvq/u3CvS7Ow9csSn6VDsCqkJEcwTI/+eq4Ro7ItM6Kdp 1jNPiXPyKqjXU9dPgzhDfQKya5LPseli2dlbcs/C5iWu0/EvZ4DZIc7d9/wFVE3tQieo 18bNFezXljcnHfMdeoJbbr4nZyulqgqRBOnmeFSstEdXWFLe0ZWgxPQfMpc9gkQf3b4d y3DQSQna0DC83AsjvVeDhSZuitD4Bud5XetNYYrsoD+4dMJl+/LoBVMvCukU4PTVOdED nUzic9adkjwvxAET4wkVOxYcLu0RUluU5yf83p1xQa/nkycMWLDd+UH9DvMOp2WVWce4 AQRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=1BHMTqWg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si13725315pfj.186.2019.03.25.09.15.59; Mon, 25 Mar 2019 09:16:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=1BHMTqWg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729384AbfCYQPN (ORCPT + 99 others); Mon, 25 Mar 2019 12:15:13 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:55384 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbfCYQPM (ORCPT ); Mon, 25 Mar 2019 12:15:12 -0400 Received: by mail-it1-f193.google.com with SMTP id z126so14803170itd.5 for ; Mon, 25 Mar 2019 09:15:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=pqYUKVKMwv5YvhQa8I/3FZP8NUyCezJ/K6L0O0AKUWg=; b=1BHMTqWgTQOGU1QcRFSfGlW0TLvJb8ToAg5PewmnCRznMEZLYJ0nJGeTrwQjfo1RZh Qj/op9hkykWQJL4K1RYhgmWKr63lJeAT7vatheTSCR44PMsuIbTjjHjev0iSB6kYgkqa EKY2ovK74Jpsy7LAnsIVJqtyEs8K8zqKYvaNTwpprHasIFtL8qz9BLuMcua0Hl+Qkhn/ nzSeadq1/Y6jio5y1LSFyhdhBVsDioDvkHD9Ph6feGBOWn+IiB6YUCCRIaWGns2WkD92 qgLTXOZG1irDj/TOuuLk/siDBdhRg474JSQspPnL2+QCtWB7uGjE3GILplHA2HAmkyEy JzLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=pqYUKVKMwv5YvhQa8I/3FZP8NUyCezJ/K6L0O0AKUWg=; b=oz6ZDtpQwhuPGqKo5jDN0dE8RTHjQdp0wjuUmpgyPCOB0LUgGZSkkXxtA3axGVGZHV ITGr0uYBm4NuAZLsTCt0a3oO7IEz2p/F18fPpg/bk0CkDg+xq+t4W0EeBvE9usrJ/XJb G8EYusoyxNMTv5sI+aTEVyUNl8Thudv6aciFxB3IZmj44DUDD09FKdKdb5hFmMXjeVe2 Cf6TKl8BZuUdsYFN16jLU+1gHRGueITW78A//FMqoaUFpG78/w60D+5Nq6CT8ULL38dq NyYK6yD9MfC0AMDM7BmhOlYXqTlHoxGgccuqVjfG6XOuLUTBXt0jLjmtTji24Cmrcb9K K1gw== X-Gm-Message-State: APjAAAXsO6RBfROWWKng6LLWcb8z1UtpM0weV+sbKoGR/ViRGoqP/cRF 7CMgacvqXYbx9G7eOv4/IZ/Sei2QVdIP5A== X-Received: by 2002:a02:1ac3:: with SMTP id 186mr18374282jai.96.1553530510808; Mon, 25 Mar 2019 09:15:10 -0700 (PDT) Received: from [192.168.1.158] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id i23sm6758795ion.40.2019.03.25.09.15.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 09:15:09 -0700 (PDT) Subject: Re: [PATCH 1/2] io_uring: fix big-endian compat signal mask handling To: Arnd Bergmann Cc: Andrew Morton , Alexander Viro , Hannes Reinecke , Matthew Wilcox , David Hildenbrand , Nikolay Borisov , linux-block , Linux FS-devel Mailing List , Linux Kernel Mailing List References: <20190325143521.34928-1-arnd@arndb.de> From: Jens Axboe Message-ID: <52bbd23b-3bda-31fc-3f38-16749b90be4c@kernel.dk> Date: Mon, 25 Mar 2019 10:15:08 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/25/19 10:11 AM, Arnd Bergmann wrote: > On Mon, Mar 25, 2019 at 5:05 PM Jens Axboe wrote: >> >> On 3/25/19 8:34 AM, Arnd Bergmann wrote: >>> On big-endian architectures, the signal masks are differnet >>> between 32-bit and 64-bit tasks, so we have to use a different >>> function for reading them from user space. >>> >>> io_cqring_wait() initially got this wrong, and always interprets >>> this as a native structure. This is ok on x86 and most arm64, >>> but not on s390, ppc64be, mips64be, sparc64 and parisc. >> >> Thanks Arnd, applied. >> >> Was there a 2/2 patch? I only received this one, 1/2. > > Sorry I missed you on Cc: > https://lore.kernel.org/lkml/20190325144737.703921-1-arnd@arndb.de/T/#u > > This one went out to all the affected arch maintainers. Ah gotcha, just wanted to make sure I didn't miss a patch. -- Jens Axboe