Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8722908ybn; Tue, 1 Oct 2019 12:01:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrfyeYasxGFTs9tjGNtk+VXMOS8/WB6cYzV1BUnFwguTk9tguPkhzDwdMYf2LO5pxTgocW X-Received: by 2002:a05:6402:696:: with SMTP id f22mr27158024edy.216.1569956474799; Tue, 01 Oct 2019 12:01:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569956474; cv=none; d=google.com; s=arc-20160816; b=zyWjK46gwxjbNLbIkokjYunq8debHN5dBBzjcAM/U4U93b+fLQ3zopMMvUYpPgdYYS tapqULLOmkYmavNsvzFErkXJEw4p9tL7TND8QoKgkoxnQvr0Eogm4IvgyejOacwF4VHv P5pJuz8eApm0hxIqyZAkLG8oriOdy3FOpPL0hMXx76ERJoxjfJ5jqImvburXJRe0DuuV eobBBawKjfiTvRG+wgMjQM0O8zHJ/FSsiznctLPHCz8MZpOqTJCyfHKlnPEswVl64jrj qQCxm1PctoKm7ceSN2bosSsVKV5QPa6WAAq2lmf1QggfUvtiJBYCQ3rZ8+zI22LCoxuB GuCQ== 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; bh=7EY66jo6PvKaSsJh31JkxqgQFmjMunJ0Kvj/PM6tpU0=; b=MnzkJS4loPmQaYQpes+D33jIGJw4PTMJadMsEITww8stYHlZk1XDY25hY9gSd24Ctz gLzYnJTMjGjvpnEnFZ8HNrmHV1773Ur1ofL5KbGy4kQchR5wnv/HduIyQW9qMW3cgYaD /14Ktr+p8q03rLxSxiP/OPtGVh2Bko7mbELZcxvTSFCw6lCkxB0d/zM3urpGEEmr1RO/ T/XVbWHAgqrbhAoFRelxjJdA5B7FvvOojaHT8b6tqLsXxZP8bG1KtJhtIVPhldC6DqgY 1o8A23/SJuqQ3SMK239V6r57ALqEND1NDKC0bmfS0/SNb9qNPAoB1RtUm2s6oIAxRoWn 1ZIA== ARC-Authentication-Results: i=1; mx.google.com; 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 g30si10032188eda.2.2019.10.01.12.00.48; Tue, 01 Oct 2019 12:01:14 -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; 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 S1726590AbfJAS6H (ORCPT + 99 others); Tue, 1 Oct 2019 14:58:07 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:46058 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726182AbfJAS6G (ORCPT ); Tue, 1 Oct 2019 14:58:06 -0400 Received: by mail-qk1-f193.google.com with SMTP id z67so12294464qkb.12 for ; Tue, 01 Oct 2019 11:58:05 -0700 (PDT) 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=7EY66jo6PvKaSsJh31JkxqgQFmjMunJ0Kvj/PM6tpU0=; b=PcdoUCulTNV/AY4s47R9/60DLDt/DTGSAiwPBfdGyI6Vdd7YRjtDlUW17XIuz4dy6D GhhNGFR/zLXO4CVkruFlnibh1W6L7hktJ9TffmqomOhzk/ye5qXJDwpbUa8w9+1u/8Hp pYJYnXYzU8o/Gh2o2FqrTImzO91I/gRAltYH1OUEmN5CoJIYrfgGRTP9pxQPqEUZZHvn 7u8OQtDRYEZCLMz233B+/qzPd6usHNwO0dBzR4NaFd/Jyi1gbmMTz6NsdXUsg28xGR7c cDEGKjBFMalvyl4/nyTDF5v1wS9aPaHGdaJDm9TJJbjdBZN9/QWrEPi8pAhIMNQhehqb hVpQ== X-Gm-Message-State: APjAAAVe1UvTAw6nLtxXYJaf+LO0bpd7XSJBOhqIkBEr7HxhSRhwwQsN rA5lydj5LgjBFEmU9Pabq3Riphr1qO0o2Lix1Ck= X-Received: by 2002:a37:a858:: with SMTP id r85mr7732418qke.394.1569956285225; Tue, 01 Oct 2019 11:58:05 -0700 (PDT) MIME-Version: 1.0 References: <20190906153948.2160342-1-arnd@arndb.de> In-Reply-To: From: Arnd Bergmann Date: Tue, 1 Oct 2019 20:57:49 +0200 Message-ID: Subject: Re: [PATCH] ARM: xen: unexport HYPERVISOR_platform_op function To: Stefano Stabellini Cc: Emil Velikov , Denis Efremov , Masahiro Yamada , Russell King , xen-devel , Linux ARM , "linux-kernel@vger.kernel.org" , Mark Rutland 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 Tue, Oct 1, 2019 at 7:38 PM Stefano Stabellini wrote: > Thank you for the patch. HYPERVISOR_platform_op() is an inline function, > the underlying function that should be exported is > HYPERVISOR_platform_op_raw. So, instead of removing > HYPERVISOR_platform_op, we should change it to > HYPERVISOR_platform_op_raw. Ok, that makes sense. > For convenience, and for testing I cooked up a patch. Arnd, if you are > happy with it (in the sense that it solves your problem) we'll check it > in the xentip tree, unless you would like to get it in your tree? > Please merge it through your tree. > @@ -437,7 +437,7 @@ EXPORT_SYMBOL_GPL(HYPERVISOR_memory_op); > EXPORT_SYMBOL_GPL(HYPERVISOR_physdev_op); > EXPORT_SYMBOL_GPL(HYPERVISOR_vcpu_op); > EXPORT_SYMBOL_GPL(HYPERVISOR_tmem_op); > -EXPORT_SYMBOL_GPL(HYPERVISOR_platform_op); > +EXPORT_SYMBOL_GPL(HYPERVISOR_platform_op_raw); > EXPORT_SYMBOL_GPL(HYPERVISOR_multicall); > EXPORT_SYMBOL_GPL(HYPERVISOR_vm_assist); > EXPORT_SYMBOL_GPL(HYPERVISOR_dm_op); Note that there are obviously no callers from any loadable modules in the kernel, all users are in built-in code at the moment. As an API definition it still makes sense though. Arnd