Added patch headers.
[linux-flexiantxendom0-3.2.10.git] / kdb / ChangeLog
1 2008-11-26 Jay Lan  <jlan@sgi.com>
2
3         * kdb-v4.4-2.6.28-rc6-common-1.
4
5 2008-11-12 Jay Lan  <jlan@sgi.com>
6
7         * kdb-v4.4-2.6.28-rc4-common-1.
8
9 2008-11-04 Jay Lan  <jlan@sgi.com>
10
11         * medusa needs kdb to handle '\n' in kdb_read(),
12            Cliff Wickman <cpw@sgi.com>
13         * kdb-v4.4-2.6.28-rc3-common-1.
14
15 2008-10-29 Jay Lan  <jlan@sgi.com>
16
17         * "Commandeer vector 0xfe for KDB_VECTOR", version 2.
18             Cliff Wickman <cpw@sgi.com>
19         * kdb-v4.4-2.6.28-rc2-common-2.
20
21 2008-10-27 Jay Lan  <jlan@sgi.com>
22
23         * kdb-v4.4-2.6.28-rc2-common-1.
24
25 2008-10-20 Jay Lan  <jlan@sgi.com>
26
27         * kdb-v4.4-2.6.27-common-1.
28
29 2008-09-30 Jay Lan  <jlan@sgi.com>
30
31         * kdb-v4.4-2.6.27-rc8-common-1.
32
33 2008-09-22 Jay Lan  <jlan@sgi.com>
34
35         * kdb-v4.4-2.6.27-rc7-common-1.
36
37 2008-09-03 Jay Lan  <jlan@sgi.com>
38
39         * kdb-v4.4-2.6.27-rc5-common-1.
40
41 2008-08-19 Jay Lan  <jlan@sgi.com>
42
43         * kdb-v4.4-2.6.27-rc3-common-1.
44
45 2008-08-15 Jay Lan  <jlan@sgi.com>
46
47         * mm_online_pgdat_export_symbol, Jay Lan <jlan@sgi.com>
48           - Fix compilation error by exporting first_online_pgdat &
49             next_online_pgdat for 'pgdat' command.
50         * kdb-v4.4-2.6.27-rc2-common-2.1.
51
52 2008-08-14 Jay Lan  <jlan@sgi.com>
53
54         * Support 'kdump' command to take a kdump vmcore from KDB,
55             Dan Aloni (da-x@monatomic.org),
56             Jason Xiao (jidong.xiao@gmail.com),
57             Jay Lan (jlan@sgi.com)
58         * kdb-v4.4-2.6.27-rc2-common-2.
59
60 2008-08-06 Jay Lan  <jlan@sgi.com>
61
62         * Fix up the NULL pointer deference issue in ohci_kdb_poll_char,
63           Jason Xiao <jidong.xiao@gmail.com>
64         * kdb-v4.4-2.6.27-rc2-common-1.
65
66 2008-07-18 Jay Lan  <jlan@sgi.com>
67
68         * support Hardware Breakpoint (bph/bpha) commands
69           IA64: Greg Banks <gnb@sgi.com>
70           X86:  Konstantin Baydarov <kbaidarov@ru.mvista.com>
71         * kdb-v4.4-2.6.26-common-2.
72
73 2008-07-14 Jay Lan  <jlan@sgi.com>
74
75         * kdb-v4.4-2.6.26-common-1.
76
77 2008-07-11 Jay Lan  <jlan@sgi.com>
78
79         * New commands and some fixups and enhancements,
80           Joe Korty <joe.korty@ccur.com>
81           John Blackwood <john.blackwood@ccur.com>
82           Jim Houston <jim.houston@ccur.com>
83           - Use the non-sleeping copy_from_user_atomic.
84           - Enhance kdb_cmderror diagnostic output.
85           - Expand the KDB 'duplicate command' error message.
86           - Touch NMI watchdog in various KDB busy-loops.
87           - Support IMB HS20 Blade 8843 platform.
88           - Display exactly which cpus needed an NMI to get them into kdb.
89           - Better document that kdb's 'ps A' command can be used to show
90             _all_ processes and threads
91           - Suppress KDB boottime INFO messages if quiet boot.
92           - Add a KDB breakpoint to the OOPs path.
93           - Add CONFIG_DISCONTIGMEM support to kdbm_memmap.
94           - Extend the KDB task command to handle CONFIG_NUMA fields.
95           - Extend the KDB vm command to support NUMA stuff.
96           - Create the KDB mempolicy command.
97           - Create a pgdat command for KDB.
98           - Fix a hang on boot on some i386 systems.
99         * kdb-v4.4-2.6.26-rc9-common-1.
100
101 2008-06-30 Jay Lan  <jlan@sgi.com>
102
103         * compilation warning cleanup, Cliff Wickman <cpw@sgi.com>
104         * kdb-v4.4-2.6.26-rc8-common-1.
105
106 2008-06-25 Jay Lan  <jlan@sgi.com>
107
108         * Added John Blackwood <john.blackwood@ccur.com> to the authors of
109           kdb-v4.4-2.6.26-rc4-common-2.
110         * kdb-v4.4-2.6.26-rc7-common-1.
111
112 2008-06-24 Jay Lan  <jlan@sgi.com>
113
114         * support lcrash style debug_info file: Cliff Wickman <cpw@sgi.com>
115           - It adds to kdb the ability to symbolically dereference structure
116             pointers through a lcrash-style debug_info file.
117           - Implements "print", "px", and "pd" print commands.
118           - Implements "walk" command to follow linked lists.
119           - Implements "whatis" to display a structure (with offsets).
120           - Implements "sizeof" for types (structures, typedefs, etc.).
121         * kdb-v4.4-2.6.26-rc5-common-2.
122
123 2008-06-06 Jay Lan  <jlan@sgi.com>
124
125         * kdb-v4.4-2.6.26-rc5-common-1.
126
127 2008-06-05 Jay Lan  <jlan@sgi.com>
128
129         * fixed 'rq/rqa' command runs off the end of runqueue's rt.active
130           priority bitmap array, John Blackwood <john.blackwood@ccur.com> &
131           Lachlan McIlroy <lachlan@sgi.com>
132         * kdb-v4.4-2.6.26-rc4-common-2.
133
134 2008-05-30 Jay Lan  <jlan@sgi.com>
135
136         * kdb-v4.4-2.6.26-rc4-common-1.
137
138 2008-05-20 Jay Lan  <jlan@sgi.com>
139
140         * kdb-v4.4-2.6.26-rc3-common-1.
141
142 2008-05-13 Jay Lan  <jlan@sgi.com>
143
144         * XPC support is removed from KDB due to XPC changes in 2.6.26-rc1.
145         * kdb-v4.4-2.6.26-rc1-common-1.
146
147 2008-04-17 Jay Lan  <jlan@sgi.com>
148
149         * kdb-v4.4-2.6.25-common-1.
150
151 2008-03-16 Jay Lan  <jlan@sgi.com>
152
153         * kdb-v4.4-2.6.25-rc6-common-1.
154
155 2008-03-03 Jay Lan  <jlan@sgi.com>
156
157         * kdb-v4.4-2.6.25-rc3-common-1.
158
159 2008-02-26 Jay Lan  <jlan@sgi.com>
160
161         * remove 'fastcall' from kdb code.
162         * kdb-v4.4-2.6.25-rc2-common-1.
163
164 2008-02-19 Jay Lan  <jlan@sgi.com>
165
166         * kdb-v4.4-2.6.25-rc1-common-1.
167
168 2008-02-06 Jay Lan  <jlan@sgi.com>
169
170         * Backed out USB UHCI support since it caused dropped characters and
171           broke OHCI.
172         * Restored "archkdbcommon" commands for x86. It was lost at the x86
173           merge.
174         * Detecting if the HC was "busy", Aaron Young <ayoung@sgi.com>
175         * kdb-v4.4-2.6.24-common-2.
176
177 2008-01-29 Jay Lan  <jlan@sgi.com>
178
179         * kdb-v4.4-2.6.24-common-1.
180
181 2008-01-22 Jay Lan  <jlan@sgi.com>
182
183         * USB UHCI kdb support, Konstantin Baydarov <kbaidarov@ru.mvista.com>
184         * kdb-v4.4-2.6.24-rc8-common-3.
185
186 2008-01-18 Jay Lan  <jlan@sgi.com>
187
188         * USB EHCI kdb support,  Aaron Young <ayoung@sgi.com>
189         * kdb-v4.4-2.6.24-rc8-common-2.
190
191 2008-01-18 Jay Lan  <jlan@sgi.com>
192
193         * kdb-v4.4-2.6.24-rc8-common-1.
194
195 2008-01-07 Jay Lan  <jlan@sgi.com>
196
197         * kdb-v4.4-2.6.24-rc7-common-1.
198
199 2007-12-21 Jay Lan  <jlan@sgi.com>
200
201         * Renamed kdb/kdba_bt_x86.c to arch/x86/kdba_bt.c. And thus, the x86
202           backtrace code is now moved into the kdb x86 patch.
203         * kdb v4.4-2.6.24-rc6-common-1.
204
205 2007-12-12 Jay Lan  <jlan@sgi.com>
206
207         * kdb v4.4-2.6.24-rc5-common-1.
208
209 2007-12-05 Jay Lan  <jlan@sgi.com>
210
211         * Fixed a 'sysctl table check failed' problem.
212         * kdb v4.4-2.6.24-rc4-common-1.
213
214 2007-11-26 Jay Lan  <jlan@sgi.com>
215
216         * kdb v4.4-2.6.24-rc3-common-1.
217
218 2007-11-13 Jay Lan  <jlan@sgi.com>
219
220         * Back ported "New KDB USB interface" from Aaron Young in
221           v4.4-2.6.23-common-2 to 2.6.24 kdb patchset.
222         * kdb v4.4-2.6.24-rc2-common-2.
223
224 2007-11-12 Jay Lan  <jlan@sgi.com>
225
226         * kdb v4.4-2.6.24-rc2-common-1.
227
228 2007-11-09 Jay Lan  <jlan@sgi.com>
229
230         * Rebase to 2.6.24-rc1 kernel
231         *   - merged kdb-v4.4-2.6.23-i386-1 and kdb-v4.4-2.6.23-x86_64-1
232         *     into kdb-v4.4-2.6.24-rc1-x86-1
233         *   - Fields "done", "sglist_len", and "pid" are removed from
234         *     struct scsi_cmnd. Thus, these fields are no longer displayed
235         *     on "sc" command.
236         * kdb v4.4-2.6.24-rc1-common-1.
237
238 2007-11-08 Jay Lan  <jlan@sgi.com>
239
240         * New KDB USB interface,  Aaron Young <ayoung@sgi.com>
241         *  1. This patch allows KDB to work with any Host Contoller driver
242         *     and call the correct HC driver poll routine (as long as the
243         *     HC driver provides a .kdb_poll_char routine via it's
244         *     associated hc_driver struct).
245         *  2. Hotplugged keyboards are now recognized by KDB.
246         *  3. Currently KDB can only make use of 1 USB type keyboard.
247         *     New code can handle up to 8 attached keyboards - input is
248         *     multiplexed from all of them while in kdb.
249         * kdb v4.4-2.6.23-common-2.
250
251 2007-10-24 Jay Lan  <jlan@sgi.com>
252
253         * kdb v4.4-2.6.23-common-1.
254
255 2007-09-26 Jay Lan  <jlan@sgi.com>
256
257         * kdb v4.4-2.6.23-rc8-common-1.
258
259 2007-09-21 Jay Lan  <jlan@sgi.com>
260
261         * kdb v4.4-2.6.23-rc7-common-1.
262
263 2007-09-12 Jay Lan  <jlan@sgi.com>
264
265         * kdb v4.4-2.6.23-rc6-common-1.
266
267 2007-09-06 Jay Lan  <jlan@sgi.com>
268
269         * kdb v4.4-2.6.23-rc5-common-1.
270
271 2007-08-30 Keith Owens  <kaos@sgi.com>
272
273         * New i386/x86_64 backtrace requires that kdb_save_running() does not
274           exit until after kdb_main_loop() has completed.
275         * List more noret functions in i386/x86_64 backtrace code.
276         * Call to a noret function ends a basic block.
277         * After a call to a noret function, eip/rip may be pointing at the next
278           function or not, depending on function alignment.  Jay Lan.
279         * kdb v4.4-2.6.23-rc4-common-2.
280
281 2007-08-30 Jay Lan  <jlan@sgi.com>
282
283         * kdb v4.4-2.6.23-rc4-common-1.
284
285 2007-08-28 Keith Owens  <kaos@sgi.com>
286
287         * kdb/kdba_bt_x86.c:
288         *   Handle the variable amount of stack data that is pushed by x86_64
289         *   hardware on an interrupt.
290         *   Add instruction vmsave.
291         *   Handle pop to %rsp.
292         *   Cope with return address for functions defined as ATTRIB_NORET.
293         *   Include CONFIG_DEBUG_INFO in the summary line of bb_all.
294         *   Check for an interrupt that was delivered while user space was in
295         *   control.
296         *   A return to child_rip ends a backtrace.
297         *   Ignore level2_kernel_pgt and level3_kernel_pgt data areas if they
298         *   occur within the text segment.
299         * kdb v4.4-2.6.23-rc3-common-2.
300
301 2007-08-24 Keith Owens  <kaos@sgi.com>
302
303         * kdb v4.4-2.6.23-rc3-common-1.
304
305 2007-08-24 Jay Lan  <jlan@sgi.com>
306
307         * kdb/kdba_bt_x86.c:
308         *   retint_kernel is only defined for CONFIG_PREEMPT.
309         *   Handle assembler code for CONFIG_HIBERNATION=y.
310         *   Handle assembler code for CONFIG_MATH_EMULATION=y.
311         *   Handle assembler code for CONFIG_XEN=y.
312         *   Handle assembler code for CONFIG_KPROBES=y.
313         *   Add CC version to the bb_all header.
314         *   Handle spurious label in jprobe_return.
315         *   Handle stack switch in jprobe_return.
316         *   Prefix register name with '%' in xadd/xchg temporary variable.
317         *   Require bb_usage_mov() to handle all the special cases internally.
318         *   Handle stack manipulation for kexec.
319         *   Handle spurious label in kretprobe_trampoline_holder.
320         *   Add instructions clgi, invlpga, rcl, rdpmc, stgi, vmclear,
321         *   vmlaunch, vmload, vmptrld, vmread, vmresume, vmrun, vmwrite,
322         *   xstore-rng.
323         *   Exclude more 16 bit and/or real mode acpi functions from bb_all.
324         *   Handle assembler stack switching code in i386 do_softirq.
325         * kdb/kdbmain.c:
326         *   Add CC version to the summary output.
327         *   Bump debug_kmalloc pool from 128K to 256K, some of the kernel
328         *   functions have huge numbers of basic blocks and jumps between them.
329         *   Correct reinstallation of breakpoints when exiting KDB.
330         * Keith Owens.
331         * kdb v4.4-2.6.23-rc2-common-2.
332
333 2007-08-07 Jay Lan  <jlan@sgi.com>
334
335         * kdb v4.4-2.6.23-rc2-common-1.
336
337 2007-08-03 Keith Owens  <kaos@sgi.com>
338
339         * kdba_bt_x86.c: Rename some variables to make the code more readable.
340           Print more debug information when merging register states and when
341           calculating the new stack pointer.
342         * kdb v4.4-2.6.23-rc1-common-2.
343
344 2007-07-30 Keith Owens  <kaos@sgi.com>
345
346         * kdb v4.4-2.6.23-rc1-common-1.
347
348 2007-07-26 Keith Owens  <kaos@sgi.com>
349
350         * New x86 backtrace code.
351         * kdb v4.4-2.6.22-common-4.
352
353 2007-07-17 Keith Owens  <kaos@sgi.com>
354
355         * Make kdb_printf_lock an irq lock to keep lockdep happy.
356         * kdb v4.4-2.6.22-common-3.
357
358 2007-07-13 Keith Owens  <kaos@sgi.com>
359
360         * Increase the size of the debug_alloc pool.
361         * Add the caller that obtained each entry in the debug_alloc pool.
362         * Poison entries in the debug_alloc pool.
363         * Track current and maximum usage in debug_alloc pool.
364         * Print the debug_alloc entries that are still in use when kdb exits
365           (memory leaks).
366         * Increase the default value of BTARGS to 9.
367         * kdb v4.4-2.6.22-common-2.
368
369 2007-07-09 Keith Owens  <kaos@sgi.com>
370
371         * kdb v4.4-2.6.22-common-1.
372
373 2007-07-02 Keith Owens  <kaos@sgi.com>
374
375         * kdb v4.4-2.6.22-rc7-common-1.
376
377 2007-06-20 Keith Owens  <kaos@sgi.com>
378
379         * kdb v4.4-2.6.22-rc5-common-1.
380
381 2007-06-15 Keith Owens  <kaos@sgi.com>
382
383         * Do not include asm/kdb.h unless CONFIG_KDB is on.  Dave Jiang.
384         * kdb v4.4-2.6.22-rc4-common-2.
385
386 2007-06-08 Keith Owens  <kaos@sgi.com>
387
388         * kdb v4.4-2.6.22-rc4-common-1.
389
390 2007-05-28 Keith Owens  <kaos@sgi.com>
391
392         * kdb v4.4-2.6.22-rc3-common-1.
393
394 2007-05-22 Keith Owens  <kaos@sgi.com>
395
396         * kdb v4.4-2.6.22-rc2-common-1.
397
398 2007-05-22 Keith Owens  <kaos@sgi.com>
399
400         * kdb v4.4-2.6.22-rc1-common-1.
401
402 2007-05-17 Keith Owens  <kaos@sgi.com>
403
404         * Add rdmsr and wrmsr commands for i386 and x86_64.  Original patch by
405           Bernardo Innocenti for i386, reworked by Keith Owens to make it safe
406           on all cpu models and to handle both i386 and x86_64.
407         * kdb v4.4-2.6.21-common-3.
408
409 2007-05-15 Keith Owens  <kaos@sgi.com>
410
411         * Correct alignment of debug_alloc_header.
412         * kdb v4.4-2.6.21-common-2.
413
414 2007-04-29 Keith Owens  <kaos@sgi.com>
415
416         * kdb v4.4-2.6.21-common-1.
417
418 2007-04-16 Keith Owens  <kaos@sgi.com>
419
420         * Remove dead symbol declarations.
421         * kdb v4.4-2.6.21-rc7-common-2.
422
423 2007-04-16 Keith Owens  <kaos@sgi.com>
424
425         * kdb v4.4-2.6.21-rc7-common-1.
426
427 2007-04-10 Keith Owens  <kaos@sgi.com>
428
429         * kdb v4.4-2.6.21-rc6-common-1.
430
431 2007-04-02 Keith Owens  <kaos@sgi.com>
432
433         * kdb v4.4-2.6.21-rc5-common-1.
434
435 2007-03-19 Keith Owens  <kaos@sgi.com>
436
437         * kdb v4.4-2.6.21-rc4-common-1.
438
439 2007-03-14 Keith Owens  <kaos@sgi.com>
440
441         * kdb v4.4-2.6.21-rc3-common-1.
442
443 2007-03-14 Keith Owens  <kaos@sgi.com>
444
445         * kdb v4.4-2.6.21-rc2-common-1.
446
447 2007-03-01 Keith Owens  <kaos@sgi.com>
448
449         * kdb v4.4-2.6.21-rc1-common-1.
450
451 2007-03-01 Keith Owens  <kaos@sgi.com>
452
453         * Remove sparse warnings.
454         * kdb v4.4-2.6.20-common-6.
455
456 2007-02-27 Keith Owens  <kaos@sgi.com>
457
458         * set_irq_regs() on entry to kdb() if they are not already set.
459         * kdb v4.4-2.6.20-common-5.
460
461 2007-02-22 Keith Owens  <kaos@sgi.com>
462
463         * Initialise struct disassemble_info in kdb_id1().
464         * kdb v4.4-2.6.20-common-4.
465
466 2007-02-16 Keith Owens  <kaos@sgi.com>
467
468         * Clean up debug_alloc_pool code.
469         * kdb v4.4-2.6.20-common-3.
470
471 2007-02-16 Keith Owens  <kaos@sgi.com>
472
473         * Initialise variable bits of struct disassemble_info each time.
474         * kdb v4.4-2.6.20-common-2.
475
476 2007-02-06 Keith Owens  <kaos@sgi.com>
477
478         * kdb v4.4-2.6.20-common-1.
479
480 2007-02-01 Keith Owens  <kaos@sgi.com>
481
482         * kdb v4.4-2.6.20-rc7-common-1.
483
484 2007-01-08 Keith Owens  <kaos@sgi.com>
485
486         * kdb v4.4-2.6.20-rc4-common-1.
487
488 2007-01-02 Keith Owens  <kaos@sgi.com>
489
490         * kdb v4.4-2.6.20-rc3-common-1.
491
492 2006-12-21 Keith Owens  <kaos@sgi.com>
493
494         * Initialize the debug_kmalloc pool on the first call, so it can be
495           used at any time.
496         * kdb v4.4-2.6.20-rc1-common-2.
497
498 2006-12-20 Keith Owens  <kaos@sgi.com>
499
500         * kdb v4.4-2.6.20-rc1-common-1.
501
502 2006-11-30 Keith Owens  <kaos@sgi.com>
503
504         * kdb v4.4-2.6.19-common-1.
505
506 2006-11-30 Keith Owens  <kaos@sgi.com>
507
508         * Do not access registers if kdb_current_regs is NULL.
509         * kdb v4.4-2.6.19-rc6-common-3.
510
511 2006-11-27 Keith Owens  <kaos@sgi.com>
512
513         * Only use VT keyboard if the command line allows it and ACPI indicates
514           that there is an i8042.
515         * Optimize kdb_read() to reduce the risk of dropping input characters.
516         * Print cpumasks as lists instead of hex, also cope with long lists.
517         * kdb v4.4-2.6.19-rc6-common-2.
518
519 2006-11-20 Keith Owens  <kaos@sgi.com>
520
521         * kdb v4.4-2.6.19-rc6-common-1.
522
523 2006-11-09 Keith Owens  <kaos@sgi.com>
524
525         * Change kdb() to fastcall.
526         * Correct loop in kdb_help().  Georg Nikodym.
527         * Only use VT console if the command line allows it.
528         * kdb v4.4-2.6.19-rc5-common-2.
529
530 2006-11-08 Keith Owens  <kaos@sgi.com>
531
532         * kdb v4.4-2.6.19-rc5-common-1.
533
534 2006-11-01 Keith Owens  <kaos@sgi.com>
535
536         * kdb v4.4-2.6.19-rc4-common-1.
537
538 2006-10-24 Keith Owens  <kaos@sgi.com>
539
540         * kdb v4.4-2.6.19-rc3-common-1.
541
542 2006-10-24 Keith Owens  <kaos@sgi.com>
543
544         * Remove redundant regs and envp parameters.
545         * kdb v4.4-2.6.19-rc2-common-2.
546
547 2006-10-18 Keith Owens  <kaos@sgi.com>
548
549         * kdb v4.4-2.6.19-rc2-common-1.
550
551 2006-10-11 Keith Owens  <kaos@sgi.com>
552
553         * Move kdbm_x86.c from the i386 to the common KDB patch.
554         * Expand kdbm_x86.c to work on x86_64 as well as i386.
555         * kdb v4.4-2.6.19-rc1-common-2.
556
557 2006-10-09 Keith Owens  <kaos@sgi.com>
558
559         * kdb v4.4-2.6.19-rc1-common-1.
560
561 2006-10-06 Keith Owens  <kaos@sgi.com>
562
563         * Remove #include <linux/config.h>
564         * kdb v4.4-2.6.18-common-2.
565
566 2006-09-20 Keith Owens  <kaos@sgi.com>
567
568         * kdb v4.4-2.6.18-common-1.
569
570 2006-09-15 Keith Owens  <kaos@sgi.com>
571
572         * kdb v4.4-2.6.18-rc7-common-1.
573
574 2006-08-29 Keith Owens  <kaos@sgi.com>
575
576         * Rewrite all backtrace code.
577         * kdb v4.4-2.6.18-rc5-common-2.
578
579 2006-08-28 Keith Owens  <kaos@sgi.com>
580
581         * kdb v4.4-2.6.18-rc5-common-1.
582
583 2006-08-08 Keith Owens  <kaos@sgi.com>
584
585         * kdb v4.4-2.6.18-rc4-common-1.
586
587 2006-08-04 Keith Owens  <kaos@sgi.com>
588
589         * kdb v4.4-2.6.18-rc3-common-1.
590
591 2006-07-18 Keith Owens  <kaos@sgi.com>
592
593         * 8250.c locking has been fixed so there is no need to break spinlocks
594           for keyboard entry.
595         * kdb v4.4-2.6.18-rc2-common-2.
596
597 2006-07-18 Keith Owens  <kaos@sgi.com>
598
599         * kdb v4.4-2.6.18-rc2-common-1.
600
601 2006-07-12 Keith Owens  <kaos@sgi.com>
602
603         * Remove dead KDB_REASON codes.
604         * The main kdb() function is now always entered with interrupts
605           disabled, so there is no need to disable bottom halves.
606         * sparse cleanups.
607         * kdb v4.4-2.6.18-rc1-common-2.
608
609 2006-07-07 Keith Owens  <kaos@sgi.com>
610
611         * kdb v4.4-2.6.18-rc1-common-1.
612
613 2006-07-04 Keith Owens  <kaos@sgi.com>
614
615         * Add KDB_REASON_CPU_UP and callbacks for cpus coming online.
616         * Relegate KDB_REASON_SILENT to KDB internal use only.
617         * Backout the v4.4-2.6.15-common-3 change that made KDB_REASON_SILENT
618           wait for cpus, the Dell Xeon problem has been fixed.
619         * notify_die() is not called for KDB_REASON_SILENT nor
620           KDB_REASON_CPU_UP, these events do not stay in KDB.
621         * Export kdb_current_task for kdbm_x86.  SuSE patch
622           kdb-missing-export.diff
623         * Scale kdb_wait_for_cpus_secs by the number of online cpus.
624         * Delete kdb_enablehwfault, architectures now do their own setup.
625         * Delete kdba_enable_mce, architectures now do their own setup.
626         * Delete kdba_enable_lbr, kdba_disable_lbr, kdba_print_lbr,
627           page_fault_mca.  Only ever implemented on x86, difficult to maintain
628           and rarely used in the field.
629         * Replace #ifdef KDB_HAVE_LONGJMP with #ifdef kdba_setjmp.
630         * kdb v4.4-2.6.17-common-2.
631
632 2006-06-19 Keith Owens  <kaos@sgi.com>
633
634         * kdb v4.4-2.6.17-common-1.
635
636 2006-05-31 Keith Owens  <kaos@sgi.com>
637
638         * Break spinlocks for keyboard entry.  Hopefully a temporary hack while
639           I track down why keyboard entry to KDB is hanging.
640         * kdb v4.4-2.6.17-rc5-common-2.
641
642 2006-05-25 Keith Owens  <kaos@sgi.com>
643
644         * kdb v4.4-2.6.17-rc5-common-1.
645
646 2006-05-15 Keith Owens  <kaos@sgi.com>
647
648         * Refresh bfd related files from binutils 2.16.91.0.2.
649         * kdb v4.4-2.6.17-rc4-common-2.
650
651 2006-05-12 Keith Owens  <kaos@sgi.com>
652
653         * kdb v4.4-2.6.17-rc4-common-1.
654
655 2006-04-28 Keith Owens  <kaos@sgi.com>
656
657         * kdb v4.4-2.6.17-rc3-common-1.
658
659 2006-04-22 Keith Owens  <kaos@sgi.com>
660
661         * kdb v4.4-2.6.17-rc2-common-1.
662
663 2006-04-11 Keith Owens  <kaos@sgi.com>
664
665         * kdb v4.4-2.6.17-rc1-common-1.
666
667 2006-04-05 Keith Owens  <kaos@sgi.com>
668
669         * More fixes for the timing race with KDB_ENTER_SLAVE.
670         * kdb v4.4-2.6.16-common-5.
671
672 2006-03-30 Keith Owens  <kaos@sgi.com>
673
674         * Some code was testing KDB_IS_RUNNING() twice, which left it open to
675           races.  Cache the result instead.
676         * kdb v4.4-2.6.16-common-4.
677
678 2006-03-30 Keith Owens  <kaos@sgi.com>
679
680         * Change CONFIG_LKCD to CONFIG_LKCD_DUMP.
681         * kdb v4.4-2.6.16-common-3.
682
683 2006-03-22 Keith Owens  <kaos@sgi.com>
684
685         * Add some more xpc flags.  Dean Nelson, SGI.
686         * Replace open coded counter references with atomic_read().
687         * Pass early_uart_console to early_uart_setup().  Francois
688           Wellenreiter, Bull.
689         * Replace open code with for_each_online_cpu().
690         * If cpus do not come into kdb after a few seconds then let
691           architectures send a more forceful interrupt.
692         * Close a timing race with KDB_ENTER_SLAVE.
693         * kdb v4.4-2.6.16-common-2.
694
695 2006-03-21 Keith Owens  <kaos@sgi.com>
696
697         * kdb v4.4-2.6.16-common-1.
698
699 2006-03-14 Nathan Scott  <nathans@sgi.com>
700
701         * kdb v4.4-2.6.16-rc6-common-1.
702
703 2006-02-28 Nathan Scott  <nathans@sgi.com>
704
705         * kdb v4.4-2.6.16-rc5-common-1.
706
707 2006-02-20 Nathan Scott  <nathans@sgi.com>
708
709         * kdb v4.4-2.6.16-rc4-common-1.
710
711 2006-02-06 Keith Owens  <kaos@sgi.com>
712
713         * Change CONFIG_CRASH_DUMP to CONFIG_LKCD.
714         * Remove obsolete kdb_notifier_list.
715         * kdb v4.4-2.6.16-rc2-common-2.
716
717 2006-02-06 Keith Owens  <kaos@sgi.com>
718
719         * Add xpcusers command.  Dean Nelson, SGI.
720         * kdb v4.4-2.6.16-rc2-common-1.
721
722 2006-02-02 Keith Owens  <kaos@sgi.com>
723
724         * Check if we have a console before using it for KDB.
725         * kdb v4.4-2.6.16-rc1-common-3.
726
727 2006-02-01 Keith Owens  <kaos@sgi.com>
728
729         * Add option 'R' to the pid command to reset to the original task.
730         * Include 'pid R' in archkdb* commands to reset up the original failing
731           task.  Users may have switched to other cpus and/or tasks before
732           issuing archkdb.
733         * Compile fix for kdbm_pg.c on i386.
734         * kdb v4.4-2.6.16-rc1-common-2.
735
736 2006-01-18 Keith Owens  <kaos@sgi.com>
737
738         * kdb v4.4-2.6.16-rc1-common-1.
739
740 2006-01-11 Keith Owens  <kaos@sgi.com>
741
742         * Plug a timing race between KDB_ENTER_SLAVE and KDB_ENTER, and allow
743           the cpu command to switch to a slave cpu.
744         * KDB_REASON_SILENT now waits for other cpus, to avoid spurious NMI
745           events that were seen on some Xeon systems.
746         * kdb v4.4-2.6.15-common-3.
747
748 2006-01-08 Keith Owens  <kaos@sgi.com>
749
750         * kdb mainline invokes DIE_KDEBUG_ENTER and DIE_KDEBUG_LEAVE via
751           notify_die.
752         * Move xpc debug support from xpc to mainline kdb.
753         * kdbm_cm.c: check if file_lock_operations or lock_manager_operations
754           are set before dereferencing them.  Felix Blyakher, SGI.
755         * kdb v4.4-2.6.15-common-2.
756
757 2006-01-04 Keith Owens  <kaos@sgi.com>
758
759         * Print all buffers on a page in inode pages and update formatting to be
760           legible, too.  David Chinner, SGI.
761         * Update page flags in kdbm_pg.
762         * Remove inline from *.c files.
763         * kdb v4.4-2.6.15-common-1.
764
765 2005-12-25 Keith Owens  <kaos@sgi.com>
766
767         * kdb v4.4-2.6.15-rc7-common-1.
768
769 2005-12-20 Keith Owens  <kaos@sgi.com>
770
771         * kdb v4.4-2.6.15-rc6-common-1.
772
773 2005-12-10 Keith Owens  <kaos@sgi.com>
774
775         * Update mapping of flags to strings in kdbm_pg.c and kdbm_vm.c.
776         * kdb v4.4-2.6.15-rc5-common-3.
777
778 2005-12-06 Keith Owens  <kaos@sgi.com>
779
780         * Add RECOVERY flag to global KDB flags.
781         * Add kdb_{save,restore}_flags.
782         * kdb v4.4-2.6.15-rc5-common-2.
783
784 2005-12-05 Keith Owens  <kaos@sgi.com>
785
786         * kdb v4.4-2.6.15-rc5-common-1.
787
788 2005-12-02 Keith Owens  <kaos@sgi.com>
789
790         * kdbm_vm.c: offsets of page macros should be unsigned long.  Reported
791           by Dean Nelson, SGI.
792         * kdb v4.4-2.6.15-rc4-common-1.
793
794 2005-11-30 Keith Owens  <kaos@sgi.com>
795
796         * New follow_page() API.
797         * kdb v4.4-2.6.15-rc3-common-1.
798
799 2005-11-21 Keith Owens  <kaos@sgi.com>
800
801         * kdb v4.4-2.6.15-rc2-common-1.
802
803 2005-11-15 Keith Owens  <kaos@sgi.com>
804
805         * kdb v4.4-2.6.15-rc1-common-1.
806
807 2005-11-15 Keith Owens  <kaos@sgi.com>
808
809         * Allow kdb_printf() to be used outside kdb, in preemptible context.
810         * Build with CONFIG_SWAP=n.  Reported by Leo Yuriev.
811         * kdb v4.4-2.6.14-common-2.
812
813 2005-10-28 Keith Owens  <kaos@sgi.com>
814
815         * kdb v4.4-2.6.14-common-1.
816
817 2005-10-21 Keith Owens  <kaos@sgi.com>
818
819         * kdb v4.4-2.6.14-rc5-common-1.
820
821 2005-10-11 Keith Owens  <kaos@sgi.com>
822
823         * Handle removal of USB keyboard.  Aaron Young, SGI.
824         * kdb v4.4-2.6.14-rc4-common-1.
825
826 2005-10-05 Keith Owens  <kaos@sgi.com>
827
828         * Extend kdb_notifier_list() codes to include dumping.
829         * Use emergency_restart() for reboot, it can be called from interrupt
830           context, unlike machine_restart().
831         * kdb v4.4-2.6.14-rc3-common-1.
832
833 2005-09-21 Keith Owens  <kaos@sgi.com>
834
835         * Support kdb_current_task in register display and modify commands.
836         * Document what changes kdb's notion of the current task.
837         * Update rd documentation for IA64.
838         * Move some definictions to kdbprivate.h and remove some unused symbol
839           exports.
840         * kdb v4.4-2.6.14-rc2-common-1.
841
842 2005-09-20 Keith Owens  <kaos@sgi.com>
843
844         * Document IA64 handlers command.
845         * Add more fields to the task command.
846         * Cope with MCA/INIT handlers in the ps command.
847         * Namespace cleanup, delete unused exports, make some functions static.
848         * Add a kdb_notifier_list callback when kdb is about to reboot the
849           system.
850         * kdb v4.4-2.6.14-rc1-common-1.
851
852 2005-08-29 Keith Owens  <kaos@sgi.com>
853
854         * kdb v4.4-2.6.13-common-1.
855
856 2005-08-24 Keith Owens  <kaos@sgi.com>
857
858         * kdb v4.4-2.6.13-rc7-common-1.
859
860 2005-08-08 Keith Owens  <kaos@sgi.com>
861
862         * kdb v4.4-2.6.13-rc6-common-1.
863
864 2005-08-02 Keith Owens  <kaos@sgi.com>
865
866         * Print more fields from filp, dentry.
867         * Add kdb=on-nokey to suppress kdb entry from the keyboard.
868         * kdb v4.4-2.6.13-rc5-common-1.
869
870 2005-07-30 Keith Owens  <kaos@sgi.com>
871
872         * kdb v4.4-2.6.13-rc4-common-1.
873
874 2005-07-26 Keith Owens  <kaos@sgi.com>
875
876         * Fix compile problem with CONFIG_USB_KBD.
877         * kdb v4.4-2.6.13-rc3-common-3.
878
879 2005-07-22 Keith Owens  <kaos@sgi.com>
880
881         * The asmlinkage kdb() patch was lost during packaging.  Reinstate it.
882         * kdb v4.4-2.6.13-rc3-common-2.
883
884 2005-07-19 Keith Owens  <kaos@sgi.com>
885
886         * Add support for USB keyboard (OHCI only).  Aaron Young, SGI.
887         * kdb v4.4-2.6.13-rc3-common-1.
888
889 2005-07-08 Keith Owens  <kaos@sgi.com>
890
891         * kdb v4.4-2.6.13-rc2-common-1.
892
893 2005-07-01 Keith Owens  <kaos@sgi.com>
894
895         * Make kdb() asmlinkage to avoid problems with CONFIG_REGPARM.
896         * Change some uses of smp_processor_id() to be preempt safe.
897         * Use DEFINE_SPINLOCK().
898         * kdb v4.4-2.6.13-rc1-common-1.
899
900 2005-06-18 Keith Owens  <kaos@sgi.com>
901
902         * kdb v4.4-2.6.12-common-1.
903
904 2005-06-08 Keith Owens  <kaos@sgi.com>
905
906         * Correct early exit from bd *.
907         * kdb v4.4-2.6.12-rc6-common-1.
908
909 2005-05-25 Keith Owens  <kaos@sgi.com>
910
911         * Delete Documentation/kdb/dump.txt.  lkcd now has reasonable
912           integration with kdb.
913         * kdb v4.4-2.6.12-rc5-common-1.
914
915 2005-05-08 Keith Owens  <kaos@sgi.com>
916
917         * kdb v4.4-2.6.12-rc4-common-1.
918
919 2005-04-21 Keith Owens  <kaos@sgi.com>
920
921         * Add rpte command (find the pte for a physical page).
922         * kdb v4.4-2.6.12-rc3-common-1.
923
924 2005-04-06 Keith Owens  <kaos@sgi.com>
925
926         * Add rq and rqa commands.  John Hawkes, SGI.
927         * kdb v4.4-2.6.12-rc2-common-1.
928
929 2005-03-29 Keith Owens  <kaos@sgi.com>
930
931         * Use register_sysctl_table() instead of patching kernel/sysctl.c.
932         * Non-ASCII characters are not printable.
933         * kdb v4.4-2.6.12-rc1-common-1.
934
935 2005-03-15 Keith Owens  <kaos@sgi.com>
936
937         * More coexistence patches for lkcd.  Jason Uhlenkott, SGI.
938         * kdb v4.4-2.6.11-common-3.
939
940 2005-03-08 Keith Owens  <kaos@sgi.com>
941
942         * Coexistence patches for lkcd.  Jason Uhlenkott, SGI.
943         * kdb v4.4-2.6.11-common-2.
944
945 2005-03-03 Keith Owens  <kaos@sgi.com>
946
947         * Add kdb to drivers/serial/8250_early.c.  Francois Wellenreiter, Bull.
948         * kdb v4.4-2.6.11-common-1.
949
950 2005-02-14 Keith Owens  <kaos@sgi.com>
951
952         * kdb v4.4-2.6.11-rc4-common-1.
953
954 2005-02-08 Keith Owens  <kaos@sgi.com>
955
956         * kdb v4.4-2.6.11-rc3-bk4-common-1.
957
958 2005-02-03 Keith Owens  <kaos@sgi.com>
959
960         * Print more superblock fields.  Nathan Scott, SGI.
961         * Remove kallsyms correction for modules, Linus took it.
962         * kdb v4.4-2.6.11-rc3-common-1.
963
964 2005-01-27 Keith Owens  <kaos@sgi.com>
965
966         * Add bio command.  Nathan Scott, SGI.
967         * kdb v4.4-2.6.11-rc2-common-1.
968
969 2005-01-20 Keith Owens  <kaos@sgi.com>
970
971         * Include kallsyms correction for modules until Linus takes it.
972         * kdb v4.4-2.6.11-rc1-bk7-common-1.
973
974 2005-01-12 Keith Owens  <kaos@sgi.com>
975
976         * kallsyms now supports all symbols properly, remove kdb patch.
977         * Add last ditch allocator for debugging.
978         * Update kdb_meminfo_read_proc() for vmalloc changes.
979         * Update kdbm_vm.c for 4 level page tables.
980         * kdb v4.4-2.6.11-rc1-common-1.
981
982 2004-12-25 Keith Owens  <kaos@sgi.com>
983
984         * Add kobject command.
985         * Ignore low addresses and large offsets in kdbnearsym().
986         * Console updates for sn2 simulator.
987         * kdb v4.4-2.6.10-common-1.
988
989 2004-12-07 Keith Owens  <kaos@sgi.com>
990
991         * kdb v4.4-2.6.10-rc3-common-1.
992
993 2004-11-23 Keith Owens  <kaos@sgi.com>
994
995         * Remove warning message from kdb_get_one_user_page(), it was too noisy.
996         * kdb v4.4-2.6.10-rc2-common-1.
997
998 2004-11-02 Keith Owens  <kaos@sgi.com>
999
1000         * Build with kdb patch applied but CONFIG_KDB=n.
1001         * kdb v4.4-2.6.10-rc1-common-2.
1002
1003 2004-10-29 Keith Owens  <kaos@sgi.com>
1004
1005         * Handle new compression scheme for kallsyms.
1006         * Handle move of DEAD and ZOMBIE for task->state to task->exit_state.
1007         * Tweak the concept of a valid kernel address to get all symbols,
1008           including the symbols in the ia64 gate page.
1009         * kdb v4.4-2.6.10-rc1-common-1.
1010
1011 2004-10-21 Keith Owens  <kaos@sgi.com>
1012
1013         * Handle variable size for the kernel log buffer.
1014         * kdb v4.4-2.6.9-common-2.
1015
1016 2004-10-19 Keith Owens  <kaos@sgi.com>
1017
1018         * kdb v4.4-2.6.9-common-1.
1019
1020 2004-10-12 Keith Owens  <kaos@sgi.com>
1021
1022         * kdb v4.4-2.6.9-rc4-common-1.
1023
1024 2004-10-01 Keith Owens  <kaos@sgi.com>
1025
1026         * kdb v4.4-2.6.9-rc3-common-1.
1027
1028 2004-09-30 Keith Owens  <kaos@sgi.com>
1029
1030         * Add stackdepth command to Documentation/kdb/kdb.mm.  stackdepth is
1031           only supported on i386 and ia64 at the moment.
1032         * Skip kdbm_pg memmap build on x86_64.  Scott Lurndal, 3leafnetworks.
1033         * Export kdb_serial_str for modular I/O.  Bryan Cardillo, UPenn.
1034         * Reinstate tab completion for symbols.
1035         * kdb v4.4-2.6.9-rc2-common-2.
1036
1037 2004-09-14 Keith Owens  <kaos@sgi.com>
1038
1039         * Add task states C (traCed) and E (dEad).
1040         * kdb v4.4-2.6.9-rc2-common-1.
1041
1042 2004-08-27 Keith Owens  <kaos@sgi.com>
1043
1044         * kdb v4.4-2.6.9-rc1-common-1.
1045
1046 2004-08-14 Keith Owens  <kaos@sgi.com>
1047
1048         * kdb v4.4-2.6.8-common-1.
1049
1050 2004-08-12 Keith Owens  <kaos@sgi.com>
1051
1052         * kdb v4.4-2.6.8-rc4-common-1.
1053
1054 2004-08-05 Keith Owens  <kaos@sgi.com>
1055
1056         * Mark kdb_initcall as __attribute_used__ for newer gcc.
1057         * kdb v4.4-2.6.8-rc3-common-2.
1058
1059 2004-08-04 Keith Owens  <kaos@sgi.com>
1060
1061         * Add mdp (memory display physical) comnmand.
1062           Ananth N Mavinakayanahalli, IBM.
1063         * kdb v4.4-2.6.8-rc3-common-1.
1064
1065 2004-07-18 Keith Owens  <kaos@sgi.com>
1066
1067         * Patch for new sn_console.  Erik Jacobson. SGI.
1068         * kdb v4.4-2.6.8-rc2-common-1.
1069
1070 2004-07-12 Keith Owens  <kaos@sgi.com>
1071
1072         * Convert kdbm_task to standard cpumask_t.
1073         * Document '*' (all breakpoints) option on bd/be/bc commands.
1074         * kdb v4.4-2.6.8-rc1-common-1.
1075
1076 2004-06-30 Keith Owens  <kaos@sgi.com>
1077
1078         * Common changes to help the x86-64 port.
1079         * kdb v4.4-2.6.7-common-3.
1080
1081 2004-06-20 Keith Owens  <kaos@sgi.com>
1082
1083         * Move kdb includes in mm/swapfile.c to reduce conflicts with other
1084           SGI patches.
1085         * kdb v4.4-2.6.7-common-2.
1086
1087 2004-06-16 Keith Owens  <kaos@sgi.com>
1088
1089         * kdb v4.4-2.6.7-common-1.
1090
1091 2004-06-09 Keith Owens  <kaos@sgi.com>
1092
1093         * kdb v4.4-2.6.7-rc3-common-1.
1094
1095 2004-06-09 Keith Owens  <kaos@sgi.com>
1096
1097         * Namespace clean up.  Mark code/variables as static when it is only
1098           used in one file, delete dead code/variables.
1099         * Saved interrupt state requires long, not int.
1100         * kdb v4.4-2.6.7-rc2-common-3.
1101
1102 2004-06-08 Keith Owens  <kaos@sgi.com>
1103
1104         * Whitespace clean up, no code changes.
1105         * kdb v4.4-2.6.7-rc2-common-2.
1106
1107 2004-06-07 Keith Owens  <kaos@sgi.com>
1108
1109         * kdb v4.4-2.6.7-rc2-common-1.
1110
1111 2004-06-06 Keith Owens  <kaos@sgi.com>
1112
1113         * Avoid recursion problems in kdb_init().
1114         * Add standard archkdb commands.
1115         * Add per_cpu command.
1116         * Move kdb_{get,put}userarea_size definitions to linux/kdb.h.
1117         * kdb v4.4-2.6.6-common-2.
1118
1119 2004-05-23 Keith Owens  <kaos@sgi.com>
1120
1121         * Shrink the output from the cpu command.
1122         * Add cpu state 'I', the cpu is idle.
1123         * Add cpu state '+', some kdb data is available but the cpu is not
1124           responding.
1125         * Do not print tasks in state I or M by default in ps and bta commands.
1126         * Add states I (idle task) and M (sleeping system daemon) to ps and
1127           bta commands.
1128         * Delete unused variables.
1129         * Move private kdb fields from kdb.h to kdbprivate.h.
1130         * Print 'for keyboard entry' for the special cases when KDB_ENTER() is
1131           used to get registers.
1132         * Move bfd.h and ansidecl.h from arch/$(ARCH)/kdb to include/asm-$(ARCH)
1133           and remove -I arch/$(ARCH)/kdb.
1134         * dmesg command now prints from either the start or end of dmesg, or at
1135           an arbitrary point in the middle of the kernel log buffer.
1136         * Sensible string dump for multi byte md commands.
1137         * 'page' command handles ia64 correctly.
1138         * Show some activity when waiting for cpus to enter kdb.
1139         * Change the KDB entry code to <esc>KDB.
1140         * Allow comment commands, starting with '#'.
1141         * Commands defined using defcmd from kdb_cmds are not printed as they
1142           are entered, use defcmd with no parameters to print all the defined
1143           commands.
1144         * Add summary command.
1145         * Update copyright notices.
1146         * Zero suppression on md command.
1147         * Make set NOSECT=1 the default.
1148         * PPC64 uses OF-stdout instead of console.  Ananth N Mavinakayanahalli.
1149         * kdb v4.4-2.6.6-common-1.
1150
1151 2004-05-10 Keith Owens  <kaos@sgi.com>
1152
1153         * kdb v4.3-2.6.6-common-1.
1154
1155 2004-05-06 Keith Owens  <kaos@sgi.com>
1156
1157         * kdb v4.3-2.6.6-rc3-common-1.
1158
1159 2004-05-06 Keith Owens  <kaos@sgi.com>
1160
1161         * kdb v4.3-2.6.6-rc2-common-1.
1162
1163 2004-04-30 Keith Owens  <kaos@sgi.com>
1164
1165         * Rewrite inode_pages command for new radix code in struct page.
1166         * kdb v4.3-2.6.6-rc1-common-1.
1167
1168 2004-04-11 Keith Owens  <kaos@sgi.com>
1169
1170         * Unlock sn_sal_lock before entering kdb from sn_serial.
1171         * kdb v4.3-2.6.5-common-2.
1172
1173 2004-04-05 Keith Owens  <kaos@sgi.com>
1174
1175         * kdb v4.3-2.6.5-common-1.
1176
1177 2004-03-22 Keith Owens  <kaos@sgi.com>
1178
1179         * kdb v4.3-2.6.5-rc2-common-1.
1180
1181 2004-03-12 Keith Owens  <kaos@sgi.com>
1182
1183         * More work to avoid spurious messages from WARN_CONSOLE_UNLOCKED().
1184         * bh command bug fixes.  Nathan Scott.
1185         * kdb v4.3-2.6.4-common-1.
1186
1187 2004-03-06 Keith Owens  <kaos@sgi.com>
1188
1189         * Set KDB_IS_RUNNING() during kdb_init to avoid spurious messages from
1190           WARN_CONSOLE_UNLOCKED().
1191         * Correct loss of symbol names in kdbnearsym.
1192         * kdb v4.3-2.6.4-rc2-common-1.
1193
1194 2004-02-29 Keith Owens  <kaos@sgi.com>
1195
1196         * kdb v4.3-2.6.4-rc1-common-1.
1197
1198 2004-02-21 Keith Owens  <kaos@sgi.com>
1199
1200         * Correct build of kdb_cmds when using a separate object directory and
1201           make it quiet.  j-nomura (NEC), Keith Owens.
1202         * kdb v4.3-2.6.3-common-2.
1203
1204 2004-02-18 Keith Owens  <kaos@sgi.com>
1205
1206         * kdb v4.3-2.6.3-common-1.
1207
1208 2004-02-17 Keith Owens  <kaos@sgi.com>
1209
1210         * Remove WAR for incorrect console registration patch.
1211         * kdb v4.3-2.6.3-rc4-common-1.
1212
1213 2004-02-17 Keith Owens  <kaos@sgi.com>
1214
1215         * Convert longjmp buffers from static to dynamic allocation, for large
1216           cpu counts.
1217         * Tweak kdbm_task for SMP/UP.
1218         * Reconcile with kdb-v4.3 2.4.25-rc1-common-1.
1219         * Simplify coexistence with NPTL patches.
1220         * Support kill command on new scheduler.
1221         * Do not refetch data when printing a value as characters.
1222         * Document the pid command.
1223         * Work around 2.6 kallsyms 'feature'.
1224         * Upgrade to 2.6.3-rc3.
1225         * WAR for incorrect console registration patch.
1226         * kdb v4.3-2.6.3-rc3-common-1.
1227
1228 2003-12-03 Keith Owens  <kaos@sgi.com>
1229
1230         * Reconcile 2.6-test versions from Xavier Bru (Bull), Greg Banks (SGI),
1231           Jim Houston (Concurrent Computer Corp).
1232         * Reconcile with kdb v4.3-2.4.23-common-2.
1233         * Clean up CONFIG_KDB changes to {scripts,kernel}/kallsyms.c.
1234         * Correct handling of kdb command line arguments.
1235         * Make hooks into module code less intrusive.
1236         * Delete kdb_active_task, not required with O(1) scheduler.
1237         * Port kdbm_task.c from 2.4.
1238         * Disable debug check in exit.c::next_thread() when kdb is running.
1239         * Remove "only bh_disable when interrupts are set".  BH must be disabled
1240           in kdb to prevent deadlock on breakpoints in interrupt handlers.
1241         * Add kdb to drivers/char/sn_serial.c.
1242         * kdb v4.3-2.6.0-test11-common-1.
1243
1244 2003-11-11 Xavier Bru   <xavier.bru@bull.net>
1245         * Merge to 2.6.0-test9
1246 2003-10-17 Xavier Bru   <xavier.bru@bull.net>
1247         * fix NUll ptr in kdb_ps at early prompt.
1248 2003-10-14 Xavier Bru   <xavier.bru@bull.net>
1249         * fix NUll ptr in kdb_ps when cpu not present.
1250 2003-10-06 Xavier Bru   <xavier.bru@bull.net>
1251         * Merge to 2.6.0-test5
1252         * fix compile error with CONFIG_MODULES not set.
1253
1254 2003-09-08 Xavier Bru   <xavier.bru@bull.net>
1255         * Merge to 2.6.0-test4
1256
1257 2003-07-10 Xavier Bru   <xavier.bru@bull.net>
1258
1259         * Merge kdb v4.3 to 2.5.72 ia64
1260         * don't call local_bh_enable() with interrupts masked.
1261
1262 2003-04-07 Xavier Bru   <xavier.bru@bull.net>
1263
1264         * Merge kdb v4.1 to 2.5.64 ia64
1265         * new kernel parameters support
1266         * new module format
1267         * new kallsyms support
1268
1269 2003-12-02 Keith Owens  <kaos@sgi.com>
1270
1271         * Use correct page alignment in kdb_get_one_user_page().
1272           Prasanna S Panchamukhi, IBM.
1273         * Split pte command into pte -m and pte -p.  Dean Roe, SGI.
1274         * kdb v4.3-2.4.23-common-2.
1275
1276 2003-12-01 Keith Owens  <kaos@sgi.com>
1277
1278         * kdb v4.3-2.4.23-common-1.
1279
1280 2003-11-11 Keith Owens  <kaos@sgi.com>
1281
1282         * Make KDB for USB keyboards build.  Peter T. Breuer.
1283         * Do not use USB keyboard if it has not been probed.
1284         * kdb v4.3-2.4.23-rc1-common-1.
1285
1286 2003-10-10 Keith Owens  <kaos@sgi.com>
1287
1288         * Sync with XFS 2.4.22 tree.
1289         * kdb v4.3-2.4.22-common-2.
1290
1291 2003-08-29 Keith Owens  <kaos@sgi.com>
1292
1293         * kdb v4.3-2.4.22-common-1.
1294
1295 2003-07-27 Keith Owens  <kaos@sgi.com>
1296
1297         * kdb v4.3-2.4.22-pre8-common-8.
1298
1299 2003-07-20 Keith Owens  <kaos@sgi.com>
1300
1301         * Make kdb_serial_str a common constant, the same for all consoles.
1302         * Support SGI L1 console.
1303         * kdb v4.3-2.4.21-common-8.
1304
1305 2003-07-14 Keith Owens  <kaos@sgi.com>
1306
1307         * Correct ll command.
1308         * kdb v4.3-2.4.21-common-7.
1309
1310 2003-07-08 Keith Owens  <kaos@sgi.com>
1311
1312         * Export more kdb symbols.  Vamsi Krishna S., IBM.
1313         * kdb v4.3-2.4.21-common-6.
1314
1315 2003-07-07 Keith Owens  <kaos@sgi.com>
1316
1317         * Tweak 'waiting for cpus' message.
1318         * kdb v4.3-2.4.21-common-5.
1319
1320 2003-07-07 Keith Owens  <kaos@sgi.com>
1321
1322         * 2.4.21-ia64-030702 patches common code that affects kdb.  Workaround
1323           this nuisance.
1324         * kdb v4.3-2.4.21-common-4.
1325
1326 2003-06-24 Keith Owens  <kaos@sgi.com>
1327
1328         * Add task and sigset commands.  Mark Goodwin, SGI.
1329         * kdb v4.3-2.4.21-common-3.
1330
1331 2003-06-23 Keith Owens  <kaos@sgi.com>
1332
1333         * Sync with XFS 2.4.21 tree.
1334         * kdb v4.3-2.4.21-common-2.
1335
1336 2003-06-20 Keith Owens  <kaos@sgi.com>
1337
1338         * kdb v4.3-2.4.21-common-1.
1339
1340 2003-06-20 Keith Owens  <kaos@sgi.com>
1341
1342         * More details on vm command, add vmp and pte commands.
1343           Dean Nelson, Dean Roe, SGI.
1344         * YAO1SCF (Yet Another O(1) Scheduler Coexistence Fix).
1345         * Changes to common code to build on sparc.  Tom Duffy.
1346         * Move Tom Duffy's changes to drivers/sbus from the sparc64
1347           patch to the common patch to keep all the serial changes
1348           together.
1349         * Changes to common code to build on Xscale.  Eddie Dong, Intel.
1350         * Remove CROSS_COMPILE_INC.
1351         * Remove obsolete boot parameter 'kdb', long since replaced by
1352           'kdb=on'.
1353         * Remove obsolete kdb_eframe_t casts.
1354         * Add CONFIG_KDB_CONTINUE_CATASTROPHIC.
1355         * Wait a short interval for cpus to join kdb before proceeding.
1356         * Automatically enable sysrq for sr command.
1357         * Correct double free of kdb_printf lock, spotted by Richard Sanders.
1358         * Add optional cpu parameter to btc command.
1359         * kdb v4.3-2.4.20-common-1.
1360
1361 2003-05-02 Keith Owens  <kaos@sgi.com>
1362
1363         * Some architectures have problems with the initial empty kallsyms
1364           section so revert to three kallsyms passes.
1365         * Flush buffered input at startup and at 'more' prompt.
1366         * Only print 'more' prompt when longjmp data is available.
1367         * Print more data for buffers and inodes.
1368         * Disable kill command when O(1) scheduler is installed, the code
1369           needs to be redone for O(1).
1370         * The kernel has an undocumented assumption that enable_bh() is
1371           always called with interrupts enabled, make it so.
1372         * Print trailing punctuation even for symbols that are not in kernel.
1373         * Add read/write access to user pages.  Vamsi Krishna S., IBM
1374         * Rename cpu_is_online to cpu_online, as in 2.5.
1375         * O(1) scheduler removes init_task so kdb maintains its own list of
1376           active tasks.
1377         * Delete btp 0 <cpuid> option, it needed init_tasks.
1378         * Clean up USB keyboard support.  Steven Dake.
1379         * Sync with XFS 2.4.20 tree.
1380         * kdb v4.2-2.4.20-common-1.
1381
1382 2003-04-04 Keith Owens  <kaos@sgi.com>
1383
1384         * Remove one kallsyms pass.
1385         * Automatic detection of O(1) scheduler.
1386         * Rename cpu_online to cpu_is_online.
1387         * Workarounds for scheduler bugs.
1388         * Tweak algorithm for detecting if cpu process data is available.
1389         * Add 'kill' command.  Sonic Zhang, Keith Owens.
1390         * kdb v4.1-2.4.20-common-1.
1391
1392 2003-03-16 Keith Owens  <kaos@sgi.com>
1393
1394         * Each cpu saves its state as it enters kdb or before it enters code
1395           which cannot call kdb.
1396         * Allow btp on process 0 for a specified cpu.
1397         * Add btt command, backtrace given a struct task address.
1398         * btc command no longer switches cpus, instead it uses the saved data.
1399         * bta shows the idle task on each cpu as well as real tasks, the idle
1400           task could be handling an interrupt.
1401         * ps command shows the idle task on each cpu.
1402         * ps checks that the saved data for a cpu matches the process running on
1403           that cpu and warns about stale saved data or no saved data at all.
1404         * Remove special cases for i386 backtrace from common code and simplify
1405           common bt code.
1406         * Clean up kdb interaction with CONFIG_SERIAL_CONSOLE.
1407         * Do not automatically repeat commands after the user typed 'q'.
1408         * O(1) scheduler patch changes the process cpu field but does not set
1409           any indicator that O(1) is being used.  Adjust kdb_process_cpu() by
1410           hand after applying O(1).
1411         * Add kdb_print_nameval() to common code.
1412         * Convert tests of cpu_online_map to cpu_online() macro.
1413         * module.h needs errno.h when compiling with CONFIG_MODULES=n.
1414         * Correct duplicate breakpoint handling.
1415         * Do not try to send IPI during a catastrophic error, send_ipi can hang
1416           and take kdb with it.
1417         * kdb memmap command is i386 only, restrict it.
1418         * Add large block device (LBD) support from XFS tree.  Eric Sandeen.
1419         * kdb v4.0-2.4.20-common-1.
1420
1421 2003-02-03 Keith Owens  <kaos@sgi.com>
1422
1423         * Register kdb commands early.
1424         * Decode oops via kallsyms if it is available.
1425         * Update copyright notices to 2003.
1426         * Add defcmd/endefcmd to allow users to package their own macros.
1427         * kdb commands that fail are ignored when prefixed with '-'.
1428         * Add selection options to bta command.
1429         * Add btc command (switch to each cpu and backtrace).
1430         * Do real time detection of dead cpus.
1431         * Clear ip adjusted flag when leaving kdb.
1432         * Clean up ps command.
1433         * Print ps output for each task when backtracing.
1434         * Bump to version v3.0 to reduce confusion between kdb and kernel
1435           version numbers.
1436         * Add kdba_local_arch_setup/kdba_local_arch_cleanup to correct
1437           keyboard freeze.  Ashish Kalra.
1438         * Refuse multiple breakpoints at the same address.
1439         * Add fl (file_lock) command, from XFS development tree.
1440         * Correct inode_pages, from XFS development tree.
1441         * Add command history and editing.  Sonic Zhang.
1442         * Extend command history and editing to handle vt100 escape sequences.
1443         * Allow tab completion at start of line.
1444         * Touch nmi watchdog on long running bta and btc commands.
1445         * Clean up ps output and standardize with bta codes.
1446         * Correctly handle escaped characters in commands.
1447         * Update man pages for btc and command history/editing.
1448         * kdb v3.0-2.4.20-common-1.
1449
1450 2002-11-29 Keith Owens  <kaos@sgi.com>
1451
1452         * Upgrade to 2.4.20.
1453         * Correct Documentation/kdb/kdb_sr.man.
1454         * Remove leading zeroes from pids, they are decimal, not octal.
1455         * kdb v2.5-2.4.20-common-1.
1456
1457 2002-11-14 Keith Owens  <kaos@sgi.com>
1458
1459         * Upgrade to 2.4.20-rc1.
1460         * kdb v2.5-2.4.20-rc1-common-1.
1461
1462 2002-11-14 Keith Owens  <kaos@sgi.com>
1463
1464         * Fix processing with O(1) scheduler.
1465         * 'go' switches back to initial cpu first.
1466         * 'go <address>' only allowed on initial cpu.
1467         * 'go' installs the global breakpoints from the initial cpu before
1468            releasing the other cpus.
1469         * If 'go' has to single step over a breakpoint then it single steps just
1470           the initial cpu, installs the global breakpoints then releases the
1471           other cpus.
1472         * General clean up of handling for breakpoints and single stepping over
1473           software breakpoints.
1474         * Add kdb_notifier_block so other code can tell when kdb is in control.
1475         * kdb v2.5-2.4.19-common-1.
1476
1477 2002-11-02 Keith Owens  <kaos@sgi.com>
1478
1479         * Correct build without CONFIG_KDB.
1480         * kdb v2.4-2.4.19-common-3.
1481
1482 2002-11-01 Keith Owens  <kaos@sgi.com>
1483
1484         * Minimize differences from 2.5.44.
1485         * kdb v2.4-2.4.19-common-2.
1486
1487 2002-10-31 Keith Owens  <kaos@sgi.com>
1488
1489         * Add defcmd/endefcmd feature.
1490         * Remove kdb_eframe_t.
1491         * Clear bp data before using.
1492         * Sanity check if we have pt_regs.
1493         * Force LINES > 1.
1494         * Remove special case for KDB_REASON_PANIC, use KDB_ENTER() instead.
1495         * Remove kdba_getcurrentframe().
1496         * Coexist with O(1) scheduler.
1497         * Add lines option to dmesg, speed up dmesg.
1498         * kdb v2.4-2.4.19-common-1.
1499
1500 2002-10-17 Keith Owens  <kaos@sgi.com>
1501
1502         * Add selection critera to ps and bta commands.
1503         * kdb v2.3-2.4.19-common-4.
1504
1505 2002-10-07 Keith Owens  <kaos@sgi.com>
1506
1507         * New man page, Documentation/kdb/kdb_sr.man.
1508
1509 2002-10-04 Keith Owens  <kaos@sgi.com>
1510
1511         * Minimize differences between patches for 2.4 and 2.5 kernels.
1512         * Add Configure.help for CONFIG_KDB_USB.
1513         * Reduce stack usage.
1514         * kdb v2.3-2.4.19-common-3.
1515
1516 2002-08-10 Keith Owens  <kaos@sgi.com>
1517
1518         * Replace kdb_port with kdb_serial to support memory mapped I/O.
1519           David Mosberger.
1520         * kdb v2.3-2.4.19-common-2.
1521
1522 2002-08-07 Keith Owens <kaos@sgi.com>
1523
1524         * Upgrade to 2.4.19.
1525         * Remove individual SGI copyrights, the general SGI copyright applies.
1526         * Handle md0.  Reported by Hugh Dickins, different fix by Keith Owens.
1527         * Use page_address() in kdbm_pg.c.  Hugh Dickins.
1528         * Remove debugging printk from kdbm_pg.c.  Hugh Dickins.
1529         * Move breakpoint address verification into arch dependent code.
1530         * Dynamically resize kdb command table as required.
1531         * Common code to support USB keyboard.  Sebastien Lelarge.
1532         * kdb v2.3-2.4.19-common-1.
1533
1534 2002-07-09 Keith Owens <kaos@sgi.com>
1535
1536         * Upgrade to 2.4.19-rc1.
1537         * Add dmesg command.
1538         * Clean up copyrights, Eric Sandeen.
1539         * kdb v2.2-2.4.19-rc1-common-1.
1540
1541 2002-06-14 Keith Owens <kaos@sgi.com>
1542
1543         * Upgrade to 2.4.19-pre10.
1544         * Sync with XFS.
1545         * kdb v2.1-2.4.19-pre10-common-1.
1546
1547 2002-04-09 Keith Owens <kaos@sgi.com>
1548
1549         * Upgrade to 2.4.19-pre6.
1550         * kdb v2.1-2.4.19-pre6-common-1.
1551
1552 2002-03-18 Keith Owens <kaos@sgi.com>
1553
1554         * Syntax check mdWcN commands.
1555
1556 2002-03-01 Keith Owens <kaos@sgi.com>
1557
1558         * Sync with XFS 2.4.18.
1559         * kdb v2.1-2.4.18-common-2.
1560
1561 2002-02-26 Keith Owens <kaos@sgi.com>
1562
1563         * Upgrade to 2.4.18.
1564         * Add Paul Dorwin (IBM) magicpoint slides on using kdb as
1565           Documentation/kdb/slides.
1566         * kdb v2.1-2.4.18-common-1.
1567
1568 2002-01-23 Keith Owens <kaos@sgi.com>
1569
1570         * Sync with XFS pagebuf changes.
1571         * kdb v2.1-2.4.17-common-2.
1572
1573 2002-01-18 Keith Owens <kaos@sgi.com>
1574
1575         * Ignore single stepping during panic.
1576         * Remove kdba_getword, kdba_putword.  Replace with kdb_getword,
1577           kdb_putword that rely on copy_xx_user.  The new functions return
1578           an error code, like copy_xx_user.
1579         * New functions kdb_getarea, kdb_putarea for copying areas of data
1580           such as structures.  These functions also return an error code.
1581         * Change all common code to use the new functions.
1582         * bp command checks that it can read and write the word at the
1583           breakpoint before accepting the address.
1584         * Break points are now set FIFO and cleared LIFO so overlapping
1585           entries give sensible results.
1586         * Verify address before disassembling code.
1587         * Common changes for sparc64.  Ethan Solomita, Tom Duffy.
1588         * Remove ss <count>, never supported.
1589         * Remove kallsyms entries from arch vmlinux.lds files.
1590         * Specify which commands auto repeat.
1591         * kdb v2.1-2.4.17-common-1.
1592
1593 2002-01-07 Keith Owens <kaos@sgi.com>
1594
1595         * Remove console semaphore code, not good in interrupt.
1596         * Remove fragment of ia64 patch that had crept into kdb.
1597         * Release as kdb v2.0-2.4.17-common-3.
1598
1599 2002-01-04 Keith Owens  <kaos@sgi.com>
1600
1601         * Sync xfs <-> kdb common code.
1602
1603 2001-12-22 Keith Owens  <kaos@sgi.com>
1604
1605         * Upgrade to 2.4.17.
1606         * Clean up ifdef CONFIG_KDB.
1607         * Add ifdef CONFIG_KDB around include kdb.h.
1608         * Delete dummy kdb.h files for unsupported architectures.
1609         * Delete arch i386 and ia64 specific files.  This changelog now
1610           applies to kdb common code only.
1611         * Release as kdb v2.0-2.4.17-common-1.
1612
1613 2001-12-03 Keith Owens  <kaos@sgi.com>
1614
1615         * Upgrade to 2.4.16.
1616         * Add include/asm-um/kdb.h stub to allow XFS to be tested under UML.
1617         * Check if an interrupt frame on i386 came from user space.
1618         * Out of scope bug fix in kdb_id.c.  Ethan Solomita.
1619         * Changes to common code to support sparc64.  Ethan Solomita.
1620         * Change GFP_KERNEL to GFP_ATOMIC in disasm.  Ethan Solomita.
1621
1622 2001-11-16 Keith Owens  <kaos@sgi.com>
1623
1624         * Upgrade to 2.4.15-pre5.
1625         * Wrap () around #define expressions with unary operators.
1626
1627 2001-11-13 Keith Owens  <kaos@sgi.com>
1628
1629         * Upgrade to 2.4.15-pre4.
1630         * kbdm_pg.c patch from Hugh Dickins.
1631
1632 2001-11-07 Keith Owens  <kaos@sgi.com>
1633
1634         * Upgrade to 2.4.14-ia64-011105.
1635         * Change name of l1 serial I/O routine, add ia64 init command.  SGI.
1636         * Sync kdbm_pg with XFS.
1637
1638 2001-11-06 Keith Owens  <kaos@sgi.com>
1639
1640         * Upgrade to kernel 2.4.14.
1641
1642 2001-11-02 Keith Owens  <kaos@sgi.com>
1643
1644         * Sync kdbm_pg.c with XFS.
1645
1646 2001-10-24 Keith Owens  <kaos@sgi.com>
1647
1648         * Upgrade to kernel 2.4.13.
1649
1650 2001-10-14 Keith Owens  <kaos@melbourne.sgi.com>
1651
1652         * More use of TMPPREFIX in top level Makefile to speed up NFS compiles.
1653
1654         * Correct repeat calculations in md/mds commands.
1655
1656 2001-10-10 Keith Owens  <kaos@melbourne.sgi.com>
1657
1658         * Copy bfd.h and ansidecl.h to arch/$(ARCH)/kdb, remove dependecies on
1659           user space includes.
1660
1661         * Update kdb v1.9 to kernel 2.4.11.
1662
1663 2001-10-01 Keith Owens  <kaos@melbourne.sgi.com>
1664
1665         * Update kdb v1.9 to kernel 2.4.11-pre1 and 2.4.10-ac1.
1666
1667         * Correct loop in kdb_parse, reported by Tachino Nobuhiro.
1668
1669 2001-09-25 Keith Owens  <kaos@melbourne.sgi.com>
1670
1671         * Update kdb v1.8 to kernel 2.4.10.
1672
1673         * kdbm_pg patch from Hugh Dickens.
1674
1675         * DProbes patch from Bharata B Rao.
1676
1677         * mdWcn and mmW patch from Vamsi Krishna S.
1678
1679         * i386 disasm layout patch from Jean-Marc Saffroy.
1680
1681         * Work around for 64 bit binutils, Simon Munton.
1682
1683         * kdb.mm doc correction by Chris Pascoe.
1684
1685         * Enter repeats the last command, IA64 disasm only prints one
1686           instruction.  Don Dugger.
1687
1688         * Allow kdb/modules to be linked into vmlinux.
1689
1690         * Remove obsolete code from kdb/modules/kdbm_{pg,vm}.c.
1691
1692         * Warn when commands are entered at more prompt.
1693
1694         * Add MODULE_AUTHOR, DESCRIPTION, LICENSE.
1695
1696         * Release as kdb v1.9.
1697
1698 2001-02-27 Keith Owens  <kaos@melbourne.sgi.com>
1699
1700         * Update kdb v1.8 to kernel 2.4.2, sync kdb/modules with XFS.
1701
1702         * Hook into panic() call.
1703
1704 2000-12-18 Keith Owens  <kaos@melbourne.sgi.com>
1705
1706         * Update kdb v1.7 to kernel 2.4.0-test13-pre3, sync kdb/modules with
1707         XFS.
1708
1709 2000-11-18 Keith Owens  <kaos@melbourne.sgi.com>
1710
1711         * Update to kernel 2.4.0-test11-pre7, including forward port of
1712         bug fixes from WIP 2.4.0-test9 tree.
1713
1714         * Update to Cygnus CVS trees for disassembly code.
1715
1716         * Bump to kdb v1.6.
1717
1718 2000-10-19 Keith Owens  <kaos@melbourne.sgi.com>
1719
1720         * Update to kernel 2.4.0-test10-pre4.
1721
1722 2000-10-15 Keith Owens  <kaos@melbourne.sgi.com>
1723
1724         * kdb/kdbmain.c (kdb_parse): Correctly handle blank input.
1725
1726         * kdb/kdbmain.c (kdb_local, kdb): Reason SILENT can have NULL regs.
1727
1728 2000-10-13 Keith Owens  <kaos@melbourne.sgi.com>
1729
1730         * kdb/kdbmain.c: Reduce CMD_LEN to avoid overflowing kdb_printf buffer.
1731
1732 2000-10-11 Keith Owens  <kaos@melbourne.sgi.com>
1733
1734         * kdb/kdbmain.c (kdb): Test for userspace breakpoints before driving
1735           other cpus into kdb.  Speeds up gdb and avoids SMP race.
1736
1737         * arch/i386/kdb/kdba_io.c (get_serial_char, get_kbd_char): Ignore
1738           unprintable characters.
1739
1740         * arch/i386/kdb/kdba_io.c (kdba_read): Better handling of buffer size.
1741
1742 2000-10-04 Keith Owens  <kaos@melbourne.sgi.com>
1743
1744         * arch/i386/kdb/kdba_bt.c (kdba_bt_process): Verify that esp is inside
1745         task_struct.  Original patch by Mike Galbraith.
1746
1747         * kdb/kdb_io.c (kdb_getstr): Reset output line counter, remove
1748         unnecessary prompts.
1749
1750         * arch/i386/kdb/kdbasupport.c (kdb_getregcontents): Change " cs" to
1751         "xcs", ditto ss, ds, es.  gdb2kdb does not like leading spaces.
1752
1753         * include/asm-xxx/kdb.h: Add dummy kdb.h for all architectures except
1754         ix86.  This allows #include <linux/kdb.h> to appear in arch independent
1755         code without causing compile errors.
1756
1757         * kdb/modules/kdbm_pg: Sync with XFS.
1758
1759 2000-10-03  Keith Owens  <kaos@melbourne.sgi.com>
1760
1761         * kdb/kdb_io.c (kdb_read): Ignore NMI while waiting for input.
1762
1763         * kdb/kdb_io.c, kdb/Makefile: Export kdb_read.
1764
1765 2000-10-02  Keith Owens  <kaos@melbourne.sgi.com>
1766
1767         * arch/i386/kernel/smpboot.c (do_boot_cpu): Set nmi_watchdog_source to 2
1768         to avoid premature NMI oops during cpu bring up.  We have to assume that
1769         a box with more than 1 cpu has a working IO-APIC.
1770
1771         * Documentation/kdb/{kdb.mm,kdb_md.man}: Add mdr command.
1772
1773         * kdb/kdbmain.c (kdb_md): Add mdr command.
1774
1775         * Release as kdb v1.5 against 2.4.0-test9-pre8.
1776
1777         * arch/i386/kdb/kdba_io.c, arch/i386/kdb/kdbasupport.c, kdb/kdbmain.c,
1778         kdb/kdb_io.c, kdb/kdb_id.c: Remove zero initializers for static
1779         variables.
1780
1781 2000-09-28  Keith Owens  <kaos@melbourne.sgi.com>
1782
1783         * various: Add nmi_watchdog_source, 1 local APIC, 2 IO-APIC.
1784         Test nmi_watchdog_source instead of nr_ioapics so UP works on SMP hardware.
1785
1786         * arch/i386/kernel/io_apic.c: Rename setup_nmi to setup_nmi_io for clarity.
1787
1788         * kdb/kdbmain.c (kdb_parse): Only set NO_WATCHDOG if it was already set.
1789
1790         * kdb/kdbmain.c (kdb): Clear NO_WATCHDOG on all exit paths.
1791
1792         * include/linux/kdb.h: Add KDB_REASON_SILENT.
1793
1794         * kdb/kdbmain.c (kdb_local): Treat reason SILENT as immediate 'go'.
1795
1796         * kdb/kdbmain.c (kdb_init): Invoke kdb with reason SILENT to instantiate
1797         any breakpoints on boot cpu.
1798
1799         * arch/i386/kernel/smpboot.c (smp_callin): Invoke kdb with reason SILENT
1800         to instantiate any global breakpoints on this cpu.
1801
1802         * kdb/kdb_cmds: Remove comment that said initial commands only worked on
1803         boot cpu.
1804
1805 2000-09-27  Keith Owens  <kaos@melbourne.sgi.com>
1806
1807         * arch/i386/kernel/msr.c: Move {rd,wr}msr_eio to include/asm-i386/apic.h.
1808
1809         * include/asm-i386/apic.h: Define NMI interfaces.
1810
1811         * kernel/sysctl.c (kern_table):
1812         * kernel/sysctl.c (do_proc_set_nmi_watchdog):
1813         Add /proc/sys/kernel/nmi_watchdog.
1814
1815         * arch/i386/kernel/apic.c: New routines set_nmi_counter_local,
1816         setup_apic_nmi_watchdog.
1817
1818         * arch/i386/kernel/traps.c: New routine set_nmi_watchdog().  Call apic
1819         routines to set/clear local apic timer.
1820
1821 2000-09-26  Keith Owens  <kaos@melbourne.sgi.com>
1822
1823         * include/linux/sysctl.h (enum): Add NMI_WATCHDOG.
1824
1825         * arch/i386/kernel/traps.c (nmi_watchdog_tick): Check nmi_watchdog is
1826         still on.
1827
1828         * arch/i386/config.in: Add CONFIG_UP_NMI_WATCHDOG.
1829
1830         * Documentation/Configure.help: Add CONFIG_UP_NMI_WATCHDOG.
1831
1832         * Documentation/nmi_watchdog.txt: Update for UP NMI watchdog.
1833
1834 2000-09-25  Keith Owens  <kaos@melbourne.sgi.com>
1835
1836         * arch/i386/kernel/apic.c (init_apic_mappings):
1837         * arch/i386/kernel/io_apic.c (IO_APIC_init_uniprocessor):
1838         Merge Keir Fraser's local APIC for uniprocessors patch.
1839
1840 2000-09-24  Keith Owens  <kaos@melbourne.sgi.com>
1841
1842         * Various: Declare initialization routines as __init.
1843
1844         * Makefile: Define and export AWK.
1845
1846         * kdb/Makefile: Generate gen-kdb_cmds.c from kdb/kdb_cmds.
1847
1848         * kdb/kdbmain.c (kdb_init): Call new routine kdb_cmds_init to execute
1849         whatever the user put in kdb/kdb_cmds.
1850
1851         * arch/i386/kdb/kdba_bt.c (kdba_bt_stack): New parameter to
1852         indicate if esp in regs is known to be valid or not.
1853
1854         * kdb/kdb_bp.c, arch/i386/kdb/kdba_bp.c: More trace prints for
1855         breakpoint handling.
1856
1857         * arch/i386/kdb/kdba_bp.c (kdba_installbp): Finally found and fixed the
1858         annoying breakpoint bug where breakpoints where not always installed
1859         after 'go'.
1860
1861         * Documentation/kdb: Update man pages kdb.mm, kdb_env.man, kdb_ss.man.
1862
1863         * Released as kdb-v1.5-beta1-2.4.0-test8.
1864
1865         * Sync to 2.4.0-test9-pre6 and release as kdb-v1.5-beta1-2.4.0-test9-pre6.
1866
1867 2000-09-23  Keith Owens  <kaos@melbourne.sgi.com>
1868
1869         * arch/i386/kdb/kdbasupport.c (kdba_getregcontents): New pseudo
1870         registers cesp and ceflags to help with debugging the debugger.
1871
1872         * kdb/kdbmain.c (kdb_local, kdb): Add KDB_REASON_RECURSE.  Add
1873         environment variable RECURSE.  Add code to cope with some types of
1874         recursion.
1875
1876         * kdb/kdbmain.c (kdb), arch/i386/kdba/kdba_bp.c: Add
1877         kdba_clearsinglestep.
1878
1879 2000-09-22  Keith Owens  <kaos@melbourne.sgi.com>
1880
1881         * drivers/video/vgacon.c (write_vga): No cli() if kdb is running, avoid
1882         console deadlock.
1883
1884         * arch/i386/kernel/irq.c (get_irqlock): Warn if kdb is running, may hang.
1885
1886         * include/linux/kdb.h: Define KDB_IS_RUNNING as (0) if no CONFIG_KDB.
1887
1888         * arch/i386/kdb/kdba_bt.c (kdba_bt_stack): Do not attempt a backtrace if
1889         the code segment is not in the kernel.
1890
1891         * kdb/modules: Change modules from MX_OBJS to M_OBJS.  Remove EXPORT_NOSYMBOLS.
1892
1893 2000-09-21  Keith Owens  <kaos@melbourne.sgi.com>
1894
1895         * arch/i386/kernel/i386_ksyms.c: Move EXPORT_SYMBOLS for kdb to kdb/kdbmain.c.
1896
1897         * kdb/Makefile: Change kdb/kdbmain.o from O_OBJS to OX_OBJS.
1898
1899         * arch/i386/kernel/smp.c: Remove some #ifdef CONFIG_KDB.  Remove kdbprivate.h.
1900
1901         * include/linux/kdb.h: Add kdb_print_state.  Add KDB_STATE_WAIT_IPI.
1902
1903         * kdb/kdbmain.c (kdb): Only mark cpu as leaving if it is in KDB state.  Maintain
1904         WAIT_IPI state so a cpu is only driven through NMI once.
1905
1906         * arch/i386/kernel/smp.c (smp_kdb_stop): All state fiddling moved to kdb().
1907
1908 2000-09-20  Keith Owens  <kaos@melbourne.sgi.com>
1909
1910         * include/linux/kdb.h: #define kdb() as (0) if kdb is not configured.
1911
1912         * arch/i386/kernel/traps.c: Remove some #ifdef CONFIG_KDB.
1913
1914         * include/linux/kdbprivate.h: Move per cpu state to kdb.h.
1915
1916         * include/linux/kdb.h: Add KDB_STATE_NO_WATCHDOG, KDB_STATE_PRINTF_LOCK.
1917         Rename KDB_DEBUG_xxx to KDB_DEBUG_FLAG_xxx.  Clean up debug flag
1918         definitions.
1919
1920         * arch/i386/kernel/traps.c (nmi_watchdog_tick): Check no watchdog.
1921
1922         * kdb/kdbmain.c (kdb): Set no watchdog in normal kdb code.
1923
1924         * kdb/kdbmain.c (kdb_parse): Allow watchdog in commands.
1925
1926         * kdb/kdb_io.c (kdb_printf): No watchdog during printing.  Clean up lock handling.
1927
1928         * kdb/kdbmain.c (kdb_set): Clean up debug flag handling.
1929
1930 2000-09-19  Juan J. Quintela  <quintela@fi.udc.es>
1931
1932         * kdb/arch/i386/kdb/kdba_io.c: Allow kdb to compile without CONFIG_VT and/or
1933         serial console.
1934
1935 2000-09-19  Keith Owens  <kaos@melbourne.sgi.com>
1936
1937         * include/linux/kdb.h: Define KDB_DEBUG_STATE().
1938
1939         * kdb/kdbmain.c (kdb): Add kdb_print_state(), calls to KDB_DEBUG_STATE().
1940
1941 2000-09-16  Keith Owens  <kaos@melbourne.sgi.com>
1942
1943         * Move to finer grained control over individual processors in kdb with
1944         per cpu kdb state.  Needed to allow ss[b] to only release one processor,
1945         previously ss[b] released all processors.  Also need to recover from
1946         errors inside kdb commands, e.g. oops in kdbm_pg code.
1947
1948         * various:
1949           Move global flags KDB_FLAG_SSB, KDB_FLAG_SUPRESS, KDB_FLAG_FAULT,
1950           KDB_FLAG_SS, KDB_FLAG_SSBPT, kdb_active, to per cpu state and macros
1951           KDB_STATE(xxx).
1952           Replace kdb_flags & KDB_FLAG_xxx with KDB_FLAG(xxx).
1953           Replace kdb_flags & KDB_DEBUG_xxx with KDB_DEBUG(xxx).
1954           Replace specific tests with wrapper KDB_IS_RUNNING().
1955
1956         * various: Remove #ifdef CONFIG_SMP from kdb code wherever
1957         possible.  Simplifies the code and makes it much more readable.
1958
1959         * arch/i386/kdb/kdbasupport.c (kdb_setjmp): Record if we have reliable
1960         longjmp data instead of assuming it is always set.
1961
1962         * various: Replace smp_kdb_wait with per cpu state, HOLD_CPU.
1963
1964         * init/main.c : Replace #ifdef KDB_DEBUG with KDB_DEBUG(CALLBACK).
1965
1966         * include/linux/kdbprivate.h: Separate command return codes from error
1967         codes.  Add more detailed command codes.
1968
1969         * arch/i386/kernel/traps.c (die): Change spin_lock_irq to
1970         spin_lock_irqsave.  Why did I do this?
1971
1972         * kdb/kdbmain.c (kdb_parse): Set per cpu flag CMD before executing kdb
1973         command.  More detailed return codes for commands that affect
1974         processors.
1975
1976         * kdb/kdbmain.c (kdb_previous_event): New, check if any processors are
1977         still executing the previous kdb event.  Removes a race window where a
1978         second event could enter kdb before the first had completely ended.
1979
1980         * kdb/kdbmain.c (kdb): Document all the concurrency conditions and how
1981         kdb handles them.  ss[b] now releases only the current cpu.  Do not set
1982         breakpoints when releasing for ss[b].  Recover from errors in kdb
1983         commands.  Check that we have reliable longjmp data before using it.
1984
1985         * various: Update return code documentation.
1986
1987         * kdb/kdb_bp.c (kdb_ss): Separate ss and ssb return codes.
1988
1989         * kdb/kdbsupport.c (kdb_ipi): Finer grained algorithm for deciding
1990         whether to call send a stop signal to a cpu.
1991
1992         * arch/i386/kdb/kdba_bp.c (kdba_db_trap): Separate ss and ssb return
1993         codes.  Reinstall delayed software breakpoints per cpu instead of
1994         globally.  Changed algorithm for handling ss[b].
1995
1996         * arch/i386/kdb/kdba_bp.c (kdba_bp_trap): Match software breakpoints per
1997         cpu instead of globally.
1998
1999         * include/linux/kdb.h: Bump version to kdb v1.5.
2000
2001 2000-09-16  Keith Owens  <kaos@melbourne.sgi.com>
2002
2003         * kernel/sysctl.c (kern_table): add /proc/sys/kernel/kdb.
2004
2005         * init/main.c (parse_options): add boot flags kdb=on, kdb=off,
2006         kdb=early.
2007
2008         * include/linux/sysctl.h (enum): add KERN_KDB.
2009
2010         * drivers/char/serial.c (receive_chars): check kdb_on.
2011
2012         * drivers/char/keyboard.c (handle_scancode): check kdb_on.
2013
2014         * arch/i386/kernel/traps.c (nmi_watchdog_tick): check kdb_on.
2015
2016         * arch/i386/config.in: add CONFIG_KDB_OFF.
2017
2018         * Documentation/Configure.help: add CONFIG_KDB_OFF.
2019
2020         * kdb/kdbmain.c: add kdb_initial_cpu, kdb_on.
2021
2022         * kdb/kdbmain.c (kdb): check kdb_on, set kdb_initial_cpu.
2023
2024         * kdb/kdbmain.c (kdb_init): add Keith Owens to kdb banner.
2025
2026         * kdb/kdb_io.c (kdb_printf): serialize kdb_printf output.
2027
2028         * kdb/kdb_bt.c (kdb_bt): check environment variable BTAPROMPT.
2029
2030         * kdb/kdbsupport.c (kdb_ipi): ignore NMI for kdb_initial_cpu.
2031
2032         * kdb/modules/kdbm_pg.c (kdbm_page): merge updates from 2.4.0-test5-xfs.
2033
2034         * kdb/kdb_bt.man: add btp, bta, BTAPROMPT.
2035
2036         * kdb/kdb.mm: add CONFIG_KDB_OFF, boot flags, btp, bta.
2037
2038         * include/linux/kdbprivate.h: add kdb_initial_cpu.
2039
2040         * include/linux/kdb.h: add kdb_on, bump version to kdb v1.4.