Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1735473ybv; Fri, 21 Feb 2020 02:35:45 -0800 (PST) X-Google-Smtp-Source: APXvYqxHiKKKTkzraHmGnUyNp0SCqDd3dhcAY357QOMdiSwPg6hCnDhJKQUi9Dr+DN9x1VzDTMAF X-Received: by 2002:a9d:7304:: with SMTP id e4mr25443515otk.99.1582281345665; Fri, 21 Feb 2020 02:35:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582281345; cv=none; d=google.com; s=arc-20160816; b=DqpCz4LnMKY/YjfXU/nnA8CJna/7h3VwI/DeDBCM67YNJGdOOOISjRMJHVmzLxvHaU WvXQc5sjK82hFqsylf7cZEJOR+qtNIAxzOWf/XSePN/KMay5igUiCcE/6VNRm5/RMPjo yCznut46HQMeED+HuPpLn7+1Nl+KYDjMSGXKmC8aVWCQGR/mJL4XiwU2GoUYOtdWFxl0 6/E/39zMYTKBes2jNg2rYe5wXS8hG83NsdKncm444EXqFnhEMBRuHSHQSX+Ua3fcM8T9 bycLEQT0ExxkVE3slB7xbC3RFFepzhAfKAsH949I4P5sT8XliQgLS9RuNemCx4l3scqG /gyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :organization:in-reply-to:subject:to:from; bh=Z3O/Uv8WTcC5p67zMUtv9ncaSuT01eJOumqjIhAT/6w=; b=SOnkcB8dZpdAVQ1z4irEL6YmJdkl6btepwXdHoDx4rVxBfe+e4knEWscX6JtS/i/vH fpjwhh0Kv5smR4z41Tlxk9Lg03kNxGXsldAMppOa0xD1ihQcpvEabpwVvZ0PeOtA4RMI q+/56zwxYYL/ASkUPvh9cci8cFZdxCz/x6OjAP3j218EuRPCPGiqEdGVUJwMmmepTPli ZKC0CLzcnoBQ9vmV4zHaFMZgu4sP4CgZsGEUGRq9242xed2BY1DFUqAjMghSYESpO2/a qDbJChV5ud4GA7qETytI57F0TiHb+71dla/IitQg20KoibnyafOAy0tEpQZ4TEGMr9ZG DzgQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a25si1224487otr.39.2020.02.21.02.35.28; Fri, 21 Feb 2020 02:35:45 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727966AbgBUKfT (ORCPT + 99 others); Fri, 21 Feb 2020 05:35:19 -0500 Received: from mga07.intel.com ([134.134.136.100]:47673 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbgBUKfS (ORCPT ); Fri, 21 Feb 2020 05:35:18 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 02:35:12 -0800 X-IronPort-AV: E=Sophos;i="5.70,467,1574150400"; d="scan'208";a="229811346" Received: from jmiler-mobl.ger.corp.intel.com (HELO localhost) ([10.249.38.187]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Feb 2020 02:35:07 -0800 From: Jani Nikula To: Randy Dunlap , akpm@linux-foundation.org, broonie@kernel.org, mhocko@suse.cz, sfr@canb.auug.org.au, linux-next@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, intel-gfx , dri-devel Subject: Re: [Intel-gfx] mmotm 2020-02-19-19-51 uploaded (gpu/drm/i915/ + HDRTEST) In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20200220035155.PempH%akpm@linux-foundation.org> Date: Fri, 21 Feb 2020 12:35:13 +0200 Message-ID: <874kvkz0ri.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Feb 2020, Randy Dunlap wrote: > On 2/19/20 7:51 PM, akpm@linux-foundation.org wrote: >> The mm-of-the-moment snapshot 2020-02-19-19-51 has been uploaded to >> >> http://www.ozlabs.org/~akpm/mmotm/ >> >> mmotm-readme.txt says >> >> README for mm-of-the-moment: >> >> http://www.ozlabs.org/~akpm/mmotm/ >> >> This is a snapshot of my -mm patch queue. Uploaded at random hopefully >> more than once a week. >> > > on x86_64: > when GCOV is set/enabled: > > HDRTEST drivers/gpu/drm/i915/display/intel_frontbuffer.h > /dev/null:1:0: error: cannot open /dev/null.gcno > HDRTEST drivers/gpu/drm/i915/display/intel_ddi.h > /dev/null:1:0: error: cannot open /dev/null.gcno > make[5]: *** [../drivers/gpu/drm/i915/Makefile:307: drivers/gpu/drm/i915/display/intel_ddi.hdrtest] Error 1 > make[5]: *** Waiting for unfinished jobs.... > make[5]: *** [../drivers/gpu/drm/i915/Makefile:307: drivers/gpu/drm/i915/display/intel_frontbuffer.hdrtest] Error 1 > > > Full randconfig file is attached. We're trying to hide that from the general population, only to be used by our developers and CI, with e.g. "depends on !COMPILE_TEST". Can't hide from randconfig it seems. Does the below patch help? BR, Jani. diff --git a/drivers/gpu/drm/i915/Makefile b/drivers/gpu/drm/i915/Makefile index b314d44ded5e..bc28c31c4f78 100644 --- a/drivers/gpu/drm/i915/Makefile +++ b/drivers/gpu/drm/i915/Makefile @@ -301,7 +301,7 @@ extra-$(CONFIG_DRM_I915_WERROR) += \ $(shell cd $(srctree)/$(src) && find * -name '*.h'))) quiet_cmd_hdrtest = HDRTEST $(patsubst %.hdrtest,%.h,$@) - cmd_hdrtest = $(CC) $(c_flags) -S -o /dev/null -x c /dev/null -include $<; touch $@ + cmd_hdrtest = $(CC) $(filter-out $(CFLAGS_GCOV), $(c_flags)) -S -o /dev/null -x c /dev/null -include $<; touch $@ $(obj)/%.hdrtest: $(src)/%.h FORCE $(call if_changed_dep,hdrtest) -- Jani Nikula, Intel Open Source Graphics Center