Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp185896ybc; Mon, 11 Nov 2019 23:10:17 -0800 (PST) X-Google-Smtp-Source: APXvYqy1Z3qIfDAzXsLwQYKto1gS3T2C9+356WQX/5zH3/9QkZdoEvwl/ScLJd1lEjfXo/sdguyW X-Received: by 2002:a17:906:1d01:: with SMTP id n1mr26119336ejh.95.1573542617496; Mon, 11 Nov 2019 23:10:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573542617; cv=none; d=google.com; s=arc-20160816; b=YFwWyZjFnqXwt0v3EPX8lJd2E3s7RT4c/5nhxC90jKVF/6b2x9aHtz3KFKmYpuQtaE IzhMGA1KPaZ6UsxP+6pOXSuEqVGwqwBpIWL08LNVW7LPJig4xoVCm5o1+ayfusnvnkb7 ppQZvhAPj9YgUFoj0JKhpK+V/zbtb6IQf71fTnEDVygs0Qkd8WN1h+vttuWdVPdE2+ov xY6QKi/FwQIMNI+aUku8zSTQuW0tXn6Nsw/z1v1uGIznmodta2YXibsxegtAZ5abBzKa LhMdqZqqxyrw5eEd6Heak1kCv9ov8dcX9LJuAArLv1C1HaI1w+L34y0w1yS/ygRwowUY Q0AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zK78FnAOmv3761AstDJXelt5t5xR2XRW77fvH5frBqE=; b=uIPK9tVBH+yzK2h+HiNGcn6K1HeM/wuFWsCP7H3xg38rb6YXV1XFt/DBNB+PTjrtLR WLyTXyGx/DBAVEGytVuW+TwFP1ChtFVm2Xx4gARSq1o53EuxcfggP8+N5zZeTh40yPHl rzidvcLoh/N3S/S8xuj+MyChBxNSE/uT/6eynrZ+U4r4FwuoWtdPbAxmxlhXQVHa1Z+6 pW9SC/BJN/D/iqTHPI4KZ4Svj/tSm1rm7ToYOmeLFoftlWJblyNxaj5+bWaDoEdYmJbg b9mETI5/vFxYbkeDwxGnNN9CgNg9T1ySKsuSi6h1KHCr2wOu9j0aMyEospVVABMVs0Qp KnWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EsEiW+5k; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 27si11555737eji.207.2019.11.11.23.09.53; Mon, 11 Nov 2019 23:10:17 -0800 (PST) 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=@linaro.org header.s=google header.b=EsEiW+5k; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727001AbfKLHIu (ORCPT + 99 others); Tue, 12 Nov 2019 02:08:50 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41777 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725781AbfKLHIu (ORCPT ); Tue, 12 Nov 2019 02:08:50 -0500 Received: by mail-pf1-f194.google.com with SMTP id p26so12673792pfq.8 for ; Mon, 11 Nov 2019 23:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zK78FnAOmv3761AstDJXelt5t5xR2XRW77fvH5frBqE=; b=EsEiW+5kyUCExkdffD7tH/HTw0VFRrIgj4HiXF8XKU+s8+YxXn15j5ZruCiQly6Mdb q7GX8wD3efvZPwCoSj7sgXxq6EuWXVchXS2z7IqZ6Qo1NVyCKPGhME4O6BACvUwJRwkm 2N9+FGswolsCy1Dl5C1Xua2F9aQHKDYZEPwPr02tW8pUuelj9NQNUcZPBdofEnH1/bTo t/3DrJ3shlpgHJGaMlcvL9OzVafIt6V5fKWM/ObUzBh08LU/lTr5ciKtaj0wtFx0hyhz OvdFweNPtGmC0DTkjjKIXg3EFo4gDiMVrNmpQDThE8CG1+yZBKI7nLU7tAdZVnqhxFED FQCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zK78FnAOmv3761AstDJXelt5t5xR2XRW77fvH5frBqE=; b=a+EIjpB5kPyWaoI7HZDQ5PqNlBanSbpOSGLLPVg/2NvppXxAiP6iTNUlsXDDqgZNC5 QbT/xJzYVYuBfWAWrJYyYC6tMOXdUkdK18WWL1b9fbVxVjbTO8PjsVvy4bnobVW7FMC4 A2Y2nOz8nr8AI8tkKI6FQp+zAIKCl5hgHygjBXW8j3KVn2WNUUagOunhj7MC9zGMQWjQ 6KXTPO4eYc4ffsiv6CdguaYMvz2q2Z+PKnOGcDd1X+MJY6meyZuOKQdcOTfw+RKiecEH syh2Jwm248DxmfOIYiNw8ZieN7XXPlgeU2dnh9bjYLFmq6SIG9izrDXYJ0bFItJNMShF UjWA== X-Gm-Message-State: APjAAAUvYdKmmzTiY6gDciMp8SsWjMVxOHQZn+fC6zf4qgdcfvZYaY5W uanrpB5nEQCRNB6kjNzVcDiFsA== X-Received: by 2002:a63:a05c:: with SMTP id u28mr35047901pgn.333.1573542527714; Mon, 11 Nov 2019 23:08:47 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id o1sm15092669pgm.1.2019.11.11.23.08.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2019 23:08:47 -0800 (PST) Date: Mon, 11 Nov 2019 23:08:45 -0800 From: Bjorn Andersson To: Pi-Hsun Shih Cc: Ohad Ben-Cohen , Matthias Brugger , open list , "open list:REMOTE PROCESSOR (REMOTEPROC) SUBSYSTEM" , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH v20 3/4] rpmsg: add rpmsg support for mt8183 SCP. Message-ID: <20191112070845.GR3108315@builder> References: <20191014075812.181942-1-pihsun@chromium.org> <20191014075812.181942-4-pihsun@chromium.org> <20191111231023.GD3108315@builder> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 11 Nov 22:42 PST 2019, Pi-Hsun Shih wrote: > On Tue, Nov 12, 2019 at 7:10 AM Bjorn Andersson > wrote: > > On Mon 14 Oct 00:58 PDT 2019, Pi-Hsun Shih wrote: > > > diff --git a/drivers/remoteproc/mtk_scp.c b/drivers/remoteproc/mtk_scp.c [..] > > > +static struct mtk_rpmsg_info mtk_scp_rpmsg_info = { > > > + .send_ipi = scp_ipi_send, > > > + .register_ipi = scp_ipi_register, > > > + .unregister_ipi = scp_ipi_unregister, > > > > These are exported symbols, so unless you see a need to support > > alternative implementations in the near future just skip the function > > pointers and call them directly. > > > > Yes there is request from MTK that they do want to reuse the mtk_rpmsg > driver for things other than mtk_scp, so there's a need to support > alternative implementations for this. > Fair enough, let's leave it like this for now! Looking forward to the next revision of the patches. Regards, Bjorn