From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Date: Wed, 18 Sep 2024 08:05:13 +0200 Subject: [PATCH 1/1] target/riscv: enable floating point unit In-Reply-To: <8b24728f-8b6e-4c79-91f6-7cbb79494550@canonical.com> References: <20240916181633.366449-1-heinrich.schuchardt@canonical.com> <20240917-f45624310204491aede04703@orel> <15c359a4-b3c1-4cb0-be2e-d5ca5537bc5b@canonical.com> <20240917-b13c51d41030029c70aab785@orel> <8b24728f-8b6e-4c79-91f6-7cbb79494550@canonical.com> Message-ID: <20240918-039d1e3bebf2231bd452a5ad@orel> List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Sep 17, 2024 at 06:45:21PM GMT, Heinrich Schuchardt wrote: ... > When thinking about the migration of virtual machines shouldn't QEMU be in > control of the initial state of vcpus instead of KVM? > Thinking about this more, I'm inclined to agree. Initial state and reset state should be traits of the VMM (potentially influenced by the user) rather than KVM. Thanks, drew From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACED4139CF2 for ; Wed, 18 Sep 2024 06:05:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726639520; cv=none; b=IO0TDt756DI8c3w0/lmqn/Yi+CCQE947qnBXJPH9FIUIODIdIuBhmUJ0dqVNWWyFH1vFfk+5Uzgn4IFQe1X11ZG8PprXdhI3GQenrzadCjgDG6RYQszVxUEVIND3JNPZqHgBxINRJR/K057v0mEfTFM6k/yxV23E4EBWInAX5b4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726639520; c=relaxed/simple; bh=t5mGxf+CZ3zZYnX4JbiIfh5pZ7tAjdTRZMOnJjviD4c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=REtdKzocuIqVaBi0xDIbeLzNt0ttXHcckV9e3BB9GILhydEIMEJf4QmYdFfolvJGv5Sc3E9n6f/evzxhGETPGdlZdSkDmZyEaSqGGmvN/ANyzl7k+YGmkNo2vFD+riI3cIzA1oqrQktHPA1Cr8DewxV11u0SVkK+uSv+alKqQmk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=KmAC/2c4; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="KmAC/2c4" Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a8d6ac24a3bso81973966b.1 for ; Tue, 17 Sep 2024 23:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1726639517; x=1727244317; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=t5mGxf+CZ3zZYnX4JbiIfh5pZ7tAjdTRZMOnJjviD4c=; b=KmAC/2c4GNy7hXjZS60NBIlvm4P6FIIdBmWQPhjiiZvS150jjz0Epc1Dxu/C9p5Qfm zWf/sBxOrIfu9pRjOof+pDiMm9MbSqT9BKoknXlrZfcgIE49SA0+y1otAymsp7yzv3wF JFuZooqg4BWLLycTuyXP622Pg6C4Wft8ZfoaxImmdYKPwTG4UWdxAjAs8+pxjEKdUVVU 6+TE8iVnZtyrTAB74zDIiF/4By7+TpCPuggUHnMP+Sf7fLsq41lIalnE7D70tO0pyiEN 9K9Y08EpNUpt2+wDD2Vh0wZIoIywjmqGJStAGDZjpY0yE1kD/RZNH9kc5qL0iSAuPXVD mIrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726639517; x=1727244317; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=t5mGxf+CZ3zZYnX4JbiIfh5pZ7tAjdTRZMOnJjviD4c=; b=A1+f7m8mUQbLxR6SJMNL+wHCVY1Dx7w+hqtUChGPPgNatVWM6jWyglGa2gz0Bq4Gdg l6GqDqdv0ot9mNytArZv2bSVOGmbVKaZLPP4vNupAOalQPhZKaw4zPGaJ+0FPa/U+cS4 /K73VZjs4W5w8ttjqHqJ2Ebsg/ggmJSVD35b2Az3kkzLEnV3n4x6mzKA6ElmIULp1L17 c+QYBrcPf/VjSMAgduBOcXyibfAef++l/xDulVNb8UltdZgtfRk0KXnOZwQca/A38yHf B56AP+RneEvBRoBhJrAu/q41n38svNkC4xSAZz/C8tw23r937xdibmNqMi79FdjKjz+Z iIAw== X-Forwarded-Encrypted: i=1; AJvYcCWYsVW4B2oOOFQmJ2GT6uZW27o+5PtTzaWKZXFYTDPRsgsJHWfZCkcWmIoY988MXzvG/mo=@vger.kernel.org X-Gm-Message-State: AOJu0Yzy7X/blB10tyaj8+G4uGiDj6OYHsrwXeByEpaRI4yaIQ2bwpno baNkVANcaP/AwkMkTxUQiDEG1FVeSkqgGFQcw/nbc0Fwn0glgPpgosxQIAOkWDw= X-Google-Smtp-Source: AGHT+IGHKR0qqgSX96tsaPbrMvlFd8LcDl6wWuDi67U5uzQHtG4PPaURsQoSA0G1nXDghe6Ahz69jQ== X-Received: by 2002:a17:907:7ea7:b0:a8a:cc5a:7f30 with SMTP id a640c23a62f3a-a902a8c26ffmr2252797466b.25.1726639516625; Tue, 17 Sep 2024 23:05:16 -0700 (PDT) Received: from localhost ([213.235.133.41]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9061096aa2sm536689566b.35.2024.09.17.23.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2024 23:05:15 -0700 (PDT) Date: Wed, 18 Sep 2024 08:05:13 +0200 From: Andrew Jones To: Heinrich Schuchardt Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , qemu-riscv@nongnu.org, qemu-devel@nongnu.org, Anup Patel , Atish Patra , Paul Walmsley , Albert Ou , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] target/riscv: enable floating point unit Message-ID: <20240918-039d1e3bebf2231bd452a5ad@orel> References: <20240916181633.366449-1-heinrich.schuchardt@canonical.com> <20240917-f45624310204491aede04703@orel> <15c359a4-b3c1-4cb0-be2e-d5ca5537bc5b@canonical.com> <20240917-b13c51d41030029c70aab785@orel> <8b24728f-8b6e-4c79-91f6-7cbb79494550@canonical.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8b24728f-8b6e-4c79-91f6-7cbb79494550@canonical.com> On Tue, Sep 17, 2024 at 06:45:21PM GMT, Heinrich Schuchardt wrote: ... > When thinking about the migration of virtual machines shouldn't QEMU be in > control of the initial state of vcpus instead of KVM? > Thinking about this more, I'm inclined to agree. Initial state and reset state should be traits of the VMM (potentially influenced by the user) rather than KVM. Thanks, drew 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6FC6C3600F for ; Wed, 18 Sep 2024 06:05:31 +0000 (UTC) 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=prZ91J5K8pAJ9vzLWSrWza/dVu963VGeA19sVR/hlK4=; b=Kp+5chw5LaXNe4 DfVKAI7tFsvO5HJNpu9BGGDQzUGC4lbeDlDKhcW9tWNOu1PHSQDBsZEctbzHK6hVBQBy3elCBGRJ3 2+aUn2EvdNHqlzbzF9v7KuFWBCtbv/SPHulP/OjMbY0s36A4o6QpDBN7Iekqq0vHSlVky69IOTBkt DSgAR1xGL/N/FoJnG6LRDTu3IQd1YUhidyckhfLmWk2LZg4T3CiPrGkUSLKKS1cpAu85ILAuZdKyz LrFBzI23O/NVlhuRGlPc3E47x2scSEX1QGlOwdxJXhldiT5Fl39FkHgVy952T++GuCXxe9pa1Ah+q CW6LxjOwfAe0+vMQPWGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqnoY-00000007VVV-13mW; Wed, 18 Sep 2024 06:05:22 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqnoU-00000007VT3-3UjO for linux-riscv@lists.infradead.org; Wed, 18 Sep 2024 06:05:21 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a8d2b24b7a8so76902166b.1 for ; Tue, 17 Sep 2024 23:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1726639517; x=1727244317; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=t5mGxf+CZ3zZYnX4JbiIfh5pZ7tAjdTRZMOnJjviD4c=; b=YM0l+7WcM9jI6q9Up4S45/0wbbo+9C4grm1SP0/xUr85YhNks+KBeR2QbfsZemFIGg nFAwInwSb9ngVlZfCo2L6JuDu39pOHF8CVZqKbUnb87y28ZABsDp7+CDzmV/XjazKDK5 OBsr7Cr6PzlMt9cGBcm0zUzIgN8bw9DhBcsYusDt2hrNZH6GsVr4GbUYy4GG87uD7my8 L7EM2jlKaHVwzwwfQltuzQ8elxhX3ZpHz+9fuuBztaw5xYXZ2xM5EnJ2tfn4tNWZHwi0 gf1kD+bcvdzv6JUjQZAUlcSlnzo9mhp+MgKo+qi3qy25ciCyWpOEgUXqPZq+q7SDYcaD 7FaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726639517; x=1727244317; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=t5mGxf+CZ3zZYnX4JbiIfh5pZ7tAjdTRZMOnJjviD4c=; b=gZDrAKJc9q6zn7O+UYUgP6HzuCRCGmuc9vOxEQdCA7xZo2RiUO1I7/KNKVnP55X8fo J+5g4D5XkgKTpJIBZmzIWv6vpSQgxl9aqLbSzUWxMQeotnVMzlxdheDXqv9TwVQWuc3d mBGjNT+2if3pMfYa3OXG0UnEtnZk2d0G35XHDEV2OMLVa98LG/e6xfUVWu3/qFGyAdqh 9UVZWSp1bkcXA9JbX758DM4WuY1X3SHQeRS+6cHGxyW+GsO57xKrzvZkrIT90a7zt1bT 918tVFuyz4DGq8WTWLm58fDQy7NzDcx18FZ9kc7Ln5/gwbcQf2Rok4SWzhvO2SYWFXQC iEzA== X-Forwarded-Encrypted: i=1; AJvYcCUPF+YFk78srzcVMWYa0lFAsp/i/b5MwsaITanAJW06yzV271dpy2d3f2RIlI9H5ys8Ni2j4mI+VPZb4g==@lists.infradead.org X-Gm-Message-State: AOJu0YwEz2dFjw4IYiQVtaXbU9EWSnW1yx+22ZPxomDSezhHMjJk1Gy5 6YonrSFHVCcx0kcOAuj220zrCvY5CJgjOhnQoRZ3b0vCR2QOD6XyGMYPQpMpJcs= X-Google-Smtp-Source: AGHT+IGHKR0qqgSX96tsaPbrMvlFd8LcDl6wWuDi67U5uzQHtG4PPaURsQoSA0G1nXDghe6Ahz69jQ== X-Received: by 2002:a17:907:7ea7:b0:a8a:cc5a:7f30 with SMTP id a640c23a62f3a-a902a8c26ffmr2252797466b.25.1726639516625; Tue, 17 Sep 2024 23:05:16 -0700 (PDT) Received: from localhost ([213.235.133.41]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9061096aa2sm536689566b.35.2024.09.17.23.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2024 23:05:15 -0700 (PDT) Date: Wed, 18 Sep 2024 08:05:13 +0200 From: Andrew Jones To: Heinrich Schuchardt Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , qemu-riscv@nongnu.org, qemu-devel@nongnu.org, Anup Patel , Atish Patra , Paul Walmsley , Albert Ou , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] target/riscv: enable floating point unit Message-ID: <20240918-039d1e3bebf2231bd452a5ad@orel> References: <20240916181633.366449-1-heinrich.schuchardt@canonical.com> <20240917-f45624310204491aede04703@orel> <15c359a4-b3c1-4cb0-be2e-d5ca5537bc5b@canonical.com> <20240917-b13c51d41030029c70aab785@orel> <8b24728f-8b6e-4c79-91f6-7cbb79494550@canonical.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <8b24728f-8b6e-4c79-91f6-7cbb79494550@canonical.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240917_230518_926334_D61BA4C7 X-CRM114-Status: UNSURE ( 8.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Tue, Sep 17, 2024 at 06:45:21PM GMT, Heinrich Schuchardt wrote: ... > When thinking about the migration of virtual machines shouldn't QEMU be in > control of the initial state of vcpus instead of KVM? > Thinking about this more, I'm inclined to agree. Initial state and reset state should be traits of the VMM (potentially influenced by the user) rather than KVM. Thanks, drew _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv