Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3054722imm; Tue, 4 Sep 2018 14:42:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYmv5RMVeMoBrP3qQtFDoQGyY/Rxcl9VVuRuMHDZ0Y0iJi66z44p+BtncFrnK4USy4/Nvfc X-Received: by 2002:a17:902:7614:: with SMTP id k20-v6mr3965453pll.170.1536097326100; Tue, 04 Sep 2018 14:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536097326; cv=none; d=google.com; s=arc-20160816; b=jGKzcL7rDRIDrE0/dmYq/NK0KdJmvRq9mKCRkiLVzMQT+9D46Bj5I4eZq7rcAMaqbd 8mQe5xMcnhRjIPkA2ql+Ge3uToGrMoCzZBxqhshWzp+g7FVA8gRvH0PrYfew0vnkTEUy B20LeGHK6d4No52knQDOkisubEemoeATBpLbc+Tb5biQnaQLGanieLrd1iXWRFTzdwUu nHLUrUOItwOjDQ4pGtMYt9XqG9TKWY6YdLi57Qsd2ZF7pYo6W1hYPja1++ShQIg3ZZbe /JD3sMNqiui51x8t4NDFzuKDirvuVkxXOpk7IfM4fvJGTPLRKRSncKC0He91OaJBw55G p7Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=Q5S3o4Pb0kj9n3lajbiTK5sgVhS/O1pN+j1w7riCcH0=; b=W9UkevhIEAixpPIA5WSElETqF/J0endPGTIsFkAh001BZQgDPa/8i0NvJmgT+/Ea3T LNo2GGXtCoNMHcatzn8w+/iLM4Zls6MNk1EOW1rHaS0bn3dzZtKxN1eJdm7rAK61V+go 0ogEOIey0HA3WtpyFJOodPAZm0A/RWUdBZSabKPynbnktekguqwO1PGAD15fx4H7swsV 3rxy1hDXCxpqBwu7vr+Gcq4TfiZZw7nyZ3I6D+UKQufVbLBQ9amamuUHl6KozLD2vWYi bl+nu4aj+9tsoV3HF+Gntj+O/nfZyeE20BiL/Ola2RXwwh1cJstl9AUvn8Jzx/mJfYZ+ BlWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=SmdduMb2; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r23-v6si23373419pfr.252.2018.09.04.14.41.50; Tue, 04 Sep 2018 14:42:06 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=SmdduMb2; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726999AbeIECHo (ORCPT + 99 others); Tue, 4 Sep 2018 22:07:44 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:56449 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbeIECHo (ORCPT ); Tue, 4 Sep 2018 22:07:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1536097292; x=1567633292; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=XmgPAlKyoEM9jsC7V/aXgjkPJCBpj1AqnfLdFdxhWpQ=; b=SmdduMb28A9cN1VXDyYr5YPwlktejxBZ3I/+BV8zKviAfdik/TKZrYoy ysgC+oq/7AaHzHVmbC5SyutzoUrqPjKnLEmysPoJpJ4h9WXoHQ0GhFiH8 LcwZ9Sc1juvx++k3073yKaV0f/Ie68s/buLHzswOtit9ts8mLh/cLvCgF Q2wq+Yu5PMAmrh/5045z6DqpzhVYza8Syma8Asqn+sUhIAKTn0B6wLdP9 ZDvuJfSGLYLR/RItvv0Nh+ogWm/9worVXhwXrnVuMyh5sfj3iKYLgYWCw HCorxGQuS65nC35jrqc2qJj91cay+/HkoqoBmN96i+6xNgzF9LNuZpLpZ g==; X-IronPort-AV: E=Sophos;i="5.53,330,1531756800"; d="scan'208";a="186537548" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 05 Sep 2018 05:41:31 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 04 Sep 2018 14:27:28 -0700 Received: from use204589.ad.shared (HELO [10.86.59.178]) ([10.86.59.178]) by uls-op-cesaip01.wdc.com with ESMTP; 04 Sep 2018 14:40:42 -0700 Subject: Re: [PATCH v2 3/3] RISC-V: Support cpu hotplug. To: Christoph Hellwig Cc: "palmer@sifive.com" , "linux-riscv@lists.infradead.org" , "mark.rutland@arm.com" , "anup@brainfault.org" , "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "damein@vger.kernel.org" References: <1535445370-19004-1-git-send-email-atish.patra@wdc.com> <1535445370-19004-4-git-send-email-atish.patra@wdc.com> <20180831061859.GC19292@infradead.org> <0d439b9d-b3d0-7d2c-117b-abb37adf769c@wdc.com> <20180904213623.GA2078@infradead.org> From: Atish Patra Message-ID: <54571707-fd28-3258-fbec-4612f62ad2ad@wdc.com> Date: Tue, 4 Sep 2018 14:40:41 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180904213623.GA2078@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/4/18 2:36 PM, Christoph Hellwig wrote: > On Tue, Sep 04, 2018 at 11:08:35AM -0700, Atish Patra wrote: >> >> I have kept it here to match all other arch. Same goes for all hotplug >> functions in smpboot.c >> >> I can move them to a separate file if you think that provides better code >> readability and structure. > > I don't really have a strong opinion, but keeping this code together > and reducing the ifdef maze seems worthwile to me. > Sure. I will move it a new file accordingly in v3. If nobody else has objection for that, we will keep it that way. Regards, Atish