From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Christopherson Date: Thu, 12 Sep 2024 07:03:48 -0700 Subject: [PATCH v2 00/13] KVM: selftests: Morph max_guest_mem to mmu_stress In-Reply-To: <20240912-757a952b867ea1136cb260cf@orel> References: <20240911204158.2034295-1-seanjc@google.com> <20240912-757a952b867ea1136cb260cf@orel> Message-ID: List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, Sep 12, 2024, Andrew Jones wrote: > I gave this test a try on riscv, but it appears to hang in > rendezvous_with_vcpus(). My platform is QEMU, so maybe I was just too > impatient. Try running with " -m 1 -s 1", which tells the test to use only 1GiB of memory. That should run quite quickly, even in an emulator. > Anyway, I haven't read the test yet, so I don't even know what it's doing. > It's possibly it's trying to do something not yet supported on riscv. I'll > add investigating that to my TODO, but I'm not sure when I'll get to it. > > As for this series, another patch (or a sneaky change to one > of the patches...) should add > > #include "ucall_common.h" > > to mmu_stress_test.c since it's not there yet despite using get_ucall(). > Building riscv faild because of that. Roger that. Thanks! From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 759461A2844 for ; Thu, 12 Sep 2024 14:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726149832; cv=none; b=hzVydw8Tjm/mtFn62WV4SxUGwQyRFstTyJulacBRUPypDtppVZnb5Rbggbfp/YlkE4Vv3QZRNADSYb7wvP51rbbJC+bnnHmWcCsPxkIaKGwYcoiWXlSieIhX0k2P/O3VGI1AQ6AIyVQ/KhCvflXWi+PqWITfhjTAzzeEXYvUVNA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726149832; c=relaxed/simple; bh=f4ub2ioH2rAq4LrWkvf3tWt0xuhXdG4XmLanIfAoLdo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=tMHwK4yC21ujXhEyRcQbPZ49znjDXCU2rAN2KcEJY1Mi5TFjZEtigIumyXTT4yORFk5R0ngm9FcxkJK65hFI7R60cY+B6/kX/6UDXTejTjDJlzpH/fBNq1MiHD4DY8gf2FnSnIWMfyBv+3rccRBYOlaYsngjkwoK/IqKAxtHPw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=CKwNGbpo; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CKwNGbpo" Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-6b41e02c293so26581887b3.0 for ; Thu, 12 Sep 2024 07:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1726149830; x=1726754630; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=WJF8OdeeEbgD1lB1UBEPz4l4GIXf0/aw8YXbCeOR8js=; b=CKwNGbpo2/WDq5/P2EeFcJLyFVoobjdYbNX4rLK549XnqMmjHaaAI9aqi6XWXQZ6Go Umh64ffg0GG2pBKCy+5c2UoYbSPqsPJKGMf13YtKs/KCHMtzZJ5hhdFPsMajQtpL+W1t /sT009ZxHAUrwDLQwsvlOnjMAepIJnu7mb0BmbDurGjr3tNyg5HYyL8Icf6oS8RwjBhP YtMAoDBr2GMa4XEo8PcEybFYw1L+h94Ups+/oxKmyTOMbX1F9+cI6TE+ejGhGML98njS wr4RwiZrHL0n89f1/3rWWrllrdxv55ErJf6IPQW/VatIIDp08PDmrg11P1RXwu2qgZTn E7pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726149830; x=1726754630; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WJF8OdeeEbgD1lB1UBEPz4l4GIXf0/aw8YXbCeOR8js=; b=I5/kLt5QUXXWG6eAjKKtS8jtBEW686B4qwg8A8Pj1yOgWyP0Bd1Kztmny555GsH7qB Z3vA9WmLLXveL+2w5dbSZUQcEj1oV5ruI1ap4Gq5lIwh+qr6UWPdQ9FNXGjXoBa3xUzC PH6SxUX7yMwsxo+9gRmP04jTOTF/W2wMGA4A1vYIx1MZ5R62F6/mTINC+E5hyvyjjFd6 6Tq9XT0icIQS9ZptTdFqwb7uE6O+Nm3Ecj8FDD4/V49Xg7IJNdXURQVo8XoEFDAt222A a4qieHgp8yuuwY55vCToK7VlBmA6SjP4MWQ8RSgNed24v2Zrcx9DET+IHoiEsUwfNQsV u9Qw== X-Forwarded-Encrypted: i=1; AJvYcCVsqGwfXDgdOfiadSvP73H09lhW+kSGy+MnhUh+sEqBNQBJZQPy19kCYLEGWObuTZQnYFI=@vger.kernel.org X-Gm-Message-State: AOJu0Yzjy2ExYgPMvzCAKHJpLiEmH+v10pwFpM9uw7fjV1WtuaSEtDk4 WzBvKzEqUlwE1kKvb/OnJh40bWxqNW1HbZIy9DnwFxHTFPu03DfoKGSg8BZX04sVVY7MwRIr/Il SLQ== X-Google-Smtp-Source: AGHT+IG9MDMwcr2ud0GqvqLu65vyfg3SEL0UKjpaqJLZjzXIU9brTD+du2LqNfe439QMw4Yu0UCoNCtm5zw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:690c:209d:b0:64a:d1b0:4f24 with SMTP id 00721157ae682-6dbb6bb7dc7mr477817b3.7.1726149830238; Thu, 12 Sep 2024 07:03:50 -0700 (PDT) Date: Thu, 12 Sep 2024 07:03:48 -0700 In-Reply-To: <20240912-757a952b867ea1136cb260cf@orel> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240911204158.2034295-1-seanjc@google.com> <20240912-757a952b867ea1136cb260cf@orel> Message-ID: Subject: Re: [PATCH v2 00/13] KVM: selftests: Morph max_guest_mem to mmu_stress From: Sean Christopherson To: Andrew Jones Cc: Marc Zyngier , Oliver Upton , Anup Patel , Paolo Bonzini , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, James Houghton Content-Type: text/plain; charset="us-ascii" On Thu, Sep 12, 2024, Andrew Jones wrote: > I gave this test a try on riscv, but it appears to hang in > rendezvous_with_vcpus(). My platform is QEMU, so maybe I was just too > impatient. Try running with " -m 1 -s 1", which tells the test to use only 1GiB of memory. That should run quite quickly, even in an emulator. > Anyway, I haven't read the test yet, so I don't even know what it's doing. > It's possibly it's trying to do something not yet supported on riscv. I'll > add investigating that to my TODO, but I'm not sure when I'll get to it. > > As for this series, another patch (or a sneaky change to one > of the patches...) should add > > #include "ucall_common.h" > > to mmu_stress_test.c since it's not there yet despite using get_ucall(). > Building riscv faild because of that. Roger that. Thanks! 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 DAE33EED606 for ; Thu, 12 Sep 2024 14:04:40 +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:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=rGr40TAIUXExRxT4ker2qk937tzP6t0LxcojyOp22Xc=; b=ry3b42QLIT0+zDRVNHeFPT1aKn 5p3FNHEJmb0u1NrWH7RZC01+3HSFv0nsak494bF1ZT9GTlN+CtDDxSvQRw481/nLUf9q71HTLekF1 SDxaHfOVCZ2uWo+Yva7ft3rVPqS6zKihyFwTEHHXLYzcCBBQao/2ovLMub4lRwMvhZJFA0LyhyTs7 WMI6fABwJNUhMDSavP52vAveXSBS9QPFHmMPrbSv1j1TG8v1QhiCpAYvvXA+Nko29e97hu11ac4wW F1hirBbqiTaAc95DF5ztGKf36YCF+Rp5+r7/nxOEE3DQCw79XFWEYBUFQjAGyHubQhBGCts6izl7P Nrun8WsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokR3-0000000DIMg-3lVy; Thu, 12 Sep 2024 14:04:37 +0000 Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sokQK-0000000DID7-2GEj for linux-riscv@lists.infradead.org; Thu, 12 Sep 2024 14:04:02 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-6b8d96aa5ebso24012537b3.1 for ; Thu, 12 Sep 2024 07:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1726149830; x=1726754630; darn=lists.infradead.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=WJF8OdeeEbgD1lB1UBEPz4l4GIXf0/aw8YXbCeOR8js=; b=GnZoqaNcIivk94eOuvVoXReZbEGkXOYGhjty/IVjdl0qV9bBPkGGieg8d3JNEHzpS4 QQR3XLrZP5VIoePE6uTzFherLA5yxutHuXO6WxdiBwjF++iq01M+iknPXqFaW4ULPxc1 J4dZpE+tMJXhtHeuJFOGHhl6cdQSmSvSgUWkkUXRBmLS5cKKKtQlcWhCZVQxR4k1D9zK rgTPqCjEWQ7WcW43HLkoh7wJgDJ1iTO3mSvEGEl3fZ2NxFhi3dfZkU2M/a2O0Xw7fqnO vZsLauZOD1Y72nWTKBmKRTrwYtMXZNmskOHm76chu6YtDAQgxNOXAvJYQOJjJfWVP22d 3O9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726149830; x=1726754630; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WJF8OdeeEbgD1lB1UBEPz4l4GIXf0/aw8YXbCeOR8js=; b=hz1EcSUxiryhkEJeJEuWNZ0LshHcAuyI2Lz4tka5a+9cz4F42254UY0ypUyPaH69wN Xai9QzGM5pwsngQGDHfGfbWr9QFzLBk37iOhA1cONfr+prkxBWckdjRVC57IJpjXUlAr qkZa33dh9hmbcS33eULwg95PnEQvRlORBQuWCAqF6IR+XUG3kMhWvHP8PdBTVm//fLNQ 9D17q6aeBE2fXSb4aoo6aElI/4CIgTvX7Hct2N1FvMGKYMKtsNHXVur9xAY9KY11EgLP P11BIRmqCnwGzVDusIHq8f/NP1bJhEJjGbLCls8xEtFEhWzQtoDHSDx+OmmQEbsRcCey xGaA== X-Forwarded-Encrypted: i=1; AJvYcCURoS/lLmwOZkay0iNqRT5outHmtImDHLhYN39tGpA2MVHj02QWNXWg1t+el1ZRD8mFjqLdc2df9zWxSQ==@lists.infradead.org X-Gm-Message-State: AOJu0YyiK3yMvtK0odFwcJI49R3n5PPc1Ms9is5j43pZVJghmipkYlWl gnB5gq7rXFHKsAKgVqDjwlCZsh5/2AmJs5hP1rBIAtTq5TmlhlBVSHGL77XNcRxT2DF3HEt2sfy L0Q== X-Google-Smtp-Source: AGHT+IG9MDMwcr2ud0GqvqLu65vyfg3SEL0UKjpaqJLZjzXIU9brTD+du2LqNfe439QMw4Yu0UCoNCtm5zw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:690c:209d:b0:64a:d1b0:4f24 with SMTP id 00721157ae682-6dbb6bb7dc7mr477817b3.7.1726149830238; Thu, 12 Sep 2024 07:03:50 -0700 (PDT) Date: Thu, 12 Sep 2024 07:03:48 -0700 In-Reply-To: <20240912-757a952b867ea1136cb260cf@orel> Mime-Version: 1.0 References: <20240911204158.2034295-1-seanjc@google.com> <20240912-757a952b867ea1136cb260cf@orel> Message-ID: Subject: Re: [PATCH v2 00/13] KVM: selftests: Morph max_guest_mem to mmu_stress From: Sean Christopherson To: Andrew Jones Cc: Marc Zyngier , Oliver Upton , Anup Patel , Paolo Bonzini , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, James Houghton X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_070352_625972_87BF5960 X-CRM114-Status: GOOD ( 15.69 ) 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 Thu, Sep 12, 2024, Andrew Jones wrote: > I gave this test a try on riscv, but it appears to hang in > rendezvous_with_vcpus(). My platform is QEMU, so maybe I was just too > impatient. Try running with " -m 1 -s 1", which tells the test to use only 1GiB of memory. That should run quite quickly, even in an emulator. > Anyway, I haven't read the test yet, so I don't even know what it's doing. > It's possibly it's trying to do something not yet supported on riscv. I'll > add investigating that to my TODO, but I'm not sure when I'll get to it. > > As for this series, another patch (or a sneaky change to one > of the patches...) should add > > #include "ucall_common.h" > > to mmu_stress_test.c since it's not there yet despite using get_ucall(). > Building riscv faild because of that. Roger that. Thanks! _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv