Net Recognized Gains (Losses) on Equity Investments (Detail) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2023 |
Mar. 31, 2022 |
Mar. 31, 2023 |
Mar. 31, 2022 |
|
| Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | ||||
| Net realized gains (losses) on investments sold | $ (13) | $ (22) | $ 77 | $ 46 |
| Net unrealized gains (losses) on investments still held | 144 | (34) | 109 | 559 |
| Total | 105 | (76) | 103 | 595 |
| Equity Securities | ||||
| Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | ||||
| Impairments of investments | 0 | (5) | (16) | (5) |
| Total | $ 131 | $ (61) | $ 170 | $ 600 |