From patchwork Thu Mar 8 14:47:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 131023 Delivered-To: patches@linaro.org Received: by 10.46.66.2 with SMTP id p2csp6563928lja; Thu, 8 Mar 2018 06:47:36 -0800 (PST) X-Google-Smtp-Source: AG47ELtEFqwOczcm+s8lz4teq7nbFaXhXqgiVhHzWssf7bH0xrHYqIKSgPgm3aZv5C5lkMZppniD X-Received: by 10.25.74.205 with SMTP id x196mr19849234lfa.46.1520520456611; Thu, 08 Mar 2018 06:47:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520520456; cv=none; d=google.com; s=arc-20160816; b=J+/zlsZ6AHAgEdirFEuNOjmm4g6SF3vnb3H+rLp4BXlngVwVsKPHrk9/2AZbUu1Feo gDpoh5hZbwmjFWyq4Zkf2DMYYCig1yI8BJ1Qoo9Xb5565cPoNZhKqBHKOlwb7q7EPYtr n0rBUTVKjIPOr2wFZ17ENe4H5IwKkPjFtxxuMcwFtBSc49YxzUpMvd4uhUqiBcq5Wybb mQgcfkHy8Q1/3EbRBIJ253350hAj1GzdEROWsbwgAiu164/qP4Qa1zGXUdCuV/IChtqF JEsSXqaC6xotQYw2+YNJ4G2hEMbt0nKCyVP+RGsYyy7XAwM6+AKc2HukAPUknlP/75il EFXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=gqgRxj6Y9FfJGQwRYr6FEpMlES92Xtk3t4nxlWtqJhE=; b=wRuINkSxaLJouzgHQmWWVN9keIER1+WOSTQSPFP8Wr3xvV9ofKPofumTk/OZ8EULND on1jCsUiOLT8fu5JcOCIn1yyb2l+aX1GlQr0mz5VqFMGMIyFweahLemx3J8Wt9AaZh0U RMlolIYHhwNBYm0TSIqIA/C2NBZtQrSPpFxTdsHpb2xwlp9yxQAZNrYA2jlGU1uUv8qO /whR4MxPQXOzAw8iFxkVUoKovQGwb0tcQzhS1X/zU+v19Pg2EII93yfk/sU6jviLDtOx rdNEvnFYhrqTY3H+8s1V44N/txLSUTw4gJQmn3LODtJsdI9xWJpx9b3T8rEsXZzF27xe Gxww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by mx.google.com with ESMTPS id 9si7523173ljt.336.2018.03.08.06.47.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 06:47:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) client-ip=2001:8b0:1d0::2; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::2 as permitted sender) smtp.mailfrom=pm215@archaic.org.uk; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from pm215 by orth.archaic.org.uk with local (Exim 4.89) (envelope-from ) id 1etwpR-00065R-QK; Thu, 08 Mar 2018 14:47:33 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Riku Voipio , Laurent Vivier , Guan Xuetao Subject: [PATCH 0/2] Drop dead linux-user/unicore32 code Date: Thu, 8 Mar 2018 14:47:31 +0000 Message-Id: <20180308144733.25615-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.16.2 We disabled the unicore32-linux-user in commit 5e2b40f7271cf9d in 2016, due to a problem with the syscall ABI it implemented being out of date and out of sync with the mainline kernel. In the intervening year and a half there have been no proposals to fix these problems so that we could re-enable it. This patchset removes the 750 lines of dead code from linux-user. (I suggested this in https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg06634.html and there were no objections.) The second patch is a cleanup we can make as a result, since with unicore32 gone all our targets implement signal handling: we can remove the default "not implemented" stub functions. You could argue that these might be helpful for future new targets, but IMHO signal handling support is too important to allow a hypothetical new target to silently get away without implementing it. For initial development it's easy enough to stub out the per-architecture functions, and then we will have a clear view of which targets (if any) don't have the signal handling implemented yet, and the missing feature will show up in code review. thanks -- PMM Peter Maydell (2): linux-user: Drop unicore32 code linux-user: Remove the unused "not implemented" signal handling stubs linux-user/qemu.h | 5 +- linux-user/syscall_defs.h | 6 +- linux-user/unicore32/syscall_nr.h | 371 ---------------------------------- linux-user/unicore32/target_cpu.h | 27 --- linux-user/unicore32/target_elf.h | 14 -- linux-user/unicore32/target_signal.h | 30 --- linux-user/unicore32/target_structs.h | 58 ------ linux-user/unicore32/target_syscall.h | 62 ------ linux-user/unicore32/termbits.h | 2 - linux-user/elfload.c | 72 ------- linux-user/main.c | 99 +-------- linux-user/signal.c | 32 +-- 12 files changed, 7 insertions(+), 771 deletions(-) delete mode 100644 linux-user/unicore32/syscall_nr.h delete mode 100644 linux-user/unicore32/target_cpu.h delete mode 100644 linux-user/unicore32/target_elf.h delete mode 100644 linux-user/unicore32/target_signal.h delete mode 100644 linux-user/unicore32/target_structs.h delete mode 100644 linux-user/unicore32/target_syscall.h delete mode 100644 linux-user/unicore32/termbits.h -- 2.16.2