From patchwork Fri Feb 1 12:37:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 10792653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D4C47159A for ; Fri, 1 Feb 2019 12:37:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2D902F29B for ; Fri, 1 Feb 2019 12:37:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B43323201A; Fri, 1 Feb 2019 12:37:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62B012F29B for ; Fri, 1 Feb 2019 12:37:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729379AbfBAMhW (ORCPT ); Fri, 1 Feb 2019 07:37:22 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:59236 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727691AbfBAMhW (ORCPT ); Fri, 1 Feb 2019 07:37:22 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6830580D; Fri, 1 Feb 2019 04:37:21 -0800 (PST) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.197.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7C3113F59C; Fri, 1 Feb 2019 04:37:20 -0800 (PST) From: Andre Przywara To: Will Deacon Cc: kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu Subject: [PATCH v2 0/4] Various convenience fixes Date: Fri, 1 Feb 2019 12:37:12 +0000 Message-Id: <20190201123716.92901-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.17.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As I found myself using kvmtool more often in the last weeks, I got more and more annoyed by some smaller "ticks" that kvmtool shows. So this is an attempt to post various smaller fixes I gathered up over the years, but never found worth enough to send out. Version 2 drops the two patches that have been merged already, and amends the remaining ones. The patches address: - add /chosen/stdout-path node in .dtb - honour make -s switch - remove pointless kvmtool version number - introduce autodetection of supported GIC type Changelog v1..v2: - stdout-path: Let hw/serial.c set the node path and use an alias - make -s: adapt to newest version from the Linux kernel - kvmtool "version" number: unchanged, but verified to be compatible with the Debian package - GIC autodetection: ignore --force-pci, always try to have an MSI controller Please have a look! Cheers, Andre. Andre Przywara (4): arm: fdt: add stdout-path to /chosen node Makefile: support -s switch Makefile: Remove echoing of kvmtools version file arm: Auto-detect guest GIC type Makefile | 6 +++++- arm/fdt.c | 10 ++++++++++ arm/gic.c | 25 +++++++++++++++++++++++++ arm/include/arm-common/gic.h | 1 + hw/serial.c | 9 +++++++++ include/kvm/fdt.h | 2 ++ util/KVMTOOLS-VERSION-GEN | 1 - 7 files changed, 52 insertions(+), 2 deletions(-)