| /linux/lib/ |
| H A D | bug.c | 3 * Generic support for BUG() 7 * CONFIG_BUG - emit BUG traps. Nothing happens without this. 10 * CONFIG_DEBUG_BUGVERBOSE - emit full file+line information for each BUG 22 * 2. Implement BUG (and optionally BUG_ON, WARN, WARN_ON) 24 * - Implement BUG() to generate a faulting instruction 33 * or an actual bug. 36 * to the expected BUG trap instruction. 46 #include <linux/bug.h> 51 #include <kunit/test-bug.h> 55 static inline unsigned long bug_addr(const struct bug_entry *bug) in bug_addr() argument [all …]
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | dispc.h | 121 BUG(); in DISPC_DEFAULT_COLOR() 138 BUG(); in DISPC_TRANS_COLOR() 149 BUG(); in DISPC_TIMING_H() 156 BUG(); in DISPC_TIMING_H() 167 BUG(); in DISPC_TIMING_V() 174 BUG(); in DISPC_TIMING_V() 185 BUG(); in DISPC_POL_FREQ() 192 BUG(); in DISPC_POL_FREQ() 203 BUG(); in DISPC_DIVISORo() 210 BUG(); in DISPC_DIVISORo() [all …]
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dispc.h | 118 BUG(); in DISPC_DEFAULT_COLOR() 135 BUG(); in DISPC_TRANS_COLOR() 146 BUG(); in DISPC_TIMING_H() 153 BUG(); in DISPC_TIMING_H() 164 BUG(); in DISPC_TIMING_V() 171 BUG(); in DISPC_TIMING_V() 182 BUG(); in DISPC_POL_FREQ() 189 BUG(); in DISPC_POL_FREQ() 200 BUG(); in DISPC_DIVISORo() 207 BUG(); in DISPC_DIVISORo() [all …]
|
| /linux/tools/testing/selftests/x86/bugs/ |
| H A D | its_sysfs.py | 15 bug = "indirect_target_selection" variable 16 mitigation = get_sysfs(bug) 25 if cmdline_has(f'{bug}=stuff') and sysfs_has("spectre_v2", "Retpolines"): 26 bug_check_fail(bug, ITS_MITIGATION_ALIGNED_THUNKS, ITS_MITIGATION_RETPOLINE_STUFF) 28 if cmdline_has(f'{bug}=vmexit') and cpuinfo_has('its_native_only'): 29 bug_check_fail(bug, ITS_MITIGATION_ALIGNED_THUNKS, ITS_MITIGATION_VMEXIT_ONLY) 31 bug_check_pass(bug, ITS_MITIGATION_ALIGNED_THUNKS) 35 if cmdline_has(f'{bug}=stuff') and sysfs_has("spectre_v2", "Retpolines"): 36 bug_check_pass(bug, ITS_MITIGATION_RETPOLINE_STUFF) 39 bug_check_pass(bug, ITS_MITIGATION_RETPOLINE_STUFF) [all …]
|
| H A D | common.py | 49 def get_sysfs(bug): argument 50 return read_file("/sys/devices/system/cpu/vulnerabilities/" + bug) 52 def sysfs_has(bug, mitigation): argument 53 status = get_sysfs(bug) 59 for bug in bugs: 61 if sysfs_has(bug, mitigation): 69 for bug in bugs: 71 if not sysfs_has(bug, mitigation): 75 def bug_check_pass(bug, found): argument 78 ksft.test_result_pass(f'{bug}: {found}') [all …]
|
| /linux/arch/sh/include/asm/ |
| H A D | io_noioport.h | 7 BUG(); in inb() 13 BUG(); in inw() 19 BUG(); in inl() 25 BUG(); in outb() 30 BUG(); in outw() 35 BUG(); in outl() 40 BUG(); in ioport_map() 46 BUG(); in ioport_unmap() 51 BUG(); in insb() 56 BUG(); in insw() [all …]
|
| /linux/arch/m68k/include/asm/ |
| H A D | bug.h | 9 #define BUG() do { \ macro 10 pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ 15 #define BUG() do { \ macro 16 pr_crit("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ 18 panic("BUG!"); \ 22 #define BUG() do { \ macro 32 #include <asm-generic/bug.h>
|
| H A D | tlbflush.h | 232 BUG(); in __flush_tlb() 237 BUG(); in __flush_tlb_one() 247 BUG(); in flush_tlb_all() 252 BUG(); in flush_tlb_mm() 257 BUG(); in flush_tlb_page() 263 BUG(); in flush_tlb_range() 268 BUG(); in flush_tlb_kernel_page()
|
| /linux/arch/sh/mm/ |
| H A D | nommu.c | 41 BUG(); in local_flush_tlb_all() 46 BUG(); in local_flush_tlb_mm() 52 BUG(); in local_flush_tlb_range() 57 BUG(); in local_flush_tlb_page() 62 BUG(); in local_flush_tlb_one() 67 BUG(); in local_flush_tlb_kernel_range() 84 BUG(); in kmap_coherent() 90 BUG(); in kunmap_coherent()
|
| /linux/Documentation/process/ |
| H A D | security-bugs.rst | 7 like to know when a security bug is found so that it can be fixed and 13 Like with any bug report, a security bug report requires a lot of analysis work 18 **any** security bug report: 43 is not a security bug. 45 * **conditions**: if the bug depends on certain configuration options, 51 * **suspected location of the bug**: the file names and functions where the 52 bug is suspected to be present are very important, at least to help forward 55 identify the source of the bug. 57 * **a proposed fix**: bug reporters who have analyzed the cause of a bug in 61 not being the right one, because it helps understand the bug. When [all …]
|
| H A D | coding-assistants.rst | 70 2. Note the commit ID and Locate a bug as instructed. 71 3. For any bug found that is not trivial, verify that it looks real by 73 the report to be ignored, as many unverified bug reports sent to maintainers 75 4. Write a fix for the bug. This part is not optional: except in a few very 76 rare cases, an AI assistant able to find a bug is able to fix it. Note that 77 fixes written in the same session as used to find the bug will generally 92 9. Read Documentation/process/threat-model.rst to determine whether the bug is 93 a vulnerability or a regular bug, and leave the result to the reporter for
|
| H A D | maintainer-kvm-x86.rst | 219 the problem. If both the "what's changing" and "what's the bug" are super 228 If a change fixes a KVM/kernel bug, add a Fixes: tag even if the change doesn't 229 need to be backported to stable kernels, and even if the change fixes a bug in 294 Bug Fixes 297 reproducer for the bug being fixed. In many cases the reproducer is implicit, 303 In general, regression tests are preferred for any bug that is not trivial to 304 hit. E.g. even if the bug was originally found by a fuzzer such as syzkaller, 305 a targeted regression test may be warranted if the bug requires hitting a 309 if a bug is really truly the end of the world before posting a fix without a 317 Do not explicitly reference bug reports, prior versions of a patch/series, etc. [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | smp_32.c | 102 BUG(); in smp_cpus_done() 106 BUG(); in smp_cpus_done() 110 BUG(); in smp_cpus_done() 206 BUG(); in smp_prepare_cpus() 210 BUG(); in smp_prepare_cpus() 214 BUG(); in smp_prepare_cpus() 269 BUG(); in __cpu_up() 273 BUG(); in __cpu_up() 277 BUG(); in __cpu_up() 305 BUG(); in arch_cpu_pre_starting() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | traps.c | 2 #include <linux/bug.h> 94 const struct bug_entry *bug; in handle_BUG() local 101 bug = find_bug(bugaddr); in handle_BUG() 104 if (bug->flags & BUGFLAG_UNWINDER) in handle_BUG() 114 die("Kernel BUG", regs, TRAPA_BUG_OPCODE & 0xff); in handle_BUG() 150 * Special handler for BUG() traps. 152 BUILD_TRAP_HANDLER(bug) in BUILD_TRAP_HANDLER() argument 159 if (notify_die(DIE_TRAP, "bug trap", regs, 0, TRAPA_BUG_OPCODE & 0xff, in BUILD_TRAP_HANDLER()
|
| /linux/arch/parisc/math-emu/ |
| H A D | fpudispatch.c | 40 #include <linux/bug.h> 321 BUG(); in decode_0c() 340 BUG(); in decode_0c() 359 BUG(); in decode_0c() 378 BUG(); in decode_0c() 391 BUG(); in decode_0c() 405 BUG(); in decode_0c() 435 BUG(); in decode_0c() 451 BUG(); in decode_0c() 467 BUG(); in decode_0c() [all …]
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.arcmsr | 9 ** 1.10.00.10 10/10/2004 Erich Chen bug fix for SMP & ioctl 10 ** 1.20.00.00 11/29/2004 Erich Chen bug fix with arcmsr_bus_reset when PHY error 11 ** 1.20.00.02 12/09/2004 Erich Chen bug fix with over 2T bytes RAID Volume 25 ** 1.20.00.07 3/23/2005 Erich Chen bug fix with arcmsr_scsi_host_template_init 29 ** bug fix enormous stack usage (Adrian Bunk's comment) 30 ** 1.20.00.08 6/23/2005 Erich Chen bug fix with abort command, 33 ** 1.20.00.09 9/12/2005 Erich Chen bug fix with abort command handling, firmware versi… 34 ** and firmware update notify for hardware bug fix 42 ** 1.20.00.12 9/30/2005 Erich Chen bug fix with 64bit platform's ccbs using if over 4G…
|
| /linux/Documentation/translations/pt_BR/process/ |
| H A D | security-bugs.rst | 13 Como em qualquer relatório de bug, um relatório de falha de segurança exige 41 portanto, não é um bug de segurança. 43 * **condições**: se o bug depender de certas opções de configuração, sysctls, 49 * **localização suspeita do bug**: os nomes dos arquivos e funções onde 50 se suspeita que o bug esteja presente são muito importantes, pelo menos 53 comando"), a equipe de segurança ajudará a identificar a origem do bug. 60 entender o bug. Ao propor uma correção testada, por favor, formate-a 68 * **mitigações**: com muita frequência, durante a análise de um bug, 73 O que se qualifica como um bug de segurança 96 **Se você recorreu a assistência de IA para identificar um bug, você deve [all …]
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | authors.rst | 39 - Vince Negri and Dave Stahl (for finding an important caching bug) 50 - Aurelien Aptel (for DFS SMB3 work and some key bug fixes) 51 - Ronnie Sahlberg (for SMB3 xattr work, bug fixes, and lots of great work on compounding) 53 - Sachin Prabhu (many bug fixes, including for reconnect, copy offload and security) 58 Test case and Bug Report contributors 60 Thanks to those in the community who have submitted detailed bug reports
|
| /linux/Documentation/admin-guide/ |
| H A D | sysfs-rules.rst | 33 system configuration bug you should not try to solve. For test cases, 60 is a bug in the application 82 bug in the application 89 like the "device"-link, is a bug in the application 129 ``/sys/block`` and ``/sys/class/block`` are not interchangeable is a bug in 137 a bug in the application. 147 a device in ``/sys/devices/`` is a bug in the application. 148 Accessing ``/sys/class/net/eth0/device`` is a bug in the application. 157 real child device directories in the ``/sys/devices`` tree is a bug in 170 access the chain of parents is a bug in the application.
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | bugs.c | 3 * x86 FPU bug checks: 11 * Boot time CPU/FPU FDIV bug detection code: 42 * Test for the divl bug: http://en.wikipedia.org/wiki/Fdiv_bug in fpu__init_check_bugs() 60 pr_warn("Hmm, FPU with FDIV bug\n"); in fpu__init_check_bugs()
|
| /linux/tools/testing/selftests/damon/ |
| H A D | sysfs_update_removed_scheme_dir.sh | 40 if dmesg | grep -q BUG 42 echo "update_schemes_stats triggers a kernel bug" 49 if dmesg | grep -q BUG 51 echo "update_schemes_tried_regions triggers a kernel bug"
|
| /linux/fs/quota/ |
| H A D | kqid.c | 25 BUG(); in qid_eq() 51 BUG(); in qid_lt() 78 BUG(); in from_kqid() 111 BUG(); in from_kqid_munged() 130 BUG(); in qid_valid()
|
| /linux/arch/sparc/lib/ |
| H A D | bitext.c | 46 BUG(); in bit_map_string_get() 48 BUG(); in bit_map_string_get() 50 BUG(); in bit_map_string_get() 108 BUG(); /* Much too late to do any good, but alas... */ in bit_map_clear() 112 BUG(); in bit_map_clear()
|
| /linux/arch/sparc/include/asm/ |
| H A D | bug.h | 10 #define BUG() do { \ macro 16 #define BUG() do { \ macro 25 #include <asm-generic/bug.h>
|
| /linux/arch/parisc/include/asm/ |
| H A D | bug.h | 14 /* the break instruction is used as BUG() marker. */ 26 #define BUG() \ macro 43 #define BUG() \ macro 97 #include <asm-generic/bug.h>
|