Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1394197ybn; Wed, 25 Sep 2019 17:41:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtA5gP0Fc9H5x6sRmR1ps0x8QhIVAAQIVUuKvij/2AyktSSVoueQ8e7rS6wpzesn+CqdZM X-Received: by 2002:a50:e718:: with SMTP id a24mr794263edn.289.1569458481636; Wed, 25 Sep 2019 17:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569458481; cv=none; d=google.com; s=arc-20160816; b=BW/bww51JCezSKa0+QOWv+/Mt49cOy+5Qp0EOLqDh83pNbWbOAIzInOvTzp6Igss+c wQGvogou2gvWTPIy9c0gMxlH8aWbGu9Wr4/KZDP2IXquUMD1HFJxU3fzZSZQ5CnMRPns uDVkB/e015H0FQkNaMqMB3/Y2ElkEP5/gUsb3+aH0U5ibAdG8icS/PpTwNbqYLD6nLRy cx3O7YpxioSFL9dhoFus7A88attBzt7kKz7lS+ev806H3zT5kt6O/CQY9HUWDmUS35hZ 6bWWtg2Tga6u8a/91QsUm56IBIoV35IoBN8hioo3DR8Cg9fQuyRx4RDaiNxdPArj0EcI fc0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2d47E32C9RUOC5wWI8ATuz+LPjAEghSrUhg7r5IgcGw=; b=Q0LsePtRUQ5s9SEv/7WuuXz41QWyTSVqExOqS7TNlTrYztIJ7PWwBMPgFlkwSvhfWu c9CsDGpEnDcWVpwLAeGJCs7In+qPfeE/fpeebAuNmCbSQvWAxzb6k8Ze9C3RIpgouqOH fwvwmajSIi2AYWReg1ZJpOl65fUSXE7tTH8sIOyT/zq8lrWBsK/tn11mpOgBmGXVvaxr AysSZI5AcuxleJFko0HjH9UX8OtvuoOLhFZZxmg8pyYeuy6k02FW5hdQMveoytFiklHg AXI5E+pBq/inhCqxiy3WlyaRfTg8XdRAoXcTxo8/9wiq80prm7EzdNxSkeHCoQpac7P0 2vXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=xk0WaUyL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b42si387459eda.367.2019.09.25.17.40.58; Wed, 25 Sep 2019 17:41:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=xk0WaUyL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409016AbfIXFH5 (ORCPT + 99 others); Tue, 24 Sep 2019 01:07:57 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41843 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409007AbfIXFH5 (ORCPT ); Tue, 24 Sep 2019 01:07:57 -0400 Received: by mail-wr1-f67.google.com with SMTP id h7so327264wrw.8 for ; Mon, 23 Sep 2019 22:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2d47E32C9RUOC5wWI8ATuz+LPjAEghSrUhg7r5IgcGw=; b=xk0WaUyL1bcfquknkF16bbwNOlHNKes+nkQlDlLr2dbIuiGGKwWswlpRW/npj90Pbp z/MrEp/lBndbQrNq4ws8M1Js64R6OavvHdhzyDhYlGYMQIuFSZ031gDiODKzkZJUykM8 Oa4zpJXbWUqNf0m7Rfr65UFEO9v0GA4CtOfdmhfn3hal9uv3KrdOEJZ6EdTJlyc5ksZD skdeBU7z+mE14MU6hxrVOoI1DonRXai40vjdsmQUsNwmmN12Sm9D5CE5EbNoe9QUb5eJ dehyr2pMmM+b3jY5L+j2gihyQn5h2oJzty8UFT8PW2+chfCN9Q9V2sFZUPg+LOTY34Zz RwTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2d47E32C9RUOC5wWI8ATuz+LPjAEghSrUhg7r5IgcGw=; b=fnGG+B1QbFVy1uOsBWH6lwAbBOgOZ7mbbsY/7sV60toh8GmJjB7ezWFFdgL8vvfjlx 2kGSlI6TZnwtgSUhZsPnkr9J0NyyR92pF2Mx567Vj0q56Y1nsL0dwx0RRVZNhvgp4E34 5MiY7+nqbph8o1Yu388+krgVX2w+nzL8E6iGdSbolu4hZC65TQBrPfcRVjxupx6IX6QK FIUlYvp3jNRtS0njxwukZQAo/uEiNWvHY5773HPQ2Bm9dn9nI6gdZhV2jN7udZ6CeQy/ pAPkA52InHP+FTU7EcCsDNEPMI5mXNOqoPsqnGKw9oWP8O6I1T53rj6NffOvZvAcx/jv zfEw== X-Gm-Message-State: APjAAAVrt4B2s7QOLPMK6SERtGZTEJpXuavxNlrMsksHqiRkqwQ9wX/W y1qlkqEYoFezNWdjOIArsOq65MypzYRgxcUcSZc0FQ== X-Received: by 2002:adf:f1d1:: with SMTP id z17mr634403wro.330.1569301674793; Mon, 23 Sep 2019 22:07:54 -0700 (PDT) MIME-Version: 1.0 References: <20190904161245.111924-1-anup.patel@wdc.com> <20190904161245.111924-12-anup.patel@wdc.com> <8c44ac8a-3fdc-b9dd-1815-06e86cb73047@redhat.com> <45fc3ee5-0f68-4e94-cfb3-0727ca52628f@redhat.com> In-Reply-To: <45fc3ee5-0f68-4e94-cfb3-0727ca52628f@redhat.com> From: Anup Patel Date: Tue, 24 Sep 2019 10:37:43 +0530 Message-ID: Subject: Re: [PATCH v7 10/21] RISC-V: KVM: Handle MMIO exits for VCPU To: Paolo Bonzini Cc: Anup Patel , Palmer Dabbelt , Paul Walmsley , Radim K , Daniel Lezcano , Thomas Gleixner , Alexander Graf , Atish Patra , Alistair Francis , Damien Le Moal , Christoph Hellwig , "kvm@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 23, 2019 at 7:03 PM Paolo Bonzini wrote: > > On 23/09/19 15:09, Anup Patel wrote: > >>> +#ifndef CONFIG_RISCV_ISA_C > >>> + "li %[tilen], 4\n" > >>> +#else > >>> + "li %[tilen], 2\n" > >>> +#endif > >> > >> Can you use an assembler directive to force using a non-compressed > >> format for ld and lw? This would get rid of tilen, which is costing 6 > >> bytes (if I did the RVC math right) in order to save two. :) > > > > I tried looking for it but could not find any assembler directive > > to selectively turn-off instruction compression. > > ".option norvc"? Thanks for the hint. I will try ".option norvc" Regards, Anup > > Paolo