All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/irqchip/irq-gic-v3.c:866:71: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses.
@ 2020-10-02  2:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-02  2:09 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Marc Zyngier <maz@kernel.org>
CC: Zenghui Yu <yuzenghui@huawei.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   60e720931556fc1034d0981460164dcf02697679
commit: b25319d279b63781b972c4966b4082193e69afac irqchip/gic-v3: Detect GICv4.1 supporting RVPEID
date:   8 months ago
:::::: branch date: 29 hours ago
:::::: commit date: 8 months ago
compiler: aarch64-linux-gcc (GCC) 9.3.0

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


vim +866 drivers/irqchip/irq-gic-v3.c

021f653791ad17e Marc Zyngier 2014-06-30  856  
1a60e1e6439164c Marc Zyngier 2019-07-18  857  static int __gic_update_rdist_properties(struct redist_region *region,
0edc23ea2692fe7 Marc Zyngier 2016-12-19  858  					 void __iomem *ptr)
0edc23ea2692fe7 Marc Zyngier 2016-12-19  859  {
0edc23ea2692fe7 Marc Zyngier 2016-12-19  860  	u64 typer = gic_read_typer(ptr + GICR_TYPER);
b25319d279b6378 Marc Zyngier 2019-12-24  861  
0edc23ea2692fe7 Marc Zyngier 2016-12-19  862  	gic_data.rdists.has_vlpis &= !!(typer & GICR_TYPER_VLPIS);
b25319d279b6378 Marc Zyngier 2019-12-24  863  
b25319d279b6378 Marc Zyngier 2019-12-24  864  	/* RVPEID implies some form of DirectLPI, no matter what the doc says... :-/ */
b25319d279b6378 Marc Zyngier 2019-12-24  865  	gic_data.rdists.has_rvpeid &= !!(typer & GICR_TYPER_RVPEID);
b25319d279b6378 Marc Zyngier 2019-12-24 @866  	gic_data.rdists.has_direct_lpi &= (!!(typer & GICR_TYPER_DirectLPIS) |
b25319d279b6378 Marc Zyngier 2019-12-24  867  					   gic_data.rdists.has_rvpeid);
b25319d279b6378 Marc Zyngier 2019-12-24  868  
b25319d279b6378 Marc Zyngier 2019-12-24  869  	/* Detect non-sensical configurations */
b25319d279b6378 Marc Zyngier 2019-12-24  870  	if (WARN_ON_ONCE(gic_data.rdists.has_rvpeid && !gic_data.rdists.has_vlpis)) {
b25319d279b6378 Marc Zyngier 2019-12-24  871  		gic_data.rdists.has_direct_lpi = false;
b25319d279b6378 Marc Zyngier 2019-12-24  872  		gic_data.rdists.has_vlpis = false;
b25319d279b6378 Marc Zyngier 2019-12-24  873  		gic_data.rdists.has_rvpeid = false;
b25319d279b6378 Marc Zyngier 2019-12-24  874  	}
b25319d279b6378 Marc Zyngier 2019-12-24  875  
5f51f803826e4f4 Marc Zyngier 2019-07-18  876  	gic_data.ppi_nr = min(GICR_TYPER_NR_PPIS(typer), gic_data.ppi_nr);
0edc23ea2692fe7 Marc Zyngier 2016-12-19  877  
0edc23ea2692fe7 Marc Zyngier 2016-12-19  878  	return 1;
0edc23ea2692fe7 Marc Zyngier 2016-12-19  879  }
0edc23ea2692fe7 Marc Zyngier 2016-12-19  880  

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

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

only message in thread, other threads:[~2020-10-02  2:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02  2:09 drivers/irqchip/irq-gic-v3.c:866:71: warning: Boolean result is used in bitwise operation. Clarify expression with parentheses 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.