From patchwork Tue Jan 11 07:52:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Weinberger X-Patchwork-Id: 1578297 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=VTrIqWTX; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JY2xF1t90z9s1l for ; Tue, 11 Jan 2022 18:53:05 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:Message-ID:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8UQW3Ii77bNbkF4zSVAZyt5puWzVDtYL2HJKLfDakJ4=; b=VTrIqWTX9AYUe4 V/9EBPhPGu0E2/NQylMABmL3gkMQjkJz0ylvNXR5llkB6PaKHWKx1CEo49qsYDDacXRnJWEVj+yQY N2eUUS08JhlbvFKyeHBeXigEqlILsTeeVA2u/vZtClM5hIpOZkoWxFahl5wbDY7Np92xfkKOQrXpn 7JvPpLlp9b60hui7yOAsLr0Wl/4jIWKOkB0WfENmmzvU7obc7hQ5nwgLijuv52YV+pCf45e+vVStj DNuXsLfNWfI6IlWKiOmn7ZTjbntDYW83tJMq/MyjDokLnZh8k1NYs6zjkemEVeoybaoU5LodUDAYb sMkqx8pYoxXmFtq7EuKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7Bxe-00FCGQ-Vv; Tue, 11 Jan 2022 07:52:55 +0000 Received: from lithops.sigma-star.at ([195.201.40.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7Bxc-00FCEe-2d for linux-um@lists.infradead.org; Tue, 11 Jan 2022 07:52:53 +0000 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id AD864614E2C4; Tue, 11 Jan 2022 08:52:50 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2ZT5CSczOSjH; Tue, 11 Jan 2022 08:52:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 2A582614E2CB; Tue, 11 Jan 2022 08:52:50 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id D7MJJ8k-LbO6; Tue, 11 Jan 2022 08:52:50 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 0607E614E2C4; Tue, 11 Jan 2022 08:52:50 +0100 (CET) Date: Tue, 11 Jan 2022 08:52:49 +0100 (CET) From: Richard Weinberger To: torvalds Cc: linux-um , linux-kernel Message-ID: <10132756.248426.1641887569979.JavaMail.zimbra@nod.at> Subject: [GIT PULL] UML updates for 5.17 MIME-Version: 1.0 X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF95 (Linux)/8.8.12_GA_3809) Thread-Index: RsIVnHqP6wx+gtlWtggyZBf0Dh/AXA== Thread-Topic: UML updates for 5.17 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220110_235252_470349_72B1E221 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Linus, The following changes since commit 1c3e979bf3e225e5b4b810b24712b16254d608b6: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (2021-12-21 09:30:32 -0800) Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Linus, The following changes since commit 1c3e979bf3e225e5b4b810b24712b16254d608b6: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (2021-12-21 09:30:32 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git tags/for-linus-5.17-rc1 for you to fetch changes up to db0dd9cee82270e032123169ceff659eced5115d: um: virtio_uml: Allow probing from devicetree (2021-12-22 20:40:05 +0100) ---------------------------------------------------------------- This pull request contains the following changes for UML: - set_fs removal - Devicetree support - Many cleanups from Al - Various virtio and build related fixes ---------------------------------------------------------------- Al Viro (15): uml: trim unused junk from arch/x86/um/sys_call_table_*.c um: move amd64 variant of mmap(2) to arch/x86/um/syscalls_64.c logic_io instance of iounmap() needs volatile on argument um: stop polluting the namespace with registers.h contents uml/i386: missing include in barrier.h um: kill unused cpu() um: remove a dangling extern of syscall_trace() um: unexport handle_page_fault() um, x86: bury crypto_tfm_ctx_offset um: common-offsets.h debriding... um: header debriding - activate_ipi() um: header debriding - mem_user.h um: header debriding - net_*.h um: header debriding - os.h um: header debriding - sigio.h Changcheng Deng (1): um: Replace if (cond) BUG() with BUG_ON() Christoph Hellwig (1): um: remove set_fs Johannes Berg (8): um: fix ndelay/udelay defines um: rename set_signals() to um_set_signals() uml: x86: add FORCE to user_constants.h um: gitignore: Add kernel/capflags.c um: virt-pci: Fix 32-bit compile lib/logic_iomem: Fix 32-bit build lib/logic_iomem: Fix operation on 32-bit um: virtio_uml: Fix time-travel external time propagation Randy Dunlap (1): um: registers: Rename function names to avoid conflicts and build problems Sjoerd Simons (1): hostfs: Fix writeback of dirty pages Vincent Whitchurch (3): um: Extract load file helper from initrd.c um: Add devicetree support um: virtio_uml: Allow probing from devicetree Yang Guang (1): um: Use swap() to make code cleaner arch/um/.gitignore | 1 + arch/um/Kconfig | 2 +- arch/um/drivers/virt-pci.c | 8 ++--- arch/um/drivers/virtio_uml.c | 54 +++++++++++++++++++++++++++-- arch/um/include/asm/delay.h | 4 +-- arch/um/include/asm/irqflags.h | 4 +-- arch/um/include/asm/processor-generic.h | 2 +- arch/um/include/asm/thread_info.h | 4 --- arch/um/include/asm/uaccess.h | 21 ++++++++++-- arch/um/include/shared/common-offsets.h | 15 -------- arch/um/include/shared/irq_user.h | 1 - arch/um/include/shared/kern_util.h | 2 -- arch/um/include/shared/longjmp.h | 2 +- arch/um/include/shared/mem_user.h | 5 --- arch/um/include/shared/net_kern.h | 2 -- arch/um/include/shared/net_user.h | 1 - arch/um/include/shared/os.h | 17 ++------- arch/um/include/shared/registers.h | 6 ++-- arch/um/include/shared/sigio.h | 1 - arch/um/kernel/Makefile | 4 ++- arch/um/kernel/dtb.c | 41 ++++++++++++++++++++++ arch/um/kernel/exec.c | 1 + arch/um/kernel/initrd.c | 48 +++----------------------- arch/um/kernel/ksyms.c | 2 +- arch/um/kernel/load_file.c | 61 +++++++++++++++++++++++++++++++++ arch/um/kernel/mem.c | 3 +- arch/um/kernel/process.c | 6 +--- arch/um/kernel/skas/uaccess.c | 25 -------------- arch/um/kernel/syscall.c | 28 --------------- arch/um/kernel/trap.c | 1 - arch/um/kernel/um_arch.c | 3 ++ arch/um/kernel/um_arch.h | 14 ++++++++ arch/um/os-Linux/registers.c | 4 +-- arch/um/os-Linux/sigio.c | 13 ++++--- arch/um/os-Linux/signal.c | 8 ++--- arch/um/os-Linux/start_up.c | 2 +- arch/x86/kernel/asm-offsets.c | 3 -- arch/x86/um/Makefile | 2 +- arch/x86/um/asm/barrier.h | 1 + arch/x86/um/asm/segment.h | 8 ----- arch/x86/um/os-Linux/registers.c | 1 + arch/x86/um/ptrace_32.c | 1 + arch/x86/um/ptrace_64.c | 1 + arch/x86/um/shared/sysdep/syscalls_64.h | 3 -- arch/x86/um/signal.c | 1 + arch/x86/um/sys_call_table_32.c | 4 --- arch/x86/um/sys_call_table_64.c | 17 --------- arch/x86/um/syscalls_64.c | 14 +++++++- fs/hostfs/hostfs_kern.c | 3 ++ include/asm-generic/logic_io.h | 2 +- lib/logic_iomem.c | 23 +++++++------ 51 files changed, 265 insertions(+), 235 deletions(-) create mode 100644 arch/um/kernel/dtb.c create mode 100644 arch/um/kernel/load_file.c delete mode 100644 arch/um/kernel/syscall.c create mode 100644 arch/um/kernel/um_arch.h