LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Palmer Dabbelt <palmer@dabbelt.com>
To: rdunlap@infradead.org
Cc: linux-kernel@vger.kernel.org, mpe@ellerman.id.au,
	Paul Walmsley <paul.walmsley@sifive.com>,
	aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org
Subject: Re: [PATCH] riscv: add rv32 and rv64 randconfig build targets
Date: Fri, 10 Sep 2021 23:06:24 -0700 (PDT)	[thread overview]
Message-ID: <mhng-a1bcb222-57a9-4ef5-82bc-bed70d1a7e38@palmerdabbelt-glaptop> (raw)
In-Reply-To: <25894c79-120f-8885-34cd-2e9dec0017ba@infradead.org>

On Thu, 12 Aug 2021 07:29:30 PDT (-0700), rdunlap@infradead.org wrote:
> Hi,
> Any comments on this patch?

Sorry, I must have missed this one.  It looks great, it's just that I 
don't see your Signed-off-by on the original patch.

> thanks.
>
> On 7/16/21 9:44 PM, Randy Dunlap wrote:
>> Add the ability to do randconfig build targets for both
>> rv32 and rv64.
>>
>> Based on a similar patch by Michael Ellerman for PowerPC.
>>
>> Usage:
>>    make ARCH=riscv rv32_randconfig
>> or
>>    make ARCH=riscv rv64_randconfig
>>
>> Cc: Michael Ellerman <mpe@ellerman.id.au>
>> Cc: Paul Walmsley <paul.walmsley@sifive.com>
>> Cc: Palmer Dabbelt <palmer@dabbelt.com>
>> Cc: Albert Ou <aou@eecs.berkeley.edu>
>> Cc: linux-riscv@lists.infradead.org
>>
>>   arch/riscv/Makefile              |   10 ++++++++++
>>   arch/riscv/configs/32-bit.config |    2 ++
>>   arch/riscv/configs/64-bit.config |    2 ++
>>   3 files changed, 14 insertions(+)
>>
>> --- linux-next-20210715.orig/arch/riscv/Makefile
>> +++ linux-next-20210715/arch/riscv/Makefile
>> @@ -132,3 +132,13 @@ zinstall install:
>>
>>   archclean:
>>   	$(Q)$(MAKE) $(clean)=$(boot)
>> +
>> +PHONY += rv32_randconfig
>> +rv32_randconfig:
>> +	$(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/riscv/configs/32-bit.config \
>> +		-f $(srctree)/Makefile randconfig
>> +
>> +PHONY += rv64_randconfig
>> +rv64_randconfig:
>> +	$(Q)$(MAKE) KCONFIG_ALLCONFIG=$(srctree)/arch/riscv/configs/64-bit.config \
>> +		-f $(srctree)/Makefile randconfig
>> --- /dev/null
>> +++ linux-next-20210715/arch/riscv/configs/32-bit.config
>> @@ -0,0 +1,2 @@
>> +CONFIG_ARCH_RV32I=y
>> +CONFIG_32BIT=y
>> --- /dev/null
>> +++ linux-next-20210715/arch/riscv/configs/64-bit.config
>> @@ -0,0 +1,2 @@
>> +CONFIG_ARCH_RV64I=y
>> +CONFIG_64BIT=y
>>

  reply	other threads:[~2021-09-11  6:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17  4:44 Randy Dunlap
2021-08-12 14:29 ` Randy Dunlap
2021-09-11  6:06   ` Palmer Dabbelt [this message]
2021-10-03 17:45     ` Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mhng-a1bcb222-57a9-4ef5-82bc-bed70d1a7e38@palmerdabbelt-glaptop \
    --to=palmer@dabbelt.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=mpe@ellerman.id.au \
    --cc=paul.walmsley@sifive.com \
    --cc=rdunlap@infradead.org \
    --subject='Re: [PATCH] riscv: add rv32 and rv64 randconfig build targets' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).