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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD094C2D0A3 for ; Mon, 26 Oct 2020 22:55:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 778E220B1F for ; Mon, 26 Oct 2020 22:55:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kylehuey.com header.i=@kylehuey.com header.b="JQw5fA5c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2394913AbgJZWz1 (ORCPT ); Mon, 26 Oct 2020 18:55:27 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:40777 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394898AbgJZWz0 (ORCPT ); Mon, 26 Oct 2020 18:55:26 -0400 Received: by mail-ed1-f66.google.com with SMTP id p93so1048906edd.7 for ; Mon, 26 Oct 2020 15:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kylehuey.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=J/+n1x0TPOHJCTfSVoXlG/q+OLrGnnNxrysZ0ZyIy+Y=; b=JQw5fA5cqXZCTLCd2xkURV07bnYrA8gTT/8l9H7r6P+PgM37GQ7tblZcETghImepsU AcI0oUILLNpw7+Lob5wOxm8oxXKZgdxlvk1iOdkoLk31eLVc1crb3sEhxCSb6bD2V31l b7OGa6zHv0zDl28Z8OMcIxY0WvmVK7pWJSrW3Zs4sWifuxNiQ2iEW7pkdOAgHIEek3Fp L3yESbOX+0gb8ueK46K6rtDj34b55Vtmz8U4fPoQ/Dv2vqBsFOJNMTpbG7mznOfR5TaL kpOlREDICaBo0Xi3+x/a4pHYfGgO73EI5dQFmBZNKgKh2ry9/Y+FL54IAgbsbpnA0Xzm BeOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=J/+n1x0TPOHJCTfSVoXlG/q+OLrGnnNxrysZ0ZyIy+Y=; b=QHyHWUEFQACY7jNl/IUhUWsl48p2r5Dg9e9Zvl/HHCPEPYpJ9asgpPoz7h7FgL/fgM QzSPxsbvNRowwiaKL3TzIH3BRUkyY2gy7Z8cQTUPA2D+IAAS/PZ1fGU1qNQSpwlQ9Bgu dycjG5TsYDHMSU7A3SqzNwIlWuBh9152/ucyTs/PjifGD1YOa42lJmQxsOlO9JfsnT+S j1FZzeKYSGa/Tt0vhT8B4PcStPfACiqnXJixQhkXw9toU2gfGiOcCIGAtNAsQgunxaN+ bV5aSRKE8LCqw4X68xJ++KtMdi7GnlvFog9ndKL5kFCsJLk1pYrca/dGVpt2iO8XohY3 tlGA== X-Gm-Message-State: AOAM5325Bn1LPHq2kJ2kUPAaue9h5zEi5SOgj26eBGU6E2XVK8Libqbn ktcHzTD6QahKQ8W/9CMNQVIEz0ClXNgvQS324YNFPw== X-Google-Smtp-Source: ABdhPJyAci+5cM2zXs7C2dh5O8VDIKXSp+LVa6rVM/MPlgy6tZLvyXi43c6iWM9w5BW9l3CIsdr5O5Od75OK4rN9ByQ= X-Received: by 2002:aa7:d9ce:: with SMTP id v14mr12828586eds.203.1603752924617; Mon, 26 Oct 2020 15:55:24 -0700 (PDT) MIME-Version: 1.0 From: Kyle Huey Date: Mon, 26 Oct 2020 15:55:13 -0700 Message-ID: Subject: [REGRESSION] mm: process_vm_readv testcase no longer works after compat_prcoess_vm_readv removed To: open list , Christoph Hellwig Cc: "Robert O'Callahan" , Alexander Viro , Andrew Morton , Jens Axboe , Arnd Bergmann , David Howells , "moderated list:ARM PORT" , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, "open list:FILESYSTEMS (VFS and infrastructure)" , linux-aio@kvack.org, io-uring@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, Linus Torvalds Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org A test program from the rr[0] test suite, vm_readv_writev[1], no longer works on 5.10-rc1 when compiled as a 32 bit binary and executed on a 64 bit kernel. The first process_vm_readv call (on line 35) now fails with EFAULT. I have bisected this to c3973b401ef2b0b8005f8074a10e96e3ea093823. It should be fairly straightforward to extract the test case from our repository into a standalone program. - Kyle [0] https://rr-project.org/ [1] https://github.com/mozilla/rr/blob/master/src/test/vm_readv_writev.c