Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp921663ybi; Fri, 24 May 2019 13:47:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzKn4mNuxmuiWeG1QYStDefPpv731NPWPmELm49ctOXNKWegyAXNnhq7CwlJ5sd1+646fKM X-Received: by 2002:a63:4c14:: with SMTP id z20mr15614746pga.360.1558730851205; Fri, 24 May 2019 13:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558730851; cv=none; d=google.com; s=arc-20160816; b=oyk7OI1PqSBfTkxBJFl1951o6iuaWXkJrDUcFiBrWjX4pKgFcwPK3C1J+eMCMb8Keu kTJzl96X5NneLaoUYHkwJclEU8ucQG4CdichoTgoA3eESCR544kG66Aa7Tg7z0GvwNZO kfrEEd6oClaBNxJTlDYxZQhtHFCI4q+mXYoPvSs7OVvIvm4Ko1qxolU0/bf+cv94wpim X2oDXt1nGMMXQ+Wsxd18m29Lya6mfkZIJnhekiMab5//PLKsM6IvnGjCFyEMoNKRmyKS hifJmVDf6EztD1hTdKaitli7h7z936Srf7L91/s1ABtJeqGyztnEPFmeWvRL6SbOhBG6 2ibw== 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; bh=mx7/UI9Jm1N8o+CZmUOfiHnK1kOQ3K16dEGlWbDQvu4=; b=1ECkkj8NVWBuA+rRHP6VIfYcikGc+EfWRlZxkdoXLSRnR7Bc51vwvAz1Y94OY5LMYy SM4wzb9+RAjUqIcMmjgsnbEj2h82rmux9ZGzLMiB19QU4IAp/xVkyP3fkHHHP7LRh8G0 t2jP8x05FqpiNivBIbhRSegmzVUJbeCuP2gMpLIPIsJjCpvnhe3dm63qudfZEBPaRB2X xf+TRiyQ+J7QTMBKzmgAcPmGCrAjQ+1Sz9PnaoE/L8sx5SaJVNdVCekSLTDVnd9cH3KX OmGveT5rdzsBiN9HYSWyvyKwSC2ni5AmoLxKrxU3HeGX6WDcy8o/Kq11t2d+MwQonufL gUTA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si4359750plb.36.2019.05.24.13.47.13; Fri, 24 May 2019 13:47:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404102AbfEXUp6 (ORCPT + 99 others); Fri, 24 May 2019 16:45:58 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38471 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389927AbfEXUp6 (ORCPT ); Fri, 24 May 2019 16:45:58 -0400 Received: by mail-wm1-f68.google.com with SMTP id t5so10411138wmh.3 for ; Fri, 24 May 2019 13:45:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mx7/UI9Jm1N8o+CZmUOfiHnK1kOQ3K16dEGlWbDQvu4=; b=rG0MGquD3LtiovQGgrbGgPaZLOMsfEOFJ50WVqVCYdcli8sL2n5vVIbBt8zzLK/tB5 l1kw5nyjeMr2R1woVrdtB/UQ+g/sRS4UCHHrJmEuO2N2xZ7OifqEXxMbHeIATDU+6iT/ HZeLlU/tVDEK9zKt8egT78b10EsaCl1AOrGzxXRlmUaJItERMsh9dzJjScekgtH0lPqJ 0ksPWUe54uWLVSRNpqT6No+hZ/oLDgUVgKocbl1qkKNjqFcG2K+IZf6MpF67z1ZTrFmA zA80S8hDELbjX/MSGneIyi1adSRYCgWJvXEkq56M1XB7WSyFqEikD1fhxCmbqxUZUy9U eCuA== X-Gm-Message-State: APjAAAUBkByg0ZqrZsHEj4r8FJZNqluhMFuYPB51yV1f2EUP+A3fXEEc zgZyfxwGFyChPwB/cF3dKeGAwBpdkTI= X-Received: by 2002:a1c:ef05:: with SMTP id n5mr1213237wmh.149.1558730756405; Fri, 24 May 2019 13:45:56 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:4d53:18d:3ffd:370? ([2001:b07:6468:f312:4d53:18d:3ffd:370]) by smtp.gmail.com with ESMTPSA id p11sm2914061wrs.5.2019.05.24.13.45.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 May 2019 13:45:55 -0700 (PDT) Subject: Re: [PATCH] kvm: fix compilation on s390 To: Michal Kubecek Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org References: <1558725957-22998-1-git-send-email-pbonzini@redhat.com> <20190524202438.GE30439@unicorn.suse.cz> From: Paolo Bonzini Message-ID: <328789af-23b2-d5d6-2353-2e36e39c7452@redhat.com> Date: Fri, 24 May 2019 22:45:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190524202438.GE30439@unicorn.suse.cz> Content-Type: text/plain; charset=utf-8 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 24/05/19 22:24, Michal Kubecek wrote: > On Fri, May 24, 2019 at 09:25:57PM +0200, Paolo Bonzini wrote: >> s390 does not have memremap, even though in this particular case it >> would be useful. > > This is not completely true: memremap() is built when HAS_IOMEM is > defined which on s390 depends on CONFIG_PCI. So for "normal" configs > HAS_IOMEM would be enabled and memremap() would be available. We only > encountered the build error with a special minimal config for zfcpdump. I see; I'll change it to "does not always have". Paolo