Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp310123ybn; Tue, 1 Oct 2019 21:31:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4HNgvq07pxXw7qejpGNZvjGf+B61RkNt5P4Y0WoydLLIkC213JZGPUAbr715ZhGdFTRrE X-Received: by 2002:a50:f391:: with SMTP id g17mr1677598edm.163.1569990705920; Tue, 01 Oct 2019 21:31:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569990705; cv=none; d=google.com; s=arc-20160816; b=IdlSIrJDzBKwfmKr4IJZ39DjrSaAAbAh2o23iLTT7+T8f3Cgr5qMPghEbbWmmijtNu f0tz/Ir/MQDG42Bd9p4LwDUt59Zi1musx5F79lIr4WylknYefyT/RT2bnX3zxWsMLkq0 1PcalzG+/0B6IgZ3EIJXxTg1roHs6SiMrZKmFXFvB29Jo8oztZjBE7JdvgBuqeh1VZmO EY/zdkpKgxKAwT2OcAGNnwpTIeLx4Pe3zjIveA7TBfNzoJUbMgTCpj+s8MYc6txg0q4Q a5dFbDHWHWqx3JLcoCEb6iyrcu+j51r5ud3Bp6qvjAvvTJUO+E7K6Q8OZHMzBdbR1ahx 9zvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=W05dhABV1i19pkNVL8anXvPjHloY20UBempgqHpoPSY=; b=Z1dETR5HuRlJFXBqmeQKMAfaB7SLUHr1GAGvDLfsy2+dWBYGt+ImmJemMBn/LLzykV DSeaeBzZStXeV+fNjbvet3uwyQl2+PqkH2BetxK7Mc1ns9dPcL85s8QoTKd2uINcS7EZ 7WcNxmGTA7rY8hhr0xrjG8V1cCPrcWXsK7wzbWwc3xst/6zM7LLerc2eFuCpLzfeFwY+ o8MzIKTGMGFBAVJrj4c/tNE5W5Hgc5oVA+BZeQT9NqimfneWqLjHzBegUWKTZjRRmOYk izHktXtcB5AhK3oNFYIQFxCuU37q2QgS1sipfHqWVeVremXbzf5ggheD2UGm9JjCJ6T9 nUpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fnxwgqTw; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f45si11521844eda.345.2019.10.01.21.31.21; Tue, 01 Oct 2019 21:31:45 -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=pass header.i=@kernel.org header.s=default header.b=fnxwgqTw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726995AbfJAUPo (ORCPT + 99 others); Tue, 1 Oct 2019 16:15:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:34994 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbfJAUPo (ORCPT ); Tue, 1 Oct 2019 16:15:44 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 834412133F; Tue, 1 Oct 2019 20:15:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569960943; bh=ipnD/w+qGDTvpXCIRx63LcFtZnxlfINFxIFNuE5t218=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=fnxwgqTwiAvbeUyEc5Uswn5shYTOpZ5SZ1Z3FezB/T005tYVtbJAJyG1PHVGEtmXF O3x06S51eEQ/DqORuN5xdSOyj6Rh8MW6eAyFmnMHnusuJrKdm7t5gJqezYk4MBSIwA UJqf8zD9vCaPDkkuqmFQmRlJ7knwR56wkTKQsHPA= Date: Tue, 1 Oct 2019 22:15:15 +0200 (CEST) From: Jiri Kosina To: Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Masahiro Yamada , Linus Torvalds cc: linux-s390@vger.kernel.org, Michal Kubecek , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5.4-rc1 BUILD FIX] s390: mark __cpacf_query() as __always_inline In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 1 Oct 2019, Jiri Kosina wrote: > arch/s390/kvm/kvm-s390.c calls on several places __cpacf_query() directly, > which makes it impossible to meet the "i" constraint for the asm operands > (opcode in this case). > > As we are now force-enabling CONFIG_OPTIMIZE_INLINING on all > architectures, this causes a build failure on s390: > > In file included from arch/s390/kvm/kvm-s390.c:44: > ./arch/s390/include/asm/cpacf.h: In function '__cpacf_query': > ./arch/s390/include/asm/cpacf.h:179:2: warning: asm operand 3 probably doesn't match constraints > 179 | asm volatile( > | ^~~ > ./arch/s390/include/asm/cpacf.h:179:2: error: impossible constraint in 'asm' > > Mark __cpacf_query() as __always_inline in order to fix that, analogically > how we fixes __cpacf_check_opcode(), cpacf_query_func() and scpacf_query() > already. > > Reported-and-tested-by: Michal Kubecek > Fixes: d83623c5eab2 ("s390: mark __cpacf_check_opcode() and cpacf_query_func() as __always_inline") > Fixes: e60fb8bf68d4 ("s390/cpacf: mark scpacf_query() as __always_inline") > Fixes: ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING forcibly") > Fixes: 9012d011660e ("compiler: allow all arches to enable CONFIG_OPTIMIZE_INLINING") > Signed-off-by: Jiri Kosina Gah, due to bug in my script the sigoff doesn't match the From:, so whoever is potentially applying it, please ammend it with From: Jiri Kosina Sorry for the noise. -- Jiri Kosina SUSE Labs