From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B983FC4167D for ; Thu, 2 Nov 2023 14:05:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376726AbjKBOFj (ORCPT ); Thu, 2 Nov 2023 10:05:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbjKBOFh (ORCPT ); Thu, 2 Nov 2023 10:05:37 -0400 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6398483 for ; Thu, 2 Nov 2023 07:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698933930; x=1730469930; h=date:from:to:cc:subject:message-id:mime-version; bh=z6zjx+1JAVxgwFK1dmsKlGC6Lecu+me25nGHv4APOYQ=; b=RucDBDCZ8pynDjrBXRcXSdGYoM8WjSff2qpCoPUeFmNc52WXSYxwP9MG HC4R+JmUlZ809omEpRSh9WmQDmZnZqgdC9wR7hunRlJlQRAGfc7gYiGJ6 CYFx07B71qz0JnDyjSdLcBwjRy9po/pq+tDkk4umXkVeweJzKcBjnfpey f4X/qiGgA0ZBK5PidYNYDtUNrAVYTuXuV9ZJNC4/krXX+GceuueU8eiMA EHl48i0sFei/73c1x7icOgLhp4A6k3NDg6sZvvzQXwFtm63HVhWTmHZMu WKjGFXX1uOqvs3ztWMM8ZANPb4pkRNfn1aQ5lLLYLSuvXgJYy3I6qRWEm A==; X-IronPort-AV: E=McAfee;i="6600,9927,10882"; a="1644257" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="1644257" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2023 07:05:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10882"; a="831701250" X-IronPort-AV: E=Sophos;i="6.03,271,1694761200"; d="scan'208";a="831701250" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 02 Nov 2023 07:05:26 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qyYK4-0001VU-1R; Thu, 02 Nov 2023 14:05:24 +0000 Date: Thu, 2 Nov 2023 22:04:46 +0800 From: kernel test robot To: Pierre-Louis Bossart Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Mark Brown , Ranjani Sridharan , Rander Wang , =?iso-8859-1?Q?P=E9ter?= Ujfalusi Subject: include/linux/io-64-nonatomic-lo-hi.h:21:16: sparse: sparse: cast truncates bits from constant value (8000000000000000 becomes 0) Message-ID: <202311022232.mbDUzcRN-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 21e80f3841c01aeaf32d7aee7bbc87b3db1aa0c6 commit: 01278cb6fa82083000a9e0b56c8b004caf5b6a73 ASoC: SOF: ops: fallback to mmio in helpers date: 1 year ago config: nios2-randconfig-r132-20231102 (https://download.01.org/0day-ci/archive/20231102/202311022232.mbDUzcRN-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20231102/202311022232.mbDUzcRN-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311022232.mbDUzcRN-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) sound/soc/sof/intel/atom.c: note: in included file (through include/sound/hdaudio.h, sound/soc/sof/intel/../sof-priv.h, sound/soc/sof/intel/../ops.h): >> include/linux/io-64-nonatomic-lo-hi.h:21:16: sparse: sparse: cast truncates bits from constant value (8000000000000000 becomes 0) vim +21 include/linux/io-64-nonatomic-lo-hi.h 797a796a13df6b include/asm-generic/io-64-nonatomic-lo-hi.h Hitoshi Mitake 2012-02-07 18 3a044178cccfeb include/asm-generic/io-64-nonatomic-lo-hi.h Jason Baron 2014-07-04 19 static inline void lo_hi_writeq(__u64 val, volatile void __iomem *addr) 797a796a13df6b include/asm-generic/io-64-nonatomic-lo-hi.h Hitoshi Mitake 2012-02-07 20 { 797a796a13df6b include/asm-generic/io-64-nonatomic-lo-hi.h Hitoshi Mitake 2012-02-07 @21 writel(val, addr); 797a796a13df6b include/asm-generic/io-64-nonatomic-lo-hi.h Hitoshi Mitake 2012-02-07 22 writel(val >> 32, addr + 4); 797a796a13df6b include/asm-generic/io-64-nonatomic-lo-hi.h Hitoshi Mitake 2012-02-07 23 } 3a044178cccfeb include/asm-generic/io-64-nonatomic-lo-hi.h Jason Baron 2014-07-04 24 :::::: The code at line 21 was first introduced by commit :::::: 797a796a13df6b84a4791e57306737059b5b2384 asm-generic: architecture independent readq/writeq for 32bit environment :::::: TO: Hitoshi Mitake :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki