All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.10 7/42] drivers/net/ipa/gsi.c:1074:7: error: 'GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL' undeclared
@ 2021-03-10 11:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-10 11:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3224 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.10
head:   01ea2feb44f71247c0e7f236e3873fbd1c24c4ff
commit: d04198090e12b270ac52275cb907e82712efaf74 [7/42] net: ipa: ignore CHANNEL_NOT_RUNNING errors
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=d04198090e12b270ac52275cb907e82712efaf74
        git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
        git fetch --no-tags sashal-linux-stable queue-5.10
        git checkout d04198090e12b270ac52275cb907e82712efaf74
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/net/ipa/gsi.c: In function 'gsi_isr_gp_int1':
>> drivers/net/ipa/gsi.c:1074:7: error: 'GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL' undeclared (first use in this function)
    1074 |  case GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL:
         |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ipa/gsi.c:1074:7: note: each undeclared identifier is reported only once for each function it appears in


vim +/GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL +1074 drivers/net/ipa/gsi.c

  1048	
  1049	/* Generic EE interrupt handler */
  1050	static void gsi_isr_gp_int1(struct gsi *gsi)
  1051	{
  1052		u32 result;
  1053		u32 val;
  1054	
  1055		/* This interrupt is used to handle completions of the two GENERIC
  1056		 * GSI commands.  We use these to allocate and halt channels on
  1057		 * the modem's behalf due to a hardware quirk on IPA v4.2.  Once
  1058		 * allocated, the modem "owns" these channels, and as a result we
  1059		 * have no way of knowing the channel's state at any given time.
  1060		 *
  1061		 * It is recommended that we halt the modem channels we allocated
  1062		 * when shutting down, but it's possible the channel isn't running
  1063		 * at the time we issue the HALT command.  We'll get an error in
  1064		 * that case, but it's harmless (the channel is already halted).
  1065		 *
  1066		 * For this reason, we silently ignore a CHANNEL_NOT_RUNNING error
  1067		 * if we receive it.
  1068		 */
  1069		val = ioread32(gsi->virt + GSI_CNTXT_SCRATCH_0_OFFSET);
  1070		result = u32_get_bits(val, GENERIC_EE_RESULT_FMASK);
  1071	
  1072		switch (result) {
  1073		case GENERIC_EE_SUCCESS_FVAL:
> 1074		case GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL:
  1075			break;
  1076	
  1077		default:
  1078			dev_err(gsi->dev, "global INT1 generic result %u\n", result);
  1079			break;
  1080		}
  1081	
  1082		complete(&gsi->completion);
  1083	}
  1084	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 75510 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-10 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 11:04 [sashal-linux-stable:queue-5.10 7/42] drivers/net/ipa/gsi.c:1074:7: error: 'GENERIC_EE_CHANNEL_NOT_RUNNING_FVAL' undeclared kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.