Received: by 2002:ac0:b7d5:0:0:0:0:0 with SMTP id v21csp752ime; Thu, 28 Jul 2022 14:33:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vwvmx/73uzmySraSe49gly3oS1ad1QtKEAQU06ulEsN0sBtYQFJ3C7kxN4koUOnKIHP6iI X-Received: by 2002:a05:6402:34c5:b0:43a:8f90:e643 with SMTP id w5-20020a05640234c500b0043a8f90e643mr866866edc.88.1659044036128; Thu, 28 Jul 2022 14:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659044036; cv=none; d=google.com; s=arc-20160816; b=qx95YIZQPeixlXdbxN+Plb/P8CmJ0RKjy/60wWjNxgG2Ff4370qqZEm6Atk7s1nL+7 ffb6VZSWvjjGldq/FVCrejuWZMK67f74Pv+VLNmwX9YPI8FvyKDvZfRENBZpgay68jCN dbKma21HlRWfBIm0Q8/l8xZlFVGnP4Qmy/pfPo8JhhSqFuwOn43vyFQjkTHFImjxSrJB twd5OE91oWiz2WLGnaj65WSG1CQ9ZgmRbksMGXydfahRyTWvno7gtpqRNuXgpdudrTuy TVokRJfvRFbczZyUD3zPZFty7GPkwwxmgq+Q1dDiN+OTaqfhVcGYzSG4AllXzRKHOw4Y fSZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9xJibBVn/sXbUeYswq1Y2lSczYpkLP4kIuPVw6GWJ5A=; b=YhDubPWDlwlhQE/9gEZNMJxABLctTb17TCbTb0v4c/7ylSAIVD8NdjIQ/moQp7UUVX eOzxbP7ltMBFkWlPKJOTRrp6vm2B3YftyBJJCRfXV7LDA2fes42eGW2TrpJUyEFg5Kb8 VrQpg2Yeky5Ca3N16eNbn9iQLx5z7SZw5BAvzZ1Zkp+xoiR8wf9KZgzp+ythKz59zjMC JiGHaAGMOJZOVJCjS3XLSwf4jFx34xB7qX15F8HTu6NLuhIgbPtWZ5JtcQF9DEn08/hq x+r+LWaeodDBWnp0Wbo1PXXOsghEPpr5k6gfJhBJyns5YGPrCgZGu4EZOf8+QuuzSz1B sQqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mtAf7M2H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt5-20020a170907728500b00722e55f1eccsi1766363ejc.198.2022.07.28.14.33.13; Thu, 28 Jul 2022 14:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mtAf7M2H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233326AbiG1VUy (ORCPT + 99 others); Thu, 28 Jul 2022 17:20:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbiG1VUx (ORCPT ); Thu, 28 Jul 2022 17:20:53 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FFC26E8B4; Thu, 28 Jul 2022 14:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659043251; x=1690579251; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pxP46KbMMLqAAyC8VE4buMLpi2fN+uP6X+8JG9II198=; b=mtAf7M2Hm39W3dG176XEBoR+wivQb+Ai36XZ0PsscK4411xLciFDHu27 d3YtmZC7WdAWM6zJTlyp4bo8/yJDxvyzY/ToV8MVKqa+msXJzzQbokoej 8RMfulLbCFv28Mv309iJCxh/dvTWi7Ok0crtxQfkJZ+akmf91Dr6FMfiE XjjQvUEZAUeX8KLYhbtKM1d7Eh9y/6B7FfrGFYkVjWo3sLnjsSlMDMiiB XEjKqfsVJU8AQCY5W9vV8m5mTTKU4Z0yYicIpI27pnyB15VJZbDopjufd M9u9J/wSL/nNQt+xzGMcBaH1GWcubGtYnoHNI2rHE666CBbFvsdRl/9V8 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="352630431" X-IronPort-AV: E=Sophos;i="5.93,199,1654585200"; d="scan'208";a="352630431" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 14:20:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,199,1654585200"; d="scan'208";a="703958074" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 28 Jul 2022 14:20:45 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oHAw0-000Ab2-16; Thu, 28 Jul 2022 21:20:44 +0000 Date: Fri, 29 Jul 2022 05:20:22 +0800 From: kernel test robot To: Markuss Broks , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, linux-fbdev@vger.kernel.org, linux-efi@vger.kernel.org, Markuss Broks , linux-doc@vger.kernel.org, Tony Lindgren , dri-devel@lists.freedesktop.org, Wei Ming Chen , phone-devel@vger.kernel.org, Jiri Slaby , Ard Biesheuvel , Arnd Bergmann , Jonathan Corbet , Damien Le Moal , Javier Martinez Canillas , linux-serial@vger.kernel.org, Borislav Petkov , Kees Cook , "Paul E. McKenney" , Bartlomiej Zolnierkiewicz , ~postmarketos/upstreaming@lists.sr.ht, Andy Shevchenko , Michal Suchanek , Greg Kroah-Hartman , Randy Dunlap , Thomas Zimmermann , Andrew Morton , Linux Memory Management List , Helge Deller Subject: Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem Message-ID: <202207290523.Br8Zr7V3-lkp@intel.com> References: <20220728142824.3836-3-markuss.broks@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220728142824.3836-3-markuss.broks@gmail.com> X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Markuss, I love your patch! Yet something to improve: [auto build test ERROR on tty/tty-testing] [also build test ERROR on efi/next staging/staging-testing usb/usb-testing linus/master v5.19-rc8 next-20220728] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Markuss-Broks/Add-generic-framebuffer-support-to-EFI-earlycon-driver/20220728-223117 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220729/202207290523.Br8Zr7V3-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/b6a59e731326deaa78f7dcbd97520e2eed2bc707 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Markuss-Broks/Add-generic-framebuffer-support-to-EFI-earlycon-driver/20220728-223117 git checkout b6a59e731326deaa78f7dcbd97520e2eed2bc707 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/video/fbdev/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): drivers/video/fbdev/earlycon.c: In function 'simplefb_earlycon_map': >> drivers/video/fbdev/earlycon.c:65:16: error: implicit declaration of function 'early_memremap_prot'; did you mean 'early_memremap'? [-Werror=implicit-function-declaration] 65 | return early_memremap_prot(info.phys_base + start, len, pgprot_val(fb_prot)); | ^~~~~~~~~~~~~~~~~~~ | early_memremap >> drivers/video/fbdev/earlycon.c:65:16: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion] 65 | return early_memremap_prot(info.phys_base + start, len, pgprot_val(fb_prot)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors {standard input}: Assembler messages: {standard input}:210: Error: Register number out of range 0..0 {standard input}:211: Error: Register number out of range 0..0 {standard input}:211: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:211: Warning: Only the first path encountering the conflict is reported {standard input}:210: Warning: This is the location of the conflicting usage {standard input}:212: Error: Register number out of range 0..0 {standard input}:212: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:212: Warning: Only the first path encountering the conflict is reported {standard input}:210: Warning: This is the location of the conflicting usage {standard input}:212: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:212: Warning: Only the first path encountering the conflict is reported {standard input}:211: Warning: This is the location of the conflicting usage {standard input}:214: Error: Register number out of range 0..0 {standard input}:214: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:214: Warning: Only the first path encountering the conflict is reported {standard input}:210: Warning: This is the location of the conflicting usage {standard input}:214: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:214: Warning: Only the first path encountering the conflict is reported {standard input}:211: Warning: This is the location of the conflicting usage {standard input}:214: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:214: Warning: Only the first path encountering the conflict is reported {standard input}:212: Warning: This is the location of the conflicting usage {standard input}:215: Error: Register number out of range 0..0 {standard input}:215: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:215: Warning: Only the first path encountering the conflict is reported {standard input}:210: Warning: This is the location of the conflicting usage {standard input}:215: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:215: Warning: Only the first path encountering the conflict is reported {standard input}:211: Warning: This is the location of the conflicting usage {standard input}:215: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:215: Warning: Only the first path encountering the conflict is reported {standard input}:212: Warning: This is the location of the conflicting usage {standard input}:215: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:215: Warning: Only the first path encountering the conflict is reported {standard input}:214: Warning: This is the location of the conflicting usage {standard input}:216: Error: Register number out of range 0..0 {standard input}:216: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:216: Warning: Only the first path encountering the conflict is reported {standard input}:210: Warning: This is the location of the conflicting usage {standard input}:216: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:216: Warning: Only the first path encountering the conflict is reported {standard input}:211: Warning: This is the location of the conflicting usage {standard input}:216: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:216: Warning: Only the first path encountering the conflict is reported {standard input}:212: Warning: This is the location of the conflicting usage {standard input}:216: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:216: Warning: Only the first path encountering the conflict is reported {standard input}:214: Warning: This is the location of the conflicting usage {standard input}:216: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 35 {standard input}:216: Warning: Only the first path encountering the conflict is reported {standard input}:215: Warning: This is the location of the conflicting usage {standard input}:220: Error: Register number out of range 0..0 {standard input}:376: Error: Register number out of range 0..1 {standard input}:376: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:376: Warning: Only the first path encountering the conflict is reported {standard input}:374: Warning: This is the location of the conflicting usage {standard input}:378: Error: Register number out of range 0..1 {standard input}:378: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:378: Warning: Only the first path encountering the conflict is reported {standard input}:374: Warning: This is the location of the conflicting usage {standard input}:378: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:378: Warning: Only the first path encountering the conflict is reported {standard input}:376: Warning: This is the location of the conflicting usage {standard input}:379: Error: Register number out of range 0..1 {standard input}:379: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:379: Warning: Only the first path encountering the conflict is reported {standard input}:374: Warning: This is the location of the conflicting usage {standard input}:379: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:379: Warning: Only the first path encountering the conflict is reported {standard input}:376: Warning: This is the location of the conflicting usage {standard input}:379: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:379: Warning: Only the first path encountering the conflict is reported {standard input}:378: Warning: This is the location of the conflicting usage {standard input}:380: Error: Register number out of range 0..1 {standard input}:380: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:380: Warning: Only the first path encountering the conflict is reported {standard input}:374: Warning: This is the location of the conflicting usage {standard input}:380: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:380: Warning: Only the first path encountering the conflict is reported {standard input}:376: Warning: This is the location of the conflicting usage {standard input}:380: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:380: Warning: Only the first path encountering the conflict is reported {standard input}:378: Warning: This is the location of the conflicting usage {standard input}:380: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:380: Warning: Only the first path encountering the conflict is reported {standard input}:379: Warning: This is the location of the conflicting usage {standard input}:383: Error: Register number out of range 0..1 {standard input}:384: Error: Register number out of range 0..1 {standard input}:384: Warning: Use of 'mov' violates WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 37 {standard input}:384: Warning: Only the first path encountering the conflict is reported {standard input}:383: Warning: This is the location of the conflicting usage vim +65 drivers/video/fbdev/earlycon.c 56 57 static __ref void *simplefb_earlycon_map(unsigned long start, unsigned long len) 58 { 59 pgprot_t fb_prot; 60 61 if (info.virt_base) 62 return info.virt_base + start; 63 64 fb_prot = PAGE_KERNEL; > 65 return early_memremap_prot(info.phys_base + start, len, pgprot_val(fb_prot)); 66 } 67 -- 0-DAY CI Kernel Test Service https://01.org/lkp