freebsd-nq/sys/powerpc/powernv
Breno Leitao 5ecc8c2077 powerpc64/powernv: Avoid type promotion
There is a type promotion that transform count = -1 into a unsigned int causing
the default TCE SEG SIZE not being returned on a Boston POWER9 machine.

This machine does not have the 'ibm,supported-tce-sizes' entries, thus, count
is set to -1, and the function continue to execute instead of returning.

Reviewed by: jhibbits, wma
Approved by: jhibbits (mentor)
Differential Revision: https://reviews.freebsd.org/D15763
2018-06-12 19:50:33 +00:00
..
opal_console.c Make ALT_BREAK_TO_DEBUGGER work with OPAL console 2018-05-28 01:59:48 +00:00
opal_dev.c PowerNV: add missing RTC_WRITE support 2018-02-21 08:13:17 +00:00
opal_i2c.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
opal_i2cm.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
opal_ipmi.c Add an IPMI attachment for PowerNV systems 2018-05-22 03:57:32 +00:00
opal_pci.c powerpc64/powernv: Avoid type promotion 2018-06-12 19:50:33 +00:00
opal_sensor.c Fix a typo missed in r334232 2018-05-26 04:24:25 +00:00
opal.c
opal.h Add an IPMI attachment for PowerNV systems 2018-05-22 03:57:32 +00:00
opalcall.S
platform_powernv.c Add support for the XIVE XICS emulation mode for POWER9 systems 2018-05-20 03:23:17 +00:00
powernv_centaur.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00
powernv_xscom.c Reverting r330925 for now 2018-03-15 06:19:45 +00:00