Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2757482imb; Mon, 4 Mar 2019 13:24:10 -0800 (PST) X-Google-Smtp-Source: APXvYqyP0JYHmEROFNvXXH4jgeyxyrygRYO2NJzjrrXO+5D53pui7+LDbsiVlCzr2FmGF+AVq1ra X-Received: by 2002:a63:2907:: with SMTP id p7mr20213560pgp.161.1551734650765; Mon, 04 Mar 2019 13:24:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551734650; cv=none; d=google.com; s=arc-20160816; b=YaOWETjWxCa+C2bbtFpNP3GAENDYYHLk6z4QdI1TJbLS5+u9DpjgfIAj3jYFauJuf2 V07Mquapt7ouqu0QaFwcBJLLB93z+Sm6zH1yEUu9AFtWELgZ+56jiy+h/sTWcNT3dAbU roOnU5iqqQtEcw4dY44m+lg62Zzt+JOoCkauedUoSo7HTJ/2Bh/bwW0R7nlgIOuZDMYI G4VlQIMblnPfJ2s3kJn1TGwwzLMUBNCb/FguLx5jlzd2pAU5jS9Lkr9VlyYsh+LvZfus hcSilxI06FnruJmdJydascFh0LfocfBGps1J4ZWDwHHWfbsVTCEZHp9RXP4GTAbaftl7 1ukw== 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=24k8rj5UTmUkT63HVuPN119nt2Rc7xNcBxmTuFPY2Yc=; b=B7RQ1d0E8qXY89I1EOIzzFk8JFuKSZmXnH0rx2rXY8QyQA6Asy6tGeUky/QVKeIFst 9pikt10+BT9C0e02YRBkh8psDW9pVCIME5WEF9Es+rLXlJ7deqKlLJ6+DUoJlIvGGCju qOFQPgGZTYbFqa1i2uB6oYu6gfsWC/5DsENvNKWK4f76tqVxY6ZxlV86coth15W53Tib 8v7/NJKncLMMyhSidIS5foXRdeNu9se1fTDnfsc785WkNFnI98ayfhScGK2elNRQebHF iWtdPf037AA1T3NhEuiIJ0fEehh8e9gHaQ/StGzv23Sq7HLnrbbqDZY/Z4cM13R3rERk x7PQ== 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 193si1470611pga.251.2019.03.04.13.23.55; Mon, 04 Mar 2019 13:24:10 -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; 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 S1726336AbfCDVX2 (ORCPT + 99 others); Mon, 4 Mar 2019 16:23:28 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:34619 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfCDVX2 (ORCPT ); Mon, 4 Mar 2019 16:23:28 -0500 Received: by mail-qt1-f196.google.com with SMTP id w4so6778034qtc.1 for ; Mon, 04 Mar 2019 13:23:28 -0800 (PST) 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=24k8rj5UTmUkT63HVuPN119nt2Rc7xNcBxmTuFPY2Yc=; b=rYvqQDL82vKjoSLV2i69akhUS//HdW7XopzzYppy6gXGbKAZ5YzCL6ZUog9NdHfYln +xXcODOHFCUXlai8ytrCi0kMPSKKPa0swAvy7bq5bfaMY9exokjfnXsH6QbOAXtPLQB3 0nbB39szXtEx9Sur/r8++1VVOE4Ah926FUuTgc0uRayGK5zMDOzyXvR/rH6MKoKPD+aa m3KT8j5P9joKhLEOmdVwd+r1wPRiil88/Hasg7sWsPWgrFS5fgbKmr13NUZtmmKRsG17 nDmTBts/bgltUo7uo3dw47J3lUYd/iO7wG+EUCBNrmEtc+ZxJ7YoRhkQ+CSxI7HPpzkG 7YiQ== X-Gm-Message-State: APjAAAWDo9XWA/O0FVPlFNY179mkG9BEBVV8ooAbJDxl7Iuy8RDQr/a0 jyh5zkLC7V8zng8Ph4B0N7vyuGeRdqv92n5+/2Q= X-Received: by 2002:ac8:237b:: with SMTP id b56mr16064917qtb.343.1551734607474; Mon, 04 Mar 2019 13:23:27 -0800 (PST) MIME-Version: 1.0 References: <20190304204826.2414365-1-arnd@arndb.de> <7b1ae554-8d23-a282-4175-37e6743d0290@oracle.com> In-Reply-To: <7b1ae554-8d23-a282-4175-37e6743d0290@oracle.com> From: Arnd Bergmann Date: Mon, 4 Mar 2019 22:23:11 +0100 Message-ID: Subject: Re: [PATCH] xen: avoid link error on ARM To: Boris Ostrovsky Cc: Juergen Gross , Stefano Stabellini , Oleksandr Andrushchenko , Matthew Wilcox , Paul Durrant , Souptick Joarder , Linux Kernel Mailing List , xen-devel 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, Mar 4, 2019 at 10:19 PM Boris Ostrovsky wrote: > > On 3/4/19 3:47 PM, Arnd Bergmann wrote: > > Building the privcmd code as a loadable module on ARM, we get > > a link error due to the private cache management functions: > > > > ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined! > > Can __sync_icache_dcache be exported in arm32, just like it is in arm64? Russell wants all cache management operations to stay private to the kernel, as they tend to get abused by other drivers: https://lore.kernel.org/linux-arm-kernel/20181218100908.GL26090@n2100.armlinux.org.uk/ Arnd