1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 214cf11afSPaul Mackerras 3ba55bd74SMichael Ellermanconfig PPC_DISABLE_WERROR 4ba55bd74SMichael Ellerman bool "Don't build arch/powerpc code with -Werror" 5ba55bd74SMichael Ellerman help 6ba55bd74SMichael Ellerman This option tells the compiler NOT to build the code under 7ba55bd74SMichael Ellerman arch/powerpc with the -Werror flag (which means warnings 8ba55bd74SMichael Ellerman are treated as errors). 9ba55bd74SMichael Ellerman 10ba55bd74SMichael Ellerman Only enable this if you are hitting a build failure in the 11ba55bd74SMichael Ellerman arch/powerpc code caused by a warning, and you don't feel 12ba55bd74SMichael Ellerman inclined to fix it. 13ba55bd74SMichael Ellerman 14ba55bd74SMichael Ellermanconfig PPC_WERROR 15ba55bd74SMichael Ellerman bool 16ba55bd74SMichael Ellerman depends on !PPC_DISABLE_WERROR 17ba55bd74SMichael Ellerman default y 18ba55bd74SMichael Ellerman 19c4d04be1SJohannes Bergconfig PRINT_STACK_DEPTH 20c4d04be1SJohannes Berg int "Stack depth to print" if DEBUG_KERNEL 21c4d04be1SJohannes Berg default 64 22c4d04be1SJohannes Berg help 23c4d04be1SJohannes Berg This option allows you to set the stack depth that the kernel 24c4d04be1SJohannes Berg prints in stack traces. This can be useful if your display is 25c4d04be1SJohannes Berg too small and stack traces cause important information to 26c4d04be1SJohannes Berg scroll off the screen. 27c4d04be1SJohannes Berg 2857852a85SMike Kravetzconfig HCALL_STATS 2957852a85SMike Kravetz bool "Hypervisor call instrumentation" 30c8cd093aSAnton Blanchard depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS 3157852a85SMike Kravetz help 3257852a85SMike Kravetz Adds code to keep track of the number of hypervisor calls made and 333dde6ad8SDavid Sterba the amount of time spent in hypervisor calls. Wall time spent in 3457852a85SMike Kravetz each call is always calculated, and if available CPU cycles spent 3557852a85SMike Kravetz are also calculated. A directory named hcall_inst is added at the 3657852a85SMike Kravetz root of the debugfs filesystem. Within the hcall_inst directory 3757852a85SMike Kravetz are files that contain CPU specific call statistics. 3857852a85SMike Kravetz 3957852a85SMike Kravetz This option will add a small amount of overhead to all hypervisor 4057852a85SMike Kravetz calls. 4157852a85SMike Kravetz 4280947e7cSGeert Uytterhoevenconfig PPC_EMULATED_STATS 4380947e7cSGeert Uytterhoeven bool "Emulated instructions tracking" 4480947e7cSGeert Uytterhoeven depends on DEBUG_FS 4580947e7cSGeert Uytterhoeven help 4680947e7cSGeert Uytterhoeven Adds code to keep track of the number of instructions that are 4780947e7cSGeert Uytterhoeven emulated by the in-kernel emulator. Counters for the various classes 4880947e7cSGeert Uytterhoeven of emulated instructions are available under 4980947e7cSGeert Uytterhoeven powerpc/emulated_instructions/ in the root of the debugfs file 5080947e7cSGeert Uytterhoeven system. Optionally (controlled by 5180947e7cSGeert Uytterhoeven powerpc/emulated_instructions/do_warn in debugfs), rate-limited 5280947e7cSGeert Uytterhoeven warnings can be printed to the console when instructions are 5380947e7cSGeert Uytterhoeven emulated. 5480947e7cSGeert Uytterhoeven 55ae0dc736SMichael Ellermanconfig CODE_PATCHING_SELFTEST 56759fb100SAndrew Donnellan bool "Run self-tests of the code-patching code" 57ae0dc736SMichael Ellerman depends on DEBUG_KERNEL 58ae0dc736SMichael Ellerman 59bfbfc8a4SMichael Ellermanconfig JUMP_LABEL_FEATURE_CHECKS 60bfbfc8a4SMichael Ellerman bool "Enable use of jump label for cpu/mmu_has_feature()" 61bfbfc8a4SMichael Ellerman depends on JUMP_LABEL 62bfbfc8a4SMichael Ellerman default y 63bfbfc8a4SMichael Ellerman help 64bfbfc8a4SMichael Ellerman Selecting this options enables use of jump labels for some internal 65bfbfc8a4SMichael Ellerman feature checks. This should generate more optimal code for those 66bfbfc8a4SMichael Ellerman checks. 67bfbfc8a4SMichael Ellerman 68c812c7d8SAneesh Kumar K.Vconfig JUMP_LABEL_FEATURE_CHECK_DEBUG 69c812c7d8SAneesh Kumar K.V bool "Do extra check on feature fixup calls" 70c812c7d8SAneesh Kumar K.V depends on DEBUG_KERNEL && JUMP_LABEL_FEATURE_CHECKS 71c812c7d8SAneesh Kumar K.V help 72c812c7d8SAneesh Kumar K.V This tries to catch incorrect usage of cpu_has_feature() and 73c812c7d8SAneesh Kumar K.V mmu_has_feature() in the code. 74c812c7d8SAneesh Kumar K.V 75c812c7d8SAneesh Kumar K.V If you don't know what this means, say N. 76c812c7d8SAneesh Kumar K.V 77362e7701SMichael Ellermanconfig FTR_FIXUP_SELFTEST 78759fb100SAndrew Donnellan bool "Run self-tests of the feature-fixup code" 79362e7701SMichael Ellerman depends on DEBUG_KERNEL 80362e7701SMichael Ellerman 817e302869SMichael Ellermanconfig MSI_BITMAP_SELFTEST 82759fb100SAndrew Donnellan bool "Run self-tests of the MSI bitmap code" 837e302869SMichael Ellerman depends on DEBUG_KERNEL 847e302869SMichael Ellerman 859aa88188SMadhavan Srinivasanconfig PPC_IRQ_SOFT_MASK_DEBUG 869aa88188SMadhavan Srinivasan bool "Include extra checks for powerpc irq soft masking" 87f5f48e8cSNicholas Piggin depends on PPC64 889aa88188SMadhavan Srinivasan 8959dc5bfcSNicholas Pigginconfig PPC_RFI_SRR_DEBUG 9059dc5bfcSNicholas Piggin bool "Include extra checks for RFI SRR register validity" 9159dc5bfcSNicholas Piggin depends on PPC_BOOK3S_64 9259dc5bfcSNicholas Piggin 9314cf11afSPaul Mackerrasconfig XMON 9414cf11afSPaul Mackerras bool "Include xmon kernel debugger" 9517ce452fSJason Wessel depends on DEBUG_KERNEL 966895c5baSChristophe Leroy select CONSOLE_POLL if SERIAL_CPM_CONSOLE 9714cf11afSPaul Mackerras help 9814cf11afSPaul Mackerras Include in-kernel hooks for the xmon kernel monitor/debugger. 9914cf11afSPaul Mackerras Unless you are intending to debug the kernel, say N here. 100ff64208dSPaul Mackerras Make sure to enable also CONFIG_BOOTX_TEXT on Macs. Otherwise 101ff64208dSPaul Mackerras nothing will appear on the screen (xmon writes directly to the 102ff64208dSPaul Mackerras framebuffer memory). 103ff64208dSPaul Mackerras The cmdline option 'xmon' or 'xmon=early' will drop into xmon 104ff64208dSPaul Mackerras very early during boot. 'xmon=on' will just enable the xmon 105ff64208dSPaul Mackerras debugger hooks. 'xmon=off' will disable the debugger hooks 106ff64208dSPaul Mackerras if CONFIG_XMON_DEFAULT is set. 10726c8af5fSOlaf Hering xmon will print a backtrace on the very first invocation. 10826c8af5fSOlaf Hering 'xmon=nobt' will disable this autobacktrace. 109ff64208dSPaul Mackerras 110ff64208dSPaul Mackerrasconfig XMON_DEFAULT 111ff64208dSPaul Mackerras bool "Enable xmon by default" 112ff64208dSPaul Mackerras depends on XMON 113ff64208dSPaul Mackerras help 114ff64208dSPaul Mackerras xmon is normally disabled unless booted with 'xmon=on'. 115ff64208dSPaul Mackerras Use 'xmon=off' to disable xmon init during runtime. 116ff64208dSPaul Mackerras 117e0426047SMichael Ellermanconfig XMON_DISASSEMBLY 118e0426047SMichael Ellerman bool "Include disassembly support in xmon" 119e0426047SMichael Ellerman depends on XMON 120e0426047SMichael Ellerman default y 121e0426047SMichael Ellerman help 122e0426047SMichael Ellerman Include support for disassembling in xmon. You probably want 123e0426047SMichael Ellerman to say Y here, unless you're building for a memory-constrained 124e0426047SMichael Ellerman system. 125e0426047SMichael Ellerman 1260acb5f64SChristopher M. Riedlconfig XMON_DEFAULT_RO_MODE 1270acb5f64SChristopher M. Riedl bool "Restrict xmon to read-only operations by default" 1280acb5f64SChristopher M. Riedl depends on XMON 1290acb5f64SChristopher M. Riedl default y 1300acb5f64SChristopher M. Riedl help 1310acb5f64SChristopher M. Riedl Operate xmon in read-only mode. The cmdline options 'xmon=rw' and 1320acb5f64SChristopher M. Riedl 'xmon=ro' override this default. 1330acb5f64SChristopher M. Riedl 13417ce452fSJason Wesselconfig DEBUGGER 13517ce452fSJason Wessel bool 13617ce452fSJason Wessel depends on KGDB || XMON 13717ce452fSJason Wessel default y 13817ce452fSJason Wessel 13914cf11afSPaul Mackerrasconfig BDI_SWITCH 14014cf11afSPaul Mackerras bool "Include BDI-2000 user context switcher" 141ff64208dSPaul Mackerras depends on DEBUG_KERNEL && PPC32 14214cf11afSPaul Mackerras help 14314cf11afSPaul Mackerras Include in-kernel support for the Abatron BDI2000 debugger. 14414cf11afSPaul Mackerras Unless you are intending to debug the kernel with one of these 14514cf11afSPaul Mackerras machines, say N here. 14614cf11afSPaul Mackerras 14714cf11afSPaul Mackerrasconfig BOOTX_TEXT 14814cf11afSPaul Mackerras bool "Support for early boot text console (BootX or OpenFirmware only)" 14952d99627SKevin Hao depends on PPC_BOOK3S 15014cf11afSPaul Mackerras help 15114cf11afSPaul Mackerras Say Y here to see progress messages from the boot firmware in text 15214cf11afSPaul Mackerras mode. Requires either BootX or Open Firmware. 15314cf11afSPaul Mackerras 154485a2d54SMichael Ellermanconfig PPC_EARLY_DEBUG 155485a2d54SMichael Ellerman bool "Early debugging (dangerous)" 1567ee17466SBenjamin Herrenschmidt help 1577ee17466SBenjamin Herrenschmidt Say Y to enable some early debugging facilities that may be available 1587ee17466SBenjamin Herrenschmidt for your processor/board combination. Those facilities are hacks 1597ee17466SBenjamin Herrenschmidt intended to debug problems early during boot, this should not be 1607ee17466SBenjamin Herrenschmidt enabled in a production kernel. 1617ee17466SBenjamin Herrenschmidt Note that enabling this will also cause the kernel default log level 1627ee17466SBenjamin Herrenschmidt to be pushed to max automatically very early during boot 163485a2d54SMichael Ellerman 164296167aeSMichael Ellermanchoice 165485a2d54SMichael Ellerman prompt "Early debugging console" 166485a2d54SMichael Ellerman depends on PPC_EARLY_DEBUG 167296167aeSMichael Ellerman help 168485a2d54SMichael Ellerman Use the selected console for early debugging. Careful, if you 169485a2d54SMichael Ellerman enable debugging for the wrong type of machine your kernel 170485a2d54SMichael Ellerman _will not boot_. 171296167aeSMichael Ellerman 172071df942SAlistair Poppleconfig PPC_EARLY_DEBUG_BOOTX 173071df942SAlistair Popple bool "BootX or OpenFirmware" 174071df942SAlistair Popple depends on BOOTX_TEXT 175071df942SAlistair Popple help 176071df942SAlistair Popple Select this to enable early debugging for a machine using BootX 177071df942SAlistair Popple or OpenFirmware. 178071df942SAlistair Popple 179296167aeSMichael Ellermanconfig PPC_EARLY_DEBUG_LPAR 180296167aeSMichael Ellerman bool "LPAR HV Console" 18123697760SMichael Ellerman depends on PPC_PSERIES && HVC_CONSOLE 182296167aeSMichael Ellerman help 183296167aeSMichael Ellerman Select this to enable early debugging for a machine with a HVC 184296167aeSMichael Ellerman console on vterm 0. 185296167aeSMichael Ellerman 1864d2bb3f5SBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_LPAR_HVSI 1874d2bb3f5SBenjamin Herrenschmidt bool "LPAR HVSI Console" 18823697760SMichael Ellerman depends on PPC_PSERIES && HVC_CONSOLE 1894d2bb3f5SBenjamin Herrenschmidt help 1904d2bb3f5SBenjamin Herrenschmidt Select this to enable early debugging for a machine with a HVSI 1914d2bb3f5SBenjamin Herrenschmidt console on a specified vterm. 1924d2bb3f5SBenjamin Herrenschmidt 193296167aeSMichael Ellermanconfig PPC_EARLY_DEBUG_G5 194296167aeSMichael Ellerman bool "Apple G5" 195296167aeSMichael Ellerman depends on PPC_PMAC64 196296167aeSMichael Ellerman help 197296167aeSMichael Ellerman Select this to enable early debugging for Apple G5 machines. 198296167aeSMichael Ellerman 199cc46bb98SMichael Ellermanconfig PPC_EARLY_DEBUG_RTAS_PANEL 200296167aeSMichael Ellerman bool "RTAS Panel" 201296167aeSMichael Ellerman depends on PPC_RTAS 202296167aeSMichael Ellerman help 203296167aeSMichael Ellerman Select this to enable early debugging via the RTAS panel. 204296167aeSMichael Ellerman 205cc46bb98SMichael Ellermanconfig PPC_EARLY_DEBUG_RTAS_CONSOLE 206cc46bb98SMichael Ellerman bool "RTAS Console" 207cc46bb98SMichael Ellerman depends on PPC_RTAS 208cc46bb98SMichael Ellerman select UDBG_RTAS_CONSOLE 209cc46bb98SMichael Ellerman help 210cc46bb98SMichael Ellerman Select this to enable early debugging via the RTAS console. 211cc46bb98SMichael Ellerman 212296167aeSMichael Ellermanconfig PPC_EARLY_DEBUG_MAPLE 213296167aeSMichael Ellerman bool "Maple real mode" 214296167aeSMichael Ellerman depends on PPC_MAPLE 215296167aeSMichael Ellerman help 216296167aeSMichael Ellerman Select this to enable early debugging for Maple. 217296167aeSMichael Ellerman 21839c870d5SOlof Johanssonconfig PPC_EARLY_DEBUG_PAS_REALMODE 21939c870d5SOlof Johansson bool "PA Semi real mode" 22039c870d5SOlof Johansson depends on PPC_PASEMI 22139c870d5SOlof Johansson help 22239c870d5SOlof Johansson Select this to enable early debugging for PA Semi. 22339c870d5SOlof Johansson Output will be on UART0. 22439c870d5SOlof Johansson 225d9b55a03SDavid Gibsonconfig PPC_EARLY_DEBUG_44x 226d9b55a03SDavid Gibson bool "Early serial debugging for IBM/AMCC 44x CPUs" 227b2677b8dSAlexander Graf depends on 44x 228d9b55a03SDavid Gibson help 229d9b55a03SDavid Gibson Select this to enable early debugging for IBM 44x chips via the 2306bbc5476SHugh Blemings inbuilt serial port. If you enable this, ensure you set 2316bbc5476SHugh Blemings PPC_EARLY_DEBUG_44x_PHYSLOW below to suit your target board. 232d9b55a03SDavid Gibson 2339dae8afdSBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_40x 2349dae8afdSBenjamin Herrenschmidt bool "Early serial debugging for IBM/AMCC 40x CPUs" 2359dae8afdSBenjamin Herrenschmidt depends on 40x 2369dae8afdSBenjamin Herrenschmidt help 2379dae8afdSBenjamin Herrenschmidt Select this to enable early debugging for IBM 40x chips via the 2389dae8afdSBenjamin Herrenschmidt inbuilt serial port. This works on chips with a 16550 compatible 2397ade8495SMichal Simek UART. 2409dae8afdSBenjamin Herrenschmidt 241c374e00eSScott Woodconfig PPC_EARLY_DEBUG_CPM 242c374e00eSScott Wood bool "Early serial debugging for Freescale CPM-based serial ports" 243*39f49684SRandy Dunlap depends on SERIAL_CPM=y 244c374e00eSScott Wood help 245c374e00eSScott Wood Select this to enable early debugging for Freescale chips 246c374e00eSScott Wood using a CPM-based serial port. This assumes that the bootwrapper 247c374e00eSScott Wood has run, and set up the CPM in a particular way. 248c374e00eSScott Wood 249d1d56f8cSAlbert Herranzconfig PPC_EARLY_DEBUG_USBGECKO 250d1d56f8cSAlbert Herranz bool "Early debugging through the USB Gecko adapter" 251d1d56f8cSAlbert Herranz depends on GAMECUBE_COMMON 252d1d56f8cSAlbert Herranz select USBGECKO_UDBG 253d1d56f8cSAlbert Herranz help 254d1d56f8cSAlbert Herranz Select this to enable early debugging for Nintendo GameCube/Wii 255d1d56f8cSAlbert Herranz consoles via an external USB Gecko adapter. 256d1d56f8cSAlbert Herranz 257c26afe9eSHector Martinconfig PPC_EARLY_DEBUG_PS3GELIC 258c26afe9eSHector Martin bool "Early debugging through the PS3 Ethernet port" 259c26afe9eSHector Martin depends on PPC_PS3 260c26afe9eSHector Martin select PS3GELIC_UDBG 261c26afe9eSHector Martin help 262c26afe9eSHector Martin Select this to enable early debugging for the PlayStation3 via 263c26afe9eSHector Martin UDP broadcasts sent out through the Ethernet port. 264c26afe9eSHector Martin 265daea1175SBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_OPAL_RAW 266daea1175SBenjamin Herrenschmidt bool "OPAL raw console" 267daea1175SBenjamin Herrenschmidt depends on HVC_OPAL 268daea1175SBenjamin Herrenschmidt help 269daea1175SBenjamin Herrenschmidt Select this to enable early debugging for the PowerNV platform 270daea1175SBenjamin Herrenschmidt using a "raw" console 271daea1175SBenjamin Herrenschmidt 272daea1175SBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_OPAL_HVSI 273daea1175SBenjamin Herrenschmidt bool "OPAL hvsi console" 274daea1175SBenjamin Herrenschmidt depends on HVC_OPAL 275daea1175SBenjamin Herrenschmidt help 276daea1175SBenjamin Herrenschmidt Select this to enable early debugging for the PowerNV platform 277daea1175SBenjamin Herrenschmidt using an "hvsi" console 278daea1175SBenjamin Herrenschmidt 27930650239SAlistair Poppleconfig PPC_EARLY_DEBUG_MEMCONS 28030650239SAlistair Popple bool "In memory console" 28130650239SAlistair Popple help 28230650239SAlistair Popple Select this to enable early debugging using an in memory console. 28330650239SAlistair Popple This console provides input and output buffers stored within the 28430650239SAlistair Popple kernel BSS and should be safe to select on any system. A debugger 28530650239SAlistair Popple can then be used to read kernel output or send input to the console. 286b19448feSPali Rohár 287b19448feSPali Rohárconfig PPC_EARLY_DEBUG_16550 288b19448feSPali Rohár bool "Serial 16550" 289b19448feSPali Rohár depends on PPC_UDBG_16550 290b19448feSPali Rohár help 291b19448feSPali Rohár Select this to enable early debugging via Serial 16550 console 292296167aeSMichael Ellermanendchoice 293296167aeSMichael Ellerman 29430650239SAlistair Poppleconfig PPC_MEMCONS_OUTPUT_SIZE 29530650239SAlistair Popple int "In memory console output buffer size" 29630650239SAlistair Popple depends on PPC_EARLY_DEBUG_MEMCONS 29730650239SAlistair Popple default 4096 29830650239SAlistair Popple help 29930650239SAlistair Popple Selects the size of the output buffer (in bytes) of the in memory 30030650239SAlistair Popple console. 30130650239SAlistair Popple 30230650239SAlistair Poppleconfig PPC_MEMCONS_INPUT_SIZE 30330650239SAlistair Popple int "In memory console input buffer size" 30430650239SAlistair Popple depends on PPC_EARLY_DEBUG_MEMCONS 30530650239SAlistair Popple default 128 30630650239SAlistair Popple help 30730650239SAlistair Popple Selects the size of the input buffer (in bytes) of the in memory 30830650239SAlistair Popple console. 30930650239SAlistair Popple 310daea1175SBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_OPAL 311daea1175SBenjamin Herrenschmidt def_bool y 312daea1175SBenjamin Herrenschmidt depends on PPC_EARLY_DEBUG_OPAL_RAW || PPC_EARLY_DEBUG_OPAL_HVSI 313daea1175SBenjamin Herrenschmidt 3144d2bb3f5SBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_HVSI_VTERMNO 3154d2bb3f5SBenjamin Herrenschmidt hex "vterm number to use with early debug HVSI" 3164d2bb3f5SBenjamin Herrenschmidt depends on PPC_EARLY_DEBUG_LPAR_HVSI 3174d2bb3f5SBenjamin Herrenschmidt default "0x30000000" 3184d2bb3f5SBenjamin Herrenschmidt help 3194d2bb3f5SBenjamin Herrenschmidt You probably want 0x30000000 for your first serial port and 3204d2bb3f5SBenjamin Herrenschmidt 0x30000001 for your second one 3214d2bb3f5SBenjamin Herrenschmidt 322daea1175SBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_OPAL_VTERMNO 323daea1175SBenjamin Herrenschmidt hex "vterm number to use with OPAL early debug" 324daea1175SBenjamin Herrenschmidt depends on PPC_EARLY_DEBUG_OPAL 325daea1175SBenjamin Herrenschmidt default "0" 326daea1175SBenjamin Herrenschmidt help 327daea1175SBenjamin Herrenschmidt This correspond to which /dev/hvcN you want to use for early 328daea1175SBenjamin Herrenschmidt debug. 329daea1175SBenjamin Herrenschmidt 330daea1175SBenjamin Herrenschmidt On OPAL v2, this will be 0 for network console and 1 or 2 for 331daea1175SBenjamin Herrenschmidt the machine built-in serial ports. 332daea1175SBenjamin Herrenschmidt 333d9b55a03SDavid Gibsonconfig PPC_EARLY_DEBUG_44x_PHYSLOW 334d9b55a03SDavid Gibson hex "Low 32 bits of early debug UART physical address" 335247537b9SAdrian Bunk depends on PPC_EARLY_DEBUG_44x 336d9b55a03SDavid Gibson default "0x40000200" 3376bbc5476SHugh Blemings help 3386bbc5476SHugh Blemings You probably want 0x40000200 for ebony boards and 3396bbc5476SHugh Blemings 0x40000300 for taishan 340d9b55a03SDavid Gibson 341d9b55a03SDavid Gibsonconfig PPC_EARLY_DEBUG_44x_PHYSHIGH 342d9b55a03SDavid Gibson hex "EPRN of early debug UART physical address" 343247537b9SAdrian Bunk depends on PPC_EARLY_DEBUG_44x 344d9b55a03SDavid Gibson default "0x1" 345d9b55a03SDavid Gibson 3469dae8afdSBenjamin Herrenschmidtconfig PPC_EARLY_DEBUG_40x_PHYSADDR 3479dae8afdSBenjamin Herrenschmidt hex "Early debug UART physical address" 3489dae8afdSBenjamin Herrenschmidt depends on PPC_EARLY_DEBUG_40x 3499dae8afdSBenjamin Herrenschmidt default "0xef600300" 3509dae8afdSBenjamin Herrenschmidt 351c374e00eSScott Woodconfig PPC_EARLY_DEBUG_CPM_ADDR 352c374e00eSScott Wood hex "CPM UART early debug transmit descriptor address" 353c374e00eSScott Wood depends on PPC_EARLY_DEBUG_CPM 35415f8c604SScott Wood default "0xfa202008" if PPC_EP88XC 355c2dd3529SLaurent Pinchart default "0xf0001ff8" if CPM2 35615f8c604SScott Wood default "0xff002008" if CPM1 357c374e00eSScott Wood help 358c374e00eSScott Wood This specifies the address of the transmit descriptor 359c374e00eSScott Wood used for early debug output. Because it is needed before 360c374e00eSScott Wood platform probing is done, all platforms selected must 361c374e00eSScott Wood share the same address. 362c374e00eSScott Wood 363b19448feSPali Rohárconfig PPC_EARLY_DEBUG_16550_PHYSADDR 364b19448feSPali Rohár hex "Early debug Serial 16550 physical address" 365b19448feSPali Rohár depends on PPC_EARLY_DEBUG_16550 366b19448feSPali Rohár 367b19448feSPali Rohárconfig PPC_EARLY_DEBUG_16550_STRIDE 368b19448feSPali Rohár int "Early debug Serial 16550 stride" 369b19448feSPali Rohár depends on PPC_EARLY_DEBUG_16550 370b19448feSPali Rohár default 1 371b19448feSPali Rohár 372d6b9a81bSAnton Blanchardconfig FAIL_IOMMU 373d6b9a81bSAnton Blanchard bool "Fault-injection capability for IOMMU" 374d6b9a81bSAnton Blanchard depends on FAULT_INJECTION 375b27dadecSRandy Dunlap depends on PCI || IBMVIO 376d6b9a81bSAnton Blanchard help 377d6b9a81bSAnton Blanchard Provide fault-injection capability for IOMMU. Each device can 378d6b9a81bSAnton Blanchard be selectively enabled via the fail_iommu property. 379d6b9a81bSAnton Blanchard 380d6b9a81bSAnton Blanchard If you are unsure, say N. 381d6b9a81bSAnton Blanchard 382727f1361SMichael Ellermanconfig PPC_FAST_ENDIAN_SWITCH 383727f1361SMichael Ellerman bool "Deprecated fast endian-switch syscall" 384727f1361SMichael Ellerman depends on DEBUG_KERNEL && PPC_BOOK3S_64 385727f1361SMichael Ellerman help 386727f1361SMichael Ellerman If you're unsure what this is, say N. 387b4abe38fSChristophe Leroy 388b4abe38fSChristophe Leroyconfig KASAN_SHADOW_OFFSET 389b4abe38fSChristophe Leroy hex 390b4abe38fSChristophe Leroy depends on KASAN 39141b7a347SDaniel Axtens default 0xe0000000 if PPC32 392c7b9ed7cSChristophe Leroy default 0xa80e000000000000 if PPC_BOOK3S_64 393c7b9ed7cSChristophe Leroy default 0xa8001c0000000000 if PPC_BOOK3E_64 394