Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp537561yba; Thu, 16 May 2019 05:11:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqzasYzGS+nZ30Q4PhnIOBJz17TBwtIzC9UTWsy8cq76Vnis3yH8PjlHc0QC/SpTG1in3P2h X-Received: by 2002:a65:644e:: with SMTP id s14mr50989386pgv.290.1558008667412; Thu, 16 May 2019 05:11:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558008667; cv=none; d=google.com; s=arc-20160816; b=u267EkmcpTixK5kg8UZsLUsHBOqjpudFRGjW9slYmRllHXT2oUbLHQ02nhGD2w9sN7 cO1vE3hFer/tnqwy0JrwhEtmsktlxxl2FNm+6Sy1o9xhTpDX0zbdu4TDvpl0QDRpdI7c 8LzLjnILj/dREzDzm6S7LpU/YlUyfMApW862N2UBY5o2J/nk7ck6xArv99D5KUGO5WQP XWRFLo5YBeaAOkgZVfyPSVYZ3xd5cJeJ9jCeZHGcnrd8DafOGgTHAs8rn0BQ0vQNam9k 7u5EuSNMbFCEo3icvXxUtR+6AmLQ9u4F/Z/yWwMZl5XKn2ZFOnDTQrJ1Pn6+5eH8+ZRA OjUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version; bh=sbCp/GCfPLOrsqUDUZupXIkiqQehtjofpHZjd/C2f6o=; b=oHey2P5FdqMeisJAbpyichBvPUz9uJK2QABdtdcdn7PAvp9D8Wcmm4fdyD0klPLDuN heMcxgi2qYp3DZQB8rQaayBAJtTjUaZIibIEn88sfl6P56LxrmhZK8ag7SaETbr4/3zj 1Ol8LZXuJLpf+ZaI0ZS68rS6ZDYMlTMkd1OCrPA0K9kXa2mPWHRVqlYdXDYfcO28qmPf ruegPDg18Zu/qlEWlE9noSePFj1CgE0jkuHS0GyDHOdAteQSEQzpxmXe65RcMwTL0i2S fkC+adTEM7DCkKeGAuDM20/KvCE6Cib6BLkibtV2sKbZ6fcHp8PzAxWz3VduG0oxfrM5 LBUA== ARC-Authentication-Results: i=1; mx.google.com; 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 g2si4866054pgr.227.2019.05.16.05.10.44; Thu, 16 May 2019 05:11:07 -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; 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 S1727454AbfEPMJ0 (ORCPT + 99 others); Thu, 16 May 2019 08:09:26 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:33554 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726878AbfEPMJ0 (ORCPT ); Thu, 16 May 2019 08:09:26 -0400 Received: by mail-qt1-f194.google.com with SMTP id m32so3577305qtf.0; Thu, 16 May 2019 05:09:25 -0700 (PDT) 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=sbCp/GCfPLOrsqUDUZupXIkiqQehtjofpHZjd/C2f6o=; b=phelwJK8avCLBE9VXGx5pnGXWN+omtK2q31jJBTwyrHn6SIWbRzgZWNUmQsg7/Wh4M UPT6h5jDQjL23AW88V5OUxw22yZ9AIi2/e7wbEMdK5F4dGzzJYDBpkE4yVpis5H2mM8f Yf6Q3soyczKNloj/9CP7uWUcsaunrZGwqr/nl7druhIps1+mtGN/dG5AxJfsVsnqbyi8 Tk5A/LVPO/c5QB7WDMld5ZaxXxJo+jnrCJtESfnLOGfBg8bIzuKSWC7T7lbzQo1HLah8 BmiACIkEf6Y1NJCTmTPP3g8HfBBiuAxgymFuD48Du0VpeZ99rIOkE//lB/yN/yIXXtUm 9Ttg== X-Gm-Message-State: APjAAAUbO+TkT6LE8GgO7P14eEHD1eA4tko693Xr4fWkEKco47qyqnnW vZv9ifVaM55YUScaZnl9wU3o0Lzs6NiaWdhl6vp2uDFMXjkCxg== X-Received: by 2002:ac8:1c53:: with SMTP id j19mr41777461qtk.152.1558008564993; Thu, 16 May 2019 05:09:24 -0700 (PDT) MIME-Version: 1.0 From: Arnd Bergmann Date: Thu, 16 May 2019 14:09:08 +0200 Message-ID: Subject: [GIT PULL] asm-generic: kill and improve nommu generic uaccess helpers To: Linus Torvalds Cc: Christoph Hellwig , Linux Kernel Mailing List , linux-arch , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [back from vacation now, sorry for the late pull request for this merge window] The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-nommu for you to fetch changes up to 6edd1dbace0e8529ed167e8a5f9da63c0cc763cc: asm-generic: optimize generic uaccess for 8-byte loads and stores (2019-04-23 21:51:41 +0200) ---------------------------------------------------------------- asm-generic: kill and improve nommu generic uaccess helpers Christoph Hellwig writes: This is a series doing two somewhat interwinded things. It improves the asm-generic nommu uaccess helper to optionally be entirely generic and not require any arch helpers for the actual uaccess. For the generic uaccess.h to actually be generically useful I also had to kill off the mess we made of , which really shouldn't exist on most architectures. Signed-off-by: Arnd Bergmann ---------------------------------------------------------------- Christoph Hellwig (4): asm-generic: don't include from arch: mostly remove asm-generic: provide entirely generic nommu uaccess asm-generic: optimize generic uaccess for 8-byte loads and stores arch/alpha/include/asm/segment.h | 6 ---- arch/alpha/kernel/smc37c669.c | 1 - arch/alpha/kernel/smc37c93x.c | 1 - arch/arc/include/asm/uaccess.h | 1 + arch/arm/include/asm/Kbuild | 1 - arch/arm64/include/asm/Kbuild | 1 - arch/c6x/include/asm/Kbuild | 1 - arch/h8300/Kconfig | 1 + arch/h8300/include/asm/Kbuild | 1 + arch/h8300/include/asm/uaccess.h | 55 ------------------------------------ arch/hexagon/include/asm/Kbuild | 1 - arch/hexagon/include/asm/uaccess.h | 1 - arch/ia64/include/asm/segment.h | 6 ---- arch/mips/include/asm/Kbuild | 1 - arch/nds32/include/asm/Kbuild | 1 - arch/nios2/include/asm/Kbuild | 1 - arch/openrisc/include/asm/Kbuild | 1 - arch/openrisc/kernel/ptrace.c | 1 - arch/openrisc/kernel/setup.c | 1 - arch/openrisc/kernel/traps.c | 1 - arch/openrisc/mm/init.c | 1 - arch/openrisc/mm/tlb.c | 1 - arch/parisc/include/asm/Kbuild | 1 - arch/s390/include/asm/segment.h | 5 ---- arch/s390/kernel/ptrace.c | 1 - arch/unicore32/include/asm/Kbuild | 1 - arch/xtensa/include/asm/segment.h | 16 ----------- include/asm-generic/segment.h | 9 ------ include/asm-generic/uaccess.h | 58 +++++++++++++++++++++++++++++++++++++- lib/Kconfig | 4 +++ 30 files changed, 64 insertions(+), 117 deletions(-) delete mode 100644 arch/alpha/include/asm/segment.h delete mode 100644 arch/h8300/include/asm/uaccess.h delete mode 100644 arch/ia64/include/asm/segment.h delete mode 100644 arch/s390/include/asm/segment.h delete mode 100644 arch/xtensa/include/asm/segment.h delete mode 100644 include/asm-generic/segment.h